Question: Delay Loop: Wite a subroutine in asembly language wlla osecond. First you will need to calculate how many instructions you will need to execute to

Delay Loop: Wite a subroutine in asembly language wlla osecond. First you will need to calculate how many instructions you will need to execute to fill 1 second. Remember that the DE1-SoC has an 800 Mhz clock, and a 3-stage pipelined architecture which will essentially take one clock cycle before moving onto the next instruction. After you have this number, you will need to create a For loop, which will contain a counter to simply count down to a specified number That number will be calculated by taking the number of instructions you need (which you just calculated) divided by the number of instructions in your For loop. Delay Loop: Wite a subroutine in asembly language wlla osecond. First you will need to calculate how many instructions you will need to execute to fill 1 second. Remember that the DE1-SoC has an 800 Mhz clock, and a 3-stage pipelined architecture which will essentially take one clock cycle before moving onto the next instruction. After you have this number, you will need to create a For loop, which will contain a counter to simply count down to a specified number That number will be calculated by taking the number of instructions you need (which you just calculated) divided by the number of instructions in your For loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
