08-12-2018 08:13 PM
When polling on something with a CPU, of course we should add some delay to the loop iteration to prevent maxing out the CPU usage.
On FPGA, I guess this isn't a problem!
My question is, should I use a Wait function in these kinds of loops? (Ok, this is only one case, and not a loop, but it's in a loop!)
Perhaps it costs me some checking (and therefore FPGA space), perhaps it saves some power?
I have no problem in terms of fitting my current code on the FPGA, and no reason to be concerned about power usage, I'm really just curious as to what the best practice is for this kind of loop.
Solved! Go to Solution.
08-13-2018 06:32 AM
FPGA, therefore no need for the wait. I would rather have what little resources that timer uses for other things.