Commit Graph

8390 Commits

Author SHA1 Message Date
dwarning a71abe9e9d safe LoadGmin and code cleanup 2023-06-15 15:08:26 +02:00
dwarning 143022eb68 no need for SMPzeroRow 2023-06-15 15:06:56 +02:00
dwarning fd78817912 rm NULL pointer casts 2023-06-15 14:55:35 +02:00
dwarning e79d31853e FIXME's from static analysis 2023-06-14 22:31:07 +02:00
dwarning f306e1c420 more precise Changelog 2023-06-14 18:15:59 +02:00
dwarning 2e233e9173 re-insert copyright information 2023-06-14 11:12:24 +02:00
dwarning 242a4fb6b5 static code analysis 2023-06-13 19:30:39 +02:00
dwarning b6ecab3e3f Revert "ARRAY_OFFSET needed"
This reverts commit c1ab187e86.
2023-06-13 19:23:07 +02:00
dwarning c1ab187e86 ARRAY_OFFSET needed 2023-06-13 19:20:18 +02:00
dwarning c71171f6de ARRAY_OFFSET needed 2023-06-13 16:11:33 +02:00
dwarning b9d1a5ea00 name change 2023-06-08 18:59:26 +02:00
dwarning a4502b74b5 name change 2023-06-08 15:15:44 +02:00
dwarning 484fcc959e cleanup few warnings 2023-06-08 15:10:13 +02:00
dwarning 65cc6fdea4 cleanup few warnings 2023-06-08 15:01:20 +02:00
dwarning 5903e71338 spSetReal(Matrix) is correct for reorder non-complex Matrix 2023-06-08 14:32:40 +02:00
dwarning 302ac1bd19 rm obsolete casts 2023-06-08 12:28:20 +02:00
dwarning db7b9ecae4 unify MatrixPtr 2023-06-07 00:12:44 +02:00
dwarning 61ecbbaecf change parameter declaration style 2023-06-06 22:54:44 +02:00
dwarning 99a216b245 prepare VS project 2023-06-06 21:57:22 +02:00
dwarning 1b1c8219bf white spaces 2023-06-06 19:49:12 +02:00
dwarning 65280a18a7 use ngspice memory allocation scheme 2023-06-06 15:30:26 +02:00
dwarning e2908767e2 use ngspice memory allocation scheme 2023-06-06 15:29:08 +02:00
dwarning 2b3a916dd2 more adaptions 2023-06-06 14:54:17 +02:00
dwarning 5dc09c6272 white spaces 2023-06-05 18:42:03 +02:00
dwarning 9f95c79537 init sparse v1.4b 2023-06-05 14:07:56 +02:00
Holger Vogt 10e86d72d3 Prevent crash upon buggy user input (missing ] or >) 2023-06-03 17:09:10 +02:00
Holger Vogt a03369fc12 Improve error message 2023-06-03 15:48:06 +02:00
Holger Vogt 7de5fd276e CIDER: Plug some memory leak 2023-06-02 22:30:27 +02:00
Holger Vogt 27173c9622 CIDER: Plug some memory leaks by adding to TWOdestroy() 2023-06-02 19:44:34 +02:00
Holger Vogt 5ba0177f21 CIDER: Plug small memory leaks in INPparseNumMod() 2023-06-02 19:43:47 +02:00
Holger Vogt 981c63f1ab Add an extra model stitching for CIDER only.
This one fills in actualLine, which is use by
parsing the CIDER model parameters in INPparseNumMod()
from inpgmod.c
2023-06-02 15:31:28 +02:00
Holger Vogt 88500c640a Enable compiling with MSVC 2023-05-31 16:04:57 +02:00
Giles Atkinson e61db1d2cd Add parsing and translation of the FREQ form of E-source devices,
integrated with the existing parsing of AND/NAND/OR/NOR forms (inpcom.c).
For the implementation, add a new analog XSPICE code model, xfer.
Add an example to examples/sp.
2023-05-31 16:04:51 +02:00
Giles Atkinson 37453db34d Fix Bug #623 - "Parser warning for voltage source".
Do not warn when a single-element vector lacks parentheses.
2023-05-29 09:47:44 +01:00
Giles Atkinson 94da54bcea Always propgate any individual scale for a vector that appears
in an expression, resolving conflicts by matching length and warning
only when making an arbitary choice.  One effect of this is that it
is now possible to mix analog nodes with offset digital nodes
(an expression like dvalue+6) without a warning and get a correct plot.
2023-05-29 09:47:27 +01:00
Giles Atkinson d55143edca When creating a plot vector from XSPICE event history, add a
final point at the end of the vector, so that a plotted line
does not end at the last event, leaving an odd spike.
2023-05-29 09:47:03 +01:00
Giles Atkinson 0616965a67 Fix Bug #630 - "pwl if r=last time, simulation never ends".
Allowing a PWL repeat to start at the last time-point makes no sense.
2023-05-29 09:19:18 +01:00
Giles Atkinson 9c75367cfb Fix another error in 9c71db3a72. 2023-05-29 09:19:18 +01:00
Giles Atkinson 6c420525d0 Apply a patch from Aleksey Morozov to fix a bug that he identified
and reproduced.  It is the same as Bug #331 -
"XSpice skips digital output point" except that it applies to the
instance queue, not the event queue.
2023-05-29 09:19:18 +01:00
Holger Vogt 1cd15e382e Reduce excessive use of TREALLOC 2023-05-27 16:44:30 +02:00
Holger Vogt fb0696107e Better visibility of the results 2023-05-27 16:43:35 +02:00
Holger Vogt a56b8b2190 Revert "Reduce excessive use of TREALLOC"
This reverts commit 6c64d463c8.
2023-05-27 16:17:23 +02:00
Holger Vogt 6c64d463c8 Reduce excessive use of TREALLOC 2023-05-26 13:31:08 +02:00
Holger Vogt 5f39fd80fb re-formatting the code 2023-05-26 12:16:55 +02:00
Holger Vogt 61f7188ef0 Slightly improve error handling and warning message 2023-05-22 15:18:39 +02:00
Holger Vogt 3071cdd2d5 .csparam: Add some safeguarding against wrong input and crash,
allow multiple parameters in a .csparam row (like .param).
2023-05-22 14:46:17 +02:00
Holger Vogt ba2facc718 remove unused header file 2023-05-21 12:16:33 +02:00
Holger Vogt 8f2d311062 More info 2023-05-21 12:16:13 +02:00
Holger Vogt edf2c625e1 Safeguard against bad arguments (no crash upon NULL) 2023-05-17 10:08:38 +02:00
Holger Vogt b271b6d9e3 safeguard against crash upon buggy input 2023-05-17 09:32:23 +02:00