diff options
author | 2020-07-12 12:07:35 +0200 | |
---|---|---|
committer | 2020-07-12 12:12:26 +0200 | |
commit | a5fc819f50130a0b0af9b9366d485c79d038e8b8 (patch) | |
tree | dc20bf5a0b8be068f01b38f3794e274691f5a8a2 /src/lib/netlist/examples | |
parent | 05c8da39229347fe2107a8ef50296f36f4e22c28 (diff) |
netlist: fix power pin names for CMOS devices.
* For truthtable cmos devices the power pin names will now be set
according to the logic family.
* Fix some issues for CD4538
* Change "already connected" warning to info level. Some ICs (CD4538)
connect pins internally to GND and the schematics again externally. This
will cause this info to be printed. The warning now is a lot more
verbose.
Diffstat (limited to 'src/lib/netlist/examples')
-rw-r--r-- | src/lib/netlist/examples/congo_bongo.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/netlist/examples/congo_bongo.cpp b/src/lib/netlist/examples/congo_bongo.cpp index 3b9dc8b33a5..32119dc2a51 100644 --- a/src/lib/netlist/examples/congo_bongo.cpp +++ b/src/lib/netlist/examples/congo_bongo.cpp @@ -84,6 +84,7 @@ NETLIST_START(congo_bongo) NET_C(R94.1, SJ1) NET_C(SOU1, amp.AMPIN1) + NET_C(GND, amp.GND) #if USE_OPTIMIZATIONS /* The opamp has an UGF of about 1000k. This doesn't work here and causes oscillations. @@ -366,7 +367,8 @@ NETLIST_START(CongoBongo_amp) ALIAS(AMPIN1, R83.1) ALIAS(AMPOUT1, R77.1) ANALOG_INPUT(I_V12, 12) - ANALOG_INPUT(GND, 0) + //ANALOG_INPUT(GND, 0) + ALIAS(GND, C66.2) CAP(C124, CAP_U(470)) CAP(C51, CAP_U(10)) CAP(C53, CAP_U(200)) @@ -404,7 +406,8 @@ NETLIST_START(CongoBongo_amp) NET_C(R77.2, C53.1) NET_C(C66.1, U2.4, C124.1, R89.1, I_V12.Q) NET_C(R83.1, R91.1) - NET_C(GND, C66.2, U2.11, C124.2, C56.2, C55.2, C57.2, C59.2, R90.2, C53.2, XVR1.3) + //NET_C(GND, C66.2, U2.11, C124.2, C56.2, C55.2, C57.2, C59.2, R90.2, C53.2, XVR1.3) + NET_C(GND, U2.11, C124.2, C56.2, C55.2, C57.2, C59.2, R90.2, C53.2, XVR1.3) NET_C(R83.2, U2.13, U2.14, R86.1) NET_C(U2.1, R88.1, C51.1) NET_C(U2.7, R85.1, R87.2) |