Update extract.tcl

This commit is contained in:
Enno Schnackenberg 2026-05-07 07:17:45 +02:00
parent 52d62a3509
commit be0c90337e
1 changed files with 15 additions and 4 deletions

View File

@ -12,14 +12,25 @@
tech load __TECH__
load /work/__CELL__
# Write all intermediate files to /work/ so ext2spice can find __CELL__.res.ext
extract do resistance
# Write all intermediate files to /work/
extract path /work
# Enable resistance extraction
extract do resistance
# Generate __CELL__.ext
extract all
# extresist requires a valid box cursor; span the full layout to be safe
# extresist requires a valid selection/box
select top cell
# Generate __CELL__.res.ext
extresist all
# SPICE generation settings
ext2spice format ngspice
ext2spice extresist on
ext2spice cthresh 0
ext2spice /work/__CELL__
# Generate __CELL__.spice
ext2spice /work/__CELL__