summaryrefslogtreecommitdiffstatshomepage
path: root/nl_examples
Commit message (Collapse)AuthorAgeFilesLines
...
* Move updates based on model to update_param. (nw) couriersud2015-07-111-1/+1
|
* Document progress on congo bongo. Gorilla sound now works. Performance couriersud2015-07-081-65/+110
| | | | | | | up from 30% to 170%. Use ./nltool -c run -f nl_examples/congoBongo.c -t 2 to test. Minor enhancements and bugfixes. [Couriersud]
* Further improvements + two missing files. Congo Bongo netlist now parses couriersud2015-07-041-48/+93
| | | without issues. [Couriersud]
* Added MM5837 Noise Generator used by Congo Bongo. [Couriersud] couriersud2015-07-042-0/+490
|
* Added Voltage source and Current source to netlist. [Couriersud] couriersud2015-06-301-0/+50
|
* Netlist now compiles with couriersud2015-06-301-4/+5
| | | | | | | -std=c++98 -Wall -Wpedantic -Wextra -Wno-long-long -Wno-variadic-macros and -std=c++11 -Wall -Wpedantic -Wextra [Couriersud]
* Move solver code into own folder. (nw) couriersud2015-06-191-2/+2
|
* From 45% to 60% to 99%. That's the improvement achieved for a 89x89 couriersud2015-06-101-5/+21
| | | | audio matrix mostly solved by elimination. Cleaned up some code as well. [Couriersud]
* Formatted kidniki.c (nl_examples) to be easier to read. (nw) couriersud2015-06-091-313/+316
|
* Added some more discrete components. (nw) couriersud2015-06-081-118/+164
|
* Added kidniki sound board netlist to nl_examples. Currently the netlist couriersud2015-06-072-3/+392
| | | | | | | | | boils down to a 87x87 matrix. This is due to a total of 6 opamps which all are submodels and thus add their own internal nets. Gauss Seidel iterative solving comes to it's limits. nltool runs this at about 50% speed on my machine. Given the complexity this is quite good. Yet, any m62 game currently will not be playable. Time for a new cpu :-) [Andrew Gardner, Couriersud]
* Introduced user definable truth tables: couriersud2015-05-271-23/+6
| | | | | | | | | | | | | | NETLIST_START(lib) TRUTHTABLE_START(TTL_7400A_NAND, 2, 1, 0, "+A,B") TT_HEAD(" A , B | Q ") TT_LINE(" 0 , X | 1 |22") TT_LINE(" X , 0 | 1 |22") TT_LINE(" 1 , 1 | 0 |15") TRUTHTABLE_END() NETLIST_END() This enables the addition of devices without changing the netlist source code and allows the creation of libraries. Used pong.c as a proof of concept for the time being. [Couriersud]
* Moved all files in src/emu/netlist starting with p into plib folder. couriersud2015-05-271-1/+55
| | | | | This is a first step to ease synchronisation with a stand alone, e.g. outside mame, netlist implementation. More signed/unsigned cleanups and started work on generic truthtable devices. (nw)
* Added 74192, 9316, 9310 and 74193 devices to netlist. Added breakout couriersud2015-04-221-7/+9
| | | | (wip) netlist as well, but still have to implement three more devices until work can really start. [Couriersud]
* Document more work on breakout. Further additions to nl_dice_compat.h. couriersud2015-04-201-7/+6
| | | (nw)
* Added 9602 one-shot to netlist. (nw) couriersud2015-04-191-0/+51
|
* Tidy more whitespace Zoë Blade2015-04-081-47/+47
|
* Preliminary support for LTE dynamic time-stepping based on Local truncation ↵ Couriersud2014-05-151-0/+31
| | | | | | | | | error. This enables the possibility to connect a capacitor between ground and a TTL output and get a e.g. 100 ns delay with a 1nF capacitor. Added an example circuit (cdelay.c) Changed the log device to support nano-second granularity. LTE is not yet enabled due to it's ugly test-state.
* Analog input updates now send to queue. Reduces risk of stack overflows. Couriersud2014-05-152-5/+1465
| | | | Fixed a bug which caused NAND astable multivibrator to oscillate. 74123 improvements
* Added first draft of 74123 to netlist code. Couriersud2014-05-061-0/+45
|
* Netlist: Couriersud2014-05-051-1231/+0
| | | | | | | | | | | | | | - Pong Doubles now working Thanks a lot to Adam Bousley for dual licensing DICE netlists. Hooked up player inputs - Minor performance tweaks - Separated game netlists from driver. Dice is making extensive use of macros which may conflict if these are in one source file. - Added some rescap.h macros to netlist New games added or promoted from NOT_WORKING status --------------------------------------------------- Pong Doubles [DICE Team, Couriersud]
* More work on pong doubles. Working again (if enabled). Couriersud2014-05-041-8/+59
|
* Netlist: Couriersud2014-04-184-8/+6
| | | | | | | | - 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)
* Fixed netlist opamp example. Couriersud2014-03-041-2/+2
|
* Implemented CD4066 device - Quad Bilateral Switch. [Couriersud] Couriersud2014-03-021-0/+44
|
* NPN BJT now working Couriersud2014-03-011-0/+33
|
* Minor cosmetic changes for netlist Couriersud2014-02-263-4/+4
|
* Fixed netlist examples. Couriersud2014-02-239-39/+1211
|
* Netlist can now be included as sub-circuits. That's the same approach SPICE ↵ Couriersud2014-02-131-20/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | uses. The implementation also supports nesting. Opamp emulation now is as easy as /* Opamp wired as impedance changer */ SUBMODEL(op, opamp) NET_C(op.GND, GND) NET_C(op.PLUS, clk) NET_C(op.MINUS, op.OUT) The missing bit now is a central submodel repository. I'll start a discussion soon on the list. nl_examples/opamp.c is an example of a impedance changer stage followed by a 1:2 amplifier stage. System size (= number of voltage levels to be calculated) is between 20 - 30. Using a simple, yet better opamp model than usually implemented in the old discrete core, I get ./nltool -f nl_examples/opamp.c -t 30 startup time ==> 0.002 runnning ... 30.000000 seconds emulation took 0.438599 real time ==> 6839.96% Which leaves quite some buffer to emulate even complex mixing and filtering stages in real-time :-)
* Commit current state of netlist examples. Later, these are intended as a ↵ Couriersud2014-02-096-32/+111
| | | | basis for regression tests.
* Major renaming of netlist device macros, like Couriersud2014-01-198-131/+133
| | | | | | | NETDEV_ALIAS ==> ALIAS NETDEV_R ==> RES NETDEV_C ==> CAP
* Netlist: Couriersud2014-01-184-9/+19
| | | | | | | | | | | - Working Ebers Moll model. That's a significant step ahead. - Simple 2x2|RHS SPICE stamps now supported by two terminal devices. This was implicitly contained in the design, but set_mat now shows how a two-terminal device fits into a SPICE approach. - Introduced direct solvers for net groups with 1 or 2 nets. - Introduced specialized solvers for N=1,2,3,4,5 by using templates. - nice performance increase for BJTs
* Removed some dead code and ambiguous functions in the netlist code. [Couriersud] Couriersud2014-01-121-4/+2
|
* Removed two duplicate devices in netlist. Couriersud2014-01-115-10/+10
|
* Implemented near-to-proper reset for all netlist devices. Reset now works ↵ Couriersud2014-01-111-1/+1
| | | | for improved matrix solving. [couriersud]
* Quite a number of simplifications for netlist. Also tested some parallel ↵ Couriersud2014-01-105-6/+210
| | | | processing using OpenMP (disabled). No wn
* Some more netlist examples. Couriersud2014-01-063-0/+101
|
* Fixed PNP model and added test netlist (bjt.c) [Couriersud] Couriersud2014-01-011-0/+46
|
* Enhanced the netlist parser and cleaned pong.c. Also added a folder ↵ Couriersud2013-12-313-0/+141
nl_examples which contains standalone netlist examples. [couriersud] The examples have a ".c" suffix. In eclipse, I get automatic syntax parsing and error notifications. The parser treats "#" preprocessor defines/includes just as comments. All of these examples can be run through nltool: ./nltool -f nl_examples/opamp.c -t 1 -l OUT runs the opamp example for 1 second of emulation time and logs the terminal named "OUT" to "netlist_log_OUT.log". I'll post a simple script to the list to visualize those logs using gnuplot.