Holger Vogt
01bdd44ef9
Modify the previous commit a616a0abe:
...
no spaces in the first column
2023-09-15 23:41:12 +02:00
Vogt
a616a0abe3
Add variable wr_onspace to allow printing the vetor name with
...
one space delimiter
2023-09-14 15:22:14 +02:00
Holger Vogt
daa58f4125
Fix previous commit [acb7f2]
...
Allow frequency 0 Hz (make check will do agian).
2023-09-11 22:48:50 +02:00
Holger Vogt
acb7f2cd97
Make .ac error messages more verbose, prevent some crash,
...
enable default values.
2023-09-11 17:42:38 +02:00
dwarning
4368790c5d
remove compiler warning wrt. prototypes
2023-09-11 14:50:27 +02:00
Holger Vogt
b7993bb530
Formatting cktpzstr.c
2023-09-11 14:28:49 +02:00
Holger Vogt
dfeb0bdb4e
Improve error message on obsolete dot command
2023-09-11 14:28:20 +02:00
Holger Vogt
64c29e667e
Improve error message on unimplemented dot command
2023-09-11 12:02:59 +02:00
Holger Vogt
a6d5ce8ea6
Some KLU warnings are useless for the normal user, as she or he
...
does not have any means to further analyze or repair the issue:
Warning: KLU ReFactor failed. Factoring again...
Warning (ReFactor Complex): KLU Matrix is SINGULAR
Numerical Rank: %d\n
Singular Node: %d\n
So print these messages only in debug mode.
2023-09-10 14:41:16 +02:00
Holger Vogt
64307ba907
Add a title line to 'listing r', so the resulting output may be
...
re-loaded by the 'source' command.
2023-09-10 13:44:18 +02:00
Holger Vogt
9d84138216
Remove memory leak by not mallocing unused node_ids.
...
Remove some compiler warnings.
2023-09-09 23:35:54 +02:00
Holger Vogt
3b89410b8f
Slight cosmetics in comment.
2023-09-09 23:34:49 +02:00
Brian Taylor
492bb64d92
By default, use the shortest typical delay estimate. This makes the digi_74LS90_74LS42.cir testcase for bug641 behave almost the same as MicroCap 12. In ngspice and MicroCap, the only signal with a glitch is not_y8. The other not_* signals look the same. Setting ps_use_mntymx in .spiceinit will change the delay estimates. See the function set_u_devices_info in src/frontend/udevices.c for the various settings of ps_use_mntymx.
2023-09-09 23:22:06 +02:00
Holger Vogt
7a646c0a12
If 'strict_errorhandling' is set, bail out if operating point is not found
2023-09-09 18:38:09 +02:00
Holger Vogt
ad23146544
Don't check continuously for autostop, only when option flag is set
...
This speeds up simulations with simple device evaluation, but many
time stepps.
2023-09-09 18:37:13 +02:00
Holger Vogt
0f14c690d5
Stat. functions: safeguard against divide by zero, return nominal value
2023-08-26 10:15:08 +02:00
Holger Vogt
8837132f29
Fix d0fc344bf
...
("Shorten the ngspice message when performing operating point evaluation.
The average user often complained about useless 'info'.
The old output is now available when 'set ngdebug' in .spiceinit.",
2023-08-19)
Return with 0 if optran has been successful.
2023-08-20 00:11:39 +02:00
Holger Vogt
d5ceced24d
We are developing towards ngspice-42
2023-08-19 23:54:36 +02:00
Holger Vogt
d0fc344bf9
Shorten the ngspice message when performing operating point evaluation.
...
The average user often complained about useless 'info'. The old output
is now available when 'set ngdebug' in .spiceinit.
2023-08-19 23:42:34 +02:00
Holger Vogt
c0d73dcd6f
Fix bug 642 by replacing strstr() by search_plain_identifier()
2023-08-19 23:14:26 +02:00
Holger Vogt
750d92c493
Fix a bug, not finding any instance parameters for PSP or R2_CMC
...
If already aligned, return input value, not 0.
2023-08-16 11:14:26 +02:00
Holger Vogt
adc645d8e9
Fix intro comment: NDEV is no longer supported in ngspice
2023-08-16 11:14:26 +02:00
Holger Vogt
c11613d1f7
Fix some memory leaks (Patch provided by Brian Taylor)
2023-08-16 11:14:25 +02:00
Holger Vogt
4864f0a118
Remove crash in CIDER example meclgate.cir
2023-08-16 11:14:25 +02:00
Pascal Kuthe
499634df47
integrate OSDI with KLU
2023-08-16 11:14:25 +02:00
Francesco Lannutti
05aa9f0927
Better fix for previous commit
2023-08-16 11:14:24 +02:00
Francesco Lannutti
13e74751cc
Fixed a MLK for XSPICE and commented out an unused array
2023-08-16 11:14:24 +02:00
Francesco Lannutti
cab5e8cd37
Added the case of VSRCport to VSRC model for KLU
2023-08-16 11:14:24 +02:00
Holger Vogt
d658e0427c
Enable compilation with MSVC (alignof seems to be available only for C++)
2023-08-16 11:14:24 +02:00
Francesco Lannutti
b08eb2266a
Added initial KLU support for node collapsing
2023-08-16 11:14:24 +02:00
Francesco Lannutti
470cd4a514
Fixed KLU SINGULAR matrix handling and messaging
2023-08-16 11:14:24 +02:00
Francesco Lannutti
d68e83be78
Fixed VBIC model for KLU
...
Fixed SMPfindElt messages
2023-08-16 11:14:23 +02:00
Francesco Lannutti
8123fde6f7
Handled properly KLU messages when XSPICE is purely digital
2023-08-16 11:14:23 +02:00
Francesco Lannutti
4200362f42
Fixed Empty Matrix handling in KLU
2023-08-16 11:14:23 +02:00
Francesco Lannutti
937325e2ce
Handled an empty circuit with KLU
2023-08-16 11:14:23 +02:00
Francesco Lannutti
4427a1f6dd
Rebased upon pre-master branch
2023-08-16 11:14:23 +02:00
Francesco Lannutti
ae83b7c807
Added KLU support to HICUM model
2023-08-16 11:14:22 +02:00
Holger Vogt
6b6e9bb7cb
Enable log output (warning and error messages) on the Windows GUI
2023-08-16 11:14:22 +02:00
Holger Vogt
d6aeb6cd94
Set up the matrix according to branch KLU-6+11-rebase-master-28_10_2020
...
All cpl example files from ngspice\examples\TransmissionLines are o.k.
2023-08-16 11:14:22 +02:00
Francesco Lannutti
02e7c1c5b0
KLU branch rebased upon master @ 3 Feb 2022
...
Some merge conflicts have not been solved yet
Please look for >>>> HEAD if you want to solve them
2023-08-16 11:14:22 +02:00
Francesco Lannutti
b900527341
Fixed KLU binding for VDMOS
2023-08-16 11:14:21 +02:00
Francesco Lannutti
2bfd22c8f9
Fixed KLU binding for BJT
2023-08-16 11:14:21 +02:00
Francesco Lannutti
caf1ee7c47
Fixed a crash when SPARSE is used
2023-08-16 11:14:21 +02:00
Francesco Lannutti
3c15993fe5
Fixed the case when DiagGmin has to not be loaded again and the case when refactoring returns 1
2023-08-16 11:14:21 +02:00
Francesco Lannutti
1ee798ec9d
Fixed CKTsetup for KLU when XSPICE is used
2023-08-16 11:14:21 +02:00
Francesco Lannutti
6ccaacaf1d
Added the support for KLU to VBIC Self Heating
2023-08-16 11:14:21 +02:00
Francesco Lannutti
12288f7be6
Fixed KLU memory leak during SMPdestroy
2023-08-16 11:14:20 +02:00
Francesco Lannutti
7048a24b74
Added the KLU support to Noise Analysis
2023-08-16 11:14:20 +02:00
Francesco Lannutti
4639e936a3
Fixed the dimension of the COO Trash Can
2023-08-16 11:14:20 +02:00
Francesco Lannutti
73626c62f8
Add KLU support to VDMOS
2023-08-16 11:14:20 +02:00