Magic Mask Artwork Generator for Integrated Circuits - from U.C. Berkeley Magic is a interactive system for creating and modifying VLSI Circuit Layouts Magic is not a color painting tool, it understands the nature of the circuits you design, and provides additional operations and analysis Magic permits only Manhattan geometry Magic uses composite layers - not simple mask layers Magic provides interactive drc, extraction, and interfaces to IRSIM.
Initial Login
Use PICO to edit.login file
.bash_profile and.login file
1. Add appropriate line to.login and.bash_profile files depending on account. 2. Then logoff of computer. 3. Finally Logon once again. What should you see? source ~cad/CAD_HOME/SCRIPTS/newcad.bash source ~cad/CAD_HOME/SCRIPTS/newcad.tcsh
Appropriate Settings Must have this heading in order to run MAGIC
4. Running MAGIC
Magic Tutorial #1: tut1
tut1
6. Invoking Commands :paint
6. Invoking Commands :grid
Quitting
MAGIC Tutorial #2: tut2a
Creating a Box and using the Cursor Left mouse button to start box in lower left corner. Then right mouse button to finish and capture the upper right corner of box.
Painting using the Middle Mouse Button
tut2a :paint
tut2a :undo
tut2a :redo
tut2b and Selecting
tut2b and More Selecting
tut2c and Labeling
Creating a Cursor Left and Right click at the same spot.
Erasing Labels Select desired area.
Erasing Labels
Inverter Layout in MAGIC
An Inverter with Design Rule Errors Examples of Labeling. Opening the Palette. Grid spacing. Design Rule Errors.
Saving and Extracting MAGIC Files
Extracting MAGIC Layout into SPICE Format Please note: Extract the Magic file The two “base-names” must be the same (inverter)
Mosis scmos 2u parameters. (you get from: CAD_HOME/lib/scmos2um.spice) Spice3 commands (you must add) Extracted by MAGIC and ext2spice
Copy and paste using the left mouse button to highlight the text in PICO then use the right mouse button to copy the highlighted text into the spice3 xterm window. ** This will save you time in the long run.
Printing in MAGIC and SPICE