I can't figure out how to import the netlist, and ...
# sky130
r
I can't figure out how to import the netlist, and also how to integrate it with the caravel project
r
that doesn't work
I have no "Import SPICE" option
image.png
i tried using version 8.3.346 which is the latest version
still no option
m
make sure you’re reading the correct technology file. Any error messages in the console?
menu.png
r
image.png
I have the technology set
but it still doesn't show up in the menu
you are on version 8.3.346 right?
m
I’m using an older version with an older pdk. I don’t think it’s a magic problem, but maybe a pdk compatibility problem. The
Error: No style is set
messages are concerning. Are you using volare? sky130A? Could you try an older pdk?
r
image.png
I only have the following PDKs
my PDK is version 1.0.318
im going to try to reinstall my dk
pdk
m
Is your technology
minimum
? Mine’s sky130A 1.0.264.
r
I clicked sky130A and that led to errors
I tried reinstalling it with the latest version on the website (1.0.359) still doesn't work
image.png
m
@Tim Edwards any ideas why the Import Spice menu doesn’t show?
t
Probably caused by running
magic -T <path_to>/sky130A.tech
instead of
magic -rcfile <path_to>/sky130A.magicrc
.
The first one just loads the technology file. The second one loads the technology file and the parameterized device generators, adds menu items for the parameterized devices and SPICE file import (which uses the parameterized device generators), and performs other necessary setup items.
👍 1
r
I tried running magic -rcfile ~/open_pdks/sky130/sky130A/libs.tech/magic/sky130A.magicrc
and it just closes
image.png
I seem to be getting this error when I try doing it this way
if I do magic -T ... sky130A.tech it loads without error though
m
not
-magicrc
, try
-rcfile
.
r
thanks that worked
👍 1
hmm, im getting errors now about the capacitor width and height being too high
they have to be less than 30 um right?
I'm also getting errors for sky130_fd_pr__res_xhigh_po (apparently it can't be read)
any idea on why it fails to read the resistors?
m
Resistor models are only valid for fixed width. Try the
sky130_fd_pr__res_xhigh_po_0p35
,
sky130_fd_pr__res_xhigh_po_0p69
, etc. symbols/models.
r
if I have off chip components in my simulation, do I need to do anything
also even after importing, I don't see the chip IO pins and stuff. Where do I get those
image.png
I switched over all the resistors and capacitors
and I got this after trying to import SPICE again
it seems to get mad at me for pretty much every component in my schematic
m
Looks like it’s saying new name isn’t unique. Does each device in the schematic have a unique name?
r
like R3, R4, R5... ?
m
Yes.
r
it looks like all o fthem are unique
also do you know what the body of resistors should be connected to?
m
Can you share the spice file that you’re trying to import?
r
ok
untitled-8.spice
t
I ran "Import SPICE" on the file posted above and it gave me a layout. What version of magic are you using, and what version of the PDK? (see below)
Oh, but note that I have seen an issue where if I try to do a SPICE import multiple times, cells that already got created and saved can cause problems when reading it again. It is probably best to do this in an otherwise-empty layout directory.
Yep, sure enough, if I do "Import SPICE" a 2nd time, I get the same errors as you posted above. I will need to track down that bug and fix it. Meanwhile, though, working in a clean directory will avoid the problem.
👍 1
r
ok
is there a reason why my digital blocks don't show up?
image.png