ITT 432 Project 1 Due: Feb. 11, 2013
Name________________________
Do questions 4.1.1, 4.1.2, and 4.1.3 on the textbook.
1. MIPS assembly language reference is on P. 243.
2. For Mux, assert 0 to select the lower input and 1 to select upper input.
4.1.1.a
Write down the values of all control signals above the matching wire for “add $s1, $s2, $s3”
4.1.1.b
Write down the values of all control signals above the matching wire for “lw $s1, 20($s2)”
4.1.2.a
Identify what blocks are useful with dotted lines for “add $s1, $s2, $s3”
4.1.2.b
Identify what blocks are useful with dotted lines for “lw $s1, 20($s2)”
4.1.3.a
Identify what blocks are not used with dotted lines for “add $s1, $s2, $s3”
4.1.3.b
Identify what blocks are not used with dotted lines for “lw $s1, 20($s2)”
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
CC2
CC3
\
CC4
CC5
ITT 432 Project 3 Due: Mar. 11, 2013
Name________________________
Execute the following four instructions in continuous status. That is, continue the status data from the previous instruction. Do the three items below for each instruction.
(a) List values of all control signals.
(b) List input and output values of all participating blocks, including the main control module.
(c) Initial status: $s4=50, mem[60] = 2, mem[70] = 3, mem[80] = 4, PC = 501
lw $s1, 10($s4)
lw $s2, 20($s4)
add $s3, $s1, $s2
sw $s3, 30($s4)
lw $s1, 10($s4)
lw $s2, 20($s4)
add $s3, $s1, $s2
sw $3, 30($s4)