blob: 6bef599fefc0326cf9438996bb2a6903c3b53fb8 [file] [log] [blame]
# Tim's Cap-Res extraction procedure
set NAME [cellname list self];
select top cell;
# (Flattening improves resistance extraction)
flatten "[list $NAME]_flat";
load "[list $NAME]_flat";
select top cell;
extract do resistance;
extract all;
ext2sim labels on;
ext2sim;
extresist tolerance 10;
extresist all;
ext2spice lvs;
ext2spice cthresh 0.1;
ext2spice rthresh 10
ext2spice extresist on;
ext2spice -o "pex_[list $NAME].spice";