A Million Spiking-Neuron Integrated Circuit with a Scalable Communication Network and Interface