How to use DRACULA DRC
At first you must prepare your design by creating a GDS2 file:Go to the CIW-window and press File -> Export -> Stream.... Look at the following picture and modify your Stream Out dialog to your needs. By saving the "Template File", this can also be done as bash command:
pipo strmout pipo.export
Next we must edit our Dracula rule file
*DESCRIPTION
MAG-BEF-GRID=YES
INDISK=XXX.gds2 <- Name of your GDS2 file
PRIMARY=XXX <- Name of the topcell
OUTDISK=XXX.gds2 <- Name of the output GDS2 file
PRINTFILE=XXX <- Name of the ascii error file
MODE=EXEC NOW
SYSTEM=GDS2 <- Type of input
SCALE=0.001 MICRON
RESOLUTION=0.001 MICRON
LISTERROR=YES
KEEPDATA=SMART
PROGRAM-DIR=$ECAD/
; FLAG-NON45=YES
; FLAG-OFFGRID=YES 0.001
; FLAG-ACUTEANGLE=YES
FLAG-SELFINTERS=YES
*END
At last we create a directory (e.g. Dracula) an put the modified rule file in it and start dracula in a shell window by typing:
pdracula
at next you type
/get [rule file] Dracula reads in the rule file
/finish
Now you must wait a moment, the following message should appear:
** CREATING : COMMAND FILE : jxrun.com
Now you can start the checking procedure with
jxrun.com > tmp/dracula.log
After this you find the complete output in the new generated GDS2 file.
Read in the error file is done with the CIW-window by File -> Import -> Stream.... Cadence will create a library with
- one cell for each type of error (the cell name tells you the error number -> check the rules file for explanation)
- one top cell with all errors instantiated
Thanks to Edgar Sexauer for the template.