Juan Andres
03/10/2023, 5:48 PMTim Edwards
03/10/2023, 6:26 PM.sim
files for all the subcells. However, I would not trust the full R-C extraction result on a hierarchical layout because there are just too many problems dealing with subcell overlaps. I recommend just flattening the design and running the R-C extraction on the flattened design. Assuming that inverter_blo
is your top level, then start with:
load inverter_blo
select top cell
expand
flatten inverter_blo_flat
load inverter_blo_flat
cellname delete inverter_blo
cellname rename inverter_blo_flat inverter_blo
select top cell
Do not save the resulting flattened cell; use it only for the full R-C extraction and then quit without saving.Juan Andres
03/10/2023, 7:46 PMTim Edwards
03/10/2023, 8:19 PMinverter.spice
file is not from a flattened netlist.Juan Andres
03/10/2023, 8:20 PMJuan Andres
03/10/2023, 8:22 PMJuan Andres
03/10/2023, 8:22 PMTim Edwards
03/10/2023, 8:23 PMinverter_blo
. I told you how to flatten it before running extresist. The resulting netlist should be called inverter_blo.spice
and it should not contain any subcircuits other than itself. However, your inverter_blo.spice
that you posted above is a simulation testbench. So maybe it is cell inverter
and not inverter_blo
that you want to be flattening and running extraction on?Juan Andres
03/10/2023, 8:25 PMTim Edwards
03/10/2023, 9:25 PMinverter.spice
if you did: (Note: corrected typo; it's "extresist tolerance 10", not "extresist threshold 10".)
load inverter
select top cell
expand
flatten inverter_flat
load inverter_flat
cellname delete inverter
cellname rename inverter_flat inverter
select top cell
extract all
ext2sim labels on
ext2sim
extresist tolerance 10
extresist
ext2spice lvs
ext2spice cthresh 0
ext2spice extresist on
ext2spice
Juan Andres
03/10/2023, 9:27 PMLuis Henrique Rodovalho
03/10/2023, 10:00 PMTim Edwards
03/10/2023, 10:06 PMJuan Andres
03/11/2023, 12:59 AMTim Edwards
03/11/2023, 1:00 AMJuan Andres
03/11/2023, 1:09 AMTim Edwards
03/11/2023, 1:10 AMJuan Andres
03/11/2023, 1:26 AMJuan Andres
03/11/2023, 1:29 AMTim Edwards
03/11/2023, 1:38 AMinverter_blo.spice
from VDD net1 GND DC{vdd}
to VVDD VDD GND 1.8
and I correct the ground pin in x1 out in VDD VSS inverter
to x1 out in VDD GND inverter
.Juan Andres
03/11/2023, 1:44 AM