University of Southern California

Department of Electrical Engineering - Systems

EE 477 Laboratory #3

Module Design, Cadence and SPICE

Due 5/5/08 11:59 PM

There will be no extensions so plan your time accordingly

This lab addresses the design of a special-purpose circuit. The basic building block in the circuit is a very simplified digital neuron, along with a D flip flop. You will build a small network with this neuron and the D flip flop as basic building blocks.

The digital neuron

There are four data inputs to the neuron, A, B, C, and D, an inhibitory input I, load, reset, and a clock. You can assume /clock is an input too but you need to generate other inverted inputs. The neuron contains a flip flop, and the output of the flip-flop represents the output of the neuron. The neuron "fires" when 3 of the 4 data inputs are high, as long as I is held high, or when all 4 data inputs are high regardless of the value of I, and after the positive edge of the clock, the output of the flip-flop goes from low to high. After the next rising clock, the flip-flop output falls. The neuron cannot "fire" two clock cycles in a row. Load is normally held high, but is lowered if we want to emulate a neuron failing to fire due to lack of sleep or similar circumstance. Note that the function the neuron contains is not exactly the same as the compound gate you designed. A block diagram of the neuron is shown below.