University of Southern California

Department of Electrical Engineering - Systems

EE 477 Laboratory #3

Module Design, IRSIM and SPICE

Laboratory #3 Due May 2, 2003 4:00 PM


This lab addresses the design of a special-purpose circuit. You can use any combination of clocks you wish, since these are inputs to the circuit and you do not have to design them. You should use the cells you designed in labs 1 and 2 to build your circuit. Do not change transistor sizes here. Do not change the circuit structure of your cells. However, you can modify the layout if you can see some ways to make the circuits smaller or faster. Make sure your ohmic contacts meet the following requirement: two contacts per 50x50 lambda, one for psubstrate and the other for nwell.

The circuit you are to design computes a 3-bit Hamming code for a 4-bit number. See the Project description for details. You can read in all 4 bits and then compute the 3-bit Hamming code or you can compute the Hamming code as each bit comes in. After 4 bits have been read in, at the next clock you should output the Hamming code and start shifting in the next four bits.

For this lab, you can use any layout strategy you choose. The goal is to minimize the area·delay (the product of area and delay). Designs that are more square, rather than long, thin rectangles, tend to be better designs. The designer with the lowest area-delay product will win a prize, a gift certificate from Amazon.com. Pay close attention to the specific delay you are to measure.

1. Design your circuit and create a MAGIC layout using the cells you have already designed. The bulk of the work here should be the routing of your design. Include your logic/gate level diagram.

2. Simulate your layout with IRSIM to ensure that it works logically. Set up the inputs so that you test the Hamming code generation completely.

3. Simulate your circuit with SPICE. Set up the inputs so that some Hamming code bits are 1 and some are 0. The delay you should measure with SPICE is your clock cycle.

4. Measure the area of your design in square l(lambda). Compute the area-delay product of your design. Be sure you convert microns to lambda in order to get credit for this part of the lab.

Lab Report Contents:

1.Title page

2.Discussion and explanation of how your design works.

3.Block diagram of your design

4.Floorplan (where each cell is on your layout)

5.IRSIM outputs for your design.

6.Layout

7.Area-delay product