UNIVERSITY OF CALIFORNIA
College of Engineering
Department of Electrical Engineering
and Computer Sciences
 
Jan M Rabaey
Lab #2
EECS 141 
 
 
 

1. Objective

The objective of this lab is to teach you how to use a layout editor. MAGIC is a layout editor, developed at the University of California at Berkeley, that keeps track of all design rule violations, and provides also several tools that facilitate the creation and editing of complex layouts. Later, we will use MAGIC to design a variety of small circuits, ranging from gates to registers and complete arithmetic blocks.

2. Tasks

a). Login into you class account. If this is the first time you do so, make sure to change the password. Use the command passwd to do so.

b). In this first software lab, all you have to do is run through the MAGIC tutorials. This will familiarize you with MAGIC's editing procedures and commands. Work through Tutorial 1 to 5. The tutorials are at: http://infopad.eecs.berkeley.edu/~icdesign/magic/index.html

c). Create a layout plot of the design tut5a using the flea program. To do so, create first a local copy of the magic layout. To do so, open the design with MAGIC and save it with the command

:save myname

After exiting MAGIC, type:

flea -f myname.mag

This should send a plot to the printer in 119 Cory. If this does not work for whatever reason, try:

flea -fd ps myname.mag

This creates a postscript file, called myname.ps. You can send this file to the printer with

lpr -P119 myname.ps.

You can try a different printer if the one in 119 is broken (which hopefully never happens ...)

d). Remember to logout when you are done with the session.

3. Report

Your report is due one week after the lab. You should turn it in to your lab TA at the beginning of the next lab session.

This particular lab is not very demanding. To get credit for the lab, all you have to do is to be there and turn in a print-out (using flea) of tut5a.