Holger Vogt
c68940712d
prevent writing beyond end of buffer
2020-08-20 15:39:55 +02:00
Holger Vogt
02222be165
enable loading ext-utf8-2.cir by $inputdir
2020-08-20 15:39:37 +02:00
Holger Vogt
ebb1e953fe
Streamline the compatibility flag generation
2020-08-20 15:39:19 +02:00
Holger Vogt
f03a32287f
If 'set ngbehavior=ki' in .spiceinit or flag 'kicad' on the plot line:
...
Add " around vector names containing character /
Numerical ivision in plot line then requires spaces around /
2020-08-20 15:39:00 +02:00
Holger Vogt
c112279555
new compatibility handling with struct compat newcompat:
...
simplify the compatibility handling, better readability
make it easily extendable
add new flag 'ki' for KiCad compatibility
2020-08-20 15:38:43 +02:00
Holger Vogt
9defcae963
Do not compile in fcn main() when shared ngspice is made
2020-08-20 15:38:29 +02:00
Holger Vogt
0caeaccdd3
fix typo
2020-08-20 15:38:18 +02:00
Kevin Zheng
068a1fee55
Fix indentation
2020-08-20 15:30:08 +02:00
Kevin Zheng
ccd4df6a47
Add parser outputs to gitignore
2020-08-20 15:30:00 +02:00
caand
6907d17985
add missing get_sysmem() when no info available
2020-08-20 15:29:49 +02:00
Holger Vogt
a406af26d6
bug fix 'extern int sh_vecinit()', not void
...
See patch #96 , thanks to Balazs Kovacs
2020-08-20 15:29:42 +02:00
Holger Vogt
ce69e8d70c
Don't send the empty line to create_circbyline(),
...
it is not used anymore and may cause a crash
2020-08-20 15:29:21 +02:00
Holger Vogt
c8c58b9f5b
Print out the netlist sent to ngspice by caller via 'circbyline'
...
or ngSpice_Circ
2020-08-20 15:29:12 +02:00
Holger Vogt
71e65b75b0
Syntax check: If the first character in a netlist
...
or .control line is one of =[]?()&%$§\"!:, then ngspice
replaces it by '*' and issues a warning.
'set strict_errorhandling' will force ngspice existing.
2020-08-20 15:28:59 +02:00
Holger Vogt
fe28feae4e
Cut out part of each vector of the current tran plot,
...
from times cut-tstart to cut-tstop and copy these
into a new tran plot. A new scale vector 'time' will be
generated as well. Vectors that are shorter than the
new scale vector will not be copied.
2020-08-20 15:28:48 +02:00
Holger Vogt
71338c3271
replace 'noiseless' only if it is an unconnected token
2020-08-20 15:28:32 +02:00
Vogt
3fe4de5b7f
enable special characters for cpl model names and parameters
2020-08-20 15:28:07 +02:00
Holger Vogt
ba1945d685
enable flags xdelta, ydelta for gnuplot command
2020-08-20 15:27:46 +02:00
Holger Vogt
3671f8cea6
update on using bison as a CustomBuild command
2020-08-20 15:27:14 +02:00
Holger Vogt
a429e3fee8
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-08-20 15:27:01 +02:00
Holger Vogt
2c0729e8de
Print also the bool value 'off'.
...
Do not abort ngspice when vector LIST cannot be printed,
just skip printing and continue.
2020-08-20 15:26:38 +02:00
Holger Vogt
8f4e512826
ust tmpstr instead of second strstr()
2020-08-20 15:26:30 +02:00
Holger Vogt
e6fdf5f7e2
Make PPerror message more verbose:
...
give hint to buggy line segment
2020-08-20 15:26:10 +02:00
Holger Vogt
064bd39a2f
Unify batch mode and control mode raw file output:
...
Voltage is always named as v(nodename)
2020-08-20 15:25:50 +02:00
Holger Vogt
36098b93bd
no two or more commands in a single line
2020-08-20 15:25:27 +02:00
Holger Vogt
527abee022
Do not print "Units" on a graph, if unknown type
...
or settype notype is given.
2020-08-20 15:25:00 +02:00
Holger Vogt
e2f98b71ed
enable node names with special characters like '/'
2020-08-20 15:24:39 +02:00
Kevin Zheng
797f08893a
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-08-20 15:24:28 +02:00
Holger Vogt
da71726765
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-08-20 15:23:54 +02:00
Holger Vogt
a459d37548
remove unused
2020-08-20 15:23:31 +02:00
Holger Vogt
6b0104849e
Add statistics: load, subckt expansion, and parse times
2020-08-20 15:23:19 +02:00
Carsten Schoenert
5a0ed18907
Small fixup for misspelled words
2020-08-20 15:22:48 +02:00
holger
569bc228fd
If code completetion is deselected, don't add keywords or key commands.
...
To prevent a crash in shared ngspice
2020-08-20 15:22:36 +02:00
holger
061e48253b
definitely exclude command completion in shared ngspice
2020-08-20 15:22:26 +02:00
Holger Vogt
8c4394839d
remove unused code that is now in CKTncDump()
2020-08-20 15:22:17 +02:00
Holger Vogt
18c532e74b
improve comments
2020-08-20 15:22:07 +02:00
Holger Vogt
0cf6b89eb3
during removing the plot 'const', also delete the hash table
2020-08-20 15:21:49 +02:00
Holger Vogt
f83bbb0d0f
delete 'myvec' upon 'quit'
2020-08-20 15:21:29 +02:00
Holger Vogt
8be33bb361
clear all variables upon 'quit'
2020-08-20 15:21:12 +02:00
Holger Vogt
05f3d21c3e
reset control structures (commands saved) upon 'quit'
2020-08-20 15:20:39 +02:00
Holger Vogt
ce72667fcd
shared lib version 32
2020-08-20 15:20:19 +02:00
Holger Vogt
c522360a26
re-enable compiling with --enable-nobypass
2020-08-20 15:20:06 +02:00
Holger Vogt
8051a3c351
remove calling MIFdestroy() that is empty
2020-08-20 15:19:49 +02:00
Holger Vogt
75d14b73f4
add the icon also for the console build
2020-08-20 15:19:34 +02:00
Holger Vogt
db28c65455
adding the ngspice icon to the MINGW executable
2020-08-20 15:19:21 +02:00
Holger Vogt
ba7be26b95
If a g table source contains %, [, nor ] in its name,
...
replace it by _ in the a instance generated during parsing.
2020-08-20 15:18:40 +02:00
Holger Vogt
238f85b10a
We now develop ngspice 32+
2020-05-13 22:38:25 +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