Question: The following assembly language program is being run on the 5 stage AVR pipeline that we studied in the lecture notes. sub r 2 6
The following assembly language program is being run on the stage AVR pipeline that we
studied in the lecture notes.
sub
add
The program is run on four different AVR microarchitectures with the following capabilities:
Single cycle execution no pipeline capability
Pipeline capability with stalling only.
Pipeline capability with forwarding only.
Pipeline capability with stalling used to enable forwarding.
a For each of the microarchitectures described above, draw a pipeline timeline diagram
for each of the assembly language instructions. If applicable, use arrows to indicate:
when forwarding occurs between stages on your pipeline diagrams. You do not have
to label your arrows.
b Determine the average latency in clock cycles and throughput in instructionscycle
for each of the microarchitectures described above. For a fair comparison, express
your answers in terms of clock cycles for the pipelined architectures. This means that
the single cycle architecture will require clock cycles to complete a full instruction.
Notes:
You can use this simpler format for your pipeline timeline diagrams:
Calculate throughput relative to the completion time of the first instruction. So for
your single cycle processor, your throughput calculation should be
instructionscycle
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
