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
Holger Vogt
429326e139
Add current measurement for device XYZ using I(XYZ)
8 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
Holger Vogt
73db0477c0
vdmosdist.c, white spaces
8 years ago
Holger Vogt
68fbc49216
vdmos.c, sort parameters
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
87e8b366ad
Add gate resistor to AC calculation 2
Add matrix entries for gate resistor
8 years ago
Holger Vogt
5d6e3348c9
Add gate resistor to AC calculation 1
Replace g (gate) by gp (gate prime) in existing matrix loading
8 years ago
Holger Vogt
570aacbf02
Remove VDMOS_CBS, VDMOS_CBD, VDMOS_CB
8 years ago
Holger Vogt
2b444a3423
remove unused parameters VDMOS_VBS/VBD and VDMOS_CAPBD/BS/GS/GD/GB
8 years ago
Holger Vogt
33a68b7321
return only half of the capacitance cgs and cgd
8 years ago
Holger Vogt
62297b2450
add weak inversion current capability
calibration of parameter subthres with LTSPICE is still missing.
8 years ago
rlar
ce2e704f56
up, where to ? fixme, there are more ...
8 years ago
rlar
ede0fb1caa
cleanup
8 years ago
Holger Vogt
4a3c707036
add parallel resistor rds (between outer drain and source nodes, parallel to bulk diode)
8 years ago
Holger Vogt
b7c6145f5e
rename the device multiplier m to mu, not to mix it up with the Body diode grading coefficient m
8 years ago
Holger Vogt
c5f47d3c1b
Error message and exit if a vdmos device instance
has different source and bulk node (have to be the same).
8 years ago
Holger Vogt
b13675ea44
remove unused code to calculate bulk-source and bulk-drain capacitors has been replaced already by capacitor from parallel bulk diode
8 years ago
Holger Vogt
f9b66af074
add the mtriode parameter scale the triode region independently from saturation current
8 years ago
Holger Vogt
40fe11db07
Body diode grading coefficient is m, not mj
8 years ago
Holger Vogt
2f719f7401
function 'inp_vdmos_model' to process vdmos model lines towards ngspice compatibility
8 years ago
Holger Vogt
f3478d7f13
re-format code
8 years ago
Holger Vogt
9d00a9e28d
re-format code (whitespace only)
8 years ago
Holger Vogt
45f52c859b
enable breakdown capability of parallel bulk diode
8 years ago
Holger Vogt
2bf70fa259
add matrix entries for bulk diode
8 years ago
Holger Vogt
bfec119e5b
Use better name for some parameters, cosmetics
8 years ago
Holger Vogt
4ac7a641ec
diode model for bulk diode added code taken from dio.c etc. capacitance calculation for vdmos bulk cap removed, is now completely with the diode. An internal node added for series diode resistance RB
matrix entries not yet done!
8 years ago