Forum Discussion
AnandRaj_S_Intel
Regular Contributor
7 years agoHi,
- The number of instructions which take more than one clock cycle is determined by the complexity of the ALU and its pipelining architecture. Therefore, the minimum and maximum cycles per instruction depend on the core you choose (Nios® II/f, Nios II/s, Nios II/e). Normal ALU instructions take 6 cycles for Nios II/e core.
- If you use functions to measure, Even it takest few clock cycle.
- You can check an391 for some methods to measure processing time/function time.
Refer below links.
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/an/an391.pdf
http://www.cs.columbia.edu/~sedwards/classes/2007/4840/n2cpu_nii5v1.pdf
https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/solutions/rd03102006_962.html
Regards
Anand