Holger Vogt
2b071fec5a
add loading from recent deck (mc_deck) if circuit
file has been removed by remcirc.
8 years ago
Holger Vogt
2dfdf984d6
re-number the lines during copying,
required by nupa_copy()
8 years ago
Holger Vogt
f9eb75f55d
skip comment lines
8 years ago
Holger Vogt
ac0a70bb84
print deck after re-loading into debug-out-mc.txt,
if 'set ngdebug' is set in .spiceinit
8 years ago
Holger Vogt
cebb83eec1
give preference to mc_reload when reloading the circuit
8 years ago
Holger Vogt
ad0f596570
fix a memory leak
8 years ago
Holger Vogt
795f9ed6ad
remove unused rparen
8 years ago
Holger Vogt
b1f956f81c
fix a memory leak
8 years ago
Holger Vogt
73da17e367
just keep recent_deck, when it's already equal
to current ft_curckt->ci_mcdeck, thus avoid
freeing ft_curckt->ci_mcdeck
8 years ago
Holger Vogt
d1a8637a29
store deck for command mc_source for each circuit in ft_curckt->ci_mcdeck
remove this storage during remcirc
keep most recent deck in recent_deck
8 years ago
dwarning
9475daf9d2
MOS level 55-57 and 68 are available and not placeholder
8 years ago
dwarning
b113041faa
if bsim6 will come it would be va code and needs adms
8 years ago
Holger Vogt
d8352342a8
free more data allocated during INIT
8 years ago
Holger Vogt
c891c2f64f
Update to callback function:
delete memory also in the eno structure
do not close a file twice
8 years ago
Holger Vogt
7e611e7b57
remove the circuits upon quit
8 years ago
Holger Vogt
d26d1b96ec
add callback function to delete the memory
allocated in the code model
8 years ago
Holger Vogt
9d36a2e326
remove unused i
8 years ago
Holger Vogt
2ce4c1592b
a tiny memory leak
8 years ago
Holger Vogt
0bc1d8147c
plug a memory leak
8 years ago
Holger Vogt
a6f525f6c1
fix a memory leak
8 years ago
Holger Vogt
9db2bf3d69
fix a memory leak
8 years ago
Holger Vogt
6ed10583f2
plug small memory leaks
8 years ago
Holger Vogt
dc34632421
fix memory leaks when evaluating a variable
MC example file MC_ring_ts.sp is now free of memory leaks
8 years ago
Holger Vogt
934656f6e8
fix memory leak: before killing a plot, remove its hash table entry
8 years ago
Holger Vogt
cffc7d27ff
beautify code with astyle
8 years ago
Holger Vogt
c5b5190199
command 'setplot': add predefined 'previous' and 'next' parameters
to switch to the previous or next plot. A warning results if this
is not possible, then the currnt plot is not changed.
8 years ago
Holger Vogt
19596f0f42
add search in current directory
Patch provided by Uros Platise
https://sourceforge.net/p/ngspice/ngspice/merge-requests/4/
8 years ago
Holger Vogt
7c90004921
add Inp_Path to sourcepath variable
Patch provided by Uros Platise
https://sourceforge.net/p/ngspice/ngspice/merge-requests/4/
8 years ago
Holger Vogt
e18b848f7d
Allow '-' and '+' being part of the instance name.
Has already been available for B, E, F, G, and H sources
8 years ago
Holger Vogt
f354f36121
replace 'magic numbers' by defines, thus setting several char arrays
safeguard these arrays against overflow
set numbers of parameters to 10000
8 years ago
dwarning
88f1fa0092
allow version model parameter in exponential format for bsim3
8 years ago
Holger Vogt
8357564fee
fix missing tokens in cp_getvar
8 years ago
Holger Vogt
ef5747905f
fix bug no. 362, reported by Bohdan Tkhir
replace size_of by sizeof
8 years ago
Holger Vogt
eab5615fb3
examples moved to examples/xspice/original-examples
8 years ago
Holger Vogt
e3b2b395b9
fix an ancient bug in retrieving the data with the cursor
from a log y graph: use y-offset instead of x-offset
8 years ago
Holger Vogt
908339359a
clarify start time generation
clarify time and amplitude updates
don't read comment lines
8 years ago
Holger Vogt
0c94ab948b
treat ( ) , like spaces, that is ignore them during
switch parameter conversion
8 years ago
Holger Vogt
d1761f8d6e
read the complete input file at once during inizialization
instaed of reading the file line by line,
and instaed of re-reading from the beginning in case
of time stepping back. This saves a vast amount of
simulation time if the input file is large.
8 years ago
Holger Vogt
393c924886
improve finding tokens, considering nested parens
8 years ago
Holger Vogt
f2cfb9b359
add fourth parameter to cp_getvar()
8 years ago
Holger Vogt
fac5754b79
add variabale inputdir to store the last input file directory
8 years ago
Holger Vogt
2786fcb86e
New .option seed=[val|random]
8 years ago
Holger Vogt
107a4a808e
New .option seed=[val|random]
8 years ago
Holger Vogt
10c6c5c38b
Convert .param lines containing 'agauss' and others
into .func (xxx1() 'agauss()', replace all xxx1 entries
by function xxx1().
After subcircuit expansion, replace agauss and others
in B-Line by their suitable values.
8 years ago
Holger Vogt
7ca61b3c98
New command 'setseed' with function com_sseed
to set the random number generator
8 years ago
Holger Vogt
8fbcb16a57
add fourth parameter to cp_getvar(), in functions missing so far
8 years ago
Holger Vogt
af70c2e8f0
cp_getvar with CP_STRING: add size of string to function parameters
8 years ago
Holger Vogt
09c876550f
prevent string overflow by adding the string length
to the cp_getvar parameters. Used only with CP_STRING
8 years ago
dwarning
60a35725f5
few optimizations for diode recombination current calculation
8 years ago
Holger Vogt
8930690cd2
plug a small memory leak
8 years ago