Closed
Description
This refers to this discussion: https://www.klayout.de/forum/discussion/1955/npn-transistor-extraction-issue#latest
With the attached test case, this netlist extractor script:
report_netlist
collector = input(1, 0)
base = input(2, 0)
emitter = input(3, 0)
contact = input(4, 0)
bulk = polygon_layer
base_terminal = polygon_layer
collector_terminal = polygon_layer
extract_devices(bjt3("PNP"), { "E" => emitter, "B" => base, "C" => collector,
"tB" => base_terminal, "tC" => collector_terminal })
connect(emitter, contact)
connect(base_terminal, contact)
connect(collector_terminal, contact)
netlist
Produces this (invalid) error:
Terminal 'C' of a device of class 'NPN' isn't connected - maybe the terminal annotation layer of this device type isn't part of the connectivity? in LayoutToNetlist::extract_netlist
An (ugly) workaround is to use an empty collector layer.