Assume that the register file can perform a write operation and up to two read o
ID: 3836778 • Letter: A
Question
Assume that the register file can perform a write operation and up to two read operations in one cycle. add $s2, $s0, $s4 sub$s4, $s3, $s2 Iw $s5, 20($s3) Iw $s6, 0($s5) sw $s6, 0($s4) and $s7, $s6, $s5 a.) Assume no forwarding, show the resulting execution sequence on the 5-stage pipeline b.) Assume ALU output from EX/MEM latches can be forwarded to both ALU inputs and no other forwarding is provided, show the resulting execution sequence on the 5-stage pipeline c.) Assume full forwarding, show the resulting execution sequence on the 5-stage pipelineExplanation / Answer
a)
b)
WB
Inst 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 add IF ID EX MEM WB sub IF ID EX MEM WB lw IF ID EX MEM MEM WB lw IF ID EX MEM MEM WB sw IF ID EX MEM MEM WB and IF ID EX MEM WBRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.