This is a good paper exploring how computation with spiking neural networks is likely to work.
https://www.izhikevich.org/publications/spnet.htm