Homework 4
This homework is worth 20 points.
Please do the following:
- [2 points] C.8 page C-80 Implement in TKGATE
- [2 points] C.13 page C-81 (First part only). Implement in TKGATE
- [2 points] C.14 page C-81 Implement in TKGATE
- [2 poitns] Implement a 4 bit barrel shifter in TKGATE. This link migth be helpful.
- [8 points] Using figure 4.24, show the values of the control lines necessary to execute
- addi
- add
- beq
- j
- [4 points] Modify figure 4.24 execute the JAL instruction. Show hardware, data and control lines which need to be added to implement this instruction. Give the values of control lines required to accomplish jal.