1. A method of modeling binary synaptic behavior comprising: receiving an analog input signal; transforming the analog input signal into an N-bit codeword, wherein each bit of the N-bit codeword is represented by an electronic pulse; loading the N-bit codeword into a circular shift register; sending each bit of the N-bit codeword through one of N switches, wherein each switch applies a corresponding weight to the bit to produce a weighted bit; and outputting a signal corresponding to a summation of the weighted bits and representing a synaptic transfer function.