University of Southern California

Department of Electrical Engineering - Systems

EE 477 Laboratory #3Addendum

Module Design, IRSIM and SPICE

Laboratory #3 Due Dec. 7, 2001 4:00 PM

What to turn in:

Your lab should contain the following items:

1.A cover sheet giving your name, date you submitted the lab, title, and student number.

2.A description of the circuit you built, including a block diagram and transistor-level circuit diagram.

3.A timing diagram showing major events that occur.

4.The layout

5.A description of the experiments you ran with IRSIM and SPICE , and IRSIM and SPICE outputs.

6. The area and clock period of your design.

Discussion:

The circuit you are to design performs the following function: It ANDS a 4-bit value stored in flipflops to a 4-bit value input to the circuit, bit by bit. The output signal match is set to 1 if all 4 bits of the result are 1's. Every clock cycle, it performs the identical function, so if a match is found the output match signal goes high, and the operation stops. The input 4-bit value can change every clock cycle. If a match is not found, the input 4-bit value is loaded into the flip-flops and used for the next comparison. If a match is found, the 4-bit stored value is forced to the code 1010. The circuit stops at that point. When we say the circuit stops, we mean the value stored in the flipflops remains 1010 indefinitely. You can either keep loading 1010 every cycle, or disable the load signal.

Measure the delay of the circuit in terms of the clock period for the contest, not the delay described in the earlier lab handout.

Tips for LAB 3 from Brandon Fernandes

==============

In this Lab, you are allowed to use all the metals that the TSMC 25

process supports.

But we reccommend that you do not go beyond metal3.

You will have to come up with the logic design of the circuit

INDEPENDENTLY , and include the logic level schematic in your submission.

This is a part of the assignment and the contest.

Test your circuits for functionality using IRSIM first , before you get

started with spice.

In the project description, we have the following line:

"If a match is found, the 4-bit stored value is forced to the code 1010.

The circuit stops at that point."

What do we mean by " The circuit stops"?

It means that no matter what the input is, the circuit does not change

state . ie The State of the flip flops are mantained at 1010, independent

of the input.

Aspect Ratio: Try to make you module look like a Square, instead of a

long rectangle.