Holger Vogt
5f5ec4f49a
Sort out spinit and vngspice.vcxproj:
During installation into C:\Spice.... a spinit
from spinit_all is copied, having relative paths to the
code models.
A local spinit (needed for the running the local debugger)
is copied from either spinitd or spinitd64, referencing
the code models stored in C:\Spiced..\lib\ngspice by
setting the absolute path.
8 years ago
Holger Vogt
2a3c88add6
Commit ad0f59657 ("fix a memory leak", 2018-08-13) made
the special device parameter notation @m1[vt0] unusable.
This fix frees only the tokens that are already overridden
in function INPinsertNofree(). The reason for using this
function instead of INPinsert() is not obvious.
8 years ago
Holger Vogt
66e8e440ea
update, bug fixed
8 years ago
Holger Vogt
5f0b2f344e
spurious crash: MIFgettok deliveres strings that cannot be freed:
MS Windows, VS or MSYS2/MINGW/GCC, shared ngspice, single character
token at end of line, compiled with optimization, not in debug mode.
Preliminary fix: TMALLOC another byte to token.
Origin of bug still unknown: Source code error? MS library error?
Re-write of MIFgettok does not show this error (so far...).
8 years ago
Holger Vogt
92b69cbc55
prepare ngspice-29
8 years ago
Holger Vogt
1f91d0860e
Set a relative path to find spinit and to load the codemodels.
Installation will no longer require a fixed path C:\Spice64 etc.
8 years ago
Holger Vogt
0345eedf40
prepare for ngspice-29
8 years ago
Holger Vogt
5c5d3627eb
Update to INSTALL, prepare for ngspice-29
8 years ago
Holger Vogt
b882cc7682
FAQ update, prepare ngspice-29
8 years ago
dwarning
79a5a7942a
automatic search for fftw3 can be disabled - default is yes
8 years ago
dwarning
bd5379d760
one tran analysis is sufficient
8 years ago
Holger Vogt
40e69ceaf4
plug a memory leak after (internal) call to altermod
8 years ago
Holger Vogt
3138811acd
README for the table model and its table directory
8 years ago
Holger Vogt
925cb49ff2
Add some description, correct minor bugs.
8 years ago
Holger Vogt
12c864fb5a
destroy the tmalloced diag, if rshunt option was enabled
8 years ago
Holger Vogt
2e9c28c79a
Prevent segfault, if mutual inductor coupling
specifies non-existing inductors
8 years ago
Holger Vogt
b0e7962169
don't generate error message during transient analysis,
it will not be used
8 years ago
Holger Vogt
fc3ffb2e3c
free global string errMsg
8 years ago
Holger Vogt
0406546f7e
remove a small memoryleak in (nested) goto loops
8 years ago
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