In this exercise, we examine how pipelining affects the clock cycle time of the processor. Problems in this exercise assume that individual stages of the datapath have the following latencies: IF ID EX MEM WB 270 ps 150 ps 240 ps 290 ps 180 ps Also, assume that instructions executed by the processor are broken down as follows: alu beq lw sw 40% 15% 35% 10% 3.0.1 What is the clock cycle time in a pipelined and non-pipelined processor? 3.0.2 Assuming there are no stalls or hazards, what is the utilization of the data memory? 3.0.3 Instead of a single-cycle organization, we can use a multi-cycle organization where each instruction takes multiple cycles but one instruction finishes before another instruction is fetched. In this organization, an instruction only goes through stages it actually needs (e.g. ST only takes 4 cycles because it does not need the WB stage). Compare clock cycle times and execution times with single cycle, multi-cycle, and pipelined organization.
In this exercise, we examine how pipelining affects the clock cycle time of the processor. Problems in this exercise assume that individual stages of the datapath have the following latencies:
IF |
ID |
EX |
MEM |
WB |
270 ps |
150 ps |
240 ps |
290 ps |
180 ps |
Also, assume that instructions executed by the processor are broken down as follows:
alu |
beq |
lw |
sw |
40% |
15% |
35% |
10% |
3.0.1 What is the clock cycle time in a pipelined and non-pipelined processor?
3.0.2 Assuming there are no stalls or hazards, what is the utilization of the data memory?
3.0.3 Instead of a single-cycle organization, we can use a multi-cycle organization where each instruction takes multiple cycles but one instruction finishes before another instruction is fetched. In this organization, an instruction only goes through stages it actually needs (e.g. ST only takes 4 cycles because it does not need the WB stage). Compare clock cycle times and execution times with single cycle, multi-cycle, and pipelined organization.
![M
Ex.
4
U PC Address
Add
Instruction
memory
IF/D
Instruction
Read
register 1
Read
register 2
Registers
Write
register
Write
data
RegWrite
Instruction
(15-0)
Instruction
(20-16)
Instruction
(15-11)
16
Read
data 1
Read
data 2
Sign-
extend
32
ID/EX
Shift
left 2
ALUSIC
0
AddAdd
result
RegDst
M
ALU
control
0 ALUOP
M
U
Copyright © 2021 Elsevier Inc. All rights reserved
Zero
Add ALU
result
EX/MEM
Branch
Address
Write
data
PCSrc
MemWrite
Data
memory
MemRead
Read
data
MEM/WB
MemtoReg
IMUNO](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F69f01e34-6a53-47ef-9854-f1c5594a3899%2F591e2170-fafc-4605-a883-9cae5c1283c2%2F2mpdzno_processed.jpeg&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 5 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)