To create the IF Neuron, I built a 1-bit full adder, a 4-bit full adder, a TSPC Flip-Flop 3-input OR, and a 2-input AND. After realizing that if any of the adders overflowed then the sum would be greater than 16, I built an OR gate and or’ed the output of the adders. The result was stored in the flipflop
I used Cadence software to accomplish this project.
IF Neuron
Goal: Design and build a 4-to-1 Integrate-and-Fire (IF) Neuron. The neuron takes 4 inputs; Each input has 4 bits(x_i). There are 4 selector bits(W_i) that select which inputs pass through to the adder. When these inputs are added together, if the value is over 16, then the neuron fires, if it is less than 16, then it doesn’t fire(see figure below).