An a VLSI driving circuit for memristor-based STDP