Hello, I created a simple inverter layout in magic and I was trying to then LVS check it with my xschem layout through netgen, but when I ran the lvs command this error occurred. It seems that netgen isn't seeing the devices that are inside the layout extracted spice files. To try and fix this I tried importing the spice list directly into magic, then I tried placing the parametrized cells my self and then I tried drawing the nmos and pmos without the p-cells. Each time I extracted the spice file by running
extract all
,
ext2spice lvs
, then
ext2spice
, I then got the same error in netgen for all three attempts. I'm wondering if anyone has had this issue before and knows how to fix it. Its possible I'm missing a simple step in running lvs.
t
Tim Edwards
02/08/2023, 1:11 AM
You need to select the option in xschem to put a subcircuit wrapper around the devices. Otherwise, you are comparing a subcircuit against two transistors. You should be sure to use the syntax
to make sure you are comparing the same subcircuit in each file. Finally, you need to pass the name of the setup file for the PDK, otherwise netgen will not know what is a device and what is an empty subcircuit.
t
Thomas Figura
02/08/2023, 1:12 AM
Okay. Thank you for the response @Tim Edwards
Thomas Figura
02/08/2023, 1:19 AM
How would I go about passing the name of the PDK setup file?
t
Tim Edwards
02/08/2023, 1:21 AM
Next argument on the command line. Where is your open_pdks installation of sky130 PDK located? For me, it would be
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.