Tom
01/05/2021, 12:42 AMMitch Bailey
01/05/2021, 2:34 AMTom
01/05/2021, 2:40 AMnetgen lvs ldo_amp_dp.ext.spice ldo_amp_dp.spice
Mitch Bailey
01/05/2021, 2:59 AMextract do local
extract no capacitance
extract no coupling
extract no resistance
extract no adjust
extract unique noports
extract
ext2spice lvs
LVS uses sky130A/libs.tech/netgen/sky130A_setup.tcl
so maybe add that at the end of your netgen command.Tom
01/05/2021, 3:40 AMext2spice rthresh 0
? as you pointed out I get pcap but no presMitch Bailey
01/05/2021, 3:41 AMTom
01/05/2021, 3:42 AMTim Edwards
01/05/2021, 4:11 PMTim Edwards
01/05/2021, 4:17 PMTom
01/05/2021, 6:34 PMVSUBS
. My schematic ties the FET bulk contacts to vss
(picture below) and my layout labels the guard ring as vss
too. I thought the guard ring served as my tap into well forming my bulk contact so I don't understand the mismatch and the presence of the extra net. Is that not right?Tim Edwards
01/05/2021, 7:21 PMsky130_fd_pr__nfet_g5v0d10v5_N76Z7G.mag
to go along with the top level.Tom
01/05/2021, 7:25 PMTim Edwards
01/05/2021, 7:38 PMTom
01/05/2021, 7:40 PMTim Edwards
01/05/2021, 7:57 PMTom
01/05/2021, 7:58 PMTom
01/05/2021, 8:03 PMTom
01/05/2021, 8:03 PMTim Edwards
01/05/2021, 8:04 PMTim Edwards
01/05/2021, 8:04 PMTom
01/05/2021, 8:06 PMTom
01/05/2021, 8:10 PMTom
01/05/2021, 9:08 PMTim Edwards
01/05/2021, 9:09 PMTom
01/05/2021, 9:10 PMTim Edwards
01/05/2021, 9:11 PMTim Edwards
01/05/2021, 9:12 PMTom
01/05/2021, 9:14 PMTim Edwards
01/05/2021, 9:15 PMTom
01/05/2021, 9:19 PMTom
01/07/2021, 2:39 AMsky130_fd_pr__pfet_20v0
which do not exist in the schematic. I've grep'ed the layout folder for all instances of pfet
in *.mag
files and only see instances of the intended sky130_fd_pr__pfet_g5v0d10v5
FETs so I'm not sure whats going on. Have you seen anything like that before? I've attached the report and layout files, along with the netlists in the event you get a chance to look.Tom
01/07/2021, 2:40 AMldo_amp
I've not got to the ldo_top
yetTim Edwards
01/07/2021, 2:53 AMTim Edwards
01/07/2021, 2:57 AMTom
01/07/2021, 3:03 AMTim Edwards
01/07/2021, 3:05 AMTom
01/07/2021, 4:07 AMTom
01/07/2021, 5:32 AM*.tcl
generation part of the bash script to do the following:
# create magic tcl script
echo "load $MAG_FILE
flatten -nolabels flat.mag
writeall force
load flat.mag
extract all
ext2spice lvs
ext2spice -o $2_lvsmag.spice
exit" > extract_lvs.tcl
# invoke magic for lvs spice netlist extraction
magic -rcfile $PDK_ROOT/sky130A/libs.tech/magic/sky130A.magicrc -noconsole -dnull extract_lvs.tcl &
but it doesn't seem to produce the flattened cell whatever I do (I'd also rather not have to writeall
if it can be avoided. These commands work fine if I execute them from the console, and all the other parts of the tcl script work too.Tom
01/07/2021, 5:34 AMTom
01/07/2021, 5:35 AMTim Edwards
01/07/2021, 2:44 PMTim Edwards
01/07/2021, 2:46 PMTom
01/07/2021, 5:32 PM.mag
was the issue after all. I also managed to get rid of the writeall
too since presumably the flattened cell is lust loaded directly from the buffer without having save it to disk.