What would be the control signals for evaluating this instruction. Let this instruction be of R-type. Select the most suitable answers (if any).

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
Assume that we want to add the following instruction to the given MIPS single cycle data-path:
1wd $rd, $rs, $rt
# R[$rd] = Mem[ R[$rt] + R[$rs] ]
What would be the control signals for evaluating this instruction. Let this instruction be of R-type. Select the most suitable answers (if any).
Add
PC
Add
Shift
left 2
PCSrc
RegWrite
MemToReg
Read Instruction 25 - 21)
address 31-01
MemWite
Read
data 1
Read
register 1
ALU
Read
address
Read
u/20 -16)
Read
Zero
data
Instruction
register 2
Read
data 2
Result
Wirte
address
memory
Write
register
Data
Wite
ut15 - 11
Registers
memory
Write
ALUOP
data
data
MemRead
RegDst
|(15 - 01
ALUSrc
Sign
bextend
Select one:
a.RegDst = 1, RegWrite = 1, ALUSrc = 0, ALUOP = add, MemWrite = x, MemRead = 1, MemToReg = 1, PCSrc = 0
%3D
b.None of the given answers.
c.RegDst = 0, RegWrite = 1, ALUSrc = 0, ALUOP = add, MemWrite = 0, MemRead = 1, MemToReg = 1, PCSrc = 0
d.RegDst = 1, RegWrite = 1, ALUSrc = 0, ALUOP = add, MemWrite = 0, MemRead = 1, MemToReg = 1, PCSrc = 0
e.RegDst = 1, RegWrite = 1, ALUSrc = 0, ALUOP = add, MemWrite = 0, MemRead = 0, MemToReg = 1, PCSrc = 0
Transcribed Image Text:Assume that we want to add the following instruction to the given MIPS single cycle data-path: 1wd $rd, $rs, $rt # R[$rd] = Mem[ R[$rt] + R[$rs] ] What would be the control signals for evaluating this instruction. Let this instruction be of R-type. Select the most suitable answers (if any). Add PC Add Shift left 2 PCSrc RegWrite MemToReg Read Instruction 25 - 21) address 31-01 MemWite Read data 1 Read register 1 ALU Read address Read u/20 -16) Read Zero data Instruction register 2 Read data 2 Result Wirte address memory Write register Data Wite ut15 - 11 Registers memory Write ALUOP data data MemRead RegDst |(15 - 01 ALUSrc Sign bextend Select one: a.RegDst = 1, RegWrite = 1, ALUSrc = 0, ALUOP = add, MemWrite = x, MemRead = 1, MemToReg = 1, PCSrc = 0 %3D b.None of the given answers. c.RegDst = 0, RegWrite = 1, ALUSrc = 0, ALUOP = add, MemWrite = 0, MemRead = 1, MemToReg = 1, PCSrc = 0 d.RegDst = 1, RegWrite = 1, ALUSrc = 0, ALUOP = add, MemWrite = 0, MemRead = 1, MemToReg = 1, PCSrc = 0 e.RegDst = 1, RegWrite = 1, ALUSrc = 0, ALUOP = add, MemWrite = 0, MemRead = 0, MemToReg = 1, PCSrc = 0
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education