Discussion:
infinit pga timed loop
(too old to reply)
Kim Theuwissen
2008-08-14 15:10:08 UTC
Permalink
Hello, How can I make an infinit timed loop?My program stops when i=2^32 is reached, replacing the loop with a sequence loop gives an error. Thanks for the help
ninlmartijn
2008-08-15 14:10:08 UTC
Permalink
Dear Kim, Please note that the I terminal stops counting when reaching i=2^32, you loop will go on. So if you are using another way of counting and not the iteration, your program will continue. You can use a simple increment function and a shift register to arrange this. I hope this will help you further, Have a great weekend! Best regards,


counterexample.png:
Loading Image...
Wiebe@CARYA
2008-08-15 15:24:32 UTC
Permalink
You can do the same (using a shift register) in a single cycled timed loop.

Make the constant at the beginning a U64. This timer will also run out
eventually (in 14600 years, at 40 MHz), but you won't see that happen.

Regards,

Wiebe.
Kim Theuwissen
2008-08-15 14:40:19 UTC
Permalink
Thanks, my colleague already provided me with the right information!! Have a nice weekend...regards
Loading...