2. Find out the control signal for the following instructions. The complete datapath and control signals given as following: 15 PCSrc >Add ALU result Add Shift | left 2 RegWrite Instruction [25-21) Read register 1 Read register 2 Read address Read data 1 MemWrite PC Instruction [20-16) MemtoReg ALUSIC Zero Instruction [31-0) Read data 2 ALU Write register ALU result Read Address data

Introductory Circuit Analysis (13th Edition)
13th Edition
ISBN:9780133923605
Author:Robert L. Boylestad
Publisher:Robert L. Boylestad
Chapter1: Introduction
Section: Chapter Questions
Problem 1P: Visit your local library (at school or home) and describe the extent to which it provides literature...
icon
Related questions
Question
100%
ALUOP - ALU control from control 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 SUB $s0, $t0, $t1
RegDst, ALUSrc, RegWrite for instruction ADDIU $s1, $t0, 50
ALUSrc, MemRead, MemToReg for instruction LW $s1, 8($t2)
PCSrc, ALUOP, ALUSrc for instruction BNEQ $s2, $s3, 10.. Assume $s2 and $s3 not equal
Transcribed Image Text:ALUOP - ALU control from control 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 SUB $s0, $t0, $t1 RegDst, ALUSrc, RegWrite for instruction ADDIU $s1, $t0, 50 ALUSrc, MemRead, MemToReg for instruction LW $s1, 8($t2) PCSrc, ALUOP, ALUSrc for instruction BNEQ $s2, $s3, 10.. Assume $s2 and $s3 not equal
2. Find out the control signal for the following instructions. The complete datapath and control
signals given as following:
15
PCSrc
>Add
ALU
result
Add
Shift
| left 2
RegWrite
Instruction [25-21)
Read
register 1
Road
register 2
Write
register
Write
| data Registers
Read
data 1
MemWrito
Read
address
Instruction
(31-0)
PC
Instruction [20-16)
ALUSIC
MemtoReg
Read
data 2
Zero
ALU ALU
result
Read
data
Address
Instruction
Instruction (15-11
memory
Data
Regbst
Instruction (15-0)
Write
data memory
16
Sign
32
extend
ALU
MemRead
control
Instruction (5-0)
ALUOP
ALUOP - ALU control from control signals
- Sax o
Transcribed Image Text:2. Find out the control signal for the following instructions. The complete datapath and control signals given as following: 15 PCSrc >Add ALU result Add Shift | left 2 RegWrite Instruction [25-21) Read register 1 Road register 2 Write register Write | data Registers Read data 1 MemWrito Read address Instruction (31-0) PC Instruction [20-16) ALUSIC MemtoReg Read data 2 Zero ALU ALU result Read data Address Instruction Instruction (15-11 memory Data Regbst Instruction (15-0) Write data memory 16 Sign 32 extend ALU MemRead control Instruction (5-0) ALUOP ALUOP - ALU control from control signals - Sax o
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Basic Signals and Its Properties
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Introductory Circuit Analysis (13th Edition)
Introductory Circuit Analysis (13th Edition)
Electrical Engineering
ISBN:
9780133923605
Author:
Robert L. Boylestad
Publisher:
PEARSON
Delmar's Standard Textbook Of Electricity
Delmar's Standard Textbook Of Electricity
Electrical Engineering
ISBN:
9781337900348
Author:
Stephen L. Herman
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Electrical Engineering
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education
Fundamentals of Electric Circuits
Fundamentals of Electric Circuits
Electrical Engineering
ISBN:
9780078028229
Author:
Charles K Alexander, Matthew Sadiku
Publisher:
McGraw-Hill Education
Electric Circuits. (11th Edition)
Electric Circuits. (11th Edition)
Electrical Engineering
ISBN:
9780134746968
Author:
James W. Nilsson, Susan Riedel
Publisher:
PEARSON
Engineering Electromagnetics
Engineering Electromagnetics
Electrical Engineering
ISBN:
9780078028151
Author:
Hayt, William H. (william Hart), Jr, BUCK, John A.
Publisher:
Mcgraw-hill Education,