Question: Student # ( use if pages get separated ) Question 6 - [ 2 5 Marks ] Processor Design. The datapath of the multi -

Student # (use if pages get separated)
Question 6-[25 Marks] Processor Design.
The datapath of the multi-cycle processor we described in the lectures is given on the next page. The diagram includes additional detail. We are to modify the SUB instruction to TEST&SET R1(R2) which does the following:
RE[ Inst 7,6]=MEM[RF[ Inst5,4]]
MEM[RF[5,4]]=0FFF
PC=PC+1
In words:
write in register R1 the value from the memory address pointed by the register R2, and then write 0xFF into the aforementioned memory address.
a) Below write the actions that the datapath needs to tate per cycle to implement the instruction. The table lists the the first two cycles.
\table[[CYCLE,Actions],[1,\table[[IR = Mem[PC]],[PC =PC+1
-final-2021.pdf
(4)
Search
Zoom
Share
Highlight
Rotate
Markup
Student # (use if pages get separated)q,
al-2021.pdf
Zoom
Share
Highlight
Rotate
Markup
Student # (use if pages get separated)q,
c) Show how this instruction can be implemented by listing the values for the control signals. Add any new control signals in the empty rows.
Student # ( use if pages get separated ) Question

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 Accounting Questions!