Browse Source

Just a reminder that truncation is currently diabled for CSW

pre-master-46
Holger Vogt 5 years ago
parent
commit
e0d5d98b33
  1. 4
      src/spicelib/devices/csw/cswload.c

4
src/spicelib/devices/csw/cswload.c

@ -129,6 +129,10 @@ CSWload(GENmodel *inModel, CKTcircuit *ckt)
ckt->CKTstate0[here->CSWswitchstate] = current_state;
ckt->CKTstate1[here->CSWswitchstate] = previous_state;
// ckt->CKTstate0[here->CSWctrlvalue] = i_ctrl;
/* FIXME: without this statement truncation is not used, as with SW.
But test are needed to check if improvments are possible. */
if (current_state == REALLY_ON || current_state == HYST_ON)
g_now = model->CSWonConduct;
else

Loading…
Cancel
Save