Cadence and Magic use different file formats for the storage of design data.
Interchange is possible via a common GDS2 stream format.
Procedure
go to magic directory e.g.
cadteaching7<~>$ cd ~/design/magic/tsmc180/cell_lib
translate magic file to cadence format
cadteaching7<~/design/magic/tsmc180/cell_lib>$ do_tsmc180_cellin <cellname>
cell cellname (in file cellname.mag) and all sub-cells will be translated.
The Magic layout editor supports simple on-line DRC.
The Cadence Virtuso layout editor supports the Mentor Calibre DRC post-processor.
Magic designs must pass the more stringent Calibre DRC before they will be accepted for fabrication.
Procedure
Change to directory containing cadence files
cadteaching7<~/design/magic/tsmc180/cell_lib>$ cd ~/design/cadence/tsmc180/cell_lib
Start cadence virtuoso
cadteaching7<~/design/cadence/tsmc180/cell_lib>$ virtuoso
Use the library manager for library, cell and cellview manipulation
Tools -> Library Manager...
Within the library browser the left hand mouse button is used for navigating around the library structure while the right hand mouse button provides access to the commands used to manipulate the libraries, cells and cellviews.
Open the imported design for edit
Use the mouse to select Library: cell_lib, Cell: <cellname> and View: layout then invoke the open command -
File -> Open...
Run the Calibre DRC
Calibre -> RUN nmDRCin the first of two Calibre windows select the runset file
Load Runset File Runset File Path [ calibre_dir/drc.runset ] OKfrom the second Calibre window invoke the DRC
Calibre Interative - nmDRC Run DRC
View the results
Calibre is very fussy, you will undoubtably have some errors.
If you select the errors from the Calibre DRC : RVE window, you will get a text description of the error in the bottom pane of the window and information about the location of the error in the right hand pane. More usefully, the Cadence Virtuoso layout window will jump to view the highlighted error.
While some errors may be rectified by post processing of the designs (e.g. dummy metal generation to overcome "density" problems), others will require you to modify your original magic design
Note that when you are learning how to use this DRC facility, it is best to check a magic design created with known errors. You can then track down the same errors using Calibre DRC.
All Cadence and Mentor documentation is available on-line.
For Cadence documentation use the help menu on the Virtuoso layout editor window:
Help -> Virtuoso Documentation Library
For Calibre documentation use the help menu on the Calibre Interactive window:
Help -> Help and Manuals
Full Design Rules for the TSMC 180nm process are also available via the Design Rule Documents web page.
Iain McNally
7-11-2019