Holger Vogt
0da54eb641
Updating compile scripts for macOS
...
Use either built-in Clang (without OpenMP) or
Homebrew gcc-11.
2021-11-01 14:48:01 +01:00
Holger Vogt
29ef622874
Remove memory leaks
2021-11-01 14:01:31 +01:00
Holger Vogt
0dfb9bda66
Update, add libraries required
2021-11-01 13:47:31 +01:00
Holger Vogt
51f3f779a8
Remove unused variables
2021-11-01 11:44:43 +01:00
Holger Vogt
6f83ad179f
Plug a (potential) memory leak
...
Add missing memsaved
2021-11-01 00:27:18 +01:00
Holger Vogt
f2311b96a3
Remove memory leak
...
Free some tokens generated by CNVget_token
Initialize reset and clk
Still missing: free 'states'
2021-11-01 00:07:49 +01:00
Holger Vogt
0b9d86afb8
Remove memory leak
...
Add callback function free_local_data
Free some tokens generated by CNVget_token
2021-11-01 00:05:42 +01:00
Holger Vogt
fcf7744c01
Revert "remove memory leak"
...
This reverts commit 8ccdfab48c .
2021-11-01 00:02:14 +01:00
Holger Vogt
115909fe5f
Revert "remove small memory leak"
...
This reverts commit bcaa6e6c2b .
2021-11-01 00:02:08 +01:00
Holger Vogt
bcaa6e6c2b
remove small memory leak
...
free token generated by CNVget_token
Still missing: free 'states'
2021-10-31 16:09:26 +01:00
Holger Vogt
8ccdfab48c
remove memory leak
...
Add callback function to delete locally malloced memory
2021-10-31 16:05:42 +01:00
dwarning
e22c05a4b6
Aware of sscanf return value
2021-10-31 15:05:29 +01:00
dwarning
f75d23a644
white spaces
2021-10-31 14:59:16 +01:00
dwarning
69a76bc30e
Prevent arithmetic overflow and reduce operations
2021-10-31 14:47:04 +01:00
Holger Vogt
0790571e67
CIDER: Examples for 2D plotting with gnuplot
2021-10-30 11:46:21 +02:00
Brian Taylor
2d3f5f8f70
With the ngspice gnuplot command, enable x/y contour plots for 2d Cider save file data. Usage: gnuplot <file> xycontour <expr>. xycontour is a new flag which is ignored if the plot data is not from 2d Cider. For contours, only a single plotarg <expr> is allowed. With <expr1> vs <expr2>, only <expr1> is plotted and <expr2> is ignored.
2021-10-30 11:13:11 +02:00
Holger Vogt
83ce95a38b
remove some compiler warnings
2021-10-26 16:27:54 +02:00
Holger Vogt
2719c71d78
Fix a bug in optran code:
...
devname will be used in the list of instances
2021-10-26 11:39:18 +02:00
dwarning
ade90bd6eb
correct some scaling rules
2021-10-24 18:11:39 +02:00
dwarning
751549967a
save few calculation effort in diode load routine
2021-10-23 23:00:27 +02:00
dwarning
c77a1873fd
save few calculation effort in bjt load routine
2021-10-23 13:55:37 +02:00
dwarning
b17f4c4eeb
prevent unwanted fallthrough
2021-10-23 13:55:15 +02:00
dwarning
66d7f30de9
correct scaling for IBC parameter
2021-10-23 13:54:49 +02:00
dwarning
78d2d3a36b
correct temp update for IBE and IBC parameter
2021-10-23 13:54:26 +02:00
dwarning
8f285544a9
introduce IBE and IBC model parameter for more accurate current calculation
2021-10-23 13:53:58 +02:00
dwarning
925f401cb7
remove comment regarding ancient leakage current defaults
2021-10-23 13:53:36 +02:00
dwarning
33669b01db
c2 and c4 are now aliases for B-E and B-C leakage saturation currents
2021-10-23 13:52:59 +02:00
Holger Vogt
2437326897
A check to avoid multiple entries for the same node into the .save list
...
Scan the data base dbs (list of saves) before a new entry is generated.
2021-10-20 22:16:36 +02:00
Holger Vogt
9a791c7487
save within subcircuit
...
enable V(a,b) as v(a) v(b)
2021-10-20 20:06:31 +02:00
Holger Vogt
1fdab4357c
F.-request 85: save currents in subcircuits
...
Separate handling .ic/.nodeset and .save .
Add i(Vxx) to address translation.
Vxx#branch is not supported.
2021-10-20 13:56:43 +02:00
Holger Vogt
b4e5a7a721
Feature request 85: Enable .save within subcircuits
...
inp.c: Add .save to wl_first only after subcircuit expansion
subckt.c: treat .save like .ic
2021-10-19 11:44:47 +02:00
Holger Vogt
aa32a84e7f
remove compiler warnings
2021-10-11 17:11:45 +02:00
Holger Vogt
f3b3f15a60
README.optran: optran is now standard.
2021-10-10 12:08:01 +02:00
Holger Vogt
61460bdd29
cpl gc: Add missing files to project file
2021-10-10 11:44:12 +02:00
Holger Vogt
8bfdaf0b25
Make optran standrad by calling com_optran during ngspice initialization.
2021-10-10 11:41:28 +02:00
Holger Vogt
d5129a5ad5
if step size in optran command is set to 0,
...
optran is deselected.
2021-10-10 11:40:53 +02:00
Holger Vogt
46c7b5269f
remove optran command from spinit
2021-10-10 11:40:00 +02:00
Holger Vogt
53d1f3e490
cpl gc: Add missing files to project file
2021-10-10 11:39:26 +02:00
Holger Vogt
86201a85a2
Redo the transformation vswitch -> pswitch
...
Parsing takes default values into account, when
parameter is missing.
S vswitch --> pswitch code model
S_ST vswitch (with hysreresis) --> SW switch
S iswitch --> aswitch code model
S_ST iswitch (with hysreresis) --> CSW switch
Use string handling for replacements: allow parameter
equations in .model lines.
2021-10-09 23:20:34 +02:00
Holger Vogt
a41cbad50e
Revert "Redo the transformation vswitch -> pswitch"
...
This reverts commit b78bb48ead .
2021-10-08 20:34:59 +02:00
Holger Vogt
b78bb48ead
Redo the transformation vswitch -> pswitch
...
Parsing takes defaults into account
S switch --> pswitch code model
S_ST switch (with hysreresis) --> SW switch
iswitch not yet done
2021-10-06 23:58:03 +02:00
Holger Vogt
e5ca96b039
Improved error message:
...
when argument out of range, name the term
2021-10-06 23:53:41 +02:00
Holger Vogt
d6307122ff
Pswitch: Fix a bug in resistance calculation when cntl_on < cntl_off
...
Correct setting of parens
2021-10-06 23:52:37 +02:00
Holger Vogt
ce693efa67
Revert "Revert "Neew pswitch with patch 0001-pswitch-fix.patch from Jube 3rd, 21 at""
...
This reverts commit 1f03335230 .
2021-10-06 23:17:39 +02:00
Holger Vogt
1f03335230
Revert "Neew pswitch with patch 0001-pswitch-fix.patch from Jube 3rd, 21 at"
...
This reverts commit d36fcaf34c .
2021-10-06 23:11:49 +02:00
Holger Vogt
b909a6a240
Updated links
2021-10-06 11:13:14 +02:00
Holger Vogt
01280a8a6e
There is no f (femto or Farad) in a resistor line
2021-10-05 18:10:54 +02:00
Holger Vogt
0cfd634423
is_a_modelname() to detect a model 1N4148, if compt LT is set.
...
Rewrite is_a_modelname(), when LT is set: only check element lines
beginning with r and c for RKM notation of a number.
So don't use a RKM number (e.g. 4k7) for naming a resistor model.
2021-10-05 18:10:45 +02:00
Holger Vogt
7df845edfd
Some typos
2021-10-05 18:10:33 +02:00
Holger Vogt
4e56176e13
bug 497: Prevent a crash in CPL
...
Forbiddeb combination of model parameters.
Details are not yet available.
2021-10-03 18:41:30 +02:00