Modular building blocks for mapping spiking neural networks onto a programmable neuromorphic processor. (November 2022)