Tom
11/21/2023, 9:49 PM.option scale=5n
at the top of a paracitic extracted netlist for GF180mcuTim Edwards
11/21/2023, 10:30 PMext2spice lvs which sets a bunch of "sane" parameters including ngspice format and no scale option.
Always use ext2spice lvs first, and then if you are doing parasitic extraction, follow that up with ext2spice cthresh 0 (or something bigger than zero) and ext2spice extresist on, which are the options that will get you (1) parasitic capacitance and (2) parasitic resistance (assuming you ran all the preparatory commands).Tom
11/21/2023, 10:36 PMmagic -rcfile $PROJECT_ROOT/ic/magicrc -noconsole -dnull << EOF
load $MAG_CELL
flatten ${CELL_NAME}_pex
load ${CELL_NAME}_pex
box values 0 0 0 0
extract all
ext2sim labels on
ext2sim
extresist tolerance 10
extresist
ext2spice lvs
ext2spice cthresh 0
ext2spice extresist on
ext2spice -o $OUTPUT_FILE_NAME
exit
EOFTim Edwards
11/21/2023, 10:39 PMTom
11/21/2023, 10:40 PM