could I get a bit of help with extracting for simu...
# magic
m
could I get a bit of help with extracting for simulation
I put this together before the sky130 release: https://github.com/mattvenn/magic-inverter
now I'd like to convert to the sky130 tech files
there is a branch in that repo called sky130 where I am working on this
I needed to change a few layer names in the inverter.mag file, and now I can open it and extract it with magic: magic -rcfile sky130A.magicrc inverter.mag
but now I can't convert it to a spice file
this rusn: ext2spice -p $PDKPATH inverter.ext
but doesn't produce any output
or errors
also, where is the spice models for the nmos and pmos transistors? the pdk doesn't seem to contain them.
aha, if I run ext2spice inside magic instead of on the cli it works
so I have a spice file now, but I can't simulate it as before
Screenshot from 2020-10-13 12-23-12.png
my spice isn't good enough to know whats wrong here.
the previous working one looked like this
Screenshot from 2020-10-13 12-23-46.png
ok I have given up on my original inverter as I think switching to the new tech library has broken it. That's why it looks exploded in the 3d view.
Also it had lots of DRC errors
instead I've loaded an inverter standard cell
then I extract, ext2spice
and run make sim
which results in some errors from ngspice
Screenshot from 2020-10-13 14-05-11.png
this might be to do with 0 resistances somewhere?
ok I resolved this over in the #analog-design analog channel with thanks to @Stefan Schippers @Pepijn de Vos and @konstantinos