Initialization

Loop

Reset

@ 1ms

Sample Inputs and Calculate Current

Calculate next GK,Vm, and Threshold values

If Vm >Threshold, generate spike on output port

Neuron Program Flow