Forum Discussion
How to find time required for execution of custom instructions added to NIOSII processor.
Hi,
I am working on NIOSII processor.
I have added some custom instructions to NIOSII processor. I want to find time required for execution of those custom instructions. I have tried with timestamp function by adding timer in QSYS as per code given in NIOSII classic software development pdf.
But for every instruction I am getting zero time as execution time or it is giving like- no timestamp device is available.
I am using QUARTUS 17.0 prime Lite edition.
please help me to resolve this issue.
Thanks in Advance
2 Replies
- JOHI
Contributor
Hello,
Have you considered simulation of your niosII system in Modelsim? If you count clock cycles you might get the info you need. Some time ago I thought that simulation of nios system in modelsim was not possible, but it is. See relevant tutorials form more info.
Best Regards,
Johi.
- VPati1
New Contributor
Thank you very much JOHI...I will try your solution...