1 / 28

CAD Tools Magic/IRSIM/SPICE 簡介

CAD Tools Magic/IRSIM/SPICE 簡介. Presenter :黃世緯 助教 Rm 322 10/18/2000. Outline. Introduction Magic – Layout Editor IRSIM – Logic-level simulator for MOS circuits SPICE – Transistor-level simulator for MOS circuits. Introduction. Design Circuits. Circuit-level Simulator SPICE. A. B.

phillip
Download Presentation

CAD Tools Magic/IRSIM/SPICE 簡介

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CAD ToolsMagic/IRSIM/SPICE簡介 Presenter:黃世緯 助教 Rm 322 10/18/2000

  2. Outline • Introduction • Magic – Layout Editor • IRSIM – Logic-level simulator for MOS circuits • SPICE – Transistor-level simulator for MOS circuits

  3. Introduction Design Circuits Circuit-level Simulator SPICE A B Layout Tools Magic extract C=A? B=A? verification Logic-level Simulator IRSIM C

  4. Magic – Layout Editor

  5. 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. How to Get Help? • Manual • Hard copies • Electronic files • postscript files available on http://video.ee.ntu.edu.tw/~vlsi_design/homework/cad_tools/magic.htm • On WS: • ~d8921030/magic_tutorial (tutorial files) • ~d8921030/magic_tutcells (example files for tutorial) • On-line help • >> :help subject

  7. 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. The Box & the Cursor • Used to select things on the color display Mouse right button Mouse left button

  9. Invoking Commands • Invoking Commands • Type “:”(colon) or “;”(semi-colon) to invoke command • Use macro • E.g. ‘u’ means “:undo”

  10. 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. Magic Commands (2) • If I mistake to take action… • :undo • Same as ‘u’ • :redo • Same as ‘U’

  12. 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. 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. Magic Commands (5) • Label • :label • Erase a label • Select it and delete it • Erase all labels • :erase labels • Labeling conventions • Vdd! GND! (important!!)

  15. Magic Commands (6) • Save to files • :writeall • :save name • Magic file format : *.mag • Leaving Magic • :quit

  16. 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. IRSIM – Logic-level simulator for MOS circuits

  18. 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. IRSIM EXAMPLE

  20. COMMAND FILE EXAMPLE 此行去掉,改加在run irsim之後, 見下頁

  21. TRY IRSIM

  22. ANALYZE WINDOW

  23. SPICE – Transistor-level simulator for MOS circuits

  24. Magic to Spice • Convert magic extracted files to spice net files ext2spice name.sp name.ext

  25. SPICE

  26. SPICE Circuit 5 Vin 1 1 2 1 0

  27. SPICE

  28. SPICE

More Related