Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Azure SQL Database For Modern Developers Building Applications In The Microsoft Cloud

Authors: Davide Mauri, Silvano Coriani, Anna Hoffma, Sanjay Mishra, Jovan Popovic

1st Edition

1484263693, 978-1484263693

More Books

Students also viewed these Databases questions

Question

2. What type of team would you recommend?

Answered: 1 week ago

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago