@User
Is there a way to use Magic DRC engine as a separate program? I need to give something like the following file as input get the DRC results in real-time:
box 0.0um 0.0um 0.5um 0.5um
paint nwell
By reading this file I should get nwell width DRC error instantly, I guess.
manili
02/21/2022, 8:12 PM
Also, would there be a license issue if I use the engine separately in my own project/program?
t
Tim Edwards
02/22/2022, 6:41 PM
Yes, you can always call magic in batch mode with something like the following:
which will do the above, but more thoroughly and with better output.
✅ 1
m
manili
03/04/2022, 9:03 PM
@User
Thanks a lot for the reply. One other question is there any documentation about the DRCs or I have no other ways except checking the Magic tech file?
t
Tim Edwards
03/05/2022, 2:44 AM
@User: You get information about DRC errors in magic with the command
drc why
, or you can move from one error to the next with
drc find
, or you can get a complete dump of DRC errors with the script
run_standard_drc.py
, which is installed by open_pdks along with other magic files in
sky130A/libs.tech/magic/
.
m
manili
03/09/2022, 9:25 AM
@User
Hi Tim,
Thanks a lot for your time and patience. Actually what I’m looking for is some raw info of the DRCs. I mean how do you get proper informations to create the tech files in
sky130A/libs.tech/magic/
? I found some tables this link but I don’t know whether I’m looking in correct info or I should search somewhere else?
t
Tim Edwards
03/09/2022, 2:26 PM
Yes, that's the correct location for the DRC rule documentation.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.