dwarning
25b13d9dde
Fix VDMOSmode dependency.
7 years ago
dwarning
3d72931125
spice like derivative style - more compact
7 years ago
dwarning
71524f6060
Implementing mobility mudulation (theta).Analytical derivatives for weak-inversion branch.
7 years ago
dwarning
8b424dd3d3
Introducing mobility reduction over Vgs. Model parameter: theta
7 years ago
dwarning
96a5ea0353
Allow 3 terminal vdmos in subckt.
7 years ago
dwarning
1363b7a6b2
Reduce vdmos to a native 3 terminal version.
7 years ago
Holger Vogt
f021424041
dev.c, add model size for XSPICE models, preventing heap corruption.
Ocurred with dll under Windows 10 only.
Detected with crtdbg.h, and _CrtSetDbgFlag(_CrtSetDbgFlag(0) || _CRTDBG_CHECK_ALWAYS_DF)
in ngSpiceInit() and {char *test = TMALLOC(char, 1);} as test vehicle.
7 years ago
Holger Vogt
2c7860361d
Prevent segfault if SendStat is NULL and HAVE_FTIME is undefined.
Patch no. 28 offered by Liang Chang
7 years ago
Holger Vogt
db13f66519
typo
7 years ago
Holger Vogt
ebc39c941e
fix typos
reported by Carsten Schoenert
7 years ago
Holger Vogt
3f816d7f1b
add comment
7 years ago
Holger Vogt
feaebe6bd9
spelling
reported by Carsten Schoenert
7 years ago
Holger Vogt
a98f6ac69b
proper initialization of OldAn, callback only
if output has changed
7 years ago
Holger Vogt
0f552fc4f8
sharedspice.c, prevent crash, if controlswait is set
and a next bg_run before controls are ready.
7 years ago
Holger Vogt
f9f28f7679
MS Windows: Use only POSIX compliant snprintf
7 years ago
Holger Vogt
98a5106015
simplify and re-enble MINGW
7 years ago
Holger Vogt
2a2a7c2d36
sharedspice.c, NS Windows, use only POSIX compliant snprintf
make OldAn a zero terminated string
7 years ago
Holger Vogt
0828a8e706
new command bg_ctrl initializing the .control executing thread
pthreads: using detached threads only
keep controls during 'reset', delete only upon 'quit'
7 years ago
Holger Vogt
c2db1d5547
Bug 385 enable variable numdgt for printout
7 years ago
Holger Vogt
f6b995b80e
remove unused fcn declaration
7 years ago
Holger Vogt
6f79db19d1
pthreads: suspend thread 3 (controls) with a condition variable
7 years ago
Holger Vogt
9d9f415226
inp.c, add variable 'controlswait'. If set, only then controls with
shared ngspice are executed after background thread has finished.
7 years ago
Holger Vogt
e4aabc82c7
shared ngspice: add a third thread to execute the .control commands
only after the background thread has been finished
7 years ago
Holger Vogt
7706889a0a
inpcom.c, fix bug no 384
do not quote fourth token in f, h lines
otherwise if dev name equals param name parsing fails
7 years ago
Holger Vogt
16978f8bf6
inpcom.c, add alternative noise flag 'noise=1'
7 years ago
Holger Vogt
9f40c2b584
add an icon to MS Windows VC exe
7 years ago
Holger Vogt
7f3f46ebea
license modified to be compatible to 3-clause BSD according to
https://github.com/freebsd/freebsd/blob/master/lib/libc/stdlib/getopt_long.c
7 years ago
Holger Vogt
d2d2178407
inpcom.c, remove compiler warnings about
potentially uninitialized local variables and
assignment within conditional expression
7 years ago
Holger Vogt
ee843a4c2c
remove memory leak in noise selection for behavioral r
7 years ago
Holger Vogt
6335c271b2
add a syntax check for the incoming netlist.
check if an .if statement is used, then skip
deleting unused models and subcircuits (may be
required when using commercial libraries) .
7 years ago
dwarning
49a3af54de
Handle leading plus sign in same kind as minus.
7 years ago
Holger Vogt
72110dc65d
noise caculation in behavioral resistors is switched on
by the instance flag 'noisy=1'. Default is a noiseless resistor.
7 years ago
dwarning
edb42b526d
Add comment for better understanding.
7 years ago
dwarning
390d0bddd9
Dereferencing of the null pointer 'p' might take place. Remove unused variable.
7 years ago
Holger Vogt
08a9d8462b
only treat B lines, .param lines have been processed already.
This is a very preliminary fix to a bug reported by Andy.
Has to be tested with various input conditions.
7 years ago
dwarning
9e663f45e4
remove some ugly warnings
7 years ago
Holger Vogt
9a1b9dc2e6
reduce the amount of reallocs by making the vector size generation
dependent on tstep and tstop for tran or pss simulation
7 years ago
Holger Vogt
9fb2aac952
inpcom.c, skip nois calculation of behavioral resistor
by adding instance parameter noisy=0
7 years ago
Holger Vogt
96f3b7b029
bug 380, fix removal of string vector after setting the model parameters
7 years ago
Holger Vogt
163f569eb2
Make the new nodes for current measurement i(xxx) unique
by adding a serial number.
7 years ago
Holger Vogt
f1fdb5b2a7
fix current measurement by i(xxx) in B sources: first step,
allow spaces before 'i(' token.
Current measurement for devices in series connection
is still not possible.
7 years ago
dwarning
7c94cc2e42
setting gmbs direct to 0
7 years ago
dwarning
92efc0bd6c
don't replicate model and instance temperature dependent parameter
7 years ago
Holger Vogt
34f0e98080
plug a memory leak, delete 'element', if tmalloced before
7 years ago
Holger Vogt
c98b472366
enable GetProcessMemoryInfo for shared ngspice made with MSVC
7 years ago
Holger Vogt
da75066302
update to resource.c:
proc/self/statm is up-scaled by page size
up and down scaling by 1024 removed
GetProcessMemoryInfo access simplified
pre-processor flags simplified
tiny format changes
7 years ago
Holger Vogt
cf6722af17
Enable function GetProcessMemoryInfo() to get reliable memory usage data
for MINGW and MSVC console, WinGui and MSVC shared ngspice.
MINGW shared ngspice does not link to psapi.dll, so cannot
apply GetProcessMemoryInfo(), but sticks to unreliable function
GlobalMemoryStatusEx().
7 years ago
Holger Vogt
df9efac808
inp2dot.c, beautify the code
7 years ago
Holger Vogt
321b1293e7
plug two small memory leaks
7 years ago
Holger Vogt
0d9d228c11
Put the copy for generating permanent next_token exactly at the places
where is is needed: INPtermInsert() and fast->conn...->neg_node_str
XSPICE memory leaks are gone!
7 years ago