Commit Graph

7278 Commits

Author SHA1 Message Date
Holger Vogt 3a4c746ea4 Check for double '{{ }}', replace the inner '{', '}' by '(', ')'
in .model lines, if compat mode ps is set. Enables use of some On-Semi
power transistor models.
2021-02-11 13:35:47 +01:00
Holger Vogt 49f26b7d9b remove obsolete parameter 2021-02-11 10:53:25 +01:00
Holger Vogt dd5c5044e8 enable parameter 'gain'
patch provided by  Bohdan Tkhir
2021-02-10 20:48:35 +01:00
Holger Vogt ff6c44392c Re-enable compiling ngsconvert again
Capability to compile ngsconvert is extremely sensitive to changes in
associated files as found in makefile.am and may esily be
broken again next time. Requires manual tweaking.
2021-02-09 17:20:26 +01:00
Holger Vogt 49acf17352 This version will leads to speedup of 5 - 7% with VS2019, Windows 10,
8 threads on 8 cores, iscas85Circuits\85\c7552\c7552_ann.net.
2021-02-06 10:21:11 +01:00
Holger Vogt 87fe83a31a Revert "This version will laeds to speedup of 5 - 7% with VS2019, Windows 10."
This reverts commit 215b3c513c.
2021-02-06 10:13:45 +01:00
Holger Vogt 215b3c513c This version will laeds to speedup of 5 - 7% with VS2019, Windows 10.
It is useful (necessary?) to have the loop index private,
it might not crash, but happpen that not all are set to 0.
The local ElementPtr  pElement does not sacrifice speed,
but removes a compiler warning.
2021-02-06 10:11:17 +01:00
dwarning 7bb590f249 New trial: OpenMP to spClear to parallelize the loop 2021-02-05 18:32:45 +01:00
Holger Vogt f15aaebc9f Revert "OpenMP to spClear to parallelize the loop."
This reverts commit d171530b33.
2021-02-04 22:12:45 +01:00
Holger Vogt 6bb95d686c We now have ngspice-34+ 2021-02-04 22:09:09 +01:00
Holger Vogt 64580ef47a Move version info from sharedspice.c to sharedspice.h 2021-02-04 22:08:48 +01:00
Holger Vogt d171530b33 OpenMP to spClear to parallelize the loop.
Just temporarily because it crahes ReleaseOmp
in VS2019
2021-02-04 21:52:25 +01:00
Holger Vogt 70d669a42b remove config.h from dist and install 2021-02-04 17:08:00 +01:00
Holger Vogt 0579dac2d4 remove obsolete command 2021-02-03 08:50:08 +01:00
Holger Vogt 279edff5d9 actual release date 2021-01-30 13:43:58 +01:00
Holger Vogt 65a47d3276 Remove compiler warnings: CIDER debug flags are used as int
FIXME: Why arer they defined as BOOLEAN in main.c
without generating a warning?
2021-01-29 10:46:10 +01:00
Holger Vogt a77b529928 set the locale to "C" locally, if shared ngspice 2021-01-29 10:44:28 +01:00
Holger Vogt 5747982ae8 Re-enable devices like E2 1 0 (2,3) 1
Add a new function nexttok_noparens(const char *s) which
skips tokens. Characters , ( and ) are treated like spaces.
2021-01-28 17:06:02 +01:00
Holger Vogt 433a76a1f2 Guard against vector "time" not being available 2021-01-28 17:01:30 +01:00
Holger Vogt c8a7b69190 re-enable setting options when 'set ngbehavior=hs' is set. 2021-01-27 16:29:15 +01:00
Holger Vogt ffef8e1d16 Remeove "redefinition" warning 2021-01-26 18:18:59 +01:00
Holger Vogt ca26364a7a Remove "incompatible pointer" warning 2021-01-26 18:18:28 +01:00
Holger Vogt 8de513e8e9 ngspice.exe and .dll (.so): seperate the main files:
main.c now belongs to exe, sharedspice.c to dll (so)
2021-01-26 18:17:59 +01:00
Holger Vogt 55359e36e0 if SHARED_MODULE, exclude some unused function from build.
Finally complete main.c should be removed in shared ngspice.
2021-01-24 17:40:18 +01:00
Holger Vogt 06eddf1adc We need config.h.in, when compiling with ./configure,
that is without resorting to autoconf, automake etc.
So partially undo the previous commit.
2021-01-24 12:55:51 +01:00
Holger Vogt c14680c951 Do not distribute config.h.in 2021-01-24 11:29:48 +01:00
Holger Vogt ebff1fe79f makefile.am for cppduals 2021-01-23 12:54:23 +01:00
Holger Vogt 71bc5feacb We need to include cppduals into the distribution process. 2021-01-23 12:45:49 +01:00
Holger Vogt 7dc6c47df5 config.h should not be distributed or installed
somewhere, because it is generated locally during
the build process.
2021-01-23 12:45:12 +01:00
Holger Vogt d45e95aa4c We no longer want to install cmpp or other XSPICE files.
The manual describes making code models from inside
the ngspice build process, and that's what we support
right now.
2021-01-23 12:43:51 +01:00
Holger Vogt a5eac333bb Revert "When installing ngspice, do not install the headers"
This reverts commit 5a0d213fec.
2021-01-22 16:05:14 +01:00
Holger Vogt b6b38dc4a6 remove link to tests/bsimbulk 2021-01-22 15:52:56 +01:00
Holger Vogt fb8e974ac4 i-sweep sall become a current vector (SV_CURRENT) 2021-01-20 16:49:14 +01:00
Holger Vogt 939410874a Info "No circuit loaded!" is added. 2021-01-20 16:49:05 +01:00
Holger Vogt d239a523e0 remove memory leak 2021-01-20 16:48:46 +01:00
Holger Vogt ed15d6f975 replace controlles_exit by error return,
delete netlist cc when returning upon error.
2021-01-20 16:48:27 +01:00
Holger Vogt 058f474f90 Prevent crash if netlist input is something like
H n1
2021-01-20 16:48:08 +01:00
Holger Vogt a86a500b07 checkspeed: use startclock instead of lastclock to ensure
Linux compatibility.
2021-01-20 16:47:48 +01:00
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.
2021-01-20 16:47:27 +01:00
Holger Vogt 65cb50a243 redo the reading for ngate parameter
if larger than 1.000001e24, assume m3 instead of cm3
2021-01-20 16:47:11 +01:00
Holger Vogt c891bf846c reduce precision to avoid false rounding 2021-01-20 16:46:59 +01:00
Holger Vogt c9eeb0ceea Modify get_number_terminals() and make it non-static.
Use modified function to replace fixed node number.
2021-01-20 16:46:37 +01:00
Holger Vogt b640e57c39 re-enable getting correct node numbers for bipolar
using TSMC cv018bcd
2021-01-20 16:46:27 +01:00
Holger Vogt 273b0fb4a3 fix a plotting bug with xlog axis and ylabels 2021-01-20 16:45:54 +01:00
Markus Mueller 3cd2bb3466 removed more tests 2021-01-20 16:45:24 +01:00
Markus Mueller f046bdfa4e removed many hicum tests in order to reduce size of ngspice 2021-01-20 16:45:11 +01:00
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.
2021-01-20 16:44:57 +01:00
Holger Vogt e601325149 Avoid any buffer overflow if user provides a large TABLE:
Replace fixed length strings and fcn 'cat' by dstrings.
2021-01-20 16:44:19 +01:00
Holger Vogt 059e869754 free the wordlist wle to avoid memory leaks 2021-01-20 16:42:33 +01:00
Holger Vogt b1d85fa921 example file added 2021-01-20 16:42:09 +01:00