diff options
author | 2014-01-11 19:11:05 +0000 | |
---|---|---|
committer | 2014-01-11 19:11:05 +0000 | |
commit | 02c926d422a6c83a5e062be5238898e7c095e66c (patch) | |
tree | 0a26f6f783f6b62350a804e1bc0ce6756e4d2724 /nl_examples | |
parent | 320bb3263a5e76952b38003bf1d0360178b57809 (diff) |
Removed two duplicate devices in netlist.
Diffstat (limited to 'nl_examples')
-rw-r--r-- | nl_examples/bjt.c | 6 | ||||
-rw-r--r-- | nl_examples/bjt_eb.c | 4 | ||||
-rw-r--r-- | nl_examples/msx_mixer_stage.c | 4 | ||||
-rw-r--r-- | nl_examples/ne555_astable.c | 2 | ||||
-rw-r--r-- | nl_examples/test.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/nl_examples/bjt.c b/nl_examples/bjt.c index 0cd983a24dd..04a82fb912b 100644 --- a/nl_examples/bjt.c +++ b/nl_examples/bjt.c @@ -13,12 +13,12 @@ NETLIST_START(bjt) NETDEV_PARAM(clk.FREQ, 1000) // 1000 Hz NETDEV_SOLVER(Solver) NETDEV_PARAM(Solver.FREQ, 48000) - NETDEV_ANALOG_CONST(V5, 5) - NETDEV_ANALOG_CONST(V3, 3.5) + NETDEV_ANALOG_INPUT(V5, 5) + NETDEV_ANALOG_INPUT(V3, 3.5) /* NPN - example */ - NETDEV_QNPN(Q, "BC237B") + NETDEV_QJT_SW(Q, "BC237B") NETDEV_R(RB, 1000) NETDEV_R(RC, 1000) diff --git a/nl_examples/bjt_eb.c b/nl_examples/bjt_eb.c index 93a70f9d614..0e51fad085d 100644 --- a/nl_examples/bjt_eb.c +++ b/nl_examples/bjt_eb.c @@ -14,8 +14,8 @@ NETLIST_START(bjt) NETDEV_SOLVER(Solver) NETDEV_PARAM(Solver.FREQ, 48000) NETDEV_PARAM(Solver.ACCURACY, 1e-4) - NETDEV_ANALOG_CONST(V5, 5) - NETDEV_ANALOG_CONST(V3, 3.5) + NETDEV_ANALOG_INPUT(V5, 5) + NETDEV_ANALOG_INPUT(V3, 3.5) /* NPN - example */ diff --git a/nl_examples/msx_mixer_stage.c b/nl_examples/msx_mixer_stage.c index 1e7bbb821b7..177127b1e51 100644 --- a/nl_examples/msx_mixer_stage.c +++ b/nl_examples/msx_mixer_stage.c @@ -17,8 +17,8 @@ NETLIST_START(msx) NETDEV_R(RAY8910, 2345) // Max Voltage - NETDEV_ANALOG_CONST(V5, 5) - NETDEV_ANALOG_CONST(V12, 12) + NETDEV_ANALOG_INPUT(V5, 5) + NETDEV_ANALOG_INPUT(V12, 12) NETDEV_ANALOG_INPUT(SOUND) NETDEV_PARAM(SOUND.OUT, 5) diff --git a/nl_examples/ne555_astable.c b/nl_examples/ne555_astable.c index 86cda0f869c..0a88037851f 100644 --- a/nl_examples/ne555_astable.c +++ b/nl_examples/ne555_astable.c @@ -17,7 +17,7 @@ NETLIST_START(ne555_astable) NETDEV_SOLVER(Solver) NETDEV_PARAM(Solver.FREQ, 48000) - NETDEV_ANALOG_CONST(V5, 5) // 5V + NETDEV_ANALOG_INPUT(V5, 5) // 5V /* Wiring up the ne555 */ diff --git a/nl_examples/test.c b/nl_examples/test.c index b47815de25f..ae5f9a4a51f 100644 --- a/nl_examples/test.c +++ b/nl_examples/test.c @@ -14,8 +14,8 @@ NETLIST_START(bjt) NETDEV_SOLVER(Solver) NETDEV_PARAM(Solver.FREQ, 48000) - NETDEV_ANALOG_CONST(V3, 3) - NETDEV_ANALOG_CONST(STOPG, 0) + NETDEV_ANALOG_INPUT(V3, 3) + NETDEV_ANALOG_INPUT(STOPG, 0) NET_ALIAS(SRSTQ, RYf.2) NET_ALIAS(SRST, RYc.2) NET_C(antenna, GND) |