mirror of
https://github.com/KLayout/klayout.git
synced 2026-08-29 09:20:45 +02:00
The problem was that with the floating test case, the ambiguity resolution sometimes assigned the wrong pins and floating pins/connected pins were swapped. One option is to make the ambiguity resolver consider the pin connection state when tenatively evaluating nodes. Another option is to put more emphasis on net names and use them for ambiguity resolution. This has helped here.
17 lines
262 B
Plaintext
17 lines
262 B
Plaintext
.global VDD VSS
|
|
|
|
.subckt TOP A C D
|
|
X0 A C B E DINV
|
|
X1 E D INVX1
|
|
.ends
|
|
|
|
.subckt DINV A<1> A<2> B<1> B<2>
|
|
XA A<1> B<1> INVX1
|
|
XB A<2> B<2> INVX1
|
|
.ends
|
|
|
|
.subckt INVX1 A Z
|
|
M0 Z A VSS VSS NMOS W=0.95U L=0.25U
|
|
M1 Z A VDD VDD PMOS W=1.5U L=0.25U
|
|
.ends
|