subject

Design a MIPS processor supporting only the R-type and the jset rs, rt, rd instruction. 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 set to be PC+4.

Recall that $ra is the special register used in the jal instruction.

For example,

- if rs and rt are 20 and 8 respectively, rd will be 12, and PC will be the memory content at 12.

- if rs and rt are 20 and 20 respectively, rd will not be changed, PC will be PC+4, and $ra will be PC+4.

For this problem, assume that the opcode of R-type is 000000 and the opcode of jset is 100000.

- (30 points) Show the data path of this processor, add 2-1 MUX when necessary. Besides a group of wires, please show clearly the indices of the bits.

- (20 points) Consider the control signals for the 2-1 MUX. Please fill in the table (you should not need more than 4 2-1 MUXes). In case of "don’t care," write down 0. Then write down the logic functions. Certain bits in the instruction can be denoted as, for example, ins[31]. The ALU zero output can be referred to simply as "z."

R-type jset (rs != rt) jset (rs == rt)

MUXCtrl1

MUXCtrl2

MUXCtrl3

MUXCtrl4

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
I'll mark brainliest if answered right! with which feature or menu option of a word processing program can you make an image like this? you can get this image using the option of a word processing program.
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
question
Computers and Technology, 23.06.2019 16:00
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
question
Computers and Technology, 24.06.2019 18:20
7. design a circuit with three inputs (x, y, and z) representing the bits in a binary number, and three outputs (a, b, and c) also representing bits in a binary number. when the input is 1, 2, or 3, the binary output should be one lesser than the input. when the input is 4, 5, or 6, the binary output should be one greater than the input. when the input is 0, the output is 0, and when the input is 7, the output is 7. show your truth table, all computations for simplification, and the final circuit.
Answers: 2
You know the right answer?
Design a MIPS processor supporting only the R-type and the jset rs, rt, rd instruction. The jset rs,...
Questions
question
Mathematics, 16.03.2020 21:29