Find out the control signal for the following instructions. The complete datapath and control signals given as following:
Find out the control signal for the following instructions. The complete datapath and control signals given as following:
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
Related questions
Question
Find out the control signal for the following instructions. The complete datapath and control signals given as following:
![PCSrc
Add
ALU
result
Add
Shift
RegWrite
left 2
Instruction (25-21)
Read
address
Read
register 1
Read
Read
data 1
PC
MemWrito
Instruction [20-16)
|MemtoReg
ALUSrc
register 2
Instruction
[31-0)
Zero
ALU ALU
result
Read
Write
register
Write
data
Read
data
data 2
Address
Instruction [15-11
Instruction
memory
Registers
Data
RegDst
Instruction (15-0)
Write
data
memory
16
Sign 32
extend
ALU
control
MemRead
Instruction (5-0]
ALUOP
Two ALUOP signals
Seven other signals
RegDst - which field for write register
RegWrite - write to register file
ALUSrc - source for second ALU input
PCSrc - source for PC (PC + 4 or target address)
MemRead - read input address from memory
MemWrite - write input address/data to memory
MemToReg - source of write register port data input
Branch control signal (set when instruction is branch)
RegDst, PCSrc, ALUOP for instruction ADD $s0, $t0, $t1
RegDst, PCSrc for instruction ADDI $s1, $t0, 50
ALUSrc, MemRead, MemToReg for instruction SW $s1, 8($t2)
PCSrc, ALUOP, ALUSrc for instruction BEQ $s2, $3, 10.. Assume $s2=$s3
- Eax O](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F96b0fb74-e253-47ed-82c8-206c1288674c%2Fa1169c0e-db50-4b84-a8d0-9c709757da3e%2F0h5jxav_processed.png&w=3840&q=75)
Transcribed Image Text:PCSrc
Add
ALU
result
Add
Shift
RegWrite
left 2
Instruction (25-21)
Read
address
Read
register 1
Read
Read
data 1
PC
MemWrito
Instruction [20-16)
|MemtoReg
ALUSrc
register 2
Instruction
[31-0)
Zero
ALU ALU
result
Read
Write
register
Write
data
Read
data
data 2
Address
Instruction [15-11
Instruction
memory
Registers
Data
RegDst
Instruction (15-0)
Write
data
memory
16
Sign 32
extend
ALU
control
MemRead
Instruction (5-0]
ALUOP
Two ALUOP signals
Seven other signals
RegDst - which field for write register
RegWrite - write to register file
ALUSrc - source for second ALU input
PCSrc - source for PC (PC + 4 or target address)
MemRead - read input address from memory
MemWrite - write input address/data to memory
MemToReg - source of write register port data input
Branch control signal (set when instruction is branch)
RegDst, PCSrc, ALUOP for instruction ADD $s0, $t0, $t1
RegDst, PCSrc for instruction ADDI $s1, $t0, 50
ALUSrc, MemRead, MemToReg for instruction SW $s1, 8($t2)
PCSrc, ALUOP, ALUSrc for instruction BEQ $s2, $3, 10.. Assume $s2=$s3
- Eax O
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps

Knowledge Booster
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.Recommended textbooks for you

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

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)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education