yrrapt
05/22/2021, 5:14 PMTim Edwards
05/22/2021, 8:13 PMJohn Kustin
05/22/2021, 8:22 PMextract all
ext2spice lvs
set filename [cellname list window]
set spicefilename [lindex [split $filename .] 0]
ext2spice -d -o "../lvs/$spicefilename.spice"
I see 16 nfets in the resulting .spice, which makes sense for my layout.
Using this script on the same layout:
extract do local
extract all
ext2sim labels on
ext2sim
extresist tolerance 10
extresist
ext2spice lvs
ext2spice cthresh 0.01
ext2spice extresist on
set filename [cellname list window]
set spicefilename [lindex [split $filename .] 0]
ext2spice -d -F -o "../pex/$spicefilename.spice"
I see 6 nfets. Little weird that the number is different. Should I expect this?
The real troubling part is that in the latter extraction, an nfet which serves as a power on reset is not in the netlist. at least I can't find it. Anyone heard of this kind of issue before?Weston Braun
05/23/2021, 4:06 AMWeston Braun
05/23/2021, 4:08 AMScripts will find it more convenient to place cells according to the cell origin, with the usage "getcell cellname child 0 0".
Weston Braun
05/23/2021, 4:09 AMWeston Braun
05/23/2021, 9:05 AM% label ibias FreeSans 30 metal3
Moving label "ibias" from space to metal5 in cell current_sense.
Weston Braun
05/23/2021, 5:35 PMsetlabel layer metal3
and
label ibias FreeSans 30 -metal3
and neither seem to work. Is the manual out of date? Am I passing in arguments wrong?Weston Braun
05/23/2021, 10:29 PMbox 0um 0um 0um 0um
getcell ./../comparator/comparator.mag v child 0 0
shift_to_center
move 45um 22.7um
box 0um 0um 0um 0um
getcell ./../comparator/comparator.mag v child 0 0
shift_to_center
move 0um 22.7um
Tim Edwards
05/24/2021, 12:17 AMload ... -dereference
to get the paths right again. Magic saves the path to a cell when it writes out instances, so it knows where to find it again when reading back the same file. If you move one of those files, then the path that is in the .mag file is wrong, and you'll get a warning.
In the above case, maybe it would be better to do addpath ../comparator
after which you can do just getcell comparator
.
However, none of that should be causing a crash condition. Can you isolate a reproducible case?Weston Braun
05/24/2021, 1:00 AMWeston Braun
05/24/2021, 1:01 AMX80 vss vdd sky130_fd_pr__cap_mim_m3_2 l=6400 w=6000
Weston Braun
05/24/2021, 1:02 AMWeston Braun
05/24/2021, 1:02 AMPhilipp Gühring
05/24/2021, 1:20 AMPhilipp Gühring
05/24/2021, 1:22 AMPhilipp Gühring
05/24/2021, 1:30 AMPepijn de Vos
05/24/2021, 3:18 PMPepijn de Vos
05/24/2021, 3:19 PMPhilipp Gühring
05/24/2021, 5:09 PMPhilipp Gühring
05/24/2021, 5:11 PMPhilipp Gühring
05/24/2021, 5:13 PMTim Edwards
05/24/2021, 5:13 PMTim Edwards
05/24/2021, 5:14 PMtech layers allli
.Weston Braun
05/24/2021, 8:19 PMTim Edwards
05/24/2021, 8:25 PMWeston Braun
05/24/2021, 8:27 PMWeston Braun
05/24/2021, 8:27 PMWeston Braun
05/24/2021, 8:28 PMTim Edwards
05/24/2021, 8:28 PM