Community
cancel
Showing results for 
Search instead for 
Did you mean: 
VPati1
Beginner
828 Views

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

 

0 Kudos
2 Replies
JOHI
New Contributor II
60 Views

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
Beginner
60 Views

Thank you very much JOHI...I will try your solution...

Reply