Simulation of a spiked artificial neural network.