Holger Vogt
d239a523e0
remove memory leak
5 years ago
Holger Vogt
ed15d6f975
replace controlles_exit by error return,
delete netlist cc when returning upon error.
5 years ago
Holger Vogt
058f474f90
Prevent crash if netlist input is something like
H n1
5 years ago
Holger Vogt
a86a500b07
checkspeed: use startclock instead of lastclock to ensure
Linux compatibility.
5 years ago
Holger Vogt
2a2a488f7d
If 'set ngdebug', and if transient simulation,
create a vector speedcheck in the tran plot
which contains the real time versus simulated time,
to check for obstacles during the course of the
transient simulation. If command 'save' is given,
one has to add speedcheck to obtain this vector.
5 years ago
Holger Vogt
65cb50a243
redo the reading for ngate parameter
if larger than 1.000001e24, assume m3 instead of cm3
5 years ago
Holger Vogt
c891bf846c
reduce precision to avoid false rounding
5 years ago
Holger Vogt
c9eeb0ceea
Modify get_number_terminals() and make it non-static.
Use modified function to replace fixed node number.
5 years ago
Holger Vogt
b640e57c39
re-enable getting correct node numbers for bipolar
using TSMC cv018bcd
5 years ago
Holger Vogt
273b0fb4a3
fix a plotting bug with xlog axis and ylabels
5 years ago
Holger Vogt
822a63974f
Unused binning models are removed.
Flag 'nf', when given on the x lines, is
recognized.
Tested with TSMC, Skywater, and X-Fab model
files.
5 years ago
Holger Vogt
e601325149
Avoid any buffer overflow if user provides a large TABLE:
Replace fixed length strings and fcn 'cat' by dstrings.
5 years ago
Holger Vogt
059e869754
free the wordlist wle to avoid memory leaks
5 years ago
Holger Vogt
02630c0af2
fix a bug in printing the compatibility status
5 years ago
Holger Vogt
5af7f0ff78
sort instance list entries: RHS numbers (like nf=2) come first,
expression then follow.
5 years ago
Holger Vogt
4a6fff05b6
typo
5 years ago
dwarning
a81a84c208
allow strobe and finish commands
5 years ago
Holger Vogt
4a8065c3ee
replace strncpy by memcpy to prevent valgrind error message
on uninitialized string.
5 years ago
dwarning
aedf9d0eb5
correct choice for both r model types
5 years ago
dwarning
08700f8147
include verilog-a r2_cmc resistor model
5 years ago
dwarning
b654296230
rm independent terms from ddx() operator
5 years ago
dwarning
43e9a8f594
activate command
5 years ago
Holger Vogt
8a21f6f2c0
enable OP information for hicum0 and mextram
5 years ago
Holger Vogt
176023f470
Remove compiler warnings
5 years ago
Holger Vogt
eedb5b9027
Update for ngspice-34
5 years ago
Holger Vogt
0d4685f459
preliminarily turn off fcn nlist_model_find()
to avoid compiler warning
5 years ago
Holger Vogt
e2650a2897
Patially undo commit [f9d9b6]:
macOS gcc/llvm complauns about non-existing -Wunused-but-set-variable
5 years ago
Holger Vogt
94eac89749
Remove 'comment out any unused models' for now, it
has been working, but led to spurious error messages.
Has to be checked more thoroughly.
Add a ngbehaviour setting 'mc', needed for running
'make check'. It will unset all other compatibility modes
and suppress the note on compatibility settings which
led to a 'make check' failure just due to its printout.
5 years ago
Holger Vogt
89f0fb6d74
sharedspice: make reading .spiceinit as robust as in
the standard executable.
5 years ago
Holger Vogt
1234c3bdf8
Update to the compatibility mode:
Rename new_compat_mode() to set_compat_mode().
Add fcn print_compat_mode() to print out
the selected compatibility mode.
5 years ago
Holger Vogt
164d3dd20c
Enable models with parens by using gettok_parens() like
.model NP NPN(BF=125 Cje=.5p Cjc=.5p Rb=500)
5 years ago
dwarning
a5cb4f2d20
hicum0 prevent crash in self heating mode
5 years ago
Holger Vogt
9485a51928
Re-enable the 'hardcopy' command
Fixes support-requests #53 by Paolo M.
5 years ago
dwarning
0e9d1c50a4
add latest available psp103 version to adms
5 years ago
Holger Vogt
70d1647cfa
Update to ps .model selection for MOS,
add support for bipolar (Mextram, lateral pnp),
enable 'level = nn' (with spaces).
5 years ago
Holger Vogt
3c354092ff
Line endings from \r\n to \n
5 years ago
Holger Vogt
2e9a51f2f7
Each model is checked only once
(not the same model check for every instance).
Add model comparison warning to file.
5 years ago
Holger Vogt
8602915942
level for ekv2.6 is 44
5 years ago
Holger Vogt
50ec89e284
PS compatibility: select appropriate level for MOS models
5 years ago
Markus Mueller
f9d9b6deba
fix "unused but set variable" warnings
5 years ago
Holger Vogt
b1daabbe95
update the model checking
5 years ago
Holger Vogt
03a68683ca
Update on error checking for bsim4.6 model
5 years ago
dwarning
fdf7a6a868
More effective check for BSIM3 model parameter
5 years ago
Holger Vogt
49890fe302
Fix the error message when fatal model parameter fail occurs
5 years ago
Holger Vogt
2e34b9d9a3
Improved visibility of model check error
5 years ago
dwarning
420d47cc75
fix max terminal count for vbic and hicum2 adms enabled
5 years ago
Holger Vogt
a147a3b190
If we encounter tc1= or tc2= (temp coeffs.) or m= (multiplier),
the expression is done, thus keeping the brackets as is.
Enables tcx={} or m={} with their own expressions, dealt with
by numparam.
5 years ago
Holger Vogt
98eb5bf475
bug #537 : remove memcopy with overlapping strings
Bug reported by Ronan BARZIC
5 years ago
Holger Vogt
86f5a9b819
Only print the devices that are really used in the circuit
(don't print the 0 occurencies).
5 years ago
dwarning
aaec6be4c6
only one .va file for psp model
5 years ago