Hardware Implementation of Spiking Neural Networks