Hardware-efficient architecture of spiking neural networks based on sign-magnitude stochastic computing | Synapse