Training artificial neural networks with memristive synapses: HSPICE-matlab co-simulation | IEEE Conference Publication | IEEE Xplore