hi, i wanted to extract the devices directly from ...
# magic
j
hi, i wanted to extract the devices directly from my spice file, but it says it can't find the transistors, does anyone know what can?
t
If you create a layout with cells from the device generator, you need to make sure those cells have been saved to disk.
j
I don't understand, bone must have the transistors in the same folder?
t
No, but if those layouts have been saved to a different folder, then you need to tell magic that with the
addpath
command.
Once an entire layout has been saved, though, any cells being used from other directories should have the location saved in the top level .mag file, so it shouldn't need
addpath
.
j
Can you explain me how can I do that ?
t
Literally, just
writeall
.
j
In magic ?
t
Yes.
j
write this and then re-import the spice ?
t
Maybe we should start over and you tell me exactly what you did from the top. I assumed that you had a layout file to begin with, but from your initial statement, it sounds like maybe you were trying to read a SPICE netlist into magic using "File->Import SPICE"?
j
Yes, I did that, “File —> import SPICE”
t
So once you do that, it will generate parameterized cells from the devices in the SPICE netlist and drop them (randomly) into a layout cell. After that, you will still need to complete the layout by (at least) wiring up devices.
j
Doesn’t worked, output 0 after command, imported and still not working
t
Can you post the netlist you are importing?