Thanks for the REPEAT FOREVER experiment. ?I repaired the algorithm now and took into account the trise/tfall times in the 100% duty cycle case.?
Possibly i will dispense with the REPEAT option for the moment.
--
Christoph
toggle quoted message
Show quoted text
FYI -- For me, it still hangs (or takes a VERY long time) when I include the REPEAT FOREVER ... ENDREPEAT around the PWL file.? I do not have experience with that particular format, so I can't tell you why it does not seem to like it
With .tran 10m, it's quick.? 0.7 seconds.
With .tran 100m, it's much slower.? 16 seconds.? Most of the extra time is "expanding repeating PWL()".
With .tran 1, it's
MUCH MUCH slower.? It takes more than 18 minutes.? It did eventually finish.
Apparently?the CPU time to assemble the repeating PWL is not proportional to the requested simulation time,?for whatever reason.
Andy
_