In the space below list the sequence of processes in the execution order that are on the critical path for the swi instruction. (Processes to choose from are: Register Read, Register Write, Memory Read, Memory Write, ALU1, ALU2, MuxALUSrc1, MUXALUSrc2, MuxALUSrc3, SignExtension, Instruction Memory, Add). What is the minimum cycle time needed to execute this instruction?

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
Topic Video
Question
Quiz 5: In this problem we want to set the control signals of the datapath shown
below (also in in slide # 1 of "chapter3_single_cycle_datapaths.pptx") so that it
supports execution of a new instruction called swi.
Single Cycle Datapath:
PC
Read Instru-
address
ction
[31-0]
Instruction
memory
Sns
Add
Ins
1 [25-21]
1 [20-16]
[15-11].
1[10-0]
RegWrite
Read
register 1
Read
register 2
Write
register
Write
data
Read
data 1
Read
data 2
Read Ins
Write 3ns
Sign
extend
2ns
MemWrite
Read Read
address data
Write
address
Read Gns
Write
data Write 10ns
ins
ALUSTO1
MemRead
ALU
Result
2ns
ALUOP1
-XEWO)
ins
ALUSrc2
ALUSrc3
x=3
ins
ALU
Result
2ns
ALUOP2
swi rd, rs, rt, imm # Memory [R[rs]]= R[rt],
R[rd] =R [rs]+R [rt]+Imm
#this instruction copies contents of "rt" register into the
main memory addressed by the "rs" register. In the same cycle
it add "rs" and "rt" register contents along with the "imm"
field of the instruction and writes the final result into the
"rd" register.
You are NOT allowed to modify the datapath. ALU operation (ALUOP) can be add,
sub, mul, sll, and srl. Indicate the value of each control signal (RegWrite, ALUSrc1,
ALUSrc2, ALUSrc3, ALUOp1, ALUOp2, MemRead, MemWrite). You must use "X" for
control signals when applicable.
In the space below list the sequence of processes in the execution order that are on
the critical path for the swi instruction. (Processes to choose from are: Register Read,
Register Write, Memory Read, Memory Write, ALU1, ALU2, MuxALUSrc1,
MUXALUSrc2, MuxALUSrc3, SignExtension, Instruction Memory, Add). What is the
minimum cycle time needed to execute this instruction?
Transcribed Image Text:Quiz 5: In this problem we want to set the control signals of the datapath shown below (also in in slide # 1 of "chapter3_single_cycle_datapaths.pptx") so that it supports execution of a new instruction called swi. Single Cycle Datapath: PC Read Instru- address ction [31-0] Instruction memory Sns Add Ins 1 [25-21] 1 [20-16] [15-11]. 1[10-0] RegWrite Read register 1 Read register 2 Write register Write data Read data 1 Read data 2 Read Ins Write 3ns Sign extend 2ns MemWrite Read Read address data Write address Read Gns Write data Write 10ns ins ALUSTO1 MemRead ALU Result 2ns ALUOP1 -XEWO) ins ALUSrc2 ALUSrc3 x=3 ins ALU Result 2ns ALUOP2 swi rd, rs, rt, imm # Memory [R[rs]]= R[rt], R[rd] =R [rs]+R [rt]+Imm #this instruction copies contents of "rt" register into the main memory addressed by the "rs" register. In the same cycle it add "rs" and "rt" register contents along with the "imm" field of the instruction and writes the final result into the "rd" register. You are NOT allowed to modify the datapath. ALU operation (ALUOP) can be add, sub, mul, sll, and srl. Indicate the value of each control signal (RegWrite, ALUSrc1, ALUSrc2, ALUSrc3, ALUOp1, ALUOp2, MemRead, MemWrite). You must use "X" for control signals when applicable. In the space below list the sequence of processes in the execution order that are on the critical path for the swi instruction. (Processes to choose from are: Register Read, Register Write, Memory Read, Memory Write, ALU1, ALU2, MuxALUSrc1, MUXALUSrc2, MuxALUSrc3, SignExtension, Instruction Memory, Add). What is the minimum cycle time needed to execute this instruction?
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Instruction Format
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
  • SEE MORE 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