Lab 6 - Multicycle Datapath

Due: Wednesday at noon

The purpose of this lab is to trace instructions as they pass through the multicycle datapath.

Trace the assembly code used in Lab 5 as it goes through the multicycle datapath. The assembly is:

Loop:     beq $t0, $t1, Exit
          sw $zero, 0($t0)
          add $t0, $t0, $s4     # s4 contains the offset
          j Loop
Exit:
For each instruction, list all the steps needed to complete that instruction and the value of the control lines for each step. Also say which state registers (PC, IR, MDR, A, B, ALUOut) will be updated in each step for each instruction.

Email your trace to me in plain text, PDF or OpenDocument format.