Skip to main content

DRC in Magic

Download the Lab Files

vsduser@vsdsquadron: ~
# go to home
cd

# download lab files
wget http://opencircuitdesign.com/open_pdks/archive/drc_tests.tgz

# extract it
tar xfz drc_tests.tgz

# open lab folder
cd drc_tests

Open in Magic

vsduser@vsdsquadron: ~/drc_tests
# show files
ls -al

# open .magicrc (close by with Ctrl + X)
nano .magicrc

# open it in magic
magic -d XR &

Open met3.mag: File > Open > met3.mag

Met3 in magic

Finding and Fixing DRC Errors

Open this link to learn more about the DRC rules.

rules

Here is the change we made to the .tech file to fix the DRC error::

DRC error

Run DRC Again

tkcon 2.3 Main
# load new tech file
% tech load sky130A.tech

# re-run DRC
% drc check

# select region with new errors
% drc why

After fixing all the errors, the designs will work properly.