Spiking Neural Network With Memristive Based Computing-In-Memory Circuits And Architecture