FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
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.
4969 Discussions

NIOS II Instruction Execution Time?

joe306
New Contributor I
812 Views

Hello, I'm running my NIOS II on a Cyclone V FPGA. The clock for the NIOS is 100Mhz. Is there a way I can make a rough estimate how long it takes the NIOS processor to execute a single instruction? Say I wanted to estimated how long it would take to write to on-chip memory? Would it take a single 100Mhz clock cycle?

 

Thanks,

Joe

0 Kudos
1 Reply
Ahmed_H_Intel1
Employee
81 Views

Hi,

The NIOS II is a processor that executes a C-code (like normal hardware processor), to know the execution time you have to know the machine language generated from your C-code plus the timeout of all system blocks.

BTW running a simple code of few lines doesn't take much of time but also no processor executes a full command in one single clock cycle.

Reply