summaryrefslogtreecommitdiffstatshomepage
path: root/nl_examples/sn74ls629_osc.c
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2014-02-23 14:57:24 +0000
committer Couriersud <couriersud@users.noreply.github.com>2014-02-23 14:57:24 +0000
commitaa0b321b0516aaf57465bd1a5ba611524eb7f36f (patch)
tree0ceb323be240ed6c20c7f904ed468a7396df37b1 /nl_examples/sn74ls629_osc.c
parent4a4501a474459f375b8930a442e43730f13b1d60 (diff)
Fixed netlist examples.
Diffstat (limited to 'nl_examples/sn74ls629_osc.c')
-rw-r--r--nl_examples/sn74ls629_osc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/nl_examples/sn74ls629_osc.c b/nl_examples/sn74ls629_osc.c
index e390361a74b..8e697e0855f 100644
--- a/nl_examples/sn74ls629_osc.c
+++ b/nl_examples/sn74ls629_osc.c
@@ -5,7 +5,7 @@
#include "netlist/devices/net_lib.h"
-NETLIST_START(ne555_astable)
+NETLIST_START(ls629)
/*
* Astable ne555
@@ -14,8 +14,7 @@ NETLIST_START(ne555_astable)
/* Standard stuff */
- SOLVER(Solver)
- PARAM(Solver.FREQ, 48000)
+ SOLVER(Solver, 48000)
ANALOG_INPUT(V5, 5) // 5V
ANALOG_INPUT(VF, 2.5) // 5V
@@ -28,6 +27,6 @@ NETLIST_START(ne555_astable)
NET_C(VF, OSC.FC)
NET_C(GND, OSC.ENQ)
- //LOG(log2, OSC.Y)
+ LOG(log2, OSC.Y)
NETLIST_END()