Forum Discussion
joe306
Occasional Contributor
7 years agoNIOS 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
1 Reply
- Ahmed_H_Intel1
Frequent Contributor
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.