Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

How to find time required for execution of custom instructions added to NIOSII processor.

VPati1
Beginner
945 Views

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
177 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
177 Views

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

Reply