summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatarGravatar couriersud <couriersud@gmx.org>2020-08-02 21:51:45 +0200
committerGravatarGravatar couriersud <couriersud@gmx.org>2020-08-02 21:52:13 +0200
commit8b43aabf0ee47ba09e1a42081fb3fb1dd3af9221 (patch)
tree8103dd80a6b1074a68663e5026cdb13a1bf21d09
parent48be14bade6c757d4a98400ee6016b5719bffd2a (diff)
netlist: add example documentation to SN74LS629_DIP
-rw-r--r--src/lib/netlist/macro/nlm_ttl74xx.cpp40
1 files changed, 24 insertions, 16 deletions
diff --git a/src/lib/netlist/macro/nlm_ttl74xx.cpp b/src/lib/netlist/macro/nlm_ttl74xx.cpp
index 422ac024a84..cacbb8b4157 100644
--- a/src/lib/netlist/macro/nlm_ttl74xx.cpp
+++ b/src/lib/netlist/macro/nlm_ttl74xx.cpp
@@ -2017,22 +2017,30 @@ static NETLIST_START(TTL_74393_DIP)
)
NETLIST_END()
-
-/*
- * SN74LS629: VOLTAGE-CONTROLLED OSCILLATORS
- *
- * +--------------+
- * 2FC |1 ++ 16| VCC
- * 1FC |2 15| QSC VCC
- * 1RNG |3 14| 2RNG
- * 1CX1 |4 74LS629 13| 2CX1
- * 1CX2 |5 12| 2CX2
- * 1ENQ |6 11| 2ENQ
- * 1Y |7 10| 2Y
- * OSC GND |8 9| GND
- * +--------------+
- */
-
+//- Identifier: SN74LS629_DIP
+//- Title: SN74LS629 VOLTAGE-CONTROLLED OSCILLATORS
+//- Description: Please add a detailed description
+//- FIXME: Missing description
+//-
+//- Pinalias: 2FC,1FC,1RNG,1CX1,1CX2,1ENQ,1Y,OSC_GND,GND,2Y,2ENQ,2CX2,2CX1,2RNG,OSC_VCC,VCC
+//- Package: DIP
+//- Param: A.CAP
+//- Capacitor value of capacitor connected to 1CX1 and 1CX2 pins
+//- Param: B.CAP
+//- Capacitor value of capacitor connected to 2CX1 and 2CX2 pins
+//- Limitations:
+//- The capacitor inputs are NC. Capacitor values need to be specified as
+//- ```
+//- SN74LS629_DIP(X)
+//- PARAM(X.A.CAP, CAP_U(1))
+//- PARAM(X.B.CAP, CAP_U(2))
+//- ```
+//-
+//- Example: 74ls629.cpp,74ls629_example
+//-
+//- FunctionTable:
+//- http://pdf.datasheetcatalog.com/datasheets/400/335051_DS.pdf
+//-
static NETLIST_START(SN74LS629_DIP)
SN74LS629(A, CAP_U(1))
SN74LS629(B, CAP_U(1))