University of Southern California

Department of Electrical Engineering - Systems

EE 477 Laboratory #3

Module Design, Cadence and SPICE

Due December 11 12, 2007, 12:00 Midnight

updated to extend due date and correct list to turn in

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 (asserted low), 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, 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. The I input is not an external input and you can use it for any purpose you would like. A block diagram of the neuron is shown below.