Holger Vogt
4f79105b06
Add comment
3 years ago
Holger Vogt
233f9daba4
Remove unused instance parameter ic (initial condition of controlling source).
3 years ago
Holger Vogt
28b495318d
Update to command 'wrnodev':
Prevent crash if tran is not (yet) run.
Open output file only when data are available.
Enhanced comment and warning message.
3 years ago
Holger Vogt
e449c894ce
Prepend title line by '*' if printed by 'listing r'.
This allows skipping all pre-processing.
3 years ago
Holger Vogt
76f837b0b7
skip all pre-processing for expanded input files created by 'listing r'
3 years ago
Giles Atkinson
2790fd68bb
Make the special "noglob" variable work. To preserve previous behaviour
change the default value from true to undefined (meaning false).
Also fix a misleading comment in glob.c.
3 years ago
Giles Atkinson
a70e708114
Make special interpreter variable "noglob" behave as documented:
globbing is off by default. An incompatible change, but previous
behaviour can be restored by "unset noglob" in .spiceinit.
3 years ago
Giles Atkinson
41c61604c5
Handle SIGTTIN and SIGTTOU on Unix-like OSs with X11 graphics.
That makes it possible to push ngspice into the background while
plot windows are open: the windows remain responsive.
Discussion on ngspice-users, starting 2023-09-01,
title: "`quit` in Interactive Mode."
Also restore terminal state when forcing exit with SIGINT (control-C).
3 years ago
Giles Atkinson
588116af48
Fix a bug in the "help" command. Some commands have no action function,
so the function pointer should not be used to detect the end of the table.
Use the command name instead.
3 years ago
Giles Atkinson
423f9a9db2
Fix a build bug for XSPICE: files generated for code models are
not removed when doing 'make clean' from release/src/xspice or above.
3 years ago
Holger Vogt
f3eb46e76d
Fix bug in fprintf
3 years ago
Holger Vogt
b034332e84
Improve warning message during evaluating .probe
3 years ago
Giles Atkinson
62471ecede
Fix two bugs in cmpp: an unmatched right bracket in cfunc.mod
causes an infinite parsing loop (mod_yacc.y) and XSPICE macros
are replaced in string literals (mod_lex.l).
3 years ago
Holger Vogt
dbc5042263
Prevent a crash if port cntrl is set to NULL
3 years ago
Holger Vogt
01bdd44ef9
Modify the previous commit a616a0abe:
no spaces in the first column
3 years ago
Vogt
a616a0abe3
Add variable wr_onspace to allow printing the vetor name with
one space delimiter
3 years ago
Holger Vogt
daa58f4125
Fix previous commit [acb7f2]
Allow frequency 0 Hz (make check will do agian).
3 years ago
Holger Vogt
acb7f2cd97
Make .ac error messages more verbose, prevent some crash,
enable default values.
3 years ago
dwarning
4368790c5d
remove compiler warning wrt. prototypes
3 years ago
Holger Vogt
b7993bb530
Formatting cktpzstr.c
3 years ago
Holger Vogt
dfeb0bdb4e
Improve error message on obsolete dot command
3 years ago
Holger Vogt
64c29e667e
Improve error message on unimplemented dot command
3 years ago
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.
3 years ago
Holger Vogt
64307ba907
Add a title line to 'listing r', so the resulting output may be
re-loaded by the 'source' command.
3 years ago
Holger Vogt
9d84138216
Remove memory leak by not mallocing unused node_ids.
Remove some compiler warnings.
3 years ago
Holger Vogt
3b89410b8f
Slight cosmetics in comment.
3 years ago
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.
3 years ago
Holger Vogt
7a646c0a12
If 'strict_errorhandling' is set, bail out if operating point is not found
3 years ago
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.
3 years ago
Holger Vogt
0f14c690d5
Stat. functions: safeguard against divide by zero, return nominal value
3 years ago
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.
3 years ago
Holger Vogt
d5ceced24d
We are developing towards ngspice-42
3 years ago
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.
3 years ago
Holger Vogt
c0d73dcd6f
Fix bug 642 by replacing strstr() by search_plain_identifier()
3 years ago
Holger Vogt
750d92c493
Fix a bug, not finding any instance parameters for PSP or R2_CMC
If already aligned, return input value, not 0.
3 years ago
Holger Vogt
adc645d8e9
Fix intro comment: NDEV is no longer supported in ngspice
3 years ago
Holger Vogt
c11613d1f7
Fix some memory leaks (Patch provided by Brian Taylor)
3 years ago
Holger Vogt
4864f0a118
Remove crash in CIDER example meclgate.cir
3 years ago
Pascal Kuthe
499634df47
integrate OSDI with KLU
3 years ago
Francesco Lannutti
05aa9f0927
Better fix for previous commit
3 years ago
Francesco Lannutti
13e74751cc
Fixed a MLK for XSPICE and commented out an unused array
3 years ago
Francesco Lannutti
cab5e8cd37
Added the case of VSRCport to VSRC model for KLU
3 years ago
Holger Vogt
d658e0427c
Enable compilation with MSVC (alignof seems to be available only for C++)
3 years ago
Francesco Lannutti
b08eb2266a
Added initial KLU support for node collapsing
3 years ago
Francesco Lannutti
470cd4a514
Fixed KLU SINGULAR matrix handling and messaging
3 years ago
Francesco Lannutti
d68e83be78
Fixed VBIC model for KLU
Fixed SMPfindElt messages
3 years ago
Francesco Lannutti
8123fde6f7
Handled properly KLU messages when XSPICE is purely digital
3 years ago
Francesco Lannutti
4200362f42
Fixed Empty Matrix handling in KLU
3 years ago
Francesco Lannutti
937325e2ce
Handled an empty circuit with KLU
3 years ago
Francesco Lannutti
4427a1f6dd
Rebased upon pre-master branch
3 years ago