Holger Vogt
465246a22f
Remove printing an empty line to stderr
2019-08-13 22:45:22 +02:00
Holger Vogt
61e6131574
enable 'res' as valid resistor model identifier
2019-08-11 19:22:35 +02:00
Holger Vogt
10052ad508
Make interface responsive during plotting,
...
prevent endless loop, probably because of full internal buffers
2019-08-11 19:00:17 +02:00
Holger Vogt
54a51c36ed
inp_get_elem_ident(): enable VDMOS devices as identifier m
2019-08-11 17:15:46 +02:00
Holger Vogt
d323150450
raise time for immediate output, to catch some more information
2019-08-11 17:08:19 +02:00
Holger Vogt
f4645cf6b1
Improve model name detection:
...
Token cannot be a model name if it contains '='
2019-08-11 16:21:55 +02:00
Holger Vogt
fe64d10c3f
comments added
...
White spaces according to clang format
2019-08-11 10:24:44 +02:00
h_vogt
07a2eca55c
subckt.c, xpressn.c, spicenum.c, add level information for .subckt entries nupa_scan is totally without level info. This preliminary fix at least lets us decide to issue a warning if subckt have equal names and are on the same level. Still nupa_scan only enters the first entry into its hash table, irrespective of its level.
2019-08-11 10:01:14 +02:00
Holger Vogt
091edbac09
remove commenting out unused .model lines
...
from comment_out_unused_subckt_models().
This now handled by inp_rem_unused_models()
taking appropriate scoping into account.
2019-08-11 09:49:27 +02:00
Holger Vogt
903b990a10
separate handling of tilde expansion:
...
MS Windows MINGW and VC++ versus all the others
2019-08-11 09:45:46 +02:00
Holger Vogt
26f07e9a62
add function inp_rem_unused_models().
...
checking for unused models now also removes models
that are out of scope.
2019-08-11 08:48:51 +02:00
rlar
ce1ef9269e
some .subckt scope regression tests
2019-08-10 21:12:58 +02:00
rlar
b953df240a
bug fix, avoid segfault when instantiating a unknown subcircuit
2019-08-10 21:11:17 +02:00
rlar
b12d93e63d
drop bogus_find_subckt, use a proper scoped search
2019-08-10 21:01:59 +02:00
rlar
f24cff759e
inpcom.c, introduce inp_add_levels(), add scope to decks
2019-08-10 17:11:55 +02:00
Holger Vogt
90ca6cf81b
describe branch contents
2019-08-10 16:41:35 +02:00
Holger Vogt
4236ff1333
inp_get_elem_ident
...
model type as input, element identifier as output
2019-08-10 16:34:04 +02:00
Holger Vogt
cefb0966ae
Do not bail out if 'load file' command has unavailable file,
...
just post error message and continue
A fix to https://sourceforge.net/p/ngspice/discussion/127605/thread/986c04f22b/
by Clyde
2019-08-09 22:18:36 +02:00
Jim Monte
a7bd2ac199
bug #408 : prevent invalid data or crash by not reading beyond end of string
2019-07-28 16:21:28 +02:00
Holger Vogt
62a94db542
Improve commant
2019-07-27 17:56:05 +02:00
Holger Vogt
de6675295b
Partially undo commit 016c558d7, 2019-05-01
...
If sacles for plotting differ, issue a warning.
Skip this plot command only, when strict_errorhandling is set.
2019-07-27 17:55:23 +02:00
AsamMich
59e925c710
Patch #83
...
Improve and complete command 'compose'
2019-07-20 17:33:58 +02:00
Holger Vogt
979f7957fb
Change variable 'stepsizelimit', added in commit
...
c86f6265d ("relieve the step size limitation..." 2019-02-02)
to 'nostepsizelimit', thus keeping the limit, if not set.
Maximum step size is limited to tstep given by .tran tstep tstop <tstart <tmax>>.
May be overridden by giving 'set nostepsizelimit' to (tstop - tstart)/50.
Both may be overriden by setting tmax.
2019-07-20 15:33:10 +02:00
Holger Vogt
4253fcdcbb
Revert "Add 'set stepsizelimit' also to spinit in 'make check'"
...
This reverts commit 23402a01cc .
2019-07-20 15:26:41 +02:00
Holger Vogt
62628b6087
Speed up the text output in Windows GUI:
...
The stream is pushed to the display only every 30 milliseconds.
For the first 200ms the stream is still pushed for every line.
2019-07-20 11:35:48 +02:00
Holger Vogt
de3d90e8e1
make GUI more responsive. Prevent output freezing
...
if large data volumes are sent to the display
2019-07-20 09:16:42 +02:00
Holger Vogt
ff0163188d
fix typos
2019-07-15 23:35:49 +02:00
Holger Vogt
b9dc2d0b37
If the comaptibility mode is PS, LTPS or LTPSA, '$' is treated as a valid
...
character, not a s end-of-line comment delimiter, except for that it is
located at the beginning of a line.
2019-07-14 19:57:08 +02:00
Holger Vogt
7dd98dddfa
safeguard against vectors with 0 length
2019-07-13 17:43:57 +02:00
Holger Vogt
dd9c8988e8
allow very short version information with new options -v and -d
2019-07-13 17:43:31 +02:00
Holger Vogt
f57f96abe9
Instead of the reverted commit
...
5542f2ec1 ("dio/diotemp.c, drop DIOgradingCoeff limit", 2017-07-18)
allow setting a new limit for the diode grading coefficient by
set DIOgradingCoeffMax=0.85
Default is 0.9
2019-07-07 13:55:41 +02:00
Holger Vogt
f1d4bd3861
Revert "dio/diotemp.c, drop DIOgradingCoeff limit"
...
This reverts commit 5542f2ec10 .
2019-07-07 12:24:01 +02:00
Holger Vogt
664f3303c7
raise warning only when params are on the .subckt line
2019-06-29 14:45:55 +02:00
Holger Vogt
1936931c12
The PSPICE area token for a device instance may be not only a number,
...
but also a parametrized token like {tok}
2019-06-15 11:29:42 +02:00
Jim Monte
2562dea7af
[PATCH #70 ] Made parameter const and reduced excess allocation.
2019-06-15 11:10:23 +02:00
Jim Monte
e92f20ccc0
[PATCH #76 ] Fixed access violation when iplot called without a circuit
...
loaded.
2019-06-15 00:39:56 +02:00
Jim Monte
f4b47da693
[PATCH #73 ] Fixed crash when attempting to set a breakpoint without a
...
circuit loaded.
2019-06-15 00:34:11 +02:00
Jim Monte
5973bea69e
[PATCH #69 ] Changed vector type from to the enum assigned to it.
2019-06-15 00:09:33 +02:00
Jim Monte
ceb5b4b907
[PATCH #66 ] Removed definition of macro MAXWORDS since it is unused.
2019-06-14 23:09:24 +02:00
Jim Monte
72068e035c
[PATCH #64 ] Made shell command with no arguments functional for Windows.
2019-06-14 23:01:59 +02:00
Holger Vogt
6d59f8a3b1
prevent crash upon wrong user input
2019-06-14 22:22:55 +02:00
Holger Vogt
82bdb4aa0a
prevent crash if function is called with NULL argument
2019-06-14 22:22:17 +02:00
Holger Vogt
f92f3f5f65
including hist_info files
2019-06-08 11:27:45 +02:00
Jim Monte
7f0379e08c
missing part of patch #56
2019-06-08 11:23:18 +02:00
Jim Monte
f4c0a9c61d
[PATCH #62 ] Fixed buffer overrun. Reworked to not use dstring for more
...
efficient parsing.
2019-06-01 19:41:42 +02:00
Jim Monte
b338ae2794
[PATCH #63 ] Fixed infinite loop when setscale is given as a command.
2019-06-01 19:31:45 +02:00
Jim Monte
c0647b8eb4
[PATCH #56-2] Added hist_info source and header files for new history API
...
and system DLL Shlwapi.dll to resolve PathIsRelative()
2019-06-01 18:39:16 +02:00
Jim Monte
e0039e12da
[PATCH #56 ] New history buffering
2019-06-01 18:15:43 +02:00
Jim Monte
aaf7af790b
[PATCH #61 ] Removed unnecessary check for null pointer. There would have
...
been several access violations before the check if it were invalid.
2019-06-01 17:54:48 +02:00
Jim Monte
194e6d02e9
[PATCH #60 ] Fixed build warnings about inconsistencies in the output
...
location for cmpp. The destination was not changed (due to dependencies of
batch files on the location) but $(ProjectDir) was used to make the path
absolute, which simplifies verifying the correct location.
2019-06-01 17:49:49 +02:00