Commit Graph

7268 Commits

Author SHA1 Message Date
Holger Vogt 51328acf69 i-sweep sall become a current vector (SV_CURRENT) 2021-01-20 14:09:21 +01:00
Holger Vogt fc129447cd Info "No circuit loaded!" is added. 2021-01-20 11:48:55 +01:00
Holger Vogt bcaebcf392 remove memory leak 2021-01-20 11:43:32 +01:00
Holger Vogt 2d7919b4bd replace controlles_exit by error return,
delete netlist cc when returning upon error.
2021-01-20 09:40:54 +01:00
Holger Vogt 9579f55824 Prevent crash if netlist input is something like
H n1
2021-01-20 09:12:24 +01:00
Holger Vogt deeee2950f checkspeed: use startclock instead of lastclock to ensure
Linux compatibility.
2021-01-20 08:08:17 +01:00
Holger Vogt 4d03883d78 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.
2021-01-19 18:51:23 +01:00
Holger Vogt 3de245cf6c redo the reading for ngate parameter
if larger than 1.000001e24, assume m3 instead of cm3
2021-01-19 18:48:02 +01:00
Holger Vogt af9a2c4ba2 Revert "Put reasonable limits to ngate and similar"
This reverts commit ba0552f790.
2021-01-19 18:33:12 +01:00
Holger Vogt d0c5e65219 reduce precision to avoid false rounding 2021-01-17 23:01:37 +01:00
Holger Vogt 5dddc91e7c Modify get_number_terminals() and make it non-static.
Use modified function to replace fixed node number.
2021-01-17 23:00:11 +01:00
Holger Vogt 810d91a9de re-enable getting correct node numbers for bipolar
using TSMC cv018bcd
2021-01-17 14:35:03 +01:00
Holger Vogt ba0552f790 Put reasonable limits to ngate and similar
doping density parameters.
Avoid nonsense warning "ngate 1e17 too low",
when ngate=1e23 is set.
2021-01-17 14:31:00 +01:00
Holger Vogt 4543f259f0 fix a plotting bug with xlog axis and ylabels 2021-01-15 16:02:30 +01:00
Markus Mueller db8a9f09bf removed more tests 2021-01-10 22:09:24 +01:00
Markus Mueller cadd946922 removed many hicum tests in order to reduce size of ngspice 2021-01-10 22:09:18 +01:00
Holger Vogt cc453baa02 Unused binning models are removed.
Flag 'nf', when given on the x lines, is
recognized.
Tested with TSMC, Skywater, and X-Fab model
files.
2021-01-10 12:49:00 +01:00
Holger Vogt 9f635ce1c0 Avoid any buffer overflow if user provides a large TABLE:
Replace fixed length strings and fcn 'cat' by dstrings.
2021-01-09 12:06:56 +01:00
Holger Vogt b5372f3e7f replace strncpy by memcpy to prevent valgrind error message
on uninitialized string.
2021-01-08 15:20:52 +01:00
Holger Vogt 967265ec80 free the wordlist wle to avoid memory leaks 2021-01-08 09:12:40 +01:00
Holger Vogt 0fab50250f example file added 2021-01-07 16:16:47 +01:00
Holger Vogt 46df6f9187 fix a bug in printing the compatibility status 2021-01-07 14:47:29 +01:00
Holger Vogt 0b5c80244a sort instance list entries: RHS numbers (like nf=2) come first,
expression then follow.
2021-01-07 13:41:11 +01:00
dwarning 283b5c4408 allow strobe and finish commands 2021-01-05 18:40:07 +01:00
dwarning 65db0786ec Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master 2021-01-05 09:35:06 +01:00
dwarning 21719dceb2 correct choice for both r model types 2021-01-05 09:16:29 +01:00
Holger Vogt d7cb18bd30 Remove compiler warnings 2021-01-05 09:14:04 +01:00
Holger Vogt 6fdb40524c Update for ngspice-34 2021-01-05 09:13:53 +01:00
Holger Vogt 834de0c4e0 Update for ngspice-34 2021-01-05 09:13:43 +01:00
Holger Vogt d3259853b6 Update for HICUM2 2021-01-05 09:13:29 +01:00
Holger Vogt ad2ae163b2 Update to fftw VS project file 2021-01-05 09:13:13 +01:00
Holger Vogt f6ab4dfcb7 Patially undo commit [f9d9b6]:
macOS gcc/llvm complauns about non-existing -Wunused-but-set-variable
2021-01-05 09:12:58 +01:00
dwarning 2ba0e9d0e0 include verilog-a r2_cmc resistor model 2021-01-04 18:58:09 +01:00
dwarning c5d8d03c45 rm independent terms from ddx() operator 2021-01-04 18:56:21 +01:00
dwarning cb3d0b39b1 activate command 2021-01-04 18:51:16 +01:00
dwarning fb3fd1990d enable OP information for hicum0 and mextram 2021-01-02 20:10:17 +01:00
dwarning 086c8b3131 ignore VS adms files 2021-01-02 19:47:00 +01:00
Holger Vogt 78f0365379 remove contrib from EXTRA_DIST 2021-01-02 17:56:36 +01:00
Holger Vogt 47a6ad59cf 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.
2021-01-02 15:59:20 +01:00
Holger Vogt 60d9b19c78 sharedspice: make reading .spiceinit as robust as in
the standard executable.
2021-01-02 15:09:04 +01:00
Holger Vogt 9153568ff2 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.
2021-01-01 15:06:12 +01:00
Holger Vogt 8949a137e5 Enable models with parens by using gettok_parens() like
.model NP NPN(BF=125 Cje=.5p Cjc=.5p Rb=500)
2020-12-30 23:13:35 +01:00
dwarning 5f223cfba9 add ADMS VS project file 2020-12-30 21:19:51 +01:00
dwarning ece8a0b10d adapt bsimbulk example files to ngspice 2020-12-30 21:17:29 +01:00
dwarning 258dd7ad93 hicum0 prevent crash in self heating mode 2020-12-30 17:45:01 +01:00
Holger Vogt eb47c852a5 Re-enable the 'hardcopy' command
Fixes support-requests #53 by Paolo M.
2020-12-30 14:55:09 +01:00
Holger Vogt e843a5783f Revert "(Preliminary fix to re-enable the 'hardcopy' command."
This reverts commit 1c0b175061.
2020-12-30 14:48:59 +01:00
dwarning a4bd98c85d ignore VS adms intermediate files 2020-12-30 14:08:08 +01:00
dwarning d25d9da17f first trial VS adms integration 2020-12-30 14:05:34 +01:00
dwarning c0246e42a5 create instance parameter 2020-12-30 13:59:02 +01:00