Repeat PWL Source

Is there a way to repeat PWL data?
I just learned in LTSpice it works like this:
PWL repeat forever file=data endrepeat
but this does not work here

I’ve not implemented repeat…for(ever)… endrepeat. So far I haven’t thought it was worth the effort. It’s from PSpice and isn’t used in 3rd party models.

PWL REPEAT FOR(EVER) … ENDREPEAT is now implemented.

But nesting REPEAT FOR…ENDREPEAT isn’t supported merely as a strategic simplification.

Note that the last value of a repeated PWL will be ignored and forced to be equal to the first value.

–Mike

2 Likes