WAITCNT'ing in 2 Cogs & Conflict?
I have a couple of things going on, in two cogs,
both use a WAITCNT delay.
I guess they need to be synchronised, there's a conflict.
Changing the values can make for interesting results.
It chugs along successfully for several (5) iterations
and then... it konks out, freezes.
Attaching my dilemma.
How can I harmonise the two?
both use a WAITCNT delay.
I guess they need to be synchronised, there's a conflict.
Changing the values can make for interesting results.
It chugs along successfully for several (5) iterations
and then... it konks out, freezes.
Attaching my dilemma.
How can I harmonise the two?

Comments
PUB Ausgang repeat outa [7..0] := ausbus waitcnt(150_000 + cnt) PUB rotate repeat stgcntr := 0 repeat 8 ausbus := stage[stgcntr] stgcntr := stgcntr + 1 waitcnt(clkfreq / 8 + cnt)-Phil
That's it.
I have to remember about "repeat" instead of the Method's name (a-la "GOTO", etc.)
Thanks!