Skip to content

'M' Property Error on Single PNP #86

@d-m-bailey

Description

@d-m-bailey

netgen 1.5.264

A single pnp transistor is extracted without an M parameter. Matching to a single pnp transistor in the source spice with an m parameter causes a mismatch.
Here’s the reduced layout:

X0 GND GND eg sky130_fd_pr__pnp_05v5_W0p68L0p68 M=8                               
X1 GND GND eu sky130_fd_pr__pnp_05v5_W0p68L0p68                                   

and here’s the schematic

XQ2 vss vss net2 sky130_fd_pr__pnp_05v5_W0p68L0p68 NE=1 m=8
XQ1 vss vss vn sky130_fd_pr__pnp_05v5_W0p68L0p68 NE=1 m=1

and here’s the error message

Netlists match uniquely with property errors.
Circuit 2 bandgap instance sky130_fd_pr__pnp_05v5_W0p68L0p68:Q1 property "m" has no match in circuit 1.

Currently, the NE parameter in the source is ignored in the test setup file.
If the NE parameter is removed from the source, no warning message is generated.

To duplicate, export PDK_ROOT and PDK for sky130, then

1. tar xzf test-netgen.tgz
2. cd test-netgen
3. netgen -batch source lvs.script

test-netgen.tgz

You should be able to open the schematic user_analog_project_wrapper.sch in the xschem directory.
Note that this is not the original schematic data but has been modified to (almost) match the layout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions