summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar Aaron Giles <aaron@aarongiles.com>2020-08-04 23:40:29 -0700
committerGravatarGravatar Aaron Giles <aaron@aarongiles.com>2020-08-04 23:40:29 -0700
commit9418fb154fbcdb2dfe229ee79bada4daee65cfc2 (patch)
treefe57a94609c7d794909ad57f8843ebd13b779190
parent15b15e9cde7ea64e1e4a7b51a4daa44ce46a03a2 (diff)
Fix missing parenthesesnl_dips
-rw-r--r--src/lib/netlist/macro/nlm_cd4xxx.cpp38
1 files changed, 20 insertions, 18 deletions
diff --git a/src/lib/netlist/macro/nlm_cd4xxx.cpp b/src/lib/netlist/macro/nlm_cd4xxx.cpp
index 3c52f78ad44..da0e6ef7a57 100644
--- a/src/lib/netlist/macro/nlm_cd4xxx.cpp
+++ b/src/lib/netlist/macro/nlm_cd4xxx.cpp
@@ -95,24 +95,24 @@ NETLIST_END()
//- +---+---++---+
//-
static NETLIST_START(CD4011_DIP)
- CD4011_GATE(A)
- CD4011_GATE(B)
- CD4011_GATE(C)
- CD4011_GATE(D)
-
- NET_C(A.VDD, B.VDD, C.VDD, D.VDD)
- NET_C(A.VSS, B.VSS, C.VSS, D.VSS)
-
- DIPPINS( /* +--------------+ */
- A.A, /* A |1 ++ 14| VDD */ A.VDD,
- A.B, /* B |2 13| H */ D.B,
- A.Q, /* J |3 12| G */ D.A,
- B.Q, /* K |4 4011 11| M */ D.Q,
- B.A, /* C |5 10| L */ C.Q,
- B.B, /* D |6 9| F */ C.B,
- A.VSS, /* VSS |7 8| E */ C.A
- /* +--------------+ */
- )
+ CD4011_GATE(A)
+ CD4011_GATE(B)
+ CD4011_GATE(C)
+ CD4011_GATE(D)
+
+ NET_C(A.VDD, B.VDD, C.VDD, D.VDD)
+ NET_C(A.VSS, B.VSS, C.VSS, D.VSS)
+
+ DIPPINS( /* +--------------+ */
+ A.A, /* A |1 ++ 14| VDD */ A.VDD,
+ A.B, /* B |2 13| H */ D.B,
+ A.Q, /* J |3 12| G */ D.A,
+ B.Q, /* K |4 4011 11| M */ D.Q,
+ B.A, /* C |5 10| L */ C.Q,
+ B.B, /* D |6 9| F */ C.B,
+ A.VSS, /* VSS |7 8| E */ C.A
+ /* +--------------+ */
+ )
NETLIST_END()
//- Identifier: CD4013BM/CD4013BC
@@ -249,6 +249,7 @@ static NETLIST_START(CD4020_DIP)
A.Q4, /* Q4 |7 10| PHI1 */ A.IP,
A.VSS, /* VSS |8 9| Q1 */ A.Q1
/* +--------------+ */
+ )
NETLIST_END()
//- Identifier: CD4022BM/CD4022BC
@@ -308,6 +309,7 @@ static NETLIST_START(CD4024_DIP)
A.Q4, /* Q4 |6 9| Q3 */ A.Q3,
A.VSS, /* VSS |7 8| NC */ NC.I
/* +--------------+ */
+ )
NETLIST_END()
//- Identifier: CD4053BM/CD4053BC