Commit Graph

9131 Commits

Author SHA1 Message Date
Holger Vogt 2afd3d1ea8 Prevent a crash in case of incomplete stoks[] 2025-05-24 11:03:29 +02:00
Árpád Bűrmen 91040891f9 Temperature handling inconsistency in jfetnoise.c fixed. 2025-05-24 11:03:13 +02:00
Holger Vogt 796b4fd634 Fixes wrong @bxxx[i] return values of B source, ignoring the m parameter.
Reported in bug 734 by Stefan.
2025-05-24 11:00:32 +02:00
Giles Atkinson fd3827af40 Fix ordering of parameter definition and use.
Icarus Verilog no longer accepts use-before-definition.
Also slightly expand the README for Icarus Verilog examples.
2025-05-24 11:00:18 +02:00
Holger Vogt 0c2a287d3c Allow .probe I(XU1)
For device with more than 2 nodes, and alli not set, the vcurr_xxx
nodes did contain a probe_int_ section which made them to be
not saved. While o.k. for power measurement, this was not o.k. for
measuring current.
2025-05-24 11:00:11 +02:00
Holger Vogt 1abeb1290b Align title line to the numbers following 2025-05-24 10:59:47 +02:00
Holger Vogt c8dc858f9e use effective gate voltage 2025-05-24 10:59:39 +02:00
dwarning 3da74cacb6 VDMOS: use effektive Gatespannung for mobility reduction of Beta 2025-05-24 10:59:28 +02:00
Holger Vogt 26b197df33 Allow m parameter for B source with current output
Fixes bug no. 734
2025-05-24 10:59:04 +02:00
Holger Vogt edecf91437 options are not required 2025-05-24 10:58:45 +02:00
Giles Atkinson 933b5a4826 Use shell tests instead of AC_CHECK_HEADERS to find readline headers
on MacOS and silence complaints about non-literal header paths.
2025-05-24 10:58:30 +02:00
Giles Atkinson 47d2f4eb96 Fix warnings from autoconf by running the autoupdate tool and
adding an argument to AC_PROG_LEX.  The minimum required autoconf
version is set to 2.70 as that was the introduction of the
AC_PROG_LEX argument.
2025-05-24 10:58:18 +02:00
Giles Atkinson afb399a1f0 Fix Bug #733 -
"Pre-master-45 hangs forever on a circuit that works on older versions."
That was an infinite loop when parsing a line with just "*#",
introduced by commit fb63573b6b.  Also add some comments.
2025-05-24 10:58:08 +02:00
Árpád Bűrmen 1b40f0d444 initializeLimiting -> iniLim, reorder sim_params for faster OSDI device evaluation. 2025-05-24 10:57:46 +02:00
Árpád Bűrmen d659943d77 Per-device load timing support. 2025-05-24 10:56:33 +02:00
dwarning 457f3e87c6 .exe files are not part of the source code 2025-05-24 10:56:16 +02:00
Holger Vogt 7ecb5a5d45 Add some more debug output. 2025-05-24 10:56:03 +02:00
Holger Vogt 7e27bddc34 Remove unused code. 2025-05-24 10:55:43 +02:00
Holger Vogt e5d4d7d63f Add to debug-out.txt an output without source file information.
Thus cluttering the view is reduced.
2025-05-24 10:55:18 +02:00
Holger Vogt 1a1d2558e8 We are developing towards ngspice-45 2025-05-24 10:50:59 +02:00
Holger Vogt e011d14f6f Add version 44.2 2025-01-22 12:02:54 +01:00
Holger Vogt 80d22fc802 Prepare the bug-fix release 44.2 2025-01-11 11:55:56 +01:00
dwarning a6d6a07f79 S to Z matrix conversion by formula instead of Y inversion
low limiting Rn and Cy to prevent division by 0, fix provided by Alessio Cacciatori

there are still problems in Z matrix conversion in specific networks
2025-01-11 09:22:15 +01:00
Holger Vogt e1bd97d8f6 If C= or Q= is omitted in the instance line of a behavioral capacitor,
select as default the C= formulation, not the Q= formula..
2025-01-10 15:17:22 +01:00
Holger Vogt e0a7d821e9 Notes go to stdout, not stderr 2025-01-09 13:21:52 +01:00
Giles Atkinson 2666460663 Using XFlush() instead of XSync() avoids a round trip to the X server
on each call to DevUpdate().  That speeds plotting when using XQuartz
on Macintosh and makes iplot useable there.
2025-01-09 13:21:31 +01:00
Giles Atkinson b0953d9980 Allow out-of-tree builds. Problem reported by Carsten Schönert. 2025-01-09 13:21:22 +01:00
Holger Vogt 6e5d084a02 "x64" was hardcoded into aux-digital.bat and is used in the compiling of digital.vcxproj.
That's problematic for trying to compile x86 or ARM64.

This patch makes digital.vcxproj pass the arch as arg2 to aux-digital.bat

Patch #120 provided by Mark Roszko
2025-01-09 13:21:15 +01:00
Holger Vogt 1b7c8eb2d7 Fix a crash due to buggy user input.
Improve error message.
Reported in
https://gitlab.com/kicad/code/kicad/-/issues/19439#note_2277932762
2025-01-09 13:21:05 +01:00
Holger 01a153c9a5 Update to prepare ngspice-44 2024-12-28 15:35:25 +01:00
Holger Vogt ce8480c690 Enable improved error message with nested .include. 2024-12-28 14:43:01 +01:00
Holger Vogt c7ee676e3d Improve the error message by hinting to the source of the error. 2024-12-28 14:42:49 +01:00
Holger 114bda2941 Add missing backslash 2024-12-27 17:31:01 +01:00
Holger Vogt 6730474067 Make verilog/libvvp.def verilog/MSVC.CMD verilog/README.txt distributable 2024-12-27 17:11:12 +01:00
Holger 3fa09bd3cf Add missing header files to enable their distribution 2024-12-27 16:20:08 +01:00
Holger Vogt 6dec8f4d14 Update of the installation on macOS with M1 - 4 CPUs 2024-12-27 14:19:09 +01:00
Holger Vogt a4e443fcce precautionary prevent passing instances which internally have got
upper case lettering. Removes a crash reported in
https://gitlab.com/kicad/code/kicad/-/issues/18648.
2024-12-27 11:18:00 +01:00
Holger Vogt ffde17441b Don't quote the subcircuit name in an X line 2024-12-27 11:15:09 +01:00
Giles Atkinson d549b882df Fix a crash that happens after an iplot window is zoomed and closed
while active.
2024-12-27 11:14:53 +01:00
Holger Vogt 8eea1f0b41 Prepare ngspice-44 2024-12-26 15:01:10 +01:00
Holger Vogt 9ce056304c Prepare ngspice-44 2024-12-26 14:50:33 +01:00
Holger Vogt 45f1d27e3d Remove obsolete content not directly linked to ngspice. 2024-12-24 10:13:06 +01:00
Holger Vogt 00318df064 no readline required for shared ngspice 2024-12-23 17:46:52 +01:00
Holger Vogt a2ba997651 Update, prepare for ngspice-44 2024-12-23 17:32:11 +01:00
Holger Vogt 20e889b736 Fix a typo 2024-12-23 16:54:34 +01:00
Brian Taylor a841a66ee1 d_process needs to strip || at the end of the process_file string when using PSpice compat mode. The failure was found by @slh on the KiCad forum. 2024-12-15 22:12:17 +01:00
Holger Vogt 1e4a6ac8b8 avoid memory leak by appending, not prepending the word 2024-12-15 10:29:32 +01:00
Holger Vogt a6ad2470f1 Add a flag compmod to struct card.
Set compmod to 1 if netlist line is included by command 'incpslt'
Guard special newcompat.hs sections by compmod
2024-12-15 10:29:23 +01:00
dwarning 3f562ae4f6 fix diode level=3 setup for multiple simulations 2024-12-15 10:29:05 +01:00
dwarning 4bd5ebe3e3 Fixed the diode scaling bug reported by A. Buermen 2024-12-15 10:28:46 +01:00