summaryrefslogtreecommitdiffstatshomepage
path: root/nl_examples/9602_mstable.c
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-11-25 22:28:41 +0100
committer couriersud <couriersud@gmx.org>2019-11-25 22:28:41 +0100
commitc50bf9a698c8dc3e99ab6f703fc8bb9d1da41ad6 (patch)
tree96f0910ad76c2ef23d87f5626f3c30768ec04c3e /nl_examples/9602_mstable.c
parentceae2fdc3ebbd1c54e21190aa16957af8724b4b5 (diff)
netlist: move nl_examples to src/lib/netlist/examples. (nw)
One folder less in the top-level.
Diffstat (limited to 'nl_examples/9602_mstable.c')
-rw-r--r--nl_examples/9602_mstable.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/nl_examples/9602_mstable.c b/nl_examples/9602_mstable.c
deleted file mode 100644
index 8e482c8dfb3..00000000000
--- a/nl_examples/9602_mstable.c
+++ /dev/null
@@ -1,53 +0,0 @@
-// license:GPL-2.0+
-// copyright-holders:Couriersud
-/*
- * 9602_mstable.c
- *
- */
-
-#include "netlist/devices/net_lib.h"
-
-NETLIST_START(74123_mstable)
-
- /*
- * Monoflog
- *
- */
-
- /* Standard stuff */
-
- SOLVER(Solver, 48000)
-
- ANALOG_INPUT(V5, 5) // 5V
-
- /* Wiring up the 74123 */
-
- CLOCK(clk, 50)
- TTL_9602_DIP(mf)
-
- RES(R, 10000)
- CAP(C, 1e-6)
-
- 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(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)
-
- // avoid non connected inputs
-
- NET_C(mf.11, V5)
- NET_C(mf.12, V5)
- NET_C(mf.13, V5)
-
-NETLIST_END()