Commit Graph

21 Commits

Author SHA1 Message Date
couriersud
a68161ee27 Move solver code into own folder. (nw) 2015-06-19 18:33:14 +02:00
couriersud
f59da94e11 Netlist code now uses "namespace netlist". At the same time, moved all
devices int netlist::devices namespace. [Couriersud]
2015-06-13 01:23:30 +02:00
couriersud
5107c16ca6 Fixed a number of bugs and some additions:
- fixed bugs in the spice(Kicad) conversion
- fixes submodel difference between inline and parsed netlist
- added truthtable 7404 and 7486 models
- aligned input and output naming for truthtable and specialised 74xx
models.
2015-06-07 02:16:54 +02:00
couriersud
a121403aa3 Fixed a number of "-Wextra -Wdouble-promotion" warnings. (nw) 2015-05-18 00:38:30 +02:00
Miodrag Milanovic
87e2b23895 liceses for rest of Couriersud files (nw) 2015-05-13 11:46:26 +02:00
Miodrag Milanovic
6d902a08bd Added dummy license headers for EMU section (nw) 2015-05-07 10:45:57 +02:00
couriersud
29583a20e8 Introduced an nl_double type. This will be followed by an nl_float type
for certain components (mostly matrix and vector). (nw)
2015-01-18 11:48:39 +01:00
Miodrag Milanovic
5d7e1fcc62 Cleanups and version bump 2014-07-22 06:14:55 +00:00
Couriersud
9f19e1446e Added more device to netlist:
- R2R resistor network DAC.
- Dummy input device. This is used so that devices can exhibit terminals not yet used
  such as V+ for opamps.
- Added a very basic macro model for norton opamps (LM3900)
- Added a current controlled current source (CCCS)
2014-06-29 19:07:59 +00:00
Couriersud
b94047212b Optimized netlist proxies. Small but measurable performance increase for pongf and Pong Doubles. In addition, moved some code between classes and sorted code in nl_base.c 2014-06-15 17:38:18 +00:00
Couriersud
43e86ec55d Fixed a bug with saving state. In addition, some minor code changes. 2014-05-18 00:48:34 +00:00
Couriersud
5d7f380540 Introduced netlist_analog_net_t and netlist_logic_net_t to untangle code a bit. 2014-05-17 00:39:26 +00:00
Couriersud
68d1d68e7f Simplified netlist code. It now always provides a stable solution instead of rescheduling the solver. [Couriersud] 2014-04-16 21:52:30 +00:00
Miodrag Milanovic
fec65e0b57 Cleanups and version bump 2014-04-07 06:04:18 +00:00
Couriersud
33719a2b2c Made GMIN a solver parameter. All users now use this value. 2014-03-04 13:02:33 +00:00
Couriersud
c7eee90411 Netlist maintenance:
- made frequency a obligatory parameter for CLOCK, MAINCLOCK and SOLVER
- fixed a bad memory corruption.
- added "owner" to save states. This allows to remove objects after they registered state.
- fixed VCCS and VCVS.
2014-02-09 22:36:05 +00:00
Couriersud
bcbd00db40 Removed dead code and simplified matrix solvers. No Wn 2014-01-19 13:16:25 +00:00
Couriersud
a122e599ee Removed some dead code and ambiguous functions in the netlist code. [Couriersud] 2014-01-12 01:12:12 +00:00
Couriersud
320bb3263a Implemented near-to-proper reset for all netlist devices. Reset now works for improved matrix solving. [couriersud] 2014-01-11 18:32:01 +00:00
Couriersud
9a3fd8d1fd Implemented an improved solving scheme into netlist. This improves performance for pong. However, it revealed issues around resetting netlist. "Reset(F3)" does not work properly now.
Also set pong frequency to NETLIST_CLOCK. This is necessary to avoid issues with time conversion into attotime and consequently rounding issues in fixfreq.
2014-01-11 16:20:25 +00:00
Couriersud
1242ec6d32 More house-cleaning on netlist. No wn 2014-01-07 01:03:44 +00:00