Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Each instruction requires 800 ps to execute in a non-pipelined architecture. In

ID: 3578595 • 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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote