summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/netlist.lua
Commit message (Collapse)AuthorAgeFilesLines
* srcclean (nw) Vas Crabb2017-05-281-3/+3
|
* netlist: add a crude TTL schmitt trigger model and hook up in 1B11142 Vas Crabb2017-05-271-0/+2
| | | | | | | | | | | | | | | | | sound board, completing the tromba circuit (nw) I'm not sure whether the model works properly or not, but in the circuit where it's used, I don't think it can work properly with the current TTL output model. A capacitor is charged by the Q output of a 74LS74 flipflop (U3A) until the voltage passes the Schmitt trigger's threshold, causing it to reset the flipflop. However, the positive trigger voltage of the Schmitt trigger is 1.6V, but our TTL output model has a high output voltage of 1.0V (see nl_base.cpp:89). I realise the simplified model of TTL logic with high impedance inputs and outputs behaving as though thery're loaded is convenient and fast to simulate, but it's not detailed enough for applications like this where 7400-series chips are used in analog circuitry. This is what held me up last time I tried adding a netlist for this sound board.
* Netlist refactoring: couriersud2017-05-271-5/+6
| | | | | | - OPENMP refactored. All OPENMP operations are now templatized in pomp.h - We don't need thread-safe priority queue. Event code updating analog outputs now runs outside the parallel code. (nw)
* srcclean (nw) Vas Crabb2017-02-191-14/+14
|
* Merge pull request #2068 from JoakimLarsson/prodigy_display R. Belmont2017-02-171-0/+2
|\ | | | | Prodigy display
| * prodigy: added new devices to script files Joakim Larsson Edstrom2017-02-171-0/+2
| |
* | Reworked truthtables a bit. couriersud2017-02-171-4/+0
|/ | | | | - Moved 9312 and 74279 to ttl macro library. - Renamed TTL_9312_* to DM9312. This is more appropriate. - Fixed a number of warnings from latest ubuntu clang-5.0.
* Make windows builds of nltool and nlwav understand unicode. couriersud2017-02-101-4/+13
| | | nltool and nlwav now use wmain, i.e. UNICODE main on windows. (nw)
* Make sure netlist includes are not found directly on include path. couriersud2017-02-101-3/+3
| | | | Instead, they have to be prefixed by "netlist/". Removed unneeded link librariers for nltool and nlwav along the way. (nw)
* Separate include file usage for netlist. couriersud2017-01-291-5/+7
| | | | | | | | Device implementations (all cpp files in netlist/devices) now should only include nl_base.h. Netlist implementation sources should only include "net_lib.h". Refactored netlist.h and netlist.cpp to avoid namespace congestion in netlist.h. Fixed VC2015 build. (nw)
* Cleanup of includes. (nw) couriersud2017-01-271-0/+1
|
* srcclean (nw) Vas Crabb2017-01-221-15/+15
|
* Netlist: couriersud2017-01-171-0/+2
| | | | | | | | | - refactored reverse polish notation evaluator into own source files. - added function parameter to current and voltage sources VS and CS. You can now use those to e.g. produce a sine wave. - Changed code to allow devices to optionally be treated as dynamic or timestepping devices. [Couriersud]
* Prepare source for consistent error message usage. (nw) couriersud2017-01-141-5/+6
|
* Move netlists into macro folder. (nw) couriersud2017-01-091-0/+2
|
* Fix clang "-Wno-weak-vtables" warnings in netlist source. Refactored couriersud2017-01-051-0/+1
| | | code along the way. (nw)
* Added SIGFPE enabling code to plib/pexception.*. Moved plib exceptions couriersud2017-01-041-0/+2
| | | | | into these files as well. The code uses <cfenv> which is part of c++11 standard. Non-standard glib extensions are currently only used on linux and (i386 or x86_64). (nw)
* Moved proxy code into separate file. (nw) couriersud2016-12-281-0/+2
|
* -netlist: Added 82S123 256-bit (32x8) TTL bipolar PROM. [Ryan Holtz] MooglyGuy2016-12-241-0/+2
|
* -netlist: Added 82S126 4kbit (512x8) TTL bipolar PROM. [Ryan Holtz] therealmogminer@gmail.com2016-12-231-0/+2
|
* netlist: Added 4316 bilateral switch pack. Vas Crabb2016-12-231-0/+2
|
* -netlist: Added 74165, 74194, 7475, 7485, and DM9322 devices. [Ryan Holtz] therealmogminer@gmail.com2016-12-221-0/+10
|
* -netlist: Added shared RAM pointer, for use by netlist RAM devices which ↵ therealmogminer@gmail.com2016-12-211-0/+6
| | | | | | | | | | need updating by non-netlist driver code. [Ryan Holtz] -netlist: Added new devices: [Ryan Holtz] * Intel 2102A 1Kbit (1024 x 1) Static RAM * 74365 Hex Bus Driver with 3-State Outputs * Generic 2- and 3-terminal Tristate device * Note: Tristate device and 74365 do not actually tristate, they are simply a way of combining multiple outputs + chip enables.
* -netlist: Added 74166 Parallel-Load 8-Bit Shift Register device. [Ryan Holtz] therealmogminer@gmail.com2016-12-211-0/+2
|
* -netlist: Added 2716 16 Kbit (2 Kbit x 8) UV EPROM. [Ryan Holtz] therealmogminer@gmail.com2016-12-211-0/+2
|
* -netlist: Added 74174 Hex D-Type Flip-Flop with Clear [Ryan Holtz] therealmogminer@gmail.com2016-12-211-0/+2
|
* netlist: Added 82S126 1K-bit bipolar PROM device. [Ryan Holtz] therealmogminer@gmail.com2016-12-211-0/+2
|
* netlist: Device additions: [Ryan Holtz] therealmogminer@gmail.com2016-12-211-0/+8
| | | | | | | * 74161 Synchronous 4-Bit Binary Counter with Clock * 7473 Dual Master-Slave J-K Flip-Flops with Clear and Complementary Outputs * Am2847 Quad 80-bit Static Shift Register * DM9334 8-bit Addressable Latch
* Add Lua-cleaning ability to srcclean Vas Crabb2016-08-301-11/+11
|
* fix for Android build (nw) Miodrag Milanovic2016-06-281-0/+5
|
* Netlist changes couriersud2016-06-231-0/+3
| | | | | | | | | | | | | | | | | | | | | - Replaced shared_ptr by unique_ptr. - Better seperation of setup_t and netlist_t. - Fixed bugs in rdtsc code. Refactored timer code. - Simplify conditional activation/deactivation. - Introduced HINT(device, hint) to clarify that hints are inheritent and not specific to devices. - Added improved profiling support to netlist. Statistics output now proposes devices for which whole device activation/deactivation be disabled. No significant improvement for pong, but breakout experiences a 10% improvement. - Moved options code from include to cpp file. - Minor modifications to 7493 and 9316 - Introduced perftime_t and perfcount_t for gathering statistics. These templates do not create any code if statistics are not kept. - Make help2man ./nltool produce usuable output. - More truthtable refactoring. Removed half-finished code for internal state support. As implemented, this would have had no support for timing delays. [Couriersud]
* - More code cleanup. couriersud2016-06-071-1/+2
| | | | | | | | | | | | | | - Dead code removal and minor refactoring. - Simplify. Align naming with stl. Fix somed pedantic warnings. - More STL compatability. - Remove ATTR_HOT and ATTR_COLD. Refactored netlist_time. - Fix long standing workaround which would ignore policy of change-only" propagation. - Rewrote for loops to use auto : semantics. - Truthtable cleanup. (nw) - Get rid of nl_math. Remove nl_util.h and moved contents to plib/putil.h. - Fix standalone build. Refactor ptypes.h. [Couriersud]
* - Minor cosmetic refactoring. Added a "uninitialised array" template to balr0g2016-06-071-1/+2
| | | | | | | | | | | allow in-place creation (for increased locality) of netlist classes. Main use is in truthtable class. - Remove PLIB_NAMESPACE macros. - Remove namespace macros. Use explicit namespace declarations. - Moved device definitions into cpp files. - Moved more device definitions into cpp files. - New prefix "nlid" for include files flags purely internal include files not to be leaked into userland. - Fix factory code.
* Converted 7486 to macro module couriersud2016-05-051-2/+0
|
* Removed drivers/signal.h since netlist devices no longer use it. (nw) couriersud2016-05-051-1/+0
|
* Convert 7430 to macro module. couriersud2016-05-051-2/+0
|
* Convert 7425 to macro modul couriersud2016-05-051-2/+0
|
* Converted 7420 to macro modul couriersud2016-05-051-2/+0
|
* Convert 7432 to macro device. couriersud2016-05-041-2/+0
|
* Converted 7437 to macro device couriersud2016-05-041-2/+0
|
* Converted 7427 to macro device couriersud2016-05-041-2/+0
|
* Converted 7411 into a macro device. couriersud2016-05-041-2/+0
|
* Converted 7410 into macro device. couriersud2016-05-041-2/+0
|
* Implement 7402, 7408 as macro device. (nw) couriersud2016-05-031-4/+0
|
* Implement 7404 as macro device. (nw) couriersud2016-05-031-2/+0
|
* Implemented dynamic loading of precompiled solver code. [Couriersud] couriersud2016-04-231-0/+2
|
* Visual Studio 2015 netlist fix. (nw) dankan18902016-03-301-1/+2
|
* scrclean on lua scripts (nw) Miodrag Milanovic2016-03-291-3/+3
|
* Extend system library support (nw) Jeffrey Clark2016-03-281-6/+1
| | | | | | | Extend USE_SYSTEM_LIB_* to support providing the library name and include directory. To link against system specific lib names and header path: (ref #711) USE_SYSTEM_LIB_LUA=lua5.3:/usr/include/lua5.3
* Visual Studio compile fix. (nw) dankan18902016-03-281-1/+2
|