Commit Graph

6229 Commits

Author SHA1 Message Date
Holger Vogt 7e611e7b57 remove the circuits upon quit 2018-08-10 23:48:00 +02:00
Holger Vogt d26d1b96ec add callback function to delete the memory
allocated in the code model
2018-08-10 23:35:33 +02:00
Holger Vogt 9d36a2e326 remove unused i 2018-08-10 23:34:27 +02:00
Holger Vogt 2ce4c1592b a tiny memory leak 2018-08-10 22:03:02 +02:00
Holger Vogt 0bc1d8147c plug a memory leak 2018-08-10 19:56:26 +02:00
Holger Vogt 83db375fe8 add plotting with internal analog plot
and gtkwave for digital data
2018-08-10 19:55:52 +02:00
Holger Vogt ef9ba3d687 remove peronal file path 2018-08-10 19:43:22 +02:00
Holger Vogt e8e5823955 add a hint to run the table generator before
simulation is possible
2018-08-10 19:41:02 +02:00
Holger Vogt a6f525f6c1 fix a memory leak 2018-08-09 23:23:18 +02:00
Holger Vogt 9db2bf3d69 fix a memory leak 2018-08-09 20:22:33 +02:00
Holger Vogt 6ed10583f2 plug small memory leaks 2018-08-08 23:31:52 +02:00
Holger Vogt dc34632421 fix memory leaks when evaluating a variable
MC example file MC_ring_ts.sp is now free of memory leaks
2018-08-07 22:46:26 +02:00
Holger Vogt 934656f6e8 fix memory leak: before killing a plot, remove its hash table entry 2018-08-07 20:42:55 +02:00
dwarning 6c682180ab ignore VS database files 2018-08-07 20:11:13 +02:00
Holger Vogt cffc7d27ff beautify code with astyle 2018-08-07 19:58:52 +02:00
Holger Vogt d4217f1256 update: use $inputdir instead of absolute path
outputpath not (yet?) available
2018-08-07 19:58:47 +02:00
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.
2018-08-07 19:58:41 +02:00
Holger Vogt a244d703c9 remove --enable-gc, was not implemented anyway 2018-08-07 19:58:36 +02:00
Holger Vogt a9c2077051 checkergcc removed: no longer available, replaced by valgrind 2018-08-07 19:58:31 +02:00
Holger Vogt ed3a098e7e sort the help entries: relevant option come first 2018-08-07 19:58:26 +02:00
Holger Vogt cace650c47 timestamp may be overruled by setting env var SOURCE_DATE_EPOCH
to allow Reproducible builds
See https://wiki.debian.org/ReproducibleBuilds
2018-08-07 19:58:15 +02:00
Holger Vogt 19596f0f42 add search in current directory
Patch provided by Uros Platise
https://sourceforge.net/p/ngspice/ngspice/merge-requests/4/
2018-08-07 19:58:08 +02:00
Holger Vogt 7c90004921 add Inp_Path to sourcepath variable
Patch provided by Uros Platise
https://sourceforge.net/p/ngspice/ngspice/merge-requests/4/
2018-08-07 19:57:58 +02:00
Holger Vogt ab9ffc2319 small update of comment 2018-08-07 19:57:52 +02:00
Holger Vogt 1406114127 add POWER NMOS and PMOS example with quasi-saturation 2018-08-07 19:57:44 +02:00
Holger Vogt e18b848f7d Allow '-' and '+' being part of the instance name.
Has already been available for B, E, F, G, and H sources
2018-08-07 19:57:38 +02:00
Holger Vogt f354f36121 replace 'magic numbers' by defines, thus setting several char arrays
safeguard these arrays against overflow
set numbers of parameters to 10000
2018-08-07 19:57:28 +02:00
dwarning 88f1fa0092 allow version model parameter in exponential format for bsim3 2018-08-07 19:57:05 +02:00
Holger Vogt 8357564fee fix missing tokens in cp_getvar 2018-07-30 00:42:46 +02:00
Holger Vogt ef5747905f fix bug no. 362, reported by Bohdan Tkhir
replace size_of by sizeof
2018-07-30 00:35:25 +02:00
Holger Vogt eab5615fb3 examples moved to examples/xspice/original-examples 2018-07-28 13:47:23 +02:00
Holger Vogt c8705147b0 Original examples fixed and moved to here 2018-07-28 13:45:41 +02:00
Holger Vogt 0de66ea3b8 XSPICE state machine example 2018-07-28 12:54:02 +02:00
Holger Vogt a5e382d0ea XSPICE d_source examples 2018-07-28 12:52:21 +02:00
Holger Vogt 6e452b1e7c xspice filesource example 2018-07-28 11:45:33 +02:00
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
2018-07-26 20:55:21 +02:00
Holger Vogt 908339359a clarify start time generation
clarify time and amplitude updates
don't read comment lines
2018-07-26 20:50:36 +02:00
Holger Vogt 0c94ab948b treat ( ) , like spaces, that is ignore them during
switch parameter conversion
2018-07-26 18:21:34 +02:00
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.
2018-07-24 22:30:40 +02:00
Holger Vogt 393c924886 improve finding tokens, considering nested parens 2018-07-22 17:33:19 +02:00
Holger Vogt f2cfb9b359 add fourth parameter to cp_getvar() 2018-07-22 15:15:10 +02:00
Holger Vogt 1cbcd25cab various digital simulations of a 4-bit NAND gate full adder:
Bipolar, MOS, behavioral, and event based
2018-07-22 15:12:59 +02:00
Holger Vogt fac5754b79 add variabale inputdir to store the last input file directory 2018-07-22 15:12:50 +02:00
Holger Vogt 5fa4f631fb MC input files 2018-07-22 15:12:32 +02:00
Holger Vogt 4add5be417 remove the quotation marks around $&run
whitespaces
2018-07-22 15:12:04 +02:00
Holger Vogt 2786fcb86e New .option seed=[val|random] 2018-07-22 15:11:44 +02:00
Holger Vogt 1bf7f3004d tests for setting random numbers 2018-07-22 15:10:00 +02:00
Holger Vogt 73f8925c1e example update: sim_status, mc_source and others 2018-07-22 15:09:46 +02:00
Holger Vogt 8ffb3e29da example may be run with commervcial PDKs 2018-07-22 15:09:36 +02:00
Holger Vogt 107a4a808e New .option seed=[val|random] 2018-07-22 15:09:25 +02:00