Each instruction requires 800 ps to execute in a non-pipelined architecture. In
ID: 3580595 • Letter: E
Question
Each instruction requires 800 ps to execute in a non-pipelined architecture. In a pipelined architecture (where each instruction takes 5 steps to complete execution), each step requires 200 ps to produce output. What will be the total execution time for the given code block:
LDUR X1, [X2, #10]
ADD X2, X1, X2
STUR X2, [X1, #10]
a. if it is a non-pipelined system?
b. if it is a pipelined system with no forward control unit?
c. if it is a pipelined system with a forward control unit?
Please show your work! I will rate correct answers! Thank you.
Explanation / Answer
Answer
a.
The total execution time for the given code block when it is a non-pipelined system
= number of instruction * execution time of each instruction in a non-pipelines architecture
= 3 * 800 ps
= 2400 ps
b.
The total execution time for the given code block when it is a pipelined system with no forward control unit
= total number of steps including stalls * time taken by each step
= 17 * 200 ps
= 3400 ps
c.
The total execution time for the given code block when it is a pipelined system with a forward control unit
= total number of steps happened * time taken by each step
= 15 * 200 ps
= 3000 ps
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.