Holger Vogt
5acf4fac2f
Update the description, new 'optran' command
2020-08-09 14:18:46 +02:00
Holger Vogt
6eff472b50
fix some text entry
2020-08-09 14:18:46 +02:00
Holger Vogt
ff9f303fcd
short description of branch contents
2020-08-09 14:18:46 +02:00
Holger Vogt
0744c7bb63
set stepsize
2020-08-09 14:18:46 +02:00
Holger Vogt
0f013ff55e
Add command 'optran' to set 6 flags for transient op
2020-08-09 14:18:46 +02:00
Holger Vogt
7f08f4d31a
Transient op calculation added to the standard oerating point code.
...
When standard iteration, gmin stepping and source stepping fail,
try a transient simulation (like tran with uic option) to
determine the op. Implemented for AC and Tran simulation.
2020-08-09 14:18:45 +02:00
Holger Vogt
d78f95eec2
In PS compatibility mode:
...
In subcircuit .subckt and X lines with 'params:' statement
replace comma separator by space. Do nothing if comma is inside of {}.
2020-08-09 10:31:06 +02:00
Holger Vogt
3ec5140600
avoid some compiler warnings 'referencing a NULL pointer'
2020-08-09 10:24:34 +02:00
Holger Vogt
213c5fedba
more precise freeing the wordlist, depending on exit point
2020-08-09 10:23:43 +02:00
Holger Vogt
830984d04d
No more printout of 'Initial Transient Solution'
...
when .tran with uic
2020-08-09 10:23:07 +02:00
Holger Vogt
273c1bde3d
typo
2020-08-09 10:21:30 +02:00
Holger Vogt
c1fa9fdfe3
remove vceo= and icrating= from bjt model cards
2020-08-03 23:11:55 +02:00
Holger Vogt
3f9ef62996
fix typo
...
Reported by Ferdy in bug report #506
2020-08-03 22:44:08 +02:00
Holger Vogt
2614d92595
fix a memory leak
...
Reported in bug report 504 by Ferdy
2020-08-03 22:41:32 +02:00
Holger Vogt
137d5b6d56
Don't add copied scale vector as new vector, but as new scale vector,
...
thus preventing crash after pushing X11 'Hardcopy' twice or
pushing 'quit' after 'Hardcopy'.
Scale vector was deleted two times, then crashimg ngsoice.
2020-07-30 16:46:16 +02:00
Holger Vogt
c02da9dcc2
enable debug output, taking into account that there may be two threads
...
accessing fcn SetAnalyse()
2020-07-30 16:43:20 +02:00
Holger Vogt
e03afcb160
prevent writing beyond end of buffer
2020-07-30 16:41:46 +02:00
Holger Vogt
30eb897338
enable loading ext-utf8-2.cir by $inputdir
2020-07-30 16:40:21 +02:00
Holger Vogt
5854344d20
Streamline the compatibility flag generation
2020-07-25 23:46:26 +02:00
Holger Vogt
4be216d4e3
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-07-25 22:14:18 +02:00
Holger Vogt
4f1da9b5e1
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-07-25 22:11:27 +02:00
Holger Vogt
50c7625082
Do not compile in fcn main() when shared ngspice is made
2020-07-25 18:07:09 +02:00
Holger Vogt
5e96739dd7
fix typo
2020-07-25 18:06:20 +02:00
Holger Vogt
820466ca7c
line endings --> unix
...
patch by Kevin
2020-07-25 10:53:07 +02:00
caand
32bcf96417
add missing get_sysmem() when no info available
2020-07-25 10:21:07 +02:00
Holger Vogt
af636cc778
bug fix 'extern int sh_vecinit()', not void
...
See patch #96 , thanks to Balazs Kovacs
2020-07-23 17:13:58 +02:00
Holger Vogt
0ca66abd3e
Don't send the empty line to create_circbyline(),
...
it is not used anymore and may cause a crash
2020-07-21 10:42:08 +02:00
Holger Vogt
6ed7bc4c68
Print out the netlist sent to ngspice by caller via 'circbyline'
...
or ngSpice_Circ
2020-07-21 00:07:37 +02:00
Holger Vogt
c8a9a2f0f1
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-07-21 00:05:06 +02:00
Holger Vogt
0e22e1af9c
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-07-18 23:11:34 +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
cb682edd95
update on using bison as a CustomBuild command
2020-06-26 23:05:58 +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
88fd768af9
no two or more commands in a single line
2020-06-10 14:59:52 +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