diff options
author | 2014-04-18 17:58:35 +0000 | |
---|---|---|
committer | 2014-04-18 17:58:35 +0000 | |
commit | 4b4b4542b24706b71b0c5f491ee88228583b19ba (patch) | |
tree | f930cdab497e958e7054d9598840122d2ec94246 /nl_examples | |
parent | 3c46c03671b6942d4db31154997abfd000489e35 (diff) |
Netlist:
- fixed a bug in which the fallback solver was called instead of gauss - seidel.
- matrix solvers are now subdevices of the solver devices
- matrix solvers can now be scheduled independently
- Rename RESCHED_LOOPS to GS_LOOPS (Gauss Seidel)
- Added paragmenter NR_LOOPS (Newton Raphson)
Diffstat (limited to 'nl_examples')
-rw-r--r-- | nl_examples/msx_mixer_stage.c | 2 | ||||
-rw-r--r-- | nl_examples/opamp.c | 2 | ||||
-rw-r--r-- | nl_examples/tdice.c | 8 | ||||
-rw-r--r-- | nl_examples/vccs.c | 2 |
4 files changed, 6 insertions, 8 deletions
diff --git a/nl_examples/msx_mixer_stage.c b/nl_examples/msx_mixer_stage.c index b6f17b52c22..779280fcbc9 100644 --- a/nl_examples/msx_mixer_stage.c +++ b/nl_examples/msx_mixer_stage.c @@ -14,7 +14,7 @@ NETLIST_START(msx) SOLVER(Solver, 48000) PARAM(Solver.ACCURACY, 1e-5) //PARAM(Solver.CONVERG, 0.3) - PARAM(Solver.RESCHED_LOOPS, 150) + PARAM(Solver.GS_LOOPS, 50) RES(RAY8910, 2345) // Max Voltage diff --git a/nl_examples/opamp.c b/nl_examples/opamp.c index 66b7580612d..0073ddb35b0 100644 --- a/nl_examples/opamp.c +++ b/nl_examples/opamp.c @@ -14,7 +14,7 @@ NETLIST_START(main) SOLVER(Solver, 48000) //PARAM(Solver.ACCURACY, 1e-3) //PARAM(Solver.CONVERG, 1.0) - //PARAM(Solver.RESCHED_LOOPS, 30) + //PARAM(Solver.GS_LOOPS, 30) /* Opamp wired as impedance changer */ SUBMODEL(op, opamp) diff --git a/nl_examples/tdice.c b/nl_examples/tdice.c index 37f33400dfd..3b513f215e0 100644 --- a/nl_examples/tdice.c +++ b/nl_examples/tdice.c @@ -89,12 +89,10 @@ static DipswitchDesc dipswitch1_desc("winning_score", "Winning Score", 0, "11", #endif CIRCUIT_LAYOUT( pongdoubles ) -SOLVER(Solver) -PARAM(Solver.FREQ, 48000) -PARAM(Solver.ACCURACY, 1e-7) // works and is sufficient + SOLVER(Solver, 48000) + PARAM(Solver.ACCURACY, 1e-7) // works and is sufficient //CHIP("CLOCK", CLOCK_14_318_MHZ) - MAINCLOCK(CLOCK) - PARAM(CLOCK.FREQ, 14318000.0) + MAINCLOCK(CLOCK, 14318000.0) ANALOG_INPUT(V5, 5) #define VCC "V5", Q diff --git a/nl_examples/vccs.c b/nl_examples/vccs.c index fdad0c04a64..3945734a5da 100644 --- a/nl_examples/vccs.c +++ b/nl_examples/vccs.c @@ -11,7 +11,7 @@ NETLIST_START(vccs) CLOCK(clk, 1000) // 1000 Hz SOLVER(Solver, 48000) PARAM(Solver.ACCURACY, 1e-12) - PARAM(Solver.RESCHED_LOOPS, 10000) + PARAM(Solver.GS_LOOPS, 10000) VCCS(VV) PARAM(VV.G, 100) // typical OP-AMP amplification |