admsva/bsim6.va, avoid singular matrix when shmod==0

Tie the temp node to ground,
  if there is no Pwr(t) contribution at all and __SHMOD__ is defined.
  (avoid singular matrix, when either SHMOD=0 or RTH0 <= 0)
This commit is contained in:
rlar 2018-03-17 10:09:50 +01:00 committed by Holger Vogt
parent 3804072584
commit 407a067a1f
1 changed files with 2 additions and 0 deletions

View File

@ -4480,6 +4480,8 @@ end
Pwr(t) <+ -(devsign * sigvds * ids * V(`IntrinsicDrain, `IntrinsicSource)) + delTemp1 * gth;
end
Pwr(t) <+ ddt(delTemp1 * cth);
end else begin
Temp(t) <+ 0;
end
`endif