Commit Graph

7505 Commits

Author SHA1 Message Date
Holger Vogt de45309a4a prevent a segfault when TSTOP less than TSTART in tran command 2025-04-06 10:06:34 +02:00
Holger Vogt 79bcbf10c7 allow other simulation types, e.g. ac
prevents crash
2025-04-06 10:06:34 +02:00
Holger Vogt e81e288853 Enable standard search paths for *.wav file search. 2025-04-06 10:06:34 +02:00
Holger Vogt e2fee178be add dot commands .sndprint, .sndparam in inp.c 2025-04-06 10:06:34 +02:00
Holger Vogt 8919c753b2 Formatting: tabs to spaces 2025-04-06 10:06:33 +02:00
Holger Vogt 548f7e1a58 Remove unused 2025-04-06 10:06:33 +02:00
Holger Vogt 3b241a690b replace exit() by controlled_exit() 2025-04-06 10:06:32 +02:00
Holger Vogt fae6e491d9 declare functions and variables static, if so 2025-04-06 10:06:32 +02:00
Holger Vogt 9f4e03c7c7 reformat vsjack.c 2025-04-06 10:06:32 +02:00
Holger Vogt a64c9cba5d Use the current method to set the coefficients 2025-04-06 10:06:32 +02:00
Holger Vogt 7cf5c3b98b reformat, set better error message for src_process() 2025-04-06 10:06:31 +02:00
Holger Vogt 733c734e53 add progress report when entering wav output stage 2025-04-06 10:06:31 +02:00
Holger Vogt 185970dc3f add commands sndprint, sndparam with
associated functions com_sndprint and com_sndparam
2025-04-06 10:06:31 +02:00
Holger Vogt 8a738e2cec add dotcards .sndparam and .sndprint 2025-04-06 10:06:31 +02:00
Holger Vogt fb14e468b7 ngspice.h and controlled_exit() instead of exit() 2025-04-06 10:06:31 +02:00
Holger Vogt 219d842915 add sound capability to vsrc
see https://sourceforge.net/p/ngspice/patches/13/
2025-04-06 10:06:31 +02:00
Holger Vogt cf645107d2 add files sndprint, vsjack 2025-04-06 10:06:31 +02: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 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 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 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 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
Árpád Bűrmen 727f11edf0 Fixed incorrect OSDItrunc() state index when $limit is present. 2024-12-15 10:28:33 +01:00
Árpád Bűrmen bf6ed080cf Verilog-A $simparam("tnom") is in degrees Celsius.
Adjusted OSDI interfaces to reflect that.
2024-12-15 10:28:19 +01:00
Árpád Bűrmen 778b730393 Exposed more $simparams via OSDI.
initializeLimiting, epsmin, reltol, vntol, abstol
2024-12-15 10:28:06 +01:00
Holger Vogt 72d70e3471 bool definition is in stdbool.h, no local definition required 2024-12-15 10:27:29 +01:00
Holger Vogt f9b7455d10 Proper conversion bool to int 2024-12-15 10:27:14 +01:00
Holger Vogt c05a6398b7 Reserve enough memory 2024-12-15 10:27:04 +01:00
Holger Vogt 3f26d455c3 Re-formatting for readability 2024-12-15 10:26:51 +01:00
Holger Vogt 33638fc46e Improve error messages 2024-12-15 10:26:42 +01:00
Holger Vogt 3ca51e47b2 Unify to type bool 2024-12-15 10:26:29 +01:00
Holger Vogt 8b5a046cdb Remove again, not needed 2024-12-15 10:26:20 +01:00
Holger Vogt 8e9a115aa9 Update/remove comment(no longer valid) 2024-12-15 10:26:08 +01:00