Download presentation
Presentation is loading. Please wait.
Published byEgbert McDonald Modified over 9 years ago
1
VLSI Design Course 2000 CAD Tools Magic/IRSIM/SPICE 簡介 Presenter :黃世緯 助教 Rm 322 10/18/2000
2
VLSI Design Course 2000 Outline Introduction Magic – Layout Editor IRSIM – Logic-level simulator for MOS circuits SPICE – Transistor-level simulator for MOS circuits
3
VLSI Design Course 2000 Introduction Design Circuits Circuit-level Simulator SPICE Layout Tools Magic Logic-level Simulator IRSIM extract verification A B C C=A? B=A?
4
VLSI Design Course 2000 Magic – Layout Editor
5
VLSI Design Course 2000 What is Magic? A color painting tool? –Quite a bit about the nature of VLSI circuit layout Additional operations –Built-in Design-Rule-Check (DRC) –Built-in Hierarchical circuit extractor –Some useful functions such as routing tools
6
VLSI Design Course 2000 How to Get Help? Manual –Hard copies –Electronic files postscript files available on http://video.ee.ntu.edu.tw/~vlsi_design/homework/cad_to ols/magic.htm http://video.ee.ntu.edu.tw/~vlsi_design/homework/cad_to ols/magic.htm On WS: –~d8921030/magic_tutorial (tutorial files) –~d8921030/magic_tutcells (example files for tutorial) On-line help –>> :help subject
7
VLSI Design Course 2000 Running Magic 在 Linux 中的 magic 及 irsim, 均需要將 CAD_HOME 環境變數設到 /home/cad 目錄下, 也就是, 如果用的是 C Shell (csh, tcsh), 要加入下列兩行到 $HOME/.cshrc 中 setenv CAD_HOME /home/cad set path=($path $CAD_HOME/bin) 在 Linux 中執行 >> magic –dX11 –T tsmc0p8_spdm filename
8
VLSI Design Course 2000 The Box & the Cursor Used to select things on the color display Mouse left button Mouse right button
9
VLSI Design Course 2000 Invoking Commands –Type “:”(colon) or “;”(semi-colon) to invoke command –Use macro E.g. ‘u’ means “:undo”
10
VLSI Design Course 2000 Magic Commands (1) Basic Painting –:paint layers (color) –:erase layers “ ^D ” (erase all layers underneath the cursor) –Use Mouse Select or box what U would like to paint Move to the color (layer) U would like to paint Press middle button (or press left & right together if U use 2-button mouse)
11
VLSI Design Course 2000 Magic Commands (2) If I mistake to take action… –:undo Same as ‘u’ –:redo Same as ‘U’
12
VLSI Design Course 2000 Magic Commands (3) Selection –Move over the portion and type ‘s’ –Select more Type ‘S’ –Select area ‘a’ / select more area ‘A’ –Clear out the selection ‘C’ or “:select clear”
13
VLSI Design Course 2000 Magic Commands (4) Operations on the Selection –:delete d –:move q(l), w(d), e(u), r(r) –:stretch Q, W, E, R –:copy c –:upsidedown (vertically flip) –:sideway (horizontally flip) –:clockwise
14
VLSI Design Course 2000 Magic Commands (5) Label –:label –Erase a label Select it and delete it –Erase all labels :erase labels –Labeling conventions Vdd! GND! (important!!)
15
VLSI Design Course 2000 Magic Commands (6) Save to files –:writeall –:save name Magic file format : *.mag Leaving Magic – :quit
16
VLSI Design Course 2000 Magic Commands (7) Utility Commands –:grid [spacing] –:zoom z / Z (zoom in/out) Advanced Wiring –:array xsize ysize Cell Hierarchy –Expanding x (expand) X (overview) Design Rule Checking –:drc why –:drc find
17
VLSI Design Course 2000 IRSIM – Logic-level simulator for MOS circuits
18
VLSI Design Course 2000 Function of IRSIM Logic-level simulation (based on RC model) Display simulation waveform Differences from SPICE –IRSIM is an event-driven logic-level simulator for MOS transistor circuits. –SPICE is a circuit analysis tool for simulation of electrical circuits in steady-state, transient, and frequency domains.
19
VLSI Design Course 2000 IRSIM EXAMPLE
20
VLSI Design Course 2000 COMMAND FILE EXAMPLE 此行去掉,改加在 run irsim 之後, 見下頁
21
VLSI Design Course 2000 TRY IRSIM
22
VLSI Design Course 2000 ANALYZE WINDOW
23
VLSI Design Course 2000 SPICE – Transistor-level simulator for MOS circuits
24
VLSI Design Course 2000 Magic to Spice Convert magic extracted files to spice net files ext2spice name.sp name.ext
25
VLSI Design Course 2000 SPICE
26
SPICE Circuit Vin 1 0 5 211
27
VLSI Design Course 2000 SPICE
28
SPICE
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.