Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
738 Views

NIOS II Instruction Execution Time?

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
Highlighted
Employee
7 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.