Forum Discussion

fpgaLover22's avatar
fpgaLover22
Icon for New Contributor rankNew Contributor
5 years ago

How do I calculate the elapsed time and see how many instructions a specific operation has occurred

For example

while (x <10 && x <50)

x ++;

How can I measure how many instructions a loop like and what the elapsed time is?

Or are there functions that we know precisely the time elapsed in NIOS II and how many instructions sets they consist of?

4 Replies