Question: Problem 2 (60 Points) Design a MIPS processor supporting only the R-type and the jset rs, rt, rd instructions. The jset rs, rt, rd instruction

Problem 2

(60 Points) Design a MIPS processor supporting only the R-type and the jset rs, rt, rd instructions. The jset rs, rt, rd instruction does the following: If rs is not equal to rt, the next PC is the memory content at rs-rt and rd is set to be rs-rt; otherwise, the next PC is PC+4 and register $ra is also set to be PC+4. Recall that $ra is the special register, $31, used in the jal instruction. For example, If rs and rt are 20 and 8 respectively, rs != rt so rd will be 12 and PC will be the memory content at 12. If rs and rt are 20 and 20 respectively, rs == rt so rd will not change and PC and $ra will be set to PC+4 Assume that the opcode of R-type is 000000 and the opcode of jset is 100000.

a) (40 points) Show the data path of this processor using the following components. Add 2-1 MUX when necessary. Beside each group of wires, show the indices of the bits being used.

Problem 2 (60 Points) Design a MIPS processor supporting only the R-type

Problem 2 (60 Points) Design a MIPS processor supporting only the R-type and the jset rs, rt, rd instructions. The jset rs, rt, rd instruction does the following: If rs is not equal to rt, the next PC is the memory content at rs-rt and rd is set to be rs-rt; otherwise, the next PC is PC+4 and register Sra is also set to be PC+4 Recall that Sra is the special register, $31, used in the jal instruction. or example, If rs and rt are 20 and 8 respectively, rs-rt so rd will be 12 and PC If rs and rt are 20 and 20 respectively, rs-= rt so rd will not change Assume that the opcode of R-type is 000000 and the opcode of jset is a) (40 points) Show the data path of this processor using the following will be the memory content at 12 and PC and Sra will be set to PC+4 100000 components. Add 2-1 MUX when necessary. Beside each wires, show the indices of the bits being used i group of Registers File Data Memory Memory 1.01 Problem 2 (60 Points) Design a MIPS processor supporting only the R-type and the jset rs, rt, rd instructions. The jset rs, rt, rd instruction does the following: If rs is not equal to rt, the next PC is the memory content at rs-rt and rd is set to be rs-rt; otherwise, the next PC is PC+4 and register Sra is also set to be PC+4 Recall that Sra is the special register, $31, used in the jal instruction. or example, If rs and rt are 20 and 8 respectively, rs-rt so rd will be 12 and PC If rs and rt are 20 and 20 respectively, rs-= rt so rd will not change Assume that the opcode of R-type is 000000 and the opcode of jset is a) (40 points) Show the data path of this processor using the following will be the memory content at 12 and PC and Sra will be set to PC+4 100000 components. Add 2-1 MUX when necessary. Beside each wires, show the indices of the bits being used i group of Registers File Data Memory Memory 1.01

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