Browse Source

add a comment: we should use TNOM, but not a fixed 300.15.

TNOM still has to be added to the ASRC parameters.
pre-master-46
Holger Vogt 5 years ago
parent
commit
ddcc6f6097
  1. 2
      src/spicelib/devices/asrc/asrcload.c

2
src/spicelib/devices/asrc/asrcload.c

@ -38,7 +38,7 @@ ASRCload(GENmodel *inModel, CKTcircuit *ckt)
for (; model; model = ASRCnextModel(model)) {
for (here = ASRCinstances(model); here; here=ASRCnextInstance(here)) {
difference = (here->ASRCtemp + here->ASRCdtemp) - 300.15;
difference = (here->ASRCtemp + here->ASRCdtemp) - 300.15; /* FIXME: tnmom instead of 300.15 */
factor = 1.0
+ here->ASRCtc1 * difference
+ here->ASRCtc2 * difference * difference;

Loading…
Cancel
Save