Hi, which file shows the DRC rules for the sky130 pdk in magic? Every time I run magic I use "magic ...
c
Hi, which file shows the DRC rules for the sky130 pdk in magic? Every time I run magic I use "magic -T sky130A.tech -rc sky130A.magicrc" and it seems to run the DRC rules, but when I open these files I don't really see the rules? Is it in the .tcl and that is automatically loaded when I open magic with those two options? Thanks!
m
@User the rule file is specified in
sky130A.magicrc
. It's this line
Copy code
tech load $PDKPATH/libs.tech/magic/sky130A.tech
👍 1
c
Okay, thanks for the info!
t
Well, the tech file is more than just a rule file. Magic does not divide up the input into multiple rule files; they are all in the same setup file. That includes the extraction decks, DRC decks, GDS decks, and others, and there are multiple decks embedded in the same file. The file is divided up into sections, so you'll find the rules mostly in the
drc
section. However, part of the DRC deck depends on a GDS output deck, so the rules are spread across several sections.