Holger Vogt
70439e38fa
safety check if no circuit is loaded, prevent crash
8 years ago
Holger Vogt
8a813f75e8
replace mc_source by reset, to avoid adding additional circuits
8 years ago
Holger Vogt
8b02c31326
prevent reading beyond array boundaries
8 years ago
Holger Vogt
a8a6e0b2ff
During unsetup delete the InstanceArray (only for OpenMP)
8 years ago
Holger Vogt
800c9711f2
add a flag 'type of the union' to safely free model->param[i]->element,
if it contain a malloced string
8 years ago
Holger Vogt
f6cbaea604
data[i] is no longer written beyond its allocated length
8 years ago
Holger Vogt
2867678f99
For unsetup de-allocate the memory
that has been allocated locally in the code model during INIT
8 years ago
Holger Vogt
7d12b4897c
clean-up function com_quit
8 years ago
dwarning
06d0aaa827
whitespaces
8 years ago
dwarning
06fb917b82
plug a memory leak in bsim models
8 years ago
Holger Vogt
fa60f7d21d
avoid memory leak in X11
8 years ago
Holger Vogt
c4f8a02eb0
add a callback to de-allocate the static variable p->element
8 years ago
Holger Vogt
06df6ca8e7
avoid pre-matuire exit (byemessage not called)
8 years ago
Holger Vogt
80a767f6cd
add here->intgr to the de-allocated memory
8 years ago
Holger Vogt
21edfb2127
safety measure against here->conn[i]->port[j]->partial etc.
being NULL
8 years ago
Holger Vogt
f988dfad93
add plotting to the example
8 years ago
Holger Vogt
a5179b1637
free memory allocated in MIFsetup and by cm_analog_alloc and cm_analog_converge
8 years ago
Holger Vogt
c87dd6161f
mifsetup.c: use astyle to beautify the code for better readability
8 years ago
Holger Vogt
e7bcc09bb0
remove memory leak: delete duplicate .param lines
8 years ago
Holger Vogt
9cd9bf345c
mif_inp2.c: remove a memory leak
8 years ago
Holger Vogt
df01a9b587
noisy ring-oszillator now using transistors with different W/L
(NMOS 2/2.5 and 5/0.25, PMOS 4/0.25 and 10/0.25)
for testing b3temp.c pParam generation, storage and removal
8 years ago
Holger Vogt
3ee1f92d2e
plug a memory leak in b3temp.cir: no overwriting of size dependent
model parameters in pParam
FIXME: still to be done for other BSIM models!
8 years ago
Holger Vogt
b6b66c71bd
plug a small memory leak (switch-oszillators.cir)
8 years ago
Holger Vogt
9332801382
free the original wlist, made by getcommand(),
not a derived wlist that is just part of the original
8 years ago
Holger Vogt
c5cea6d6c1
remove ft_curckt->ci_meas upon removing the current circuit ft_curckt
8 years ago
Holger Vogt
5f1f6ccb29
add a small comment
8 years ago
Holger Vogt
0fbe920382
plug a small memory leak in switch-oscillators.cir
8 years ago
Holger Vogt
2b50ca7271
command 'print': preserve case for filenames after redirection '>'
8 years ago
Holger Vogt
eb68799f18
1/f noise current, random current and voltage sources
command 'alter'
8 years ago
dwarning
5380c3f4da
prevent a small memory leak
8 years ago
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
7bf81eb122
Add black grid and labels (for Linux)
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
Holger Vogt
95a0e69678
update to the example:
change noise paramater to zero, then to more noise
re-running the simulation enforces creating new 1/f noise values
8 years ago
dwarning
d6e7833681
update fftw3 to version 3.3.5 under windows
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