Name: Box: Date:
(20 points) We wish to add a variant of the lw (load word) instruction, which increments the index register after loading the word from memory. This instruction (l_inc) corresponds to the following two instructions:
lw $rt, L($rs) addi $rs, $rs, 4
Add any necessary datapaths and control signals to the single-cycle datapath of Figure 4.17 on page 265 and show the necessary additions to Figure 4.18 on page 266.
- Write the RTL for this new instruction. It may be helpful to review the RTL on the course website.
- Adjust the datapth figure (attached) to execute your RTL.
- Provide an updated set of control signals for the new instruction.
Modify this figure for your instruction.