LVS RuntimeError: "Terminal still connected after removing device"

I am running LVS in KLayout (version 0.30.5) on layout with IHPpdk. During the LVS run, I encounter the following error:

RuntimeError: Internal error: Terminal still connected after removing device in device combination: name=4, circuit=LNA_LAY_MAIN, terminal=mim_sub in Netlist::simplify in Executable::execute
.../ihp-sg13g2/libs.tech/klayout/tech/macros/.../lvs/sg13g2.lvs:388:in `simplify'
.../ihp-sg13g2/libs.tech/klayout/tech/macros/.../lvs/sg13g2.lvs:388:in `execute'
/built-in-macros/lvs_interpreters.lym:31:in `instance_eval'
/built-in-macros/lvs_interpreters.lym:31:in `execute'

I don’t fully understand what this error means. Could someone explain what could cause this “terminal still connected after removing device” error?
Any suggestions on how to debug or fix this ?

Comments

  • Hi @engrvip,

    The error message is an assertion - so an unexpected condition inside the code.

    Checking against the main branch of the IHP PDK, line 388 seems to be a "simplify" call on the schematic netlist. I assume it is related to the preprocessing, the IHP PDK does to the schematic netlist. It's hard to pin down without the actual netlist. Can you provide a pointer?

    Thanks,

    Matthias

Sign In or Register to comment.