Mitch Bailey
07/14/2022, 6:33 AMuser_project_wrapper
and want to check the connections. Currently, magic optimizes out empty cells when netlisting.Tim Edwards
07/14/2022, 12:49 PMproperty LEFview true
. That forces the cell to be considered abstract, and it won't be extracted except as a black box.Mitch Bailey
07/14/2022, 1:54 PMABSTRACT_CELLS
environment variable and using this script.
foreach cell $::env(MAGIC_GDS_FLATTEN_CELLS) {
gds flatglob $cell
}
# list cells to be flattened
puts "Flattening [gds flatglob]"
gds flatten yes
gds read $::env(CURRENT_GDS)
foreach cell $::env(ABSTRACT_CELLS) {
load $cell -dereference
property LEFview true
}
load $::env(TOP) -dereference
cd $::env(RUN_DIR)
extract do local
extract no capacitance
extract no coupling
extract unique
extract
ext2spice lvs
ext2spice -o $::env(TOP).gds.spice $::env(TOP).ext
feedback save $::env(TOP)-ext2gds.spice.feedback.txt
Do you see any problems?Tim Edwards
07/14/2022, 3:40 PM