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, 21.06.2019 15:00
1. what are the biggest risks when using the public internet as a wide area network (wan) or transport for remote access to your organization’s it infrastructure?
Answers: 2
question
Computers and Technology, 22.06.2019 03:30
Jessie has received a contract to build a real-time application for a baker. however, the baker doesn't want to invest too much money. his only requirement is that he wants the customers to know which cupcakes are available at what time and in what quantity. so his core requirement is that the details of product should be in real time. what platform can jessie use to develop this application?
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
Select the correct answer. andre was recently hired by an organization to check for system vulnerabilities. he is supposed to exploit these vulnerabilities and create a report on the extent of damage to which the system was susceptible. what position does andre hold in this organization? a. information security analyst b. information assurance manager c. penetration tester d. network security engineer e. chief information security officer
Answers: 2
question
Computers and Technology, 23.06.2019 15:30
1. ask the user how many questions are in the quiz. 2. ask the user to enter the key (that is, the correct answers). there should be one answer for each question in the quiz, and each answer should be an integer. e.g., 34 7 13 100 81 3 9 10 321 12 might be the key for a 10-question quiz. you will need to store the key in an array. 3. ask the user to enter the answers for the quiz to be graded. there needs to be one answer for each question. note that these answers do not need to be stored; each answer can simply be compared to the key as it is entered. 4. when the user has entered all of the answers to be graded, print the number correct and the percent correct. 5. add a loop so that the user can grade any number of quizzes with a single key. after the results have been printed for each quiz, ask "grade another quiz? (y/n)." note: you only have one array (the key). you are not creating a new key for each set of quiz answers.
Answers: 3
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, 25.05.2021 17:30
question
Mathematics, 25.05.2021 17:30
question
Mathematics, 25.05.2021 17:30
question
Mathematics, 25.05.2021 17:30
question
Biology, 25.05.2021 17:30
question
Mathematics, 25.05.2021 17:30
question
Mathematics, 25.05.2021 17:30
Questions on the website: 13722363