Holger Vogt
0e0b276a3e
ISRC: update to trnoise source, same as in VSRC
8 years ago
Holger Vogt
aedd9d92ee
upon alter the trnoise or trrandom states get re-written.
so delete the old state first.
8 years ago
Holger Vogt
b4c6a7d324
add function trnoise_state_free and use it
instead of its individual components
8 years ago
Holger Vogt
c88578e2c5
noise value is 0 for time == zero.
Only when time changes from time == 0 to time > 0,
the 1/f noise data are generated once per voltage instance
with 1/f noise requested.
8 years ago
Holger Vogt
d3b7619754
add a flag timezero to trnoise_state
falg is true as long as time = 0. Allows
to detect the change from time == 0 to time > 0
only then the 1/f data may be created anew (e.g.
due to multiple 'run' commands
8 years ago
dwarning
aa95da431a
adaptive format specifier for size_t printf
8 years ago
dwarning
aed5ba01c0
prevent a small memory leak
8 years ago
dwarning
7d78cba9ef
fix some prototype declarations
8 years ago
dwarning
561fdd805c
rm unused variables
8 years ago
dwarning
598b72be37
prevent a huge memory leak by calling fftw3 in a loop
8 years ago
Holger Vogt
1f7d84b270
trivial patch to avoid memory leaks during transient noise generation.
This has to be replaced by a rewrite of the noise generating code.
8 years ago
Holger Vogt
34fcdda1e2
plug a potentially huge memory leak
8 years ago
Holger Vogt
dafbf72f7f
fix a small memory leak
8 years ago
Holger Vogt
8c9b18ef7e
fix a small memory leak
8 years ago
Holger Vogt
7e4b68c708
update to the rusage command:
print total analysis time, total elapsed time, and
memory information (OS dependant) if rusage is given
without parameters
8 years ago
Holger Vogt
f07c73b6a5
Command 'cd' now switches to the home directory also for MS Windows.
A new command 'getcwd' just prints the current working directory
without changing it.
8 years ago
Holger Vogt
9cc690c55c
try to reload only when mc_deck is available
comment modified
8 years ago
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