|
发表于 2024-2-13 20:52:20
|
显示全部楼层
一个可能的原因是transiiton filter里面的变量有电压信号. 比如这句
V(COMP)<+transition(V(LATCH),...)
transition filter里面最好使用值为常数的分段线性变量.
Use the transition filter only to smooth piecewise constant waveforms.
• The transition filter causes the simulator to place timepoints at both corners of a transition when the input signal changes. If a transition filter is applied to a continuous signal, each time the signal changes, the simulator would place time-points. This can dramatically slow down the simulation.
– Bad practice: V(out) <+ transition(discVal * V(in), 0, tr, tf);
– Good practice: V(out) <+ transition(discVal, 0,tr, tf) * V(in);
|
|