Question: Question 3 ( 2 0 points ) . Assuming the following functional unit latencies: . What is the cycle time of a single - cycle
Question points Assuming the following functional unit latencies:
What is the cycle time of a singlecycle implementation? What is the cycle time of a pipelined
implementation?
Given the program below:
lw a
subi $t $t
addi $v$
add $t$$
add $t $a $a
The assembly code is executed using a stage MIPS processor. Plot the pipeline diagram to
show the execution of these five instructions. hint: The instruction sequence is shown vertically, from
top to bottom. Clock cycles are shown horizontally, from left to right. Each instruction is divided into its
component stages.
If the given program is run on the singlecycle implementation, how many cycle does it take to
execute these five instructions? How long does it take to complete execution ns
If the given program is run on the pipelined implementation, how many cycles does it take to
execute these five instructions? How long does it take to complete execution nsQuestion points Given the program below,
li $t
li $t
beq t Exit
addi t
j L
Exit:
How many static instructions in the program? How many dynamic instructions in the program?
Exit is a label not an instruction
Compare the performance of the following two processors:
P: GHz with a CPI of for the given program
P: GHz with a CPI of for the same program
Calculate the CPU execution time of these two processors on the given program. Which processor is
faster in executing the given program? How much faster?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
