summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* netlist: Fixed polarity issue in CCCS device [Colin Howell, Couriersud] couriersud2020-05-013-11/+11
| | | | Note: This affects all use cases of CCCS. I have changed all uses in MAME.
* netlist: more magic number removal. (nw) couriersud2020-05-012-7/+23
|
* netlist: Removed more magic numbers from the code. (nw) couriersud2020-05-0113-26/+41
|
* netlist: Readding accidentially delete nld_ne555.h. (nw) couriersud2020-05-011-0/+21
|
* netlist: Fix a bug introduced by latest nld_log change. (nw) couriersud2020-05-011-2/+5
|
* netlist: Fix inclusion of examples in documentation. (nw) couriersud2020-05-013-4/+14
|
* netlist: nld_log now writes out last value at end of run. (nw) couriersud2020-05-011-0/+5
|
* Remove explicit logging since it can be done on the command line via nltool. Aaron Giles2020-05-011-6/+0
|
* Add 74393 device and unit test. Aaron Giles2020-05-016-0/+188
|
* netlist: Add the NE566 as a macro device. [Couriersud] couriersud2020-05-0118-179/+355
| | | | | | | | The device can be found in nlm_other.cpp. Removed nld_ne566.* Added SYS_SW, SYS_SW2 and SYS_COMP. These are single switch, alternating switch and a analog comparator with digital outputs. Renamed RES_SWITCH to SYS_SW. Added example ne566.cpp in netlist/examples.
* netlist: add NE566 to netlist.lua. (nw) couriersud2020-04-292-0/+4
|
* Stub implementation of 566 VCO Aaron Giles2020-04-295-11/+126
|
* Added some missing infrastructure. Now TL081 shows up in device list. Aaron Giles2020-04-291-0/+1
|
* Some initial changes. Aaron Giles2020-04-294-0/+58
|
* netlist: Fix some edge cases in static compile. (nw) couriersud2020-04-283-109/+115
| | | Comes with a new version of static_solvers.cpp
* netlist: Fix documentation build on windows in makefile. (nw) couriersud2020-04-281-6/+17
| | | | | | | Documentation should be created on Windows using make mingw PARAMS=doc Admittedly this is ugly and the makefile needs to be changed to use something like "make HOSTOS=windows doc".
* netlist: Fix "--cmd=listdevices". [Couriersud] couriersud2020-04-281-5/+0
| | | Broken for quite a while this is now working again.
* netlist: more code maintenance. (nw) couriersud2020-04-287-55/+46
| | | | | | | Make some calls private which were public before. Eliminate functions which would be executed only once. Make terminal reference functions in twoterm.h return const. Clearly identify the use cases which need a non-const ref to terminals.
* netlist: improve const-awareness and tidy changes. (nw) couriersud2020-04-289-49/+49
| | | | Identified a number of code locations which could accept const arguments.
* Netlist: Added 74163 to netlist. [Couriersud] couriersud2020-04-283-29/+69
|
* netlist: fix some windows build issues in build/makefile. (nw) couriersud2020-04-281-6/+19
|
* netlist: More clang-tidy fixes. (nw) couriersud2020-04-2824-201/+246
|
* netlist: More clang-tidy fixes. (nw) couriersud2020-04-284-53/+56
|
* netlist: Fix clang-tidy warnings. (nw) couriersud2020-04-2822-146/+186
|
* netlist: rename some macros. (nw) couriersud2020-04-2626-98/+75
| | | Rename COPYASSIGN* and friends to PCOPYASSIGN*.
* netlist: clang tidy fixes and srcclean. (nw) couriersud2020-04-253-3/+8
|
* netlist: unify solver calls. (nw) couriersud2020-04-2516-169/+183
| | | | | | Calls to the solver used different paths. These changes unify these calls and provide a common call for discontinuous state changes on analog components (change_state).
* netlist: improve readability. (nw) couriersud2020-04-2515-57/+73
| | | | The purpose here is to make clear what is actually done and to reduce usage of calls to update.
* netlist: document trapezoidal capacitor integration. (nw) couriersud2020-04-231-1/+47
|
* netlist: Documentation update. (nw) couriersud2020-04-223-521/+980
|
* netlist: Fix a segfault happening only under for certain netlists. couriersud2020-04-221-3/+46
| | | This seems to be a compiler/standard library issues.
* netlist: code maintenance and edge case fixes. (nw) couriersud2020-04-2019-132/+175
| | | | | | | | | | | | "Edge cases" are compiles were the floting point type used for the core may be different from the one used by solvers, e.g. double/float. This does not happen in MAME, here currently this is always double/double. Since floats are better suited for GPUs whose double performance is limited it was time to review the code. This commit fixes warnings about type conversions and precision loss. In addition there is better support for INT128 and FLOAT128. The MAT solver has seen some minor performance increases.
* netlist: rename some camel case names. (nw) couriersud2020-04-1914-93/+96
|
* netlist: simplify object structure a bit. (nw) couriersud2020-04-192-22/+20
|
* netlist: compile time improvement and code maintenance. (nw) couriersud2020-04-196-19/+38
| | | | | Added a define NL_USE_ACADEMIC_SOLVERS and disabled it in the build. This will not compile in solvers which are either illustrative or only perform for large sparse matrices like GMRES.
* netlist: code maintenance on pfunction. (nw) couriersud2020-04-192-13/+18
|
* netlist: clang-tidy, srcclean and pedantic warnings fixed. (nw) couriersud2020-04-1816-38/+38
|
* netlist: remove code duplication. (nw) couriersud2020-04-1812-135/+45
|
* netlist: nltool usage and static compile changes. [Couriersud] couriersud2020-04-189-127/+251
| | | | | | | | | | | | | | | | | | | | | This commit simplifies the creation of static solvers. For this to happen the following changes were made: - nltool does no longer support the "-f netlist_file.cpp" option. All parts of netlist which used the option now expect the file to be specified after all other options. Before: nltool -t 10 -f somenetlist.cpp Now : nltool -t 10 somenetlist.cpp - The static compile command now supports an "--output" option to specify the file to be created and accepts multiple input files. To be create the static solver file for MAME use the script provided or: ./nltool --cmd static --output=src/lib/netlist/generated/static_solvers.cpp src/mame/audio/nl_*.cpp src/mame/machine/nl_*.cpp - Updated documentation and examples provided by nltool --help
* netlist: Fix alternative LM3900 implementations. (nw) couriersud2020-04-181-5/+4
|
* netlist: Fix a macro expansion bug. (nw) couriersud2020-04-182-1/+6
|
* netlist: Move macros where they belong. (nw) couriersud2020-04-182-23/+3
|
* netlist: basename function now accepts a suffix to remove. (nw) couriersud2020-04-182-4/+9
|
* netlist: add parameter to split_paragraphs ... (nw) couriersud2020-04-182-10/+13
| | | to allow passing in a custom line end string.
* netlib: remove a fixme in pmain.cpp. (nw) couriersud2020-04-182-7/+7
|
* netlist: Document alternative approach to CD4016. (nw) couriersud2020-04-172-32/+102
| | | | | | | | | | | | The CD4016 is an analog switch IC. Document an experimental approach to implement the analog switch as a 3 terminal element which is completely being dealt with as part as the linear system. The intention was to improve convergence when the switch is in a feedback loop. One example are two-opamp tridiagonal wave generators. Unfortunately the approach did not work out and in addition was performing far worse than the net-separating original code. Also updated comment in nld_generic_models.h.
* netlist-doc: Fix typo. (nw) couriersud2020-04-141-1/+1
|
* netlist: fix standalone build and doxygen mainpage. (nw) couriersud2020-04-142-5/+7
|
* netlist: improve performance up to 65% on audio netlists. [Couriersud] couriersud2020-04-1320-117/+10249
| | | | | | | | | | | | | | | | | | | This commit introduces precompiled static solver code. Due to additional optimizations the compiler can use because the detail calculation steps for the solution are known e.g. the kidniki netlist sees a 100% speed increase. In all environments (windows/*nix/osx) the source for the static solver code can be created using bash src/lib/netlist/nl_create_mame_solvers.sh This will create src/lib/netlist/generated/static_solvers.cpp which is compiled into the mame binary. The script is just a temporary workaround. The intention is that nltool whill be able to create this file with one call. There are other improvements in this commit speeding up the processing of timestep and dynamic calculations.
* formats: permission from Nigel Barnes to relicense Acorn and AFS disk ↵ Vas Crabb2020-04-135-7/+5
| | | | handlers as BSD-3-Clause (nw)