Skip to content

BJT3 device extraction issue #921

Description

@klayoutmatthias

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions