Closed chetanyagoyal closed 3 months ago
is this ready for review?
@msaligane the mappedpdk.py
file contains the following extraction commands
select top cell
extract all
ext2spice lvs
ext2spice -o {str(lvsmag_path)}
load {design_name}
extract all
ext2spice lvs
ext2spice rthresh 0
ext2spice cthresh 0
ext2spice -o {str(pex_path)}
load {design_name}
extract all
ext2spice cthresh 0
ext2spice -o {str(sim_path)}
I think the same extraction is happening 3 times. I don't think the ext2spice modify the extracted data (*.ext
files), just how that information is netlisted.
The default extract option is to connect virtual nets (nets with the same name) that are not physically connected.
You might want to use the detailed parasitic resistance flow described here.
The netgen lvs command used is a one line command that should work for simple circuits. Multiple netlists and mixed signal designs require extra handling.
You might want to add a check for unexpected blackboxes. netgen will sometimes match an empty subckt to an actual layout or visa versa because it assumes that one or the other is a blackbox.
Contributor
@d-m-bailey I addressed the repeated .ext
extractions in this commit.
ext2resist
didn't seem to make a difference in the report. -blackbox
seemed like a good check to addThank you for the help!
@msaligane this is ready to merge
@srpathen @arldai can you take a look?
Implements the following changes -
yaml
workflow file to:with_antenna_diodes=0
in opamp)diff_pair_ibias
code to account for antenna diodes being passed as 0.subckt
definition now matches the parameters being passedDIFF_TO_SIGLE
netlist LVS clean.subckt
statementsmappedpdk
.subckt
callswith_pins
argument ingenerate_netlist
to allow removal of top level's pins