2) Consider the complete datapath as shown in Figure 4.15 below. Additionally, assume that the following latencies would be associated with the datapath: Operation Latency (time) Fetch instruction - Mem(PC) 2 ns Read from register file 2 ns ALU operation 3 ns Increment PC by 4 1 ns Change PC depending on 1 ns conditional branch instruction Access data memory 2 ns Register write back 2 ns a) Which MIPS instruction will set the clock cycle time (and hence the clock rate)? b) Given the latencies from the table, what would be the clock rate for this single cycle datapath? Show all work. Add Shift RegWrite left 2, ALU Addresult Instruction [25:21] PC Read address Instruction [20:16] Instruction [31:0] Instruction memory Instruction [15:11] Read register 1 Read register 2 Write register Read data 1 ALUSrc Zero Read data 2 OMX ALU ALU result Write data Registers RegDst Instruction [15:0] 16 32 Sign- extend ALU control Instruction [5:0] ALUOP PCSrc MemWrite MemtoReg Read Address data Data Write memory data MemRead -MOXO) FIGURE 4.15 The datapath of Figure 4.11 with all necessary multiplexors and all control lines identified. The control lines are shown in color. The ALU control block has also been added. The PC does not require a write control, since it is written once at the end of every clock cycle; the branch control logic determines whether it is written with the incremented PC or the branch target address.

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

Refer to the screenshot;

2)
Consider the complete datapath as shown in Figure 4.15 below. Additionally, assume
that the following latencies would be associated with the datapath:
Operation
Latency (time)
Fetch instruction - Mem(PC)
2 ns
Read from register file
2 ns
ALU operation
3 ns
Increment PC by 4
1 ns
Change PC depending on
1 ns
conditional branch instruction
Access data memory
2 ns
Register write back
2 ns
a) Which MIPS instruction will set the clock cycle time (and hence the clock rate)?
b)
Given the latencies from the table, what would be the clock rate for this single
cycle datapath? Show all work.
Add
Shift
RegWrite
left 2,
ALU
Addresult
Instruction [25:21]
PC
Read
address
Instruction [20:16]
Instruction
[31:0]
Instruction
memory
Instruction [15:11]
Read
register 1
Read
register 2
Write
register
Read
data 1
ALUSrc
Zero
Read
data 2
OMX
ALU ALU
result
Write
data Registers
RegDst
Instruction [15:0]
16
32
Sign-
extend
ALU
control
Instruction [5:0]
ALUOP
PCSrc
MemWrite
MemtoReg
Read
Address data
Data
Write memory
data
MemRead
-MOXO)
FIGURE 4.15 The datapath of Figure 4.11 with all necessary multiplexors and all control lines identified. The control
lines are shown in color. The ALU control block has also been added. The PC does not require a write control, since it is written once at the end
of every clock cycle; the branch control logic determines whether it is written with the incremented PC or the branch target address.
Transcribed Image Text:2) Consider the complete datapath as shown in Figure 4.15 below. Additionally, assume that the following latencies would be associated with the datapath: Operation Latency (time) Fetch instruction - Mem(PC) 2 ns Read from register file 2 ns ALU operation 3 ns Increment PC by 4 1 ns Change PC depending on 1 ns conditional branch instruction Access data memory 2 ns Register write back 2 ns a) Which MIPS instruction will set the clock cycle time (and hence the clock rate)? b) Given the latencies from the table, what would be the clock rate for this single cycle datapath? Show all work. Add Shift RegWrite left 2, ALU Addresult Instruction [25:21] PC Read address Instruction [20:16] Instruction [31:0] Instruction memory Instruction [15:11] Read register 1 Read register 2 Write register Read data 1 ALUSrc Zero Read data 2 OMX ALU ALU result Write data Registers RegDst Instruction [15:0] 16 32 Sign- extend ALU control Instruction [5:0] ALUOP PCSrc MemWrite MemtoReg Read Address data Data Write memory data MemRead -MOXO) FIGURE 4.15 The datapath of Figure 4.11 with all necessary multiplexors and all control lines identified. The control lines are shown in color. The ALU control block has also been added. The PC does not require a write control, since it is written once at the end of every clock cycle; the branch control logic determines whether it is written with the incremented PC or the branch target address.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 1 steps

Blurred answer
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