-
Notifications
You must be signed in to change notification settings - Fork 255
Description
Hi,
I am currently doing a bit of work on the gf180 pdk and have a design that causes the following internal error during LVS's compare step on klayout 0.30.5, locally compiled (qt6):
ERROR: ../../../src/db/db/dbNetlistCompare.cc,1871,n == jj->first.size ()
ERROR: In ../../../gf180mcu.lvs: Internal error: ../../../src/db/db/dbNetlistCompare.cc:1871 n == jj->first.size () was not true in LayoutVsSchematic::compare
ERROR: RuntimeError: Internal error: ../../../src/db/db/dbNetlistCompare.cc:1871 n == jj->first.size () was not true in LayoutVsSchematic::compare in Executable::execute
../../../gf180mcu.lvs:388:in 'LVS::LVSExecutable#execute'
:/built-in-macros/lvs_interpreters.lym:31:in 'BasicObject#instance_eval'
:/built-in-macros/lvs_interpreters.lym:31:in 'LVS::LVSExecutable#execute'
The steps for reproducing involve cloning my own repo. This is because it requires some improvements I've implemented that are not yet upstreamed (currently in discussion with the guys at wafer space/fossi), such as:
- isosub support
- poly resistors in nwell
- removal of connect_implicit('*') as a default
Steps to reproduce:
- Download the design/netlist files: gf180mcu-project-trident-gf180-teststructure.zip
- Decompress them
# Install latest gf180 pdk
git clone [email protected]:Scafir/gf180mcu.git --branch klayout_lvs_improvements
klayout -b -r gf180mcugf180mcuD/libs.tech/klayout/tech/lvs/gf180mcu.lvs -rd input=gf180mcu-project-trident-gf180-teststructure.gds.gz -rd schematic=gf180mcu-project-trident-gf180-teststructure.spice -rd run_mode=deep -rd combine=true -rd top_lvl_pins=true
## Error
As it is a somewhat large design, I have not been able to run it in flat mode.
The error does not happen when a handful of devices are modified, but of course then LVS fails, rightfully so. Here is the minimum amount of device modifications that do not cause an internal error:
gf180mcu-project-trident-gf180-teststructure-no-internal-error.zip
Have a great end of the year, and thank you for all you work :)