1. A method, comprising: in response to an external spike signal in an integrate and fire electronic neuron, updating a digital membrane potential based on the external spike signal, wherein the digital membrane potential represents a neuron membrane potential; decaying the digital membrane potential based on a leak rate; and upon the digital membrane potential exceeding a threshold, generating a spike signal.