Commit Graph

6094 Commits

Author SHA1 Message Date
Holger Vogt f9eb75f55d skip comment lines 2018-08-18 11:28:02 +02:00
Holger Vogt ac0a70bb84 print deck after re-loading into debug-out-mc.txt,
if 'set ngdebug' is set in .spiceinit
2018-08-18 11:27:51 +02:00
Holger Vogt cebb83eec1 give preference to mc_reload when reloading the circuit 2018-08-18 11:27:44 +02:00
Holger Vogt bb86b137a7 add 'reset' to fix a huge memory leak 2018-08-18 11:27:38 +02:00
Holger Vogt ad0f596570 fix a memory leak 2018-08-18 11:27:31 +02:00
Holger Vogt 795f9ed6ad remove unused rparen 2018-08-18 11:27:20 +02:00
Holger Vogt b1f956f81c fix a memory leak 2018-08-18 11:27:14 +02:00
Holger Vogt e99985a156 add two commands 'reset' to avoid huge memory leak 2018-08-18 11:27:08 +02:00
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
2018-08-18 11:27:02 +02:00
Holger Vogt b0883ffc5d add the reset command to avoid huge memory leak 2018-08-18 11:26:55 +02:00
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
2018-08-18 11:26:42 +02:00
dwarning 9475daf9d2 MOS level 55-57 and 68 are available and not placeholder 2018-08-15 12:47:25 +02:00
dwarning b113041faa if bsim6 will come it would be va code and needs adms 2018-08-15 12:01:22 +02:00
Holger Vogt d8352342a8 free more data allocated during INIT 2018-08-11 11:37:19 +02:00
Holger Vogt c891c2f64f Update to callback function:
delete memory also in the eno structure
do not close a file twice
2018-08-11 00:43:54 +02:00
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