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
icon
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
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
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Boolean Algebra and Digital Logics
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
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