Analog Spiking Neural Network Implementing Spike Timing-Dependent Plasticity On 65 Nm Cmos