Hi, I was able to import the spice file before wit...
# magic
c
Hi, I was able to import the spice file before with the loaded sky130A.tech file and sky130A.magicrc file, but I did not save it because I wanted to have a clean import again. However, now when I import the spice file into magic, it says that it cannot find the MOSFETs I was using previously. Is the library parth for the devices done in the rc file or the tech file? Sorry if it's very vague description of what caused the problem.
t
After importing the SPICE and generating the layout, you need to do
writeall force
(or "Save All" from the menu) to make sure everything has been written to disk. Fortunately, the 6-character suffix at the end of the cell name is not randomly assigned but is a hash of the device parameters, so if you re-run the import step, you can recover all of those cells.
c
@User Thanks, I think I got it to import the layers again, but the devices look different than what's provided in the example (such as example_por)? the main difference is the example_por.mag doesn't seem to have any of the source/drain wells and only has the gate layers?
t
I'd need a screenshot to visualize what you're talking about. The first of those sounds like the "pwell" layer surrounding nFET devices. There is actually no such layer in the process, but sometimes its helpful to show a pwell that is the complement of the nwell. So "pwell" is an optional layer. It does not have any electrical significance, and it does not translate to a GDS layer. There are some rules in the GDS read for automatically drawing pwell around nFETs, which was done a while back before I made a number of changes to the way that magic does substrate extraction, and probably isn't even needed any more.
c
@User In the example_por there seems to be only metal layers for things like sky130_fd_pr__nfet? Is it because there are hidden layers? I tried using "see poly" but it doesn't really show the nfet like when I descend into the cell
t
Looks like you need to do
expand
.
c
OH yes you're right. Sorry for the bother lol