Tim Edwards
06/17/2021, 9:13 PMTom
06/17/2021, 9:15 PMTim Edwards
06/17/2021, 9:16 PMTim Edwards
06/17/2021, 9:16 PMTim Edwards
06/17/2021, 9:19 PM/usr/share/pdk/
in the example batch script to /home/tom/pdks/
and it should work for you.Tim Edwards
06/17/2021, 9:21 PMTom
06/17/2021, 9:23 PMTim Edwards
06/17/2021, 9:29 PMTom
06/17/2021, 9:51 PMTom
06/17/2021, 9:58 PMNetgen 1.5.177 compiled on Thu 20 May 2021 10:18:32 PM PDT
When I try Netgen 1.5.175 compiled on Thu 17 Jun 2021 02:53:20 PM PDT
I get the attached. It's still broken in what looks like the same place but the report is a little different:
Flattening unmatched subcell ldo_amp in circuit user_analog_project_wrapper_lvssch.spice (1)(1 instance)
Equate elements: no current cell.
Equate elements: no current cell.
Class user_analog_project_wrapper_lvsmag.spice: Merged 49 devices.
Class user_analog_project_wrapper_lvssch.spice: Merged 2 devices.
Subcircuit summary:
Circuit 1: user_analog_project_wrapper_lvs |Circuit 2: user_analog_project_wrapper_lvs
-------------------------------------------|-------------------------------------------
sky130_fd_pr__pfet_g5v0d10v5 (3) |sky130_fd_pr__pfet_g5v0d10v5 (3)
sky130_fd_pr__nfet_g5v0d10v5 (4) |sky130_fd_pr__nfet_g5v0d10v5 (4)
Number of devices: 7 |Number of devices: 7
Number of nets: 5 |Number of nets: 5
---------------------------------------------------------------------------------------
Circuits match uniquely.
Property errors were found.
Netlists match uniquely.
There were property errors.
sky130_fd_pr__nfet_g5v0d10v54 vs. ldo_ampI2/sky130_fd_pr__nfet_g5v0d10v5M9:
w circuit1: 108 circuit2: 24 (delta=127%, cutoff=1%)
Cells have no pins; pin matching not needed.
Device classes user_analog_project_wrapper_lvsmag.spice and user_analog_project_wrapper_lvssch.spice are equivalent.
Circuits match uniquely.
Property errors were found.
The following cells had property errors: user_analog_project_wrapper_lvsmag.spice
Tom
06/17/2021, 11:15 PMTom
06/18/2021, 12:46 AMsch
and lay
folders. I've found that when I instantiate layouts from one block in another the tool gets confused occasionally, and so what I'm now doing is hardening each sub design into a flattened .mag
file once it's LVS and DRC clean, so I can copy them into the wrapper folder. This seems to get around those issues but it does of course mean that for LVS at the top level it's unable to resolve into the hierarchy of the sub designs
I tried instantiating the non flattened ldo_amp
in the wrapper but then I get File /home/tom/repos/mpw2-columbus-a0/columbus/ip/top/lay/../../ldo/lay/ldo_amp_b.mag couldn't be read
even after saving (the cell is just called ldo_amp
, I don't know why it needs to append the _b
). Manually editing the mag file to remove the _b
from the name at least enables it to find the file but the report is not much more helpful from what I can tell. It's attached.
Also - If I instantiate my flattened ldo_amp
in the wrapper it passes LVS but faild pin matching. Is there a way to supress labels but preserve port names when flattening?Tim Edwards
06/18/2021, 1:35 AMTom
06/18/2021, 1:38 AMNetgen 1.5.175
for now?Tom
06/18/2021, 2:48 AMTom
06/18/2021, 2:48 AMTim Edwards
06/18/2021, 2:54 AMTom
06/18/2021, 5:05 AMTim Edwards
06/18/2021, 12:47 PMTom
06/18/2021, 3:35 PMTom
06/18/2021, 10:45 PMnetgen -batch lvs "${CELL_NAME}_lvsmag.spice $CELL_NAME" "${CELL_NAME}_lvssch.spice $CELL_NAME" $PDK_ROOT/libs.tech/netgen/sky130A_setup.tcl lvs_report.log
on NON flattened designs and everything is looking good (not tried the top yet) except the previously passing BGR.
netgen is now core dumping only on the BGR sub design which is LVS clean according to previous runs.
/home/tom/repos/mpw2-columbus-a0/columbus/lvs.sh: line 97: 2118548 Segmentation fault (core dumped) netgen -batch lvs "${CELL_NAME}_lvsmag.spice $CELL_NAME" "${CELL_NAME}_lvssch.spice $CELL_NAME" $PDK_ROOT/libs.tech/netgen/sky130A_setup.tcl lvs_report.log
I'm using netgen commit# 6a555ad6edd1e57421b533bffb38ffa7db5fc0ea
(TOT). Line 97 of lvs.sh is the netgen call. I've attached the netlists causing the crash, and the terminal output log
. Please let me know if I can provide any additional info.
The BGR is the largest sub design but I've not had netgen coredump on me before now. The cell name for both the layout and schematic are bgr_topTim Edwards
06/19/2021, 1:24 AMcommit c4f03eabaf86e8eb341154ba4bc11c1d79eaacdd
on opencircuitdesign.com fixes the crash condition.Tom
06/19/2021, 1:27 AMTom
06/19/2021, 2:09 AMTom
06/19/2021, 2:09 AMTom
07/29/2021, 4:51 PMTim Edwards
07/29/2021, 5:12 PMextract do labelcheck
. I still have the window up where I was working on this, and before I got sucked into other emergencies, I was considering whether the do labelcheck
option ought to be a default option, or not an option at all. But at least using it resolves the issue with your circuit.Tom
07/29/2021, 8:14 PMdo labelcheck
?