Update extract.tcl
This commit is contained in:
parent
52d62a3509
commit
be0c90337e
|
|
@ -12,14 +12,25 @@
|
||||||
tech load __TECH__
|
tech load __TECH__
|
||||||
load /work/__CELL__
|
load /work/__CELL__
|
||||||
|
|
||||||
# Write all intermediate files to /work/ so ext2spice can find __CELL__.res.ext
|
# Write all intermediate files to /work/
|
||||||
extract do resistance
|
|
||||||
extract path /work
|
extract path /work
|
||||||
|
|
||||||
|
# Enable resistance extraction
|
||||||
|
extract do resistance
|
||||||
|
|
||||||
|
# Generate __CELL__.ext
|
||||||
extract all
|
extract all
|
||||||
|
|
||||||
# extresist requires a valid box cursor; span the full layout to be safe
|
# extresist requires a valid selection/box
|
||||||
select top cell
|
select top cell
|
||||||
|
|
||||||
|
# Generate __CELL__.res.ext
|
||||||
|
extresist all
|
||||||
|
|
||||||
|
# SPICE generation settings
|
||||||
ext2spice format ngspice
|
ext2spice format ngspice
|
||||||
ext2spice extresist on
|
ext2spice extresist on
|
||||||
ext2spice cthresh 0
|
ext2spice cthresh 0
|
||||||
ext2spice /work/__CELL__
|
|
||||||
|
# Generate __CELL__.spice
|
||||||
|
ext2spice /work/__CELL__
|
||||||
Loading…
Reference in New Issue