Go to file
Couriersud 686d540bad Netlist can now be included as sub-circuits. That's the same approach SPICE 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 :-)
2014-02-13 00:28:18 +00:00
artwork HLSL Updates: [Ryan Holtz, Bat Country Entertainment, austere] 2011-06-06 21:25:38 +00:00
docs (mess): Floppy subsystem documentation checkpoint. Incomplete, but 2014-01-30 20:13:38 +00:00
hash (MESS) some more coco dumps from K1W1. nw. 2014-02-12 11:38:23 +00:00
hlsl This revert (r26927), as requested by author, fixes the regression of missing graphics for vector games using HLSL. Also reverted patch in code (r27063) to deal with "roundf" for pre-vs2013 compilers - which is no longer needed. (nw) 2014-01-24 00:30:29 +00:00
keymaps Added Swedish/Finnish SDL keymaps for OSX and Linux. [Curt Coder] 2012-08-29 18:41:01 +00:00
nl_examples Netlist can now be included as sub-circuits. That's the same approach SPICE uses. 2014-02-13 00:28:18 +00:00
src Netlist can now be included as sub-circuits. That's the same approach SPICE uses. 2014-02-13 00:28:18 +00:00
web Adding missed files (nw) 2013-10-01 14:12:22 +00:00
.gitattributes Added generic barcode reader emulation: the code accepts sequences of digits in 2014-02-12 14:54:11 +00:00
.gitignore ignore project files only in root 2013-12-30 18:38:08 +00:00
makefile Emscripten makefile stuff (nw) 2013-11-03 22:52:48 +00:00