Reconfigurable Neuromorphic Computing System with Memristor-Based Synapse Design