Project 1, Project 3, and Project 5
ITT 432 Project 5 Due: Mar, 27, 2013 Name________________________
Execute the following instructions in the pipelined datapath for five clock cycles.
Initial status: $s1=20, $s2=100, $s3=50, $s4=30, $s5=10, $s6=30, mem[40] = 60, mem[44] = 70, PC = 400
(a) Write down only the instruction name (lw, sub, etc.) on top of each stage of the pipeline.
(b) List input and output values of all participating blocks.
400 lw $s7, 20($s1)
404 sub $s6, $s2, $s3
408 add $s5, $s3, $s4
412 lw $s4, 24 ($s1)
416 add $s3, $s5, $s6
CC1
image1.jpg
CC2
image2.jpg
CC3
\
image3.jpg
CC4
image4.jpg
CC5
image5.jpg