Question: Question 1 ( 2 0 point ) : For the single cycle datapath figure shown in page 2 , write the state / values (

Question 1(20 point): For the single cycle datapath figure shown in page 2, write the state/values (in hex or binary) of the control signals at the end of a cycle when the following instructions execute. Assume that the instructions are executing in a sequence with \(\mathrm{PC}=0\) for the first instruction. Elaborate your calculation as much as possible for partial credits. Assumptions:
Assume,
-\$t0\(=0\times 0000\) FFFF,
-\$t1=0x0000_FFFF,
-\$t2\(=0 x 0000\_F F F F \),
-\$s2=0x0000_00FF,
-\$s3=0x0000_0004.
- Initial value of all signal and memory state is zero unless changed by earlier instructions. The first instruction has been given as an example (all are in binary).
Write your answers here.
\(\square \) Instruction RegDST Branch MemRead MemtoReg ALUOp ALUSrc RegWrite
add \$t2,\$t2,\$s21
0
0
0
10
0
1
lw \$t1,0x4(\$s3)
sub \$t1,\$t1,\$s2
beq \(\$ \mathrm{t}0,\$ \mathrm{tt},0\mathrm{x}8\)
j 0xFF
Question 1 ( 2 0 point ) : For the single cycle

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!