Commit Graph

5751 Commits

Author SHA1 Message Date
Holger Vogt f12d2a3f0d enable simd 2020-07-12 10:24:26 +02:00
Holger Vogt 0d34bb52cc compile scripts for simd 2020-07-12 09:46:49 +02:00
Holger Vogt d42872a91d replace 'noiseless' only if it is an unconnected token 2020-07-10 17:59:05 +02:00
Vogt 0c2cc9109b enable special characters for cpl model names and parameters 2020-07-02 16:45:20 +02:00
Holger Vogt 727eac35d4 enable flags xdelta, ydelta for gnuplot command 2020-06-30 23:23:19 +02:00
Holger Vogt ca477ea7f7 Make the pwl parameter r adjustable by .param
if r == -1, no repetition done.
if r == 0, repeat forever.
if r == xx, repeat from time xx to last time point given.
If r is omitted, like r == -1 no rpetition done.
2020-06-26 23:03:52 +02:00
Holger Vogt 60fd6e848a Print also the bool value 'off'.
Do not abort ngspice when vector LIST cannot be printed,
just skip printing and continue.
2020-06-26 22:59:52 +02:00
Holger Vogt 85ad5e5532 ust tmpstr instead of second strstr() 2020-06-14 22:33:37 +02:00
Holger Vogt 6cfffe9545 Make PPerror message more verbose:
give hint to buggy line segment
2020-06-14 17:03:40 +02:00
Holger Vogt 8bfe87aa6b Revert "Make PPerror message more verbose:"
This reverts commit a6edce193d.
2020-06-14 17:02:30 +02:00
Holger Vogt a6edce193d Make PPerror message more verbose:
give hint to buggy line segment
2020-06-14 13:53:05 +02:00
Holger Vogt a21649f0e8 Unify batch mode and control mode raw file output:
Voltage is always named as v(nodename)
2020-06-13 18:26:21 +02:00
Holger Vogt 9ec0779ad3 Do not print "Units" on a graph, if unknown type
or settype notype is given.
2020-06-10 14:58:20 +02:00
Holger Vogt 818e923c94 enable node names with special characters like '/' 2020-06-05 13:23:23 +02:00
Kevin Zheng 477f62ccfa When NGSPICE performs a transient simulation with initial conditions, it
prints out an "Initial Transient Solution" and plots the first timestep.

This is despite the fact that the first timestep is not meaningful when
initial conditions are applied. The first "real" output is available
only after the second transient timestep.

This patch suppresses "Initial Transient Solution" output and
plotting for the first timestep.
2020-05-24 12:51:24 +02:00
Holger Vogt b145d6f042 Do not print tansient initial conditions, if uic is selected.
This output at time 0 is 0 as well. Only the next time step
would be valid.
Do not save the time 0 values because they are 0.
2020-05-24 12:30:04 +02:00
Holger Vogt 460cebe532 remove unused 2020-05-23 19:47:43 +02:00
Holger Vogt 835095c5ec Add statistics: load, subckt expansion, and parse times 2020-05-23 15:43:25 +02:00
Carsten Schoenert 833fed95c5 Small fixup for misspelled words 2020-05-23 12:50:31 +02:00
Holger Vogt b9e3f94610 Merge branch 'pre-master' of ssh://git.code.sf.net/p/ngspice/ngspice into pre-master 2020-05-23 12:33:29 +02:00
Holger Vogt f426a33904 remove unused code that is now in CKTncDump() 2020-05-23 12:04:21 +02:00
Holger Vogt 98f27063e1 improve comments 2020-05-23 12:03:37 +02:00
holger 3a73b4cf8f If code completetion is deselected, don't add keywords or key commands.
To prevent a crash in shared ngspice
2020-05-22 14:20:12 +02:00
holger daec7b0c18 definitely exclude command completion in shared ngspice 2020-05-22 14:02:53 +02:00
Holger Vogt c1f50da28d during removing the plot 'const', also delete the hash table 2020-05-21 20:04:45 +02:00
Holger Vogt 2110a767ee delete 'myvec' upon 'quit' 2020-05-21 20:00:51 +02:00
Holger Vogt 3a43466d26 clear all variables upon 'quit' 2020-05-21 19:49:58 +02:00
Holger Vogt f410275f28 reset control structures (commands saved) upon 'quit' 2020-05-21 19:48:32 +02:00
Holger Vogt 36c5074bf9 shared lib version 32 2020-05-21 19:42:56 +02:00
Holger Vogt 11affdc3b9 re-enable compiling with --enable-nobypass 2020-05-19 23:14:48 +02:00
Holger Vogt 33acb3ea6a Revert "re-enable compilation with --enable-nobypass"
This reverts commit b0e0055f58.
2020-05-19 23:10:44 +02:00
Holger Vogt 927daf3223 remove calling MIFdestroy() that is empty 2020-05-19 23:10:09 +02:00
Holger Vogt 1422d3744b add the icon also for the console build 2020-05-19 23:09:31 +02:00
Holger Vogt f61ba6a2fe adding the ngspice icon to the MINGW executable 2020-05-16 14:08:46 +02:00
Holger Vogt b0e0055f58 re-enable compilation with --enable-nobypass
patch supplied by Joël BERTRAND
2020-05-16 11:10:30 +02:00
Holger Vogt eceb0e9cad If a g table source contains %, [, nor ] in its name,
replace it by _ in the a instance generated during parsing.
2020-05-16 11:02:04 +02:00
Holger Vogt 02fdcaff2d try first storing the temporary file in user directory,
only then in current directory
2020-05-13 22:14:52 +02:00
Holger Vogt 80ad645b49 prevent crash if Col==-1 2020-05-13 22:06:05 +02:00
Holger Vogt 8143fb67c2 comment, missing \n 2020-05-13 22:05:31 +02:00
Holger Vogt 6f03ac77af add missing library info 2020-05-08 00:00:12 +02:00
Holger Vogt 8d64983659 const parameter added 2020-05-06 11:12:54 +02:00
Holger Vogt 05bf86caaa safeguard against empty lines which may be sent to shared ngspice 2020-05-06 11:12:21 +02:00
Mamoru TASAKA fe207966d7 Fix compilation with gcc10 wrt multiple definitions issue
gcc10 now defaults to -fno-common (ref: https://gcc.gnu.org/gcc-10/changes.html ). Now with compiled with gcc10, multiple definitions are found which causes linker error as:

*  --with-tcl:
```
/usr/bin/ld: table/table3D/cfunc.o:/builddir/build/BUILD/ngspice-32/ngspice/tclspice/src/xspice/icm/../../../src/include/../xspice/icm/dlmain.h:8: multiple definition of `coreitf'; table/dlmain.o:/builddir/build/BUILD/ngspice-32/ngspice/tclspice/src/xspice/icm/dlmain.c:45: first defined here
```

*  --enable-oldapps
```
/bin/ld: frontend/com_history.o:(.data+0x4): multiple definition of `cp_maxhistlength'; ngsconvert.o:(.bss+0xa4): first defined here
collect2: error: ld returned 1 exit status
```

This commit fixes these issues.
2020-05-06 01:15:53 +09:00
Holger Vogt bbe81ca8f8 shared ngspice may transmit netlists with empty lines,
guard against crashing
2020-05-05 12:00:19 +02:00
Holger Vogt db91e19e36 enable making ngnutmeg, when --enable-oldapps is set 2020-05-05 11:59:23 +02:00
Holger Vogt 2b4394e34b add wincolornames.h 2020-05-03 23:06:17 +02:00
Holger Vogt dd5d1f1868 new copyright notice added 2020-05-03 11:47:22 +02:00
Holger Vogt 70be7508ce Prevent 'unused variable' compiler message 2020-05-03 00:49:53 +02:00
Holger Vogt 913635d252 remove unused function 2020-05-03 00:47:45 +02:00
Holger Vogt 13c23fd71b Prevent buf2 buffer overflow by limiting the the amount of bytes printed 2020-05-03 00:19:48 +02:00