summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/examples/9602_mstable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/netlist/examples/9602_mstable.c')
-rw-r--r--src/lib/netlist/examples/9602_mstable.c56
1 files changed, 28 insertions, 28 deletions
diff --git a/src/lib/netlist/examples/9602_mstable.c b/src/lib/netlist/examples/9602_mstable.c
index 8e482c8dfb3..164241886b9 100644
--- a/src/lib/netlist/examples/9602_mstable.c
+++ b/src/lib/netlist/examples/9602_mstable.c
@@ -9,45 +9,45 @@
NETLIST_START(74123_mstable)
- /*
- * Monoflog
- *
- */
+ /*
+ * Monoflog
+ *
+ */
- /* Standard stuff */
+ /* Standard stuff */
- SOLVER(Solver, 48000)
+ SOLVER(Solver, 48000)
- ANALOG_INPUT(V5, 5) // 5V
+ ANALOG_INPUT(V5, 5) // 5V
- /* Wiring up the 74123 */
+ /* Wiring up the 74123 */
- CLOCK(clk, 50)
- TTL_9602_DIP(mf)
+ CLOCK(clk, 50)
+ TTL_9602_DIP(mf)
- RES(R, 10000)
- CAP(C, 1e-6)
+ RES(R, 10000)
+ CAP(C, 1e-6)
- NET_C(GND, mf.8) //
- NET_C(V5, mf.16) //
+ NET_C(GND, mf.8) //
+ NET_C(V5, mf.16) //
- NET_C(C.1, mf.1)
- NET_C(mf.1, GND) // Test - can be removed
- NET_C(C.2, mf.2, R.2)
- NET_C(R.1, V5)
+ NET_C(C.1, mf.1)
+ NET_C(mf.1, GND) // Test - can be removed
+ NET_C(C.2, mf.2, R.2)
+ NET_C(R.1, V5)
- NET_C(mf.3, V5) // CLR
- NET_C(mf.4, GND) // B
- NET_C(mf.5, clk.Q) // A
+ NET_C(mf.3, V5) // CLR
+ NET_C(mf.4, GND) // B
+ NET_C(mf.5, clk.Q) // A
- LOG(logC, C.2)
- LOG(logQ, mf.6) //Q
- LOG(logX, clk.Q)
+ LOG(logC, C.2)
+ LOG(logQ, mf.6) //Q
+ LOG(logX, clk.Q)
- // avoid non connected inputs
+ // avoid non connected inputs
- NET_C(mf.11, V5)
- NET_C(mf.12, V5)
- NET_C(mf.13, V5)
+ NET_C(mf.11, V5)
+ NET_C(mf.12, V5)
+ NET_C(mf.13, V5)
NETLIST_END()