Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Timing measurement

Hi,

Please i try to measure timing of block on the Nios through alt_timestampe() function.

It work fine :), but my probleme why when i measure a block that's contain for example 10 instruction (10 clock cycle) i get a big time.

For example my frequency is 50 Mhz (0.02 micro-second), when i measure a timing of 10 addition, i should get 0.2 micro second but i find a timing 3 melli-second.

Please help me, and if there are a method to compute number of clock cycle or number of instruction.

Thank you