Brian Taylor
38848259e4
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.
5 years ago
dwarning
550e9f1a81
correct some scaling rules
4 years ago
dwarning
f638a63fba
save few calculation effort in diode load routine
4 years ago
dwarning
62242a5538
save few calculation effort in bjt load routine
4 years ago
dwarning
133f9c46e7
prevent unwanted fallthrough
5 years ago
dwarning
ae49043fe3
correct scaling for IBC parameter
5 years ago
dwarning
b15c7d29f1
correct temp update for IBE and IBC parameter
5 years ago
dwarning
01fb0ac18b
introduce IBE and IBC model parameter for more accurate current calculation
5 years ago
dwarning
231e6218a5
remove comment regarding ancient leakage current defaults
5 years ago
dwarning
5ff04ee85b
c2 and c4 are now aliases for B-E and B-C leakage saturation currents
5 years ago
Holger Vogt
fb98f7873b
remove some compiler warnings
4 years ago
Holger Vogt
f3cb69403a
bug 497: Prevent a crash in CPL
Forbiddeb combination of model parameters.
Details are not yet available.
5 years ago
Holger Vogt
69e2903bf6
Update to Garbage Collector for cpl
Update some comments
Insert the deleting functions
Reset pool_vi and ndn_btree
Add an example with 20 call to cpl in sequence
5 years ago
Holger Vogt
041264df03
No more meory leaks with existing cpl examples:
Add cpldelete.c and cplmdel.c
Delete the model parameters.
Add 2 missing memsaved().
5 years ago
Holger Vogt
9ede9b80e0
Issue a warnong only when ngdebug is set.
5 years ago
Holger Vogt
d2dd1950cb
Add memsaved() to TMALLOC, calloc and replace CPLTFREE for tfree
5 years ago
Holger Vogt
de00317e49
Add memsaved or memdelete to macros
5 years ago
Holger Vogt
8c5277a5e8
Re-format cplsetup.c
5 years ago
Holger Vogt
7dcb1b2a39
Add memsaved() to TMALLOC
5 years ago
Holger Vogt
1dddd6df8d
Each TMALLOC is accompanied by fcn memsaved().
5 years ago
Holger Vogt
b142f2eb9d
Add mem_init() and mem_delete() to setup and unsetup functions
5 years ago
Holger Vogt
3be7370fa8
Add header with extern function prototypes
5 years ago
Holger Vogt
677ec1a094
Update intro text
5 years ago
Holger Vogt
7c38699cd7
Add missing function nghash_delete_special(),
developed for branch gc-local
5 years ago
Holger Vogt
b9afd2bd16
add missing headers
5 years ago
Holger Vogt
2f5a00f0a5
hash functions for cpl garbage collector
5 years ago
Holger Vogt
063665c374
Fix a bug in optran code:
devname will be used in the list of instances
4 years ago
Holger Vogt
01ed224896
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.
4 years ago
Holger Vogt
bde0639bc4
save within subcircuit
enable V(a,b) as v(a) v(b)
4 years ago
Holger Vogt
e90b3e711b
F.-request 85: save currents in subcircuits
Separate handling .ic/.nodeset and .save .
Add i(Vxx) to address translation.
Vxx#branch is not supported.
4 years ago
Holger Vogt
bd0113ea9a
Feature request 85: Enable .save within subcircuits
inp.c: Add .save to wl_first only after subcircuit expansion
subckt.c: treat .save like .ic
4 years ago
Holger Vogt
f9b743aa2a
remove compiler warnings
5 years ago
Holger Vogt
7ce476c0ad
Make optran standrad by calling com_optran during ngspice initialization.
5 years ago
Holger Vogt
36dd77f63e
if step size in optran command is set to 0,
optran is deselected.
5 years ago
Holger Vogt
1eb15de584
remove optran command from spinit
5 years ago
Holger Vogt
d6038ea43c
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.
5 years ago
Holger Vogt
bbccb4b63e
Improved error message:
when argument out of range, name the term
5 years ago
Holger Vogt
c895ca33f7
Pswitch: Fix a bug in resistance calculation when cntl_on < cntl_off
Correct setting of parens
5 years ago
Holger Vogt
eee639d98d
Rename the capacitor and inductor code models to capacitoric and inductoric
8e4db9109 ("adms bsimbulk and bsimcmg implementation based on work from Robert Larice", 2020-12-17)
changed inptypelk.c, line 37 from strcmp to strcasecmp.
Thus Capacitor (model for C) and code model capacitor are no longer
distinguished. Model parsing for the code models fails.
These code models are used very infrequently, thus renaming them
is a valid fix.
5 years ago
Holger Vogt
6b5bc9bcd8
There is no f (femto or Farad) in a resistor line
5 years ago
Holger Vogt
a87b237bff
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.
5 years ago
Holger Vogt
34c227815d
RKM for C: Revert reading f, it is again femto
Examples files include expected results
5 years ago
Holger Vogt
7f981569d9
Update to RKM if ngbehavior=lt is set:
Reading C and R values follow the RKM convention with 2 exceptions:
Upper case and lower case letters are not distinguished.
Letters m, M denote milli (1e-3), letters Meg or meg denote 1e6.
5 years ago
Holger Vogt
6f6f2b8996
Remove double assigment to s[1]
Assignment Is either done in the loop or by *y = '\0';
5 years ago
Holger Vogt
daa3609e58
Enable RKM notation for R and C, when ngbehavior LT is selected.
Add 2 evaluation functions specific for R and C respectively.
R has code letters L, R, K, M, G, T enabled. M here is Meg!
C has code letters p, n, u or µ, m, F. F here is unity, femto is
not available, m is still milli!
Two examples files show all cases.
5 years ago
Holger Vogt
df5e7e36f6
When checking for µ, truncated the line, when shifted.
Enable R470, when newcompat LT is selected.
5 years ago
Holger Vogt
3dcc36c1c3
ngspice input deck may contain special characters like µ (mu).
Detect mu for ANSI and UTF-8 and translate it to u.
5 years ago
Holger Vogt
4ce4f52938
XSPICE d_source: prevent a crash when the input file is not found
5 years ago
Holger Vogt
d4c559421e
prevent crash if info.node_table has not been defined,
caused by some preceding error.
5 years ago
Holger Vogt
93f904fb0b
Make 'speedcheck' also available in batch mode simulation.
5 years ago