blob: 8420c4436c70b863ef7a857ca8c93763245aadc8 [file] [log] [blame]
if { [info exist ::env(MAGIC_EXT_USE_GDS)] && $::env(MAGIC_EXT_USE_GDS) } {
gds read $::env(CURRENT_GDS)
} else {
lef read /soft/ProgramFiles/caravel_user_project/openlane_caravel/pdks/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd.tlef
if { [info exist ::env(EXTRA_LEFS)] } {
set lefs_in $::env(EXTRA_LEFS)
foreach lef_file $lefs_in {
lef read $lef_file
}
}
def read /openLANE_flow/designs/axmul/runs/run1/results/routing/22-axmul.def
}
load axmul -dereference
cd /openLANE_flow/designs/axmul/runs/run1/results/magic/
extract do local
extract no capacitance
extract no coupling
extract no resistance
extract no adjust
if { ! 0 } {
extract unique
}
# extract warn all
extract
ext2spice lvs
ext2spice -o /openLANE_flow/designs/axmul/runs/run1/results/magic/axmul.spice axmul.ext
feedback save /openLANE_flow/designs/axmul/runs/run1/logs/magic/35-magic_ext2spice.feedback.txt
# exec cp axmul.spice /openLANE_flow/designs/axmul/runs/run1/results/magic/axmul.spice