Holger Vogt
1a9ea82b97
new file name (transfer characteristics inside)
5 years ago
Holger Vogt
c7cd07e2e0
Update to psp model files and examples
NMOS, PMOS, inverter, ring oscillator
5 years ago
Holger Vogt
9cc9c56cad
Don't write past '\0', fixes a bug in commit
1c5e0d11d ("If there is a XSPICE code model .model line with
file input, keep quotes and case for the file path.", 2021-07-15)
5 years ago
Holger Vogt
b7473a33a0
Check for double '{', replace the inner '{', '}' by '(', ')'
in .subckt or .model (which both may stem from external sources)
5 years ago
Holger Vogt
85b07e35bf
Fixes bug 483
prevent crash when surface mobility (surfmob) has been
selected in 2D simulation.
The patch is provided by Brian Taylor (see
https://sourceforge.net/p/ngspice/mailman/ngspice-devel/thread/e6e921a3-677c-f513-7410-df8568c4bdad%40comcast.net/#msg37318450
)
5 years ago
Holger Vogt
1c5e0d11dd
If there is a XSPICE code model .model line
with file input, keep quotes and case for the file path.
5 years ago
Holger Vogt
15a3ed87c0
Enable the m parameter in E, G, B, R behavioral source/devices
5 years ago
Holger Vogt
973a60b898
re-enable making the old help system for Linux/Cygwin
by --enable-help --enable-oldapps
5 years ago
Holger Vogt
d34d1e7c7c
Get immediate response into text window,
when requesting information on coordinates.
5 years ago
Holger Vogt
182a4d3f5f
WinGUI: Push any remaining error message into text window
before emitting interactive error message window and exit.
5 years ago
Holger Vogt
ae72677cc2
Remove a false read when curr_line has
already been invalidated.
5 years ago
Holger Vogt
0f25c25c7e
Remove a memory leak
Make inp_rem_levels non-static
and use it to remove 'root' after it has been used.
5 years ago
Holger Vogt
54cbfb4138
Nodedamping: Make difference independent of the sign
of the difference
5 years ago
Holger Vogt
c74321e0f5
JFET2: Add a link to literature
5 years ago
Holger Vogt
93ddc7a3eb
Enhancement for E source with table, convert to B source with pwl:
Add G source
Allow 'table' also being part of a parameter name like 'table_something'
5 years ago
dwarning
0ece04cdc8
Add channel type determination belong nmos/pmos model parameter
5 years ago
Holger Vogt
ba9834b1dc
Standard clang compiler does not support OpenMP
Homebrew clang needs to investigted further
5 years ago
Holger Vogt
fe158341ba
Don't show message for every iteration
5 years ago
Holger Vogt
c38b8e3615
Fix a bug in the 'dc' progress report
5 years ago
Holger Vogt
8eeb924460
CIDER: Enable printing either binary or ascii data output to file.
Patch provided by Brian Taylor, see
(https://sourceforge.net/p/ngspice/mailman/message/37309841/ )
5 years ago
Holger Vogt
9bb401d9cd
Add a 'qsort' dummy according to current compiler standards.
Detected during the very rare condition of not finding a 'qsort'
during the ./configure step.
5 years ago
Holger Vogt
1d7e54d741
Enable including 'readline' from a non standard location.
--with-readline=<location> may be given instead of --with-readline=yes
This is required when on macOS readline is installed from Homebrew.
Standard Xcode readline in macOS is not compatible with ngspice.
If --with-readline=yes is given, there is no change of behaviour
compared with previous releases.
5 years ago
Holger Vogt
76eac5aa0f
Make error message more verbode
5 years ago
Holger Vogt
a4be66b9b0
Prevent crash if there is bad syntax in h, g, e, or f line
5 years ago
Holger Vogt
31fbf910af
Crash when trying to delete root and netlist:
Revert the order of deletion: Firstly the root, then the netlist.
5 years ago
Holger Vogt
858689d206
Make syntax check for nesting of .subckt ... .ends more verbose:
Try to find out where .subckt/.ends may be doubled, or missing.
5 years ago
Holger Vogt
52b5e218c7
Add '\f' to characters to be replace by '+'
during the syntax check of an netlist input file.
5 years ago
Holger Vogt
c061747f19
Add evaluating and using temp and dtemp
as ASRC instance parameters.
5 years ago
Holger Vogt
ddcc6f6097
add a comment: we should use TNOM, but not a fixed 300.15.
TNOM still has to be added to the ASRC parameters.
5 years ago
Holger Vogt
dcde7b590e
Don't put brackets around dtemp and temp, when they denote
instance parameters and thus are on the left hand side of '='
5 years ago
Holger Vogt
945786fba7
Make PTcheck more verbose:
Send error message containing failed expression
5 years ago
Holger Vogt
7e01b800f0
add the parameter name to error message of missing or bad parameter
5 years ago
Holger Vogt
7eb791fe00
No parse tree submitted to IFeval:
Prevent segfault and emit error message
5 years ago
Holger Vogt
19abc83312
Make the choice of last commit mor obvious
5 years ago
Holger Vogt
87a9d87f7d
Replace identifier by func not only after '=', but also '{'
Extension to commit
61e48f984 ("Start replacing identifiers by func only after the first '='", 2021-06-18)
5 years ago
Holger Vogt
68e51848a4
logic condition to check only 'x' lines had not been given
5 years ago
Holger Vogt
d0ca6a4773
Start replacing identifiers by func only after the first '='
5 years ago
Holger Vogt
36069467fb
Clarify that 'scale set to ...'
is not a query, but a statement
by 'scale is set to ...'..
5 years ago
Holger Vogt
5d1dfdf34e
Fix a comment
5 years ago
Holger Vogt
06136d2d02
Set the default line width for grid and graph to 1.
0 is possible but seems to be too thin for reasonable plots.
5 years ago
Holger Vogt
5083954fa1
Example input file for analog delay
5 years ago
Holger Vogt
028dd0ab88
Remove unused
Add a delay of half a time step to reduce error
5 years ago
Holger Vogt
abc6eb56f3
Plausibility checking
Enforce out=in when delay == 0
5 years ago
Holger Vogt
fbab9a0fe2
Add an analog delay source for transient simulation
Internal circular memory of size tstop/tstep or user defined.
(aprox.) every tstep a value is stored.
Delay time in multiples of tstep, by control voltage or user defined.
Dc or ac sim will simply connect input to output.
5 years ago
Holger Vogt
0d2d034eb2
Add devices s and w to previous commit.
R and C are not yet covered here, due to the many
varieties available.
5 years ago
Holger Vogt
c033298db9
Don't replace a device model name by a parameter, if both
have the same names.
This is an extension to commit
7706889a0 ("inpcom.c, fix bug no 384 do not quote fourth
token in f, h lines otherwise if dev name equals param
name parsing fails", 2018-12-08)
Fixes bug 327 reported by T. Edwards at
https://github.com/google/skywater-pdk/issues/327
5 years ago
Holger Vogt
03517ae86c
Define the function DevFinalize as used in the previous commit.
5 years ago
Holger Vogt
5e8ae680db
Don't do gr_redraw twice (for non-X11 is already
done in gr_resize)
Add a function DevFinalize() to add the closings in SVG or PS
files ("/> or "stroke"), when files are generated by the
plot window in MS Windows.
5 years ago
Holger Vogt
a6079781ea
Fix previous commit, enable name upgrade for Linux and other non-Win OSs
5 years ago
Holger Vogt
1176bdb0b0
Bug: Plot window switching did not change the plot content.
Enable plotting the current graph to svg or ps by selecting
the graph from the current plot window.
5 years ago