Commit Graph

  • deb3cd9809 Replace all BOOLEAN, BOOL, _Bool by bool Remove all #undef bool (set in conjunction with #iclude <Windows.h>) Holger Vogt 2024-12-07 17:24:32 +0100
  • cef9d5b11c iscas_stdcell.lib need geometry parameters, but is not used anyway, so commented out dwarning 2024-12-07 10:41:35 +0100
  • 932ef50cc3 Improve two error messages: in d_cosim, report the filename given, not the last one tried; and report attempted use of iplot or tclplot in batch mode only once. Giles Atkinson 2024-11-30 12:37:36 +0000
  • 721aab9624 Fix a bug reported by Tom Hajjar with title "XSPICE d_osc usage" in Help, 2024/12/5. Also correct the timing of the request for the next call and modify a constant to make the method more robust. To support the main change, cm_analog_set_temp_bkpt() now reports when a breakpoint request is ignored, and T(x) values are set before an EVENT call. Giles Atkinson 2024-12-05 21:00:33 +0000
  • 68228ca33f Improve comments Holger Vogt 2024-12-02 00:00:56 +0100
  • 660b183ad0 Revise check for '.probe alli' and event nodes: Bail out, don't run any sim, don't change variable 'auto_bridge'. Holger Vogt 2024-12-01 15:55:59 +0100
  • 54865ed39d bring the KLU_malloc() in right order, ticket #717 dwarning 2024-12-01 09:29:15 +0100
  • 4eec6eb8e2 Fixes bug 723 New lines had been inadvertently written into the .control section. Holger Vogt 2024-11-30 22:25:41 +0100
  • fdbb62844c Example for sending a text string over the subcircuit boundary. Holger Vogt 2024-11-29 14:12:41 +0100
  • 2db9533380 Enable strings as parameters across subckt boundaries by keeping the quotes and excluding {} around the string token. Holger Vogt 2024-11-27 23:35:07 +0100
  • 07994ff225 VDMOS: concatenate inner node name dwarning 2024-11-29 07:51:10 +0100
  • 6500caeba1 Now that checks on actuals and formals have been fixed for X* instances, some older PSpice libraries will not translate correctly in psa mode. This commit removes unnecessary power and ground nodes from X* instances of subcircuits where the nodes are optional. These X* instances occur within the body of another subcircuit which is being translated. MicroCap libraries that we can translate in ngspice do not have such cases. To enable the removal of the power and ground nodes, set ps_global_tmodels=1 in .spiceinit. This is not set by default since an extra pass through the circuit word list is necessary to find the subcircuits whose instances do not require power and ground node removal. Without enabling this feature, errors reporting too many parameters may be reported. Brian Taylor 2024-11-20 14:03:08 -0800
  • 5980869040 Apply Patch #119 - "Fix buffer overflow in src/xspice/icm/digital/d_state/cfunc.mod". The change is not identical to the supplied patch. It was slightly modified to make the original code more sane. Found and patched by Artem Sinkevich. Giles Atkinson 2024-11-20 21:42:23 +0000
  • abc3fceb7e Enhance sensitivity analysis with an option to choose the parameters to be varied. Shell-style wildcards ("*?") are supported. Giles Atkinson 2024-11-19 13:35:04 +0000
  • c30bc423ba Initial fix for Bug 710 - "The log file appears blank when a VDMOS element is added". The problen was caused by a crash during sensitivity analysis caused by selecting parameters for wariation based on their values. That is not repeatable between passes. The fix is to remove that code, but it causes many more parameters to be used. Giles Atkinson 2024-10-25 18:25:47 +0100
  • 7d59ad2db7 Create extra name derived from node name, but with / replaced by _, to become part of the new voltage source name: avoid names which are not parsed correctly by the B source equation parser. Holger Vogt 2024-11-24 14:34:59 +0100
  • a45c1500a6 Remove 512 char limit of sourcepath variable. Make attaching new path more efficient. Holger Vogt 2024-11-21 18:15:05 +0100
  • 3d7dbc0124 Update to a43c6f491 ("Add #define RESMIN 1e-6 as a minimum resistor value", 2024-07-12) Remove bug with TL071 model. Holger Vogt 2024-11-17 23:04:40 +0100
  • 22b4f4e632 Re-enable detection of over- or underflow of number of nodes when calling a subcircuit. Update to commit c12296182 ("The code in src/frontend/subckt.c has a fixed-size structure called table at the top with a size set to N_GLOBAL_NODES = 1005. If the number of items passed in formal and actual exceeds 1005, then ngspice exits immediately with an error.", 2023-03-14) Holger Vogt 2024-11-13 11:14:29 +0100
  • 33ef1fc876 typos Holger Vogt 2024-11-09 12:24:37 +0100
  • c79b3501ef Add note on compatibility mode psa Holger Vogt 2024-11-08 13:57:34 +0100
  • 8c806912d0 Improve convergence in Infineon Power MOS. 0**something is 0 Holger Vogt 2024-11-06 15:35:38 +0100
  • b48224e514 Improve the behaviour of ngspice when run in the background on a Unix-like OS with job control. The progress ticker is suppressed for a command like "ngspice some_circuit.cir &" so the terminal remains usuable while the simulation runs. Giles Atkinson 2024-11-04 19:15:29 +0000
  • 4feb0c3ccc Remove function cp_ccon() and related code. The function modifies the terminal driver's treatment of the control-D (EOF) and escape keys on Unix-like OSs. But escape has no special meaning, and treating control-D as a line terminator was probably to prevent unexpected session exit when connected through a modem without error-correction. Giles Atkinson 2024-01-31 21:03:21 +0000
  • 562466a3c5 Three minor code improvements. Remove a redundant test in com_measure2.c. In vectors.c, always initialise a newly-created plot exactly once. Improve an error message in spiceif.c. Giles Atkinson 2024-11-04 18:37:37 +0000
  • fb63573b6b Fix processing of lines like: "*# pre_some_command ...". Giles Atkinson 2024-10-13 15:25:01 +0100
  • 75c2811fa9 Fix some memory leaks. Brian Taylor 2024-11-05 11:12:48 -0800
  • a2b8b0d733 In batch mode: if transient simulation fails with 'Timestep too small', still fill in the number of points in the raw file. Fixes bug no 714. Holger Vogt 2024-11-06 10:30:00 +0100
  • 6381c51ee1 relative time differences needed - not to prgm start time dwarning 2024-11-07 17:20:20 +0100
  • 02abb65c59 rm obsolete #ifdef HAVE_QUERY in windows block dwarning 2024-11-06 18:06:21 +0100
  • 3d20dc0da7 format - white spaces dwarning 2024-11-06 15:02:10 +0100
  • bf6ffd357d Keep it simple: use only one structure and get_time function dwarning 2024-11-06 14:32:26 +0100
  • 60554855d8 seconds() gives difftime to program start, lower priority for getrusage() and times() dwarning 2024-11-05 18:27:47 +0100
  • 26f2fec689 seconds() no longer supports a time difference, so create it locally. Holger Vogt 2024-11-04 13:02:50 +0100
  • 821733a5f6 suppress compiler warning dwarning 2024-11-03 09:10:29 +0100
  • 40aa445ee8 unify os dependent time code in one file - rm win_time.c dwarning 2024-11-03 09:00:04 +0100
  • 5000e0d57a Fix a bug: AF and KF had been interchanged. Holger Vogt 2024-11-03 10:55:30 +0100
  • 5d47c9b696 Add AF and KF: error messages in commands 'showmod' or .sens are gone. Holger Vogt 2024-11-03 11:14:04 +0100
  • 7b815c743e intel cc see obsolete }; as empty declaration dwarning 2024-11-03 10:43:46 +0100
  • 3faed1647a Reorder and renovate timer functions taking into account ngspice multiprocessor capabilities by using available high performance functions first. Deprecated ftime() still acts as a backup function. Solution is portable for today's operating systems and compilers. dwarning 2024-10-18 17:50:30 +0200
  • a42ea98471 New release_sh and debug_sh directories for making shared ngspice. Holger Vogt 2024-11-01 11:53:41 +0100
  • 2b89d2a1cd Add function ngSpice_nospiceinit(void) if you don't want to read .spiceinit Holger Vogt 2024-10-30 13:37:45 +0100
  • 7ac92bb9fc Bail out when the number of s parameter ports is less than 2. Holger Vogt 2024-10-30 13:36:02 +0100
  • 60ddad4983 Make the resistor name unique for a device with multiple unconnected nodes Holger Vogt 2024-10-29 16:57:43 +0100
  • 70b407d835 Improve error message during setup of TXL or CPL Holger Vogt 2024-10-28 12:41:14 +0100
  • 793fca6e2a If preprocessing is skipped, we still need the number of lines in the deck. Holger Vogt 2024-10-27 15:18:34 +0100
  • 8e05683592 Prevent crash if number of lines is wrong/not available ... Holger Vogt 2024-10-27 15:17:51 +0100
  • 5079b42f26 Fix bug 483 again. Faulty merges of KLU changes for cider were introduced in ngspice 42. These broke the fix. Brian Taylor 2024-10-26 19:08:43 -0700
  • 20d6fb460f Add a comment Holger Vogt 2024-10-27 10:43:41 +0100
  • e2c4182888 Vectors Cy_xxx are of type 'current'. Holger Vogt 2024-10-26 23:25:02 +0200
  • c716e34425 Use the correct type for each vector after S-parameter analysis. Cy_1_1 is still missing (voltage as default). Holger Vogt 2024-10-26 17:32:19 +0200
  • de7ae6e678 Fix bug 711 reported by Sonia Edward Holger Vogt 2024-10-25 23:41:42 +0200
  • 3d6d0d880a Improve comment Holger Vogt 2024-10-21 13:58:22 +0200
  • 27db91480b Fix bug no. 708, reported by Philip Sauvage. Holger Vogt 2024-10-20 23:32:16 +0200
  • 16798edb36 Minor change. Árpád Bűrmen 2024-07-06 23:24:11 +0200
  • 5f8ab0eb67 Minor change. Árpád Bűrmen 2024-07-06 23:20:58 +0200
  • 9d2e2f77c0 Minor change. Árpád Bűrmen 2024-07-06 23:20:07 +0200
  • b40dcaa18d OpenVAF-reloaded compiled model support. Árpád Bűrmen 2024-07-06 23:11:44 +0200
  • 368c59466b Allow plotting a single point in an ascii plot (command .asciiplot) Holger Vogt 2024-10-09 16:58:20 +0200
  • e3f7cf3e0a Fix Bug #698 - "Initial transient solution assumes voltage source=0 even if it is not." Cause was another error in ad5bb9eb8d, fix for Bug #607, which uncovered an earlier latent bug. Giles Atkinson 2024-10-08 08:53:03 +0100
  • 537d55d80b Improve an error message. Giles Atkinson 2024-10-03 18:04:47 +0100
  • cf812da363 Try to clarify the mechanism of parameter substitution and add an example of substituting an XSPICE vector parameter. Giles Atkinson 2024-10-01 15:51:11 +0100
  • e130371410 Added: Error: Pole/zero analysis is not (yet) supported with 'option KLU'. Use 'option sparse' instead. Brian Taylor 2024-10-04 17:06:54 -0700
  • 09d352be12 This does not fix noise analysis with klu. It does add missing { and } when event-driven instances are not present. Without this change CKTop will always be called again directly in NOISEan even if CKTop was previously called by EVTop. This matches the intended behavior before #ifdef KLU was added. briantofleeds 2024-09-29 14:30:52 -0700
  • b350786c48 Some cosmetics Holger Vogt 2024-10-05 20:05:54 +0200
  • bafa3ff8a3 Revert the sign of ac_gain.real Fix bug no 697, reported by Matthieu Guerquin-Kern Holger Vogt 2024-10-05 19:59:43 +0200
  • 0fadbdc488 Don't compile with OpenMP support, as it is not used in KLU. Holger Vogt 2024-10-02 18:56:47 +0200
  • 2d9e5fede6 /openmp:llvm removed from additional options for the 'Release' builds (however keep it in the 'ReleaseOMP' builds). Holger Vogt 2024-10-02 18:42:06 +0200
  • f300154922 Insert correct conversion sections for KLU matrices Alessio Cacciatori 2024-09-27 10:51:44 +0200
  • c8959ba072 ignore visualc xspice verilog dir dwarning 2024-09-27 08:54:04 +0200
  • 2129ac26fd Add optional series resistance or junction capacitance, if non is defined in the .model statement. This may help achieving convergence if subcircut models of opamps etc use simple diodes as voltage limiters. Example call: .options diode_cj0=20p diode_rser=20m Holger Vogt 2024-09-23 12:34:17 +0200
  • d5f0c6598f Fix commit 09685dde1 ("Set lower case for variables or vectors in command 'echo'. Tokens starting with '$' will get lower-casing.", 2024-09-07) Holger Vogt 2024-09-13 11:35:28 +0200
  • b62528d7e5 Set lower case for variables or vectors in command 'echo'. Tokens starting with '$' will get lower-casing. Holger Vogt 2024-09-07 18:50:13 +0200
  • 82af46085d Enable using fftw3 as a build option of shared ngspice on Windows Holger Vogt 2024-09-06 15:46:10 +0200
  • d425d38c44 Old deprecated ADMS examples removed. Holger Vogt 2024-09-03 11:03:11 +0200
  • 419e821a09 Fixed KLU conversion to complex for SP Analysis Francesco Lannutti 2024-08-29 00:24:58 +0200
  • 287280c3db Make error messages more verbose: add line number and source file name. Holger Vogt 2024-08-28 16:20:10 +0200
  • bce621680b Add line number and source file to some error messages Holger Vogt 2024-08-28 16:08:36 +0200
  • 8e8716abc7 Fix warning message Holger Vogt 2024-08-28 16:05:56 +0200
  • c2c35b56a4 More on verbose error and warning messages Holger Vogt 2024-08-28 16:05:03 +0200
  • 4e6af5a55f Allow KiCad special token V(/xyz) by quoting Holger Vogt 2024-08-28 15:14:00 +0200
  • c33fd66a21 Make error messages more verbose: add line number and source file name. Holger Vogt 2024-08-28 15:12:56 +0200
  • 3528156d14 Fix bug #680. Check that src/dest memcpy arguments are non-NULL. Brian Taylor 2024-08-22 09:09:03 -0700
  • 4e318c7a23 no built-in model for bsimbulk, so no qa test needed dwarning 2024-08-25 13:46:16 +0200
  • 8fbd357fdd extend bsim4 operating point info list Matthias Schweikardt 2024-08-23 09:14:31 +0200
  • 123ed0aada Add simulator version info to raw file ('write' commad) using an extra line 'Command: ...'). The old sequence (adding commands manually to raw file) is still available. The 'Command: anycommand' will not be executed if loading an ngspice-generated raw file. Raw files from other simulators may generate a warning that the command is not available. Holger Vogt 2024-08-18 14:21:03 +0200
  • 1087c6a0c2 Add simulator version info to raw file in batch mode, using the line 'Command:...' Holger Vogt 2024-08-18 14:16:42 +0200
  • 14844af175 Fix #686: "XSpice Verilog Vector Input Bug". Bug report and fix by Aodhan Murray. Giles Atkinson 2024-08-12 08:58:35 +0100
  • 5f059abdca Improve debugging using shared ngspice: print out each command received. Holger Vogt 2024-08-16 12:21:12 +0200
  • f495431509 Add a comment Holger Vogt 2024-08-03 16:08:41 +0200
  • a96237061d Copy the correct spinit to ngspice/visualc Holger Vogt 2024-08-03 16:06:58 +0200
  • 9e571d7df1 git ignore vcd files dwarning 2024-08-03 08:00:40 +0200
  • 984cd9cc10 extend unwanted output list dwarning 2024-08-03 08:00:00 +0200
  • 4cffcd96ce add missing klu bindings dwarning 2024-08-02 16:32:47 +0200
  • 606c6d0df7 Notes go to stdout. Vogt 2024-08-01 13:39:18 +0200
  • 232101af10 Don't dereference a NULL pointer. Vogt 2024-08-01 13:36:44 +0200
  • 501a64470f Error and warning messages to stderr Vogt 2024-08-01 13:28:32 +0200
  • 34549c4524 Note directed to stdout Vogt 2024-08-01 13:28:08 +0200
  • 4a1698c22d enable compiling with CYGWIN Holger Vogt 2024-07-26 12:08:51 +0200
  • f4c7202130 Fix gcc warnings. Giles Atkinson 2024-05-25 08:28:38 +0100