diff options
Diffstat (limited to 'nl_examples/7414.cpp')
-rw-r--r-- | nl_examples/7414.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nl_examples/7414.cpp b/nl_examples/7414.cpp new file mode 100644 index 00000000000..0fcfde9a7f4 --- /dev/null +++ b/nl_examples/7414.cpp @@ -0,0 +1,33 @@ +// license:GPL-2.0+ +// copyright-holders:Couriersud +/* + * 7414.c + * + */ + +#include "netlist/devices/net_lib.h" + +NETLIST_START(7414_astable) + + /* + * Simple oscillator with 74LS14 + * + * ./nltool -f nl_examples/7414.cpp -l C37.1 -l U4A1.Q + * + */ + + /* Standard stuff */ + + SOLVER(Solver, 48000) + PARAM(Solver.ACCURACY, 1e-8) + + TTL_74LS14_GATE(U4A1) + //TTL_7404_GATE(U4A1) + RES(R39, 2200) + CAP(C37, CAP_U(1)) + NET_C(U4A1.A, R39.2, C37.1) + NET_C(GND, C37.2) + NET_C(GND, U4A1.GND) + NET_C(R39.1, U4A1.Q) + +NETLIST_END() |