The solution here may just be to restrict the threshold such that it cannot be <=0, but the behaviors still differ currently. The framework does not cause neurons to spike without input while the hardware does (e.g. neuron with threshold 0 spikes every timestep).