Behavioral Simulation of Neural Networks: an Approach Based upon SPICE