Holger Vogt
949299f2fc
add examples for PSPICE -> ngspice transfer
8 years ago
Holger Vogt
09590047fe
Check if model is a PSPICE resistor 'res'
8 years ago
Holger Vogt
53bac06d11
.model replacement in ako (a kind of) model descriptions
in first level .subckt and top level only
8 years ago
Holger Vogt
d9dbde0593
replace the E source TABLE function by a B source pwl
(used by ST OpAmps and comparators)
8 years ago
Holger Vogt
10c69b8d05
replace S1 D S DG GND SWN by
a1 %v(DG) %gd(D S) swa
8 years ago
Holger Vogt
f25a307886
get the area factor for diodes and bipolar devices
8 years ago
Holger Vogt
9d8148edae
replace T_ABS by temp and T_REL_GLOBAL by dtemp in .model cards
8 years ago
Holger Vogt
13ca544d15
replace & with && and | with || and *# with * #
8 years ago
Holger Vogt
ae9cc17aff
add predefined parameters TEMP, VT after each subckt call
8 years ago
Holger Vogt
77814b8618
add predefined params TEMP, VT, GMIN to beginning of deck
add funcs limit, pwr, pwrs, stp, if, int
8 years ago
Holger Vogt
5ace7ff1fd
exclude simple e and h sources from getting a series voltage source
by undoing the name conversion
8 years ago
Holger Vogt
cfa473ad96
don't print NULL (deallocated lines)
8 years ago
Holger Vogt
9908b39d2b
make inp_compat_mode global
8 years ago
Holger Vogt
98fe623ba4
add function prototype pspice_compat
to deal with compatibility issues during loading
a PSPICE library
8 years ago
Holger Vogt
4aff986ee8
fix a bug, missing ;
8 years ago
h_vogt
f46a003c59
example file for current measurement with function i(device)
10 years ago
Holger Vogt
429326e139
Add current measurement for device XYZ using I(XYZ)
8 years ago
h_vogt
40e3d4bf95
examples/various: tests and loops using alterparam
10 years ago
h_vogt
7dd81327ec
new command 'alterparam', to be used in conjunction with 'mc_source'
add command 'alterparam paramname=pvalue'
to change a global .param
add command 'alterparam subcktname pname=vpval'
to change a parameter inside of a subcircuit
10 years ago
h_vogt
5c3a6a3829
new command 'mc_source' to internally reload circuit
We store a copy of the whole deck in 'mc_deck'.
'mc_source' can be used to re-read this copy.
10 years ago
h_vogt
464f855d1d
subckt.c, introduce new function inp_deckcopy_oc()
copy a deck
without li_actual,
without comment lines
without .control section
10 years ago
rlar
dc604c75d5
inpcom.c, whitespace
10 years ago
rlar
0f1b75a95b
inpcom.c, abstraction, introduce bogus_find_subckt()
extracted from inp_fix_inst_calls_for_numparam().
This code is and was evil, as it does not respect scoping rules.
10 years ago
rlar
0a21c17d8b
a rough test
9 years ago
rlar
c8aac12374
regression test for device.c "alter"
9 years ago
rlar
0f5386899e
asrcacld.c, bug fix, reciproc tc coefficient
9 years ago
Holger Vogt
73db0477c0
vdmosdist.c, white spaces
8 years ago
Holger Vogt
54c8abfdd4
update with recent model parameters
8 years ago
Holger Vogt
ed3941c87d
ksubthres added to model parameter sets using weak inversion. Weak inversion characteristics are aligned by comparing LTSPICE and ngspice simulations, ksubthres is selected to offer best fit.
8 years ago
Holger Vogt
68fbc49216
vdmos.c, sort parameters
8 years ago
Holger Vogt
cbfeb2caaf
update to actual status, parameter list added
8 years ago
Holger Vogt
1ef7791b58
Excerpt from lt-mos-models-2012.lib by selecting all parameters sets containing weak inversion info. Models parameter sets are modified by adding the parameter ksubthres.
8 years ago
Holger Vogt
285de59446
enable alternative weak inversion model if parameter subslope is given
8 years ago
Holger Vogt
93e34540b8
introduce parameter ksubthres, compatible to LTSPICE
8 years ago
Holger Vogt
a0867ff1a3
bugfix: collapse the correct nodes if RB is zero or not given
8 years ago
Holger Vogt
2474c28a54
Alternative simple weak inversion model
according to https://www.anasoft.co.uk/MOS1Model.htm .
Fits existing LTSPICE models by adapting the slope parameter.
8 years ago
Holger Vogt
0ece0d0c1c
make breakdown voltage internally always positive
8 years ago
Holger Vogt
63be243f72
Add a simple quasi saturation model according to V. d'Alessandro e.a., 2001
8 years ago
Holger Vogt
72e03e7eab
replace parameter name subthres by subslope
8 years ago
Holger Vogt
5ba25a8716
change parameter to scalef when calculating n empirical compromise between smooth curve and reduction of Id slightly above threshold
8 years ago
Holger Vogt
3ee3ab39a9
Choose better interpolation and default parameters
8 years ago
Holger Vogt
729eac4e84
cweakinv, add model parameter model->VDMOSsubshift
8 years ago
Holger Vogt
f0d131fb8a
cweakinv, introduce sine scaling fucntion scalef()
8 years ago
Holger Vogt
284f68765d
frontend/vectors.c, readability of warning message
8 years ago
Holger Vogt
68125ea3cf
allow reading LTSPICE ascii raw files with 'load' command
by discarding 'Offset:'
8 years ago
Holger Vogt
43a6339071
rename VDMOS_CGS, VDMOS_CGD, VDMOS_CDS to VDMOS_CAPGS, VDMOS_CAPGD, VDMOS_CAPDS C: current, CAP: capacitance, V: voltage, G: conductance, Q: charge
8 years ago
Holger Vogt
b4b6e3ebf8
Add the bulk diode to the ac calculation
8 years ago
Holger Vogt
972e5b8f49
remove unused .dc
8 years ago
Holger Vogt
87e8b366ad
Add gate resistor to AC calculation 2
Add matrix entries for gate resistor
8 years ago
Holger Vogt
a64d4c1484
Example: Compare ac gain and phase of simple amplifier with either internal or external gate resistor
8 years ago