FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6129 Discussions

NIOS II Instruction Execution Time?

joe306
New Contributor I
1,152 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
421 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