summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-08-02 14:30:49 +0200
committer couriersud <couriersud@gmx.org>2020-08-02 14:30:49 +0200
commit8c4f283a7778fc6e6170920b8328ddbca1d528b9 (patch)
tree1172a8306a43fe04fa73511b09091e695e937d28
parent759ee2932991c9bb89d09c1f4ccfb6918883a51e (diff)
netlist: Move documentation from header to cpp file. Batch 2.
-rw-r--r--src/lib/netlist/devices/nld_7448.cpp18
-rw-r--r--src/lib/netlist/devices/nld_7448.h20
-rw-r--r--src/lib/netlist/devices/nld_7450.cpp20
-rw-r--r--src/lib/netlist/devices/nld_7450.h20
-rw-r--r--src/lib/netlist/devices/nld_7473.cpp54
-rw-r--r--src/lib/netlist/devices/nld_7473.h56
-rw-r--r--src/lib/netlist/devices/nld_7474.cpp36
-rw-r--r--src/lib/netlist/devices/nld_7474.h38
-rw-r--r--src/lib/netlist/devices/nld_7475.cpp28
-rw-r--r--src/lib/netlist/devices/nld_7475.h31
-rw-r--r--src/lib/netlist/devices/nld_7483.cpp21
-rw-r--r--src/lib/netlist/devices/nld_7483.h23
-rw-r--r--src/lib/netlist/devices/nld_7485.cpp17
-rw-r--r--src/lib/netlist/devices/nld_7485.h19
-rw-r--r--src/lib/netlist/devices/nld_7490.cpp49
-rw-r--r--src/lib/netlist/devices/nld_7490.h51
-rw-r--r--src/lib/netlist/devices/nld_7492.cpp45
-rw-r--r--src/lib/netlist/devices/nld_7492.h49
-rw-r--r--src/lib/netlist/devices/nld_7493.cpp49
-rw-r--r--src/lib/netlist/devices/nld_7493.h53
-rw-r--r--src/lib/netlist/devices/nld_7497.cpp28
-rw-r--r--src/lib/netlist/devices/nld_7497.h31
-rw-r--r--src/lib/netlist/devices/nld_74ls629.cpp22
-rw-r--r--src/lib/netlist/devices/nld_74ls629.h24
-rw-r--r--src/lib/netlist/devices/nld_82S115.cpp20
-rw-r--r--src/lib/netlist/devices/nld_82S115.h24
-rw-r--r--src/lib/netlist/devices/nld_82S16.cpp19
-rw-r--r--src/lib/netlist/devices/nld_82S16.h20
28 files changed, 417 insertions, 468 deletions
diff --git a/src/lib/netlist/devices/nld_7448.cpp b/src/lib/netlist/devices/nld_7448.cpp
index c2f4c386108..4ed102a4671 100644
--- a/src/lib/netlist/devices/nld_7448.cpp
+++ b/src/lib/netlist/devices/nld_7448.cpp
@@ -1,7 +1,23 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
- * nld_7448.c
+ * nld_7448.cpp
+ *
+ * DM7448: BCD to 7-Segment decoders/drivers
+ *
+ * +--------------+
+ * B |1 ++ 16| VCC
+ * C |2 15| f
+ * LAMP TEST |3 14| g
+ * BI/RBQ |4 7448 13| a
+ * RBI |5 12| b
+ * D |6 11| c
+ * A |7 10| d
+ * GND |8 9| e
+ * +--------------+
+ *
+ *
+ * Naming conventions follow National Semiconductor datasheet
*
*/
diff --git a/src/lib/netlist/devices/nld_7448.h b/src/lib/netlist/devices/nld_7448.h
index c25c80136e7..670f453ac0f 100644
--- a/src/lib/netlist/devices/nld_7448.h
+++ b/src/lib/netlist/devices/nld_7448.h
@@ -1,25 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_7448.h
- *
- * DM7448: BCD to 7-Segment decoders/drivers
- *
- * +--------------+
- * B |1 ++ 16| VCC
- * C |2 15| f
- * LAMP TEST |3 14| g
- * BI/RBQ |4 7448 13| a
- * RBI |5 12| b
- * D |6 11| c
- * A |7 10| d
- * GND |8 9| e
- * +--------------+
- *
- *
- * Naming conventions follow National Semiconductor datasheet
- *
- */
#ifndef NLD_7448_H_
#define NLD_7448_H_
diff --git a/src/lib/netlist/devices/nld_7450.cpp b/src/lib/netlist/devices/nld_7450.cpp
index 1bca5128d44..1c997d466df 100644
--- a/src/lib/netlist/devices/nld_7450.cpp
+++ b/src/lib/netlist/devices/nld_7450.cpp
@@ -1,7 +1,23 @@
- // license:GPL-2.0+
+// license:GPL-2.0+
// copyright-holders:Couriersud
/*
- * nld_7450.c
+ * nld_7450.cpp
+ *
+ * DM7450: DUAL 2-WIDE 2-INPUT AND-OR-INVERT GATES (ONE GATE EXPANDABLE)
+ *
+ * +--------------+
+ * 1A |1 ++ 14| VCC
+ * 2A |2 13| 1B
+ * 2B |3 12| 1XQ
+ * 2C |4 7450 11| 1X
+ * 2D |5 10| 1D
+ * 2Y |6 9| 1C
+ * GND |7 8| 1Y
+ * +--------------+
+ * _________________
+ * Y = (A & B) | (C & D)
+ *
+ * Naming conventions follow Texas Instruments datasheet
*
*/
diff --git a/src/lib/netlist/devices/nld_7450.h b/src/lib/netlist/devices/nld_7450.h
index 1e30d9ec856..f12d1b6d844 100644
--- a/src/lib/netlist/devices/nld_7450.h
+++ b/src/lib/netlist/devices/nld_7450.h
@@ -1,25 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_7450.h
- *
- * DM7450: DUAL 2-WIDE 2-INPUT AND-OR-INVERT GATES (ONE GATE EXPANDABLE)
- *
- * +--------------+
- * 1A |1 ++ 14| VCC
- * 2A |2 13| 1B
- * 2B |3 12| 1XQ
- * 2C |4 7450 11| 1X
- * 2D |5 10| 1D
- * 2Y |6 9| 1C
- * GND |7 8| 1Y
- * +--------------+
- * _________________
- * Y = (A & B) | (C & D)
- *
- * Naming conventions follow Texas Instruments datasheet
- *
- */
#ifndef NLD_7450_H_
#define NLD_7450_H_
diff --git a/src/lib/netlist/devices/nld_7473.cpp b/src/lib/netlist/devices/nld_7473.cpp
index 2b7d803eb35..4a9d1ac27b3 100644
--- a/src/lib/netlist/devices/nld_7473.cpp
+++ b/src/lib/netlist/devices/nld_7473.cpp
@@ -1,7 +1,59 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
- * nld_7473.c
+ * nld_7473.cpp
+ *
+ * 7473: Dual Master-Slave J-K Flip-Flops with Clear and Complementary Outputs
+ * 7473A: Dual Negative-Edge-Triggered Master-Slave J-K Flip-Flops with Clear and Complementary Outputs
+ *
+ * +----------+
+ * 1CLK |1 ++ 14| 1J
+ * 1CLRQ |2 13| 1QQ
+ * 1K |3 12| 1Q
+ * VCC |4 7473 11| GND
+ * 2CLK |5 10| 2K
+ * 2CLRQ |6 9| 2Q
+ * 2J |7 8| 2QQ
+ * +----------+
+ *
+ *
+ * Function table 73
+ *
+ * +-----+-----+-----+---++---+-----+
+ * | CLRQ| CLK | J | K || Q | QQ |
+ * +=====+=====+=====+===++===+=====+
+ * | 0 | X | X | X || 0 | 1 |
+ * | 1 | * | 0 | 0 || Q0| Q0Q |
+ * | 1 | * | 1 | 0 || 1 | 0 |
+ * | 1 | * | 0 | 1 || 0 | 1 |
+ * | 1 | * | 1 | 1 || TOGGLE |
+ * +-----+-----+-----+---++---+-----+
+ * _
+ * * = _| |_
+ *
+ * This is positive triggered, J and K
+ * are latched during clock high and
+ * transferred when CLK falls.
+ *
+ * Function table 73A
+ *
+ * +-----+-----+-----+---++---+-----+
+ * | CLRQ| CLK | J | K || Q | QQ |
+ * +=====+=====+=====+===++===+=====+
+ * | 0 | X | X | X || 0 | 1 |
+ * | 1 | F | 0 | 0 || Q0| Q0Q |
+ * | 1 | F | 1 | 0 || 1 | 0 |
+ * | 1 | F | 0 | 1 || 0 | 1 |
+ * | 1 | F | 1 | 1 || TOGGLE |
+ * | 1 | 1 | X | X || Q0| Q0Q |
+ * +-----+-----+-----+---++---+-----+
+ *
+ * THe 73A is negative triggered.
+ *
+ * Naming conventions follow Texas instruments datasheet
+ *
+ * FIXME: Currently, only the 73 is implemented.
+ * The 73A uses the same model.
*
*/
diff --git a/src/lib/netlist/devices/nld_7473.h b/src/lib/netlist/devices/nld_7473.h
index 1a5e6937ea5..0ba195d4476 100644
--- a/src/lib/netlist/devices/nld_7473.h
+++ b/src/lib/netlist/devices/nld_7473.h
@@ -1,61 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_7473.h
- *
- * 7473: Dual Master-Slave J-K Flip-Flops with Clear and Complementary Outputs
- * 7473A: Dual Negative-Edge-Triggered Master-Slave J-K Flip-Flops with Clear and Complementary Outputs
- *
- * +----------+
- * 1CLK |1 ++ 14| 1J
- * 1CLRQ |2 13| 1QQ
- * 1K |3 12| 1Q
- * VCC |4 7473 11| GND
- * 2CLK |5 10| 2K
- * 2CLRQ |6 9| 2Q
- * 2J |7 8| 2QQ
- * +----------+
- *
- *
- * Function table 73
- *
- * +-----+-----+-----+---++---+-----+
- * | CLRQ| CLK | J | K || Q | QQ |
- * +=====+=====+=====+===++===+=====+
- * | 0 | X | X | X || 0 | 1 |
- * | 1 | * | 0 | 0 || Q0| Q0Q |
- * | 1 | * | 1 | 0 || 1 | 0 |
- * | 1 | * | 0 | 1 || 0 | 1 |
- * | 1 | * | 1 | 1 || TOGGLE |
- * +-----+-----+-----+---++---+-----+
- * _
- * * = _| |_
- *
- * This is positive triggered, J and K
- * are latched during clock high and
- * transferred when CLK falls.
- *
- * Function table 73A
- *
- * +-----+-----+-----+---++---+-----+
- * | CLRQ| CLK | J | K || Q | QQ |
- * +=====+=====+=====+===++===+=====+
- * | 0 | X | X | X || 0 | 1 |
- * | 1 | F | 0 | 0 || Q0| Q0Q |
- * | 1 | F | 1 | 0 || 1 | 0 |
- * | 1 | F | 0 | 1 || 0 | 1 |
- * | 1 | F | 1 | 1 || TOGGLE |
- * | 1 | 1 | X | X || Q0| Q0Q |
- * +-----+-----+-----+---++---+-----+
- *
- * THe 73A is negative triggered.
- *
- * Naming conventions follow Texas instruments datasheet
- *
- * FIXME: Currently, only the 73 is implemented.
- * The 73A uses the same model.
- *
- */
#ifndef NLD_7473_H_
#define NLD_7473_H_
diff --git a/src/lib/netlist/devices/nld_7474.cpp b/src/lib/netlist/devices/nld_7474.cpp
index 5b2f2b4a589..2bf97703374 100644
--- a/src/lib/netlist/devices/nld_7474.cpp
+++ b/src/lib/netlist/devices/nld_7474.cpp
@@ -2,8 +2,42 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
- * nld_7474.c
+ * nld_7474.cpp
*
+ * DM7474: Dual Positive-Edge-Triggered D Flip-Flops
+ * with Preset, Clear and Complementary Outputs
+ *
+ * +--------------+
+ * CLR1 |1 ++ 14| VCC
+ * D1 |2 13| CLR2
+ * CLK1 |3 12| D2
+ * PR1 |4 7474 11| CLK2
+ * Q1 |5 10| PR2
+ * Q1Q |6 9| Q2
+ * GND |7 8| Q2Q
+ * +--------------+
+ *
+ * +-----+-----+-----+---++---+-----+
+ * | PR | CLR | CLK | D || Q | QQ |
+ * +=====+=====+=====+===++===+=====+
+ * | 0 | 1 | X | X || 1 | 0 |
+ * | 1 | 0 | X | X || 0 | 1 |
+ * | 0 | 0 | X | X || 1 | 1 | (*)
+ * | 1 | 1 | R | 1 || 1 | 0 |
+ * | 1 | 1 | R | 0 || 0 | 1 |
+ * | 1 | 1 | 0 | X || Q0| Q0Q |
+ * +-----+-----+-----+---++---+-----+
+ *
+ * (*) This configuration is not stable, i.e. it will not persist
+ * when either the preset and or clear inputs return to their inactive (high) level
+ *
+ * Q0 The output logic level of Q before the indicated input conditions were established
+ *
+ * R: 0 -. 1
+ *
+ * Naming conventions follow National Semiconductor datasheet
+ *
+ * FIXME: Check that (*) is emulated properly
*/
#include "nld_7474.h"
diff --git a/src/lib/netlist/devices/nld_7474.h b/src/lib/netlist/devices/nld_7474.h
index ffe0c046405..d44a2759e67 100644
--- a/src/lib/netlist/devices/nld_7474.h
+++ b/src/lib/netlist/devices/nld_7474.h
@@ -1,43 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_7474.h
- *
- * DM7474: Dual Positive-Edge-Triggered D Flip-Flops
- * with Preset, Clear and Complementary Outputs
- *
- * +--------------+
- * CLR1 |1 ++ 14| VCC
- * D1 |2 13| CLR2
- * CLK1 |3 12| D2
- * PR1 |4 7474 11| CLK2
- * Q1 |5 10| PR2
- * Q1Q |6 9| Q2
- * GND |7 8| Q2Q
- * +--------------+
- *
- * +-----+-----+-----+---++---+-----+
- * | PR | CLR | CLK | D || Q | QQ |
- * +=====+=====+=====+===++===+=====+
- * | 0 | 1 | X | X || 1 | 0 |
- * | 1 | 0 | X | X || 0 | 1 |
- * | 0 | 0 | X | X || 1 | 1 | (*)
- * | 1 | 1 | R | 1 || 1 | 0 |
- * | 1 | 1 | R | 0 || 0 | 1 |
- * | 1 | 1 | 0 | X || Q0| Q0Q |
- * +-----+-----+-----+---++---+-----+
- *
- * (*) This configuration is not stable, i.e. it will not persist
- * when either the preset and or clear inputs return to their inactive (high) level
- *
- * Q0 The output logic level of Q before the indicated input conditions were established
- *
- * R: 0 -. 1
- *
- * Naming conventions follow National Semiconductor datasheet
- *
- * FIXME: Check that (*) is emulated properly
- */
#ifndef NLD_7474_H_
#define NLD_7474_H_
diff --git a/src/lib/netlist/devices/nld_7475.cpp b/src/lib/netlist/devices/nld_7475.cpp
index 0ddf97eaaec..785906e7b9b 100644
--- a/src/lib/netlist/devices/nld_7475.cpp
+++ b/src/lib/netlist/devices/nld_7475.cpp
@@ -4,6 +4,34 @@
* nld_7475.cpp
*
* TODO: Correct timing for clock-induced state changes, rather than assuming timing is always due to data-induced state changes
+ *
+ * 7475: 4-Bit Bistable Latches with Complementary Outputs
+ * 7477: 4-Bit Bistable Latches
+ *
+ * +----------+ +----------+
+ * 1QQ |1 ++ 16| 1Q 1D |1 ++ 14| 1Q
+ * 1D |2 15| 2Q 2D |2 13| 2Q
+ * 2D |3 14| 2QQ 3C4C |3 12| 1C2C
+ * 3C4C |4 7475 13| 1C2C VCC |4 7477 11| GND
+ * VCC |5 12| GND 3D |5 10| NC
+ * 3D |6 11| 3QQ 4D |6 9| 3Q
+ * 4D |7 10| 3Q NC |7 8| 4Q
+ * 4QQ |8 9| 4Q +----------+
+ * +----------+
+ *
+ *
+ * Function table
+ *
+ * +---+---++---+-----+
+ * | D | C || Q | QQ |
+ * +===+===++===+=====+
+ * | 0 | 1 || 0 | 1 |
+ * | 1 | 1 || 1 | 0 |
+ * | X | 0 || Q0| Q0Q |
+ * +---+---++---+-----+
+ *
+ * Naming conventions follow Texas instruments datasheet
+ *
*/
#include "nld_7475.h"
diff --git a/src/lib/netlist/devices/nld_7475.h b/src/lib/netlist/devices/nld_7475.h
index 2e0abd97b4c..0e44886f7de 100644
--- a/src/lib/netlist/devices/nld_7475.h
+++ b/src/lib/netlist/devices/nld_7475.h
@@ -1,36 +1,5 @@
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
-/*
- * nld_7475.h
- *
- * 7475: 4-Bit Bistable Latches with Complementary Outputs
- * 7477: 4-Bit Bistable Latches
- *
- * +----------+ +----------+
- * 1QQ |1 ++ 16| 1Q 1D |1 ++ 14| 1Q
- * 1D |2 15| 2Q 2D |2 13| 2Q
- * 2D |3 14| 2QQ 3C4C |3 12| 1C2C
- * 3C4C |4 7475 13| 1C2C VCC |4 7477 11| GND
- * VCC |5 12| GND 3D |5 10| NC
- * 3D |6 11| 3QQ 4D |6 9| 3Q
- * 4D |7 10| 3Q NC |7 8| 4Q
- * 4QQ |8 9| 4Q +----------+
- * +----------+
- *
- *
- * Function table
- *
- * +---+---++---+-----+
- * | D | C || Q | QQ |
- * +===+===++===+=====+
- * | 0 | 1 || 0 | 1 |
- * | 1 | 1 || 1 | 0 |
- * | X | 0 || Q0| Q0Q |
- * +---+---++---+-----+
- *
- * Naming conventions follow Texas instruments datasheet
- *
- */
#ifndef NLD_7475_H_
#define NLD_7475_H_
diff --git a/src/lib/netlist/devices/nld_7483.cpp b/src/lib/netlist/devices/nld_7483.cpp
index 6f9eb3353d9..08905727ef4 100644
--- a/src/lib/netlist/devices/nld_7483.cpp
+++ b/src/lib/netlist/devices/nld_7483.cpp
@@ -1,7 +1,26 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
- * nld_7483.c
+ * nld_7483.cpp
+ *
+ * DM7483: 4-Bit Binary Adder with Fast Carry
+ *
+ * +--------------+
+ * A4 |1 ++ 16| B4
+ * S3 |2 15| S4
+ * A3 |3 14| C4
+ * B3 |4 7483 13| C0
+ * VCC |5 12| GND
+ * S2 |6 11| B1
+ * B2 |7 10| A1
+ * A2 |8 9| S1
+ * +--------------+
+ *
+ * S = (A + B + C0) & 0x0f
+ *
+ * C4 = (A + B + C) > 15 ? 1 : 0
+ *
+ * Naming conventions follow Fairchild Semiconductor datasheet
*
*/
diff --git a/src/lib/netlist/devices/nld_7483.h b/src/lib/netlist/devices/nld_7483.h
index 32aede92ec6..a8751f2a7c5 100644
--- a/src/lib/netlist/devices/nld_7483.h
+++ b/src/lib/netlist/devices/nld_7483.h
@@ -1,28 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_7483.h
- *
- * DM7483: 4-Bit Binary Adder with Fast Carry
- *
- * +--------------+
- * A4 |1 ++ 16| B4
- * S3 |2 15| S4
- * A3 |3 14| C4
- * B3 |4 7483 13| C0
- * VCC |5 12| GND
- * S2 |6 11| B1
- * B2 |7 10| A1
- * A2 |8 9| S1
- * +--------------+
- *
- * S = (A + B + C0) & 0x0f
- *
- * C4 = (A + B + C) > 15 ? 1 : 0
- *
- * Naming conventions follow Fairchild Semiconductor datasheet
- *
- */
#ifndef NLD_7483_H_
#define NLD_7483_H_
diff --git a/src/lib/netlist/devices/nld_7485.cpp b/src/lib/netlist/devices/nld_7485.cpp
index 01638671c1c..0d960ac9006 100644
--- a/src/lib/netlist/devices/nld_7485.cpp
+++ b/src/lib/netlist/devices/nld_7485.cpp
@@ -3,6 +3,23 @@
/*
* nld_7485.cpp
*
+ * FIXME: Truthtable candidate
+ *
+ * DM7485: 4-bit Magnitude Comparators
+ *
+ * +------------+
+ * B3 |1 ++ 16| VCC
+ * LTIN |2 15| A3
+ * EQIN |3 14| B2
+ * GTIN |4 7485 13| A2
+ * GTOUT |5 12| A1
+ * EQOUT |6 11| B1
+ * LTOUT |7 10| A0
+ * GND |8 9| B0
+ * +------------+
+ *
+ * Naming convention attempts to follow Texas Instruments datasheet
+ *
*/
#include "nld_7485.h"
diff --git a/src/lib/netlist/devices/nld_7485.h b/src/lib/netlist/devices/nld_7485.h
index 3f9e3a8a2ed..1211c47c4d5 100644
--- a/src/lib/netlist/devices/nld_7485.h
+++ b/src/lib/netlist/devices/nld_7485.h
@@ -1,24 +1,5 @@
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
-/*
- * nld_7485.h
- *
- * DM7485: 4-bit Magnitude Comparators
- *
- * +------------+
- * B3 |1 ++ 16| VCC
- * LTIN |2 15| A3
- * EQIN |3 14| B2
- * GTIN |4 7485 13| A2
- * GTOUT |5 12| A1
- * EQOUT |6 11| B1
- * LTOUT |7 10| A0
- * GND |8 9| B0
- * +------------+
- *
- * Naming convention attempts to follow Texas Instruments datasheet
- *
- */
#ifndef NLD_7485_H_
#define NLD_7485_H_
diff --git a/src/lib/netlist/devices/nld_7490.cpp b/src/lib/netlist/devices/nld_7490.cpp
index bf68b13d807..aa8388c2615 100644
--- a/src/lib/netlist/devices/nld_7490.cpp
+++ b/src/lib/netlist/devices/nld_7490.cpp
@@ -1,7 +1,54 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
- * nld_7490.c
+ * nld_7490.cpp
+ *
+ * DM7490: Decade Counters
+ *
+ * +--------------+
+ * B |1 ++ 14| A
+ * R01 |2 13| NC
+ * R02 |3 12| QA
+ * NC |4 7490 11| QD
+ * VCC |5 10| GND
+ * R91 |6 9| QB
+ * R92 |7 8| QC
+ * +--------------+
+ *
+ * Counter Sequence
+ *
+ * +-------++----+----+----+----+
+ * | COUNT || QD | QC | QB | QA |
+ * +=======++====+====+====+====+
+ * | 0 || 0 | 0 | 0 | 0 |
+ * | 1 || 0 | 0 | 0 | 1 |
+ * | 2 || 0 | 0 | 1 | 0 |
+ * | 3 || 0 | 0 | 1 | 1 |
+ * | 4 || 0 | 1 | 0 | 0 |
+ * | 5 || 0 | 1 | 0 | 1 |
+ * | 6 || 0 | 1 | 1 | 0 |
+ * | 7 || 0 | 1 | 1 | 1 |
+ * | 8 || 1 | 0 | 0 | 0 |
+ * | 9 || 1 | 0 | 0 | 1 |
+ * +-------++----+----+----+----+
+ *
+ * Note A Output QA is connected to input B for BCD count
+ *
+ * Reset Count Function table
+ *
+ * +-----+-----+-----+-----++----+----+----+----+
+ * | R01 | R02 | R91 | R92 || QD | QC | QB | QA |
+ * +=====+=====+=====+=====++====+====+====+====+
+ * | 1 | 1 | 0 | X || 0 | 0 | 0 | 0 |
+ * | 1 | 1 | X | 0 || 0 | 0 | 0 | 0 |
+ * | X | X | 1 | 1 || 1 | 0 | 0 | 1 |
+ * | X | 0 | X | 0 || COUNT |
+ * | 0 | X | 0 | X || COUNT |
+ * | 0 | X | X | 0 || COUNT |
+ * | X | 0 | 0 | X || COUNT |
+ * +-----+-----+-----+-----++----+----+----+----+
+ *
+ * Naming conventions follow National Semiconductor datasheet
*
*/
diff --git a/src/lib/netlist/devices/nld_7490.h b/src/lib/netlist/devices/nld_7490.h
index 6bf59ff1aa0..725ebb8b949 100644
--- a/src/lib/netlist/devices/nld_7490.h
+++ b/src/lib/netlist/devices/nld_7490.h
@@ -1,56 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_7490.h
- *
- * DM7490: Decade Counters
- *
- * +--------------+
- * B |1 ++ 14| A
- * R01 |2 13| NC
- * R02 |3 12| QA
- * NC |4 7490 11| QD
- * VCC |5 10| GND
- * R91 |6 9| QB
- * R92 |7 8| QC
- * +--------------+
- *
- * Counter Sequence
- *
- * +-------++----+----+----+----+
- * | COUNT || QD | QC | QB | QA |
- * +=======++====+====+====+====+
- * | 0 || 0 | 0 | 0 | 0 |
- * | 1 || 0 | 0 | 0 | 1 |
- * | 2 || 0 | 0 | 1 | 0 |
- * | 3 || 0 | 0 | 1 | 1 |
- * | 4 || 0 | 1 | 0 | 0 |
- * | 5 || 0 | 1 | 0 | 1 |
- * | 6 || 0 | 1 | 1 | 0 |
- * | 7 || 0 | 1 | 1 | 1 |
- * | 8 || 1 | 0 | 0 | 0 |
- * | 9 || 1 | 0 | 0 | 1 |
- * +-------++----+----+----+----+
- *
- * Note A Output QA is connected to input B for BCD count
- *
- * Reset Count Function table
- *
- * +-----+-----+-----+-----++----+----+----+----+
- * | R01 | R02 | R91 | R92 || QD | QC | QB | QA |
- * +=====+=====+=====+=====++====+====+====+====+
- * | 1 | 1 | 0 | X || 0 | 0 | 0 | 0 |
- * | 1 | 1 | X | 0 || 0 | 0 | 0 | 0 |
- * | X | X | 1 | 1 || 1 | 0 | 0 | 1 |
- * | X | 0 | X | 0 || COUNT |
- * | 0 | X | 0 | X || COUNT |
- * | 0 | X | X | 0 || COUNT |
- * | X | 0 | 0 | X || COUNT |
- * +-----+-----+-----+-----++----+----+----+----+
- *
- * Naming conventions follow National Semiconductor datasheet
- *
- */
#ifndef NLD_7490_H_
#define NLD_7490_H_
diff --git a/src/lib/netlist/devices/nld_7492.cpp b/src/lib/netlist/devices/nld_7492.cpp
index f39cd7f6676..56a579dcb8a 100644
--- a/src/lib/netlist/devices/nld_7492.cpp
+++ b/src/lib/netlist/devices/nld_7492.cpp
@@ -3,6 +3,51 @@
/*
* nld_7492.cpp
*
+ * SN7492: Divide-by-12 Counter
+ *
+ * +--------------+
+ * B |1 ++ 14| A
+ * NC |2 13| NC
+ * NC |3 12| QA
+ * NC |4 7492 11| QD
+ * VCC |5 10| GND
+ * R01 |6 9| QB
+ * R02 |7 8| QC
+ * +--------------+
+ *
+ * Counter Sequence
+ *
+ * +-------++----+----+----+----+
+ * | COUNT || QD | QC | QB | QA |
+ * +=======++====+====+====+====+
+ * | 0 || 0 | 0 | 0 | 0 |
+ * | 1 || 0 | 0 | 0 | 1 |
+ * | 2 || 0 | 0 | 1 | 0 |
+ * | 3 || 0 | 0 | 1 | 1 |
+ * | 4 || 0 | 1 | 0 | 0 |
+ * | 5 || 0 | 1 | 0 | 1 |
+ * | 6 || 1 | 0 | 0 | 0 |
+ * | 7 || 1 | 0 | 0 | 1 |
+ * | 8 || 1 | 0 | 1 | 0 |
+ * | 9 || 1 | 0 | 1 | 1 |
+ * | 10 || 1 | 1 | 0 | 0 |
+ * | 11 || 1 | 1 | 0 | 1 |
+ * +-------++----+----+----+----+
+ *
+ * Note A Output QA is connected to input B
+ *
+ * Reset Count Function table
+ *
+ * +-----+-----++----+----+----+----+
+ * | R01 | R02 || QD | QC | QB | QA |
+ * +=====+=====++====+====+====+====+
+ * | 1 | 1 || 0 | 0 | 0 | 0 |
+ * | 0 | X || COUNT |
+ * | X | 0 || COUNT |
+ * +-----+-----++----+----+----+----+
+ *
+ * Naming conventions follow Texas Instruments datasheet
+ *
*/
#include "netlist/nl_base.h"
diff --git a/src/lib/netlist/devices/nld_7492.h b/src/lib/netlist/devices/nld_7492.h
index 93b2b9b0329..c4cab8909e8 100644
--- a/src/lib/netlist/devices/nld_7492.h
+++ b/src/lib/netlist/devices/nld_7492.h
@@ -1,54 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_7492.h
- *
- * SN7492: Divide-by-12 Counter
- *
- * +--------------+
- * B |1 ++ 14| A
- * NC |2 13| NC
- * NC |3 12| QA
- * NC |4 7492 11| QD
- * VCC |5 10| GND
- * R01 |6 9| QB
- * R02 |7 8| QC
- * +--------------+
- *
- * Counter Sequence
- *
- * +-------++----+----+----+----+
- * | COUNT || QD | QC | QB | QA |
- * +=======++====+====+====+====+
- * | 0 || 0 | 0 | 0 | 0 |
- * | 1 || 0 | 0 | 0 | 1 |
- * | 2 || 0 | 0 | 1 | 0 |
- * | 3 || 0 | 0 | 1 | 1 |
- * | 4 || 0 | 1 | 0 | 0 |
- * | 5 || 0 | 1 | 0 | 1 |
- * | 6 || 1 | 0 | 0 | 0 |
- * | 7 || 1 | 0 | 0 | 1 |
- * | 8 || 1 | 0 | 1 | 0 |
- * | 9 || 1 | 0 | 1 | 1 |
- * | 10 || 1 | 1 | 0 | 0 |
- * | 11 || 1 | 1 | 0 | 1 |
- * +-------++----+----+----+----+
- *
- * Note A Output QA is connected to input B
- *
- * Reset Count Function table
- *
- * +-----+-----++----+----+----+----+
- * | R01 | R02 || QD | QC | QB | QA |
- * +=====+=====++====+====+====+====+
- * | 1 | 1 || 0 | 0 | 0 | 0 |
- * | 0 | X || COUNT |
- * | X | 0 || COUNT |
- * +-----+-----++----+----+----+----+
- *
- * Naming conventions follow Texas Instruments datasheet
- *
- */
#ifndef NLD_7492_H_
#define NLD_7492_H_
diff --git a/src/lib/netlist/devices/nld_7493.cpp b/src/lib/netlist/devices/nld_7493.cpp
index 57a981c65ac..7ad8aedc13f 100644
--- a/src/lib/netlist/devices/nld_7493.cpp
+++ b/src/lib/netlist/devices/nld_7493.cpp
@@ -3,6 +3,55 @@
/*
* nld_7493.cpp
*
+ * DM7493: Binary Counters
+ *
+ * +--------------+
+ * B |1 ++ 14| A
+ * R01 |2 13| NC
+ * R02 |3 12| QA
+ * NC |4 7493 11| QD
+ * VCC |5 10| GND
+ * NC |6 9| QB
+ * NC |7 8| QC
+ * +--------------+
+ *
+ * Counter Sequence
+ *
+ * +-------++----+----+----+----+
+ * | COUNT || QD | QC | QB | QA |
+ * +=======++====+====+====+====+
+ * | 0 || 0 | 0 | 0 | 0 |
+ * | 1 || 0 | 0 | 0 | 1 |
+ * | 2 || 0 | 0 | 1 | 0 |
+ * | 3 || 0 | 0 | 1 | 1 |
+ * | 4 || 0 | 1 | 0 | 0 |
+ * | 5 || 0 | 1 | 0 | 1 |
+ * | 6 || 0 | 1 | 1 | 0 |
+ * | 7 || 0 | 1 | 1 | 1 |
+ * | 8 || 1 | 0 | 0 | 0 |
+ * | 9 || 1 | 0 | 0 | 1 |
+ * | 10 || 1 | 0 | 1 | 0 |
+ * | 11 || 1 | 0 | 1 | 1 |
+ * | 12 || 1 | 1 | 0 | 0 |
+ * | 13 || 1 | 1 | 0 | 1 |
+ * | 14 || 1 | 1 | 1 | 0 |
+ * | 15 || 1 | 1 | 1 | 1 |
+ * +-------++----+----+----+----+
+ *
+ * Note C Output QA is connected to input B
+ *
+ * Reset Count Function table
+ *
+ * +-----+-----++----+----+----+----+
+ * | R01 | R02 || QD | QC | QB | QA |
+ * +=====+=====++====+====+====+====+
+ * | 1 | 1 || 0 | 0 | 0 | 0 |
+ * | 0 | X || COUNT |
+ * | X | 0 || COUNT |
+ * +-----+-----++----+----+----+----+
+ *
+ * Naming conventions follow National Semiconductor datasheet
+ *
*/
#include "nld_7493.h"
diff --git a/src/lib/netlist/devices/nld_7493.h b/src/lib/netlist/devices/nld_7493.h
index 0b25ef659db..34041d61373 100644
--- a/src/lib/netlist/devices/nld_7493.h
+++ b/src/lib/netlist/devices/nld_7493.h
@@ -1,58 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_7493.h
- *
- * DM7493: Binary Counters
- *
- * +--------------+
- * B |1 ++ 14| A
- * R01 |2 13| NC
- * R02 |3 12| QA
- * NC |4 7493 11| QD
- * VCC |5 10| GND
- * NC |6 9| QB
- * NC |7 8| QC
- * +--------------+
- *
- * Counter Sequence
- *
- * +-------++----+----+----+----+
- * | COUNT || QD | QC | QB | QA |
- * +=======++====+====+====+====+
- * | 0 || 0 | 0 | 0 | 0 |
- * | 1 || 0 | 0 | 0 | 1 |
- * | 2 || 0 | 0 | 1 | 0 |
- * | 3 || 0 | 0 | 1 | 1 |
- * | 4 || 0 | 1 | 0 | 0 |
- * | 5 || 0 | 1 | 0 | 1 |
- * | 6 || 0 | 1 | 1 | 0 |
- * | 7 || 0 | 1 | 1 | 1 |
- * | 8 || 1 | 0 | 0 | 0 |
- * | 9 || 1 | 0 | 0 | 1 |
- * | 10 || 1 | 0 | 1 | 0 |
- * | 11 || 1 | 0 | 1 | 1 |
- * | 12 || 1 | 1 | 0 | 0 |
- * | 13 || 1 | 1 | 0 | 1 |
- * | 14 || 1 | 1 | 1 | 0 |
- * | 15 || 1 | 1 | 1 | 1 |
- * +-------++----+----+----+----+
- *
- * Note C Output QA is connected to input B
- *
- * Reset Count Function table
- *
- * +-----+-----++----+----+----+----+
- * | R01 | R02 || QD | QC | QB | QA |
- * +=====+=====++====+====+====+====+
- * | 1 | 1 || 0 | 0 | 0 | 0 |
- * | 0 | X || COUNT |
- * | X | 0 || COUNT |
- * +-----+-----++----+----+----+----+
- *
- * Naming conventions follow National Semiconductor datasheet
- *
- */
#ifndef NLD_7493_H_
#define NLD_7493_H_
diff --git a/src/lib/netlist/devices/nld_7497.cpp b/src/lib/netlist/devices/nld_7497.cpp
index 74e443936d7..4fdf282a9fd 100644
--- a/src/lib/netlist/devices/nld_7497.cpp
+++ b/src/lib/netlist/devices/nld_7497.cpp
@@ -7,6 +7,34 @@
*
* - STRB and EN
* - Timing
+ *
+ * SN7497: Synchronous 6-Bit Binary Rate Multiplier
+ *
+ * +--------------+
+ * B1 |1 16| VCC
+ * B4 |2 15| B3
+ * B5 |3 14| B2
+ * B0 |4 7497 13| CLR
+ * Z |5 12| UNITY/CAS
+ * Y |6 11| ENin (EN)
+ * ENout |7 10| STRB
+ * GND |8 9| CLK
+ * +--------------+
+ *
+ * Naming conventions follow TI datasheet
+ *
+ * The counter is enabled when the clear, strobe, and enable inputs are low.
+ *
+ * When the rate input is binary 0 (all rate inputs low), Z remains high [and Y low].
+ *
+ * The unity/cascade input, when connected to the clock input, passes
+ * clock frequency (inverted) to the Y output when the rate input/decoding
+ * gates are inhibited by the strobe.
+ *
+ * When CLR is H, states of CLK and STRB can affect Y and Z. Default are
+ * Y L, Z H, ENout H.
+ *
+ * Unity/cascade is used to inhibit output Y (UNITY L -> Y H)
*/
#include "nld_7497.h"
diff --git a/src/lib/netlist/devices/nld_7497.h b/src/lib/netlist/devices/nld_7497.h
index bd0ad3a21c1..c187ad24b3b 100644
--- a/src/lib/netlist/devices/nld_7497.h
+++ b/src/lib/netlist/devices/nld_7497.h
@@ -1,36 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Sergey Svishchev
-/*
- * nld_7497.h
- *
- * SN7497: Synchronous 6-Bit Binary Rate Multiplier
- *
- * +--------------+
- * B1 |1 16| VCC
- * B4 |2 15| B3
- * B5 |3 14| B2
- * B0 |4 7497 13| CLR
- * Z |5 12| UNITY/CAS
- * Y |6 11| ENin (EN)
- * ENout |7 10| STRB
- * GND |8 9| CLK
- * +--------------+
- *
- * Naming conventions follow TI datasheet
- *
- * The counter is enabled when the clear, strobe, and enable inputs are low.
- *
- * When the rate input is binary 0 (all rate inputs low), Z remains high [and Y low].
- *
- * The unity/cascade input, when connected to the clock input, passes
- * clock frequency (inverted) to the Y output when the rate input/decoding
- * gates are inhibited by the strobe.
- *
- * When CLR is H, states of CLK and STRB can affect Y and Z. Default are
- * Y L, Z H, ENout H.
- *
- * Unity/cascade is used to inhibit output Y (UNITY L -> Y H)
- */
#ifndef NLD_7497_H_
#define NLD_7497_H_
diff --git a/src/lib/netlist/devices/nld_74ls629.cpp b/src/lib/netlist/devices/nld_74ls629.cpp
index 31f4056fb39..669c57912e3 100644
--- a/src/lib/netlist/devices/nld_74ls629.cpp
+++ b/src/lib/netlist/devices/nld_74ls629.cpp
@@ -1,7 +1,27 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
- * nld_SN74LS629.c
+ * nld_SN74LS629.cpp
+ *
+ * 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
+ * +--------------+
+ *
+ * Naming conventions follow Texas Instruments datasheet
+ *
+ * NOTE: The CX1 and CX2 pins are not connected!
+ * The capacitor value has to be specified as a parameter.
+ * There are more comments on the challenges of emulating this
+ * chip in the *.c file
*
*/
diff --git a/src/lib/netlist/devices/nld_74ls629.h b/src/lib/netlist/devices/nld_74ls629.h
index 72ad5ad8b61..840dae357b8 100644
--- a/src/lib/netlist/devices/nld_74ls629.h
+++ b/src/lib/netlist/devices/nld_74ls629.h
@@ -1,29 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_74LS629.h
- *
- * 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
- * +--------------+
- *
- * Naming conventions follow Texas Instruments datasheet
- *
- * NOTE: The CX1 and CX2 pins are not connected!
- * The capacitor value has to be specified as a parameter.
- * There are more comments on the challenges of emulating this
- * chip in the *.c file
- *
- */
#ifndef NLD_74LS629_H_
#define NLD_74LS629_H_
diff --git a/src/lib/netlist/devices/nld_82S115.cpp b/src/lib/netlist/devices/nld_82S115.cpp
index 377199e2190..317b16e5e80 100644
--- a/src/lib/netlist/devices/nld_82S115.cpp
+++ b/src/lib/netlist/devices/nld_82S115.cpp
@@ -3,6 +3,26 @@
/*
* nld_82S115.cpp
*
+ * 82S115: 4K-bit TTL bipolar PROM (512 x 8)
+ *
+ * +--------------+
+ * A3 |1 ++ 24| VCC
+ * A4 |2 23| A2
+ * A5 |3 22| A1
+ * A6 |4 82S115 21| A0
+ * A7 |5 20| CE1Q
+ * A8 |6 19| CE2
+ * O1 |7 18| STROBE
+ * O2 |8 17| O8
+ * O3 |9 16| O7
+ * O4 |10 15| O6
+ * FE2 |11 14| O5
+ * GND |12 13| FE1
+ * +--------------+
+ *
+ *
+ * Naming conventions follow Signetics datasheet
+ *
*/
#include "nld_82S115.h"
diff --git a/src/lib/netlist/devices/nld_82S115.h b/src/lib/netlist/devices/nld_82S115.h
index 1bb3cfb5289..c3f22dffee4 100644
--- a/src/lib/netlist/devices/nld_82S115.h
+++ b/src/lib/netlist/devices/nld_82S115.h
@@ -1,29 +1,5 @@
// license:BSD-3-Clause
// copyright-holders:Ryan Holtz
-/*
- * nld_82S115.h
- *
- * 82S115: 4K-bit TTL bipolar PROM (512 x 8)
- *
- * +--------------+
- * A3 |1 ++ 24| VCC
- * A4 |2 23| A2
- * A5 |3 22| A1
- * A6 |4 82S115 21| A0
- * A7 |5 20| CE1Q
- * A8 |6 19| CE2
- * O1 |7 18| STROBE
- * O2 |8 17| O8
- * O3 |9 16| O7
- * O4 |10 15| O6
- * FE2 |11 14| O5
- * GND |12 13| FE1
- * +--------------+
- *
- *
- * Naming conventions follow Signetics datasheet
- *
- */
#ifndef NLD_82S115_H_
#define NLD_82S115_H_
diff --git a/src/lib/netlist/devices/nld_82S16.cpp b/src/lib/netlist/devices/nld_82S16.cpp
index acfa05ef247..ee798e11eb5 100644
--- a/src/lib/netlist/devices/nld_82S16.cpp
+++ b/src/lib/netlist/devices/nld_82S16.cpp
@@ -1,7 +1,24 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
- * nld_82S16.c
+ * nld_82S16.cpp
+ *
+ *
+ * DM82S16: 256 Bit bipolar ram
+ *
+ * +--------------+
+ * A1 |1 ++ 16| VCC
+ * A0 |2 15| A2
+ * CE1Q |3 14| A3
+ * CE2Q |4 82S16 13| DIN
+ * CE3Q |5 12| WEQ
+ * DOUTQ |6 11| A7
+ * A4 |7 10| A6
+ * GND |8 9| A5
+ * +--------------+
+ *
+ *
+ * Naming conventions follow Signetics datasheet
*
*/
diff --git a/src/lib/netlist/devices/nld_82S16.h b/src/lib/netlist/devices/nld_82S16.h
index 635a81b245f..60e6fb22994 100644
--- a/src/lib/netlist/devices/nld_82S16.h
+++ b/src/lib/netlist/devices/nld_82S16.h
@@ -1,25 +1,5 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-/*
- * nld_82S16.h
- *
- * DM82S16: 256 Bit bipolar ram
- *
- * +--------------+
- * A1 |1 ++ 16| VCC
- * A0 |2 15| A2
- * CE1Q |3 14| A3
- * CE2Q |4 82S16 13| DIN
- * CE3Q |5 12| WEQ
- * DOUTQ |6 11| A7
- * A4 |7 10| A6
- * GND |8 9| A5
- * +--------------+
- *
- *
- * Naming conventions follow Signetics datasheet
- *
- */
#ifndef NLD_82S16_H_
#define NLD_82S16_H_