Pipelining in Computer Architecture | GATE Notes (2024)

Pipelining is a technique for breaking down a sequential process into various sub-operations and executing each sub-operation in its own dedicated segment that runs in parallel with all other segments.

In this article, we will dive deeper into Pipelining in Computer Architecture according to the GATE Syllabus for (Computer Science Engineering) CSE. Keep reading ahead to learn more.

Table of Contents

  • Pipelining in Computer Architecture
  • Video on Pipelining in Computer Architecture
  • Pipelining Hazards
  • Practice Problems on Pipelining in Computer Architecture
  • Frequently Asked Questions

Pipelining in Computer Architecture

Pipelining is a technique for breaking down a sequential process into various sub-operations and executing each sub-operation in its own dedicated segment that runs in parallel with all other segments.

The most significant feature of a pipeline technique is that it allows several computations to run in parallel in different parts at the same time.

By associating a register with every segment in the pipeline, the process of computation can be made overlapping. The registers provide separation and isolation among every segment, allowing each to work on different data at the same time.

An input register for each segment, followed by a combinational circuit, can be used to illustrate the structure of a pipeline organisation. To better understand the pipeline organisation, consider an example of a combined multiplication and addition operation.

A stream of numbers is used to perform the combined multiplication and addition operation, such as:

for i = 1, 2, 3, ……., 7

Ai* Bi + Ci

The operation to be done on the numbers is broken down into sub-operations, each of which is implemented in a segment of a pipeline. We can define the sub-operations performed in every segment of the pipeline as:

Input Ai, and Bi

R1 ← Ai, R2 ← Bi

Multiply, and input Ci

R3 ← R1 * R2, R4 ← Ci

Add Ci to the product

R5 ← R3 + R4

The combined and sub-operations conducted in each leg of the pipeline are depicted in the block diagram below:

Pipelining in Computer Architecture | GATE Notes (1)

R1, R2, R3, and R4 Registers hold the data. The combinational circuits then operate in a certain segment.

The output of a given segment’s combinational circuit is used as an input register for the next segment. The register R3 is used here as one of the input registers for a combinational adder circuit, as shown in the block diagram. The pipeline organisation, in general, is applicable to two areas of computer design. It includes:

1. Instruction Pipeline – An instruction pipeline receives sequential instructions from memory while prior instructions are implemented in other portions. Pipeline processing can be seen in both the data and instruction streams. Read more on Instruction Pipeline here.

2. Arithmetic Pipeline – An arithmetic pipeline separates a given arithmetic problem into subproblems that can be executed in different pipeline segments. It’s used for multiplication, floating-point operations, and a variety of other calculations. Read more on Arithmetic Pipeline here.

Video on Pipelining in Computer Architecture

Pipelining in Computer Architecture | GATE Notes (2)

Pipelining Hazards

Whenever any pipeline needs to stall due to any reason, it is known as a pipeline hazard. Some of the pipelining hazards are data dependency, memory delay, branch delay, and resource limitation. Read more on pipeline hazards here.

Practice Problems on Pipelining in Computer Architecture

1. Every stage in the pipelining process must be completed within how many cycles?

a. 4

b. 3

c. 2

d. 1

Answer – (d) 1

2. Which of these can be employed in pipelining to improve memory access speed?

a. Buffers

b. Cache

c. Special purpose registers

d. Special memory locations

Answer – (b) Cache

3. When the data for operands is unavailable, it is referred to as _________.

a. Structural hazard

b. Deadlock

c. Stock

d. Data hazard

Answer – (d) Data hazard

Frequently Asked Questions on Pipelining in Computer Architecture

Q1

What is a pipeline in a CPU?

Pipelining is a technique for breaking down a sequential process into various sub-operations and executing each sub-operation in its own dedicated segment that runs in parallel with all other segments.
The most significant feature of a pipeline technique is that it allows several computations to run in parallel in different parts at the same time.

Q2

What are pipelining hazards?

Whenever any pipeline needs to stall due to any reason, it is known as a pipeline hazard. Some of the pipelining hazards are data dependency, memory delay, branch delay, and resource limitation.

Keep learning and stay tuned to get the latest updates on GATE Exam along with GATE Eligibility Criteria, GATE 2023, GATE Admit Card, GATE Syllabus, GATE Previous Year Question Paper, and more.

Also Explore,

  • Types of Instructions in Computer Architecture
  • Arithmetic Pipeline in Computer Architecture
  • Control Hazards in Computer Architecture
  • Data Hazards in Computer Architecture
  • Instruction Pipeline in Computer Architecture
  • Memory Organization in Computer Architecture
  • Pipeline Hazards in Computer Architecture
  • Structural Hazards in Computer Architecture
Pipelining in Computer Architecture | GATE Notes (2024)
Top Articles
What is Zcash? Everything you need to know about ZEC
Types of Letters of Credit
Foxy Roxxie Coomer
AllHere, praised for creating LAUSD’s $6M AI chatbot, files for bankruptcy
Truist Bank Near Here
It's Official: Sabrina Carpenter's Bangs Are Taking Over TikTok
Is pickleball Betts' next conquest? 'That's my jam'
Missing 2023 Showtimes Near Cinemark West Springfield 15 And Xd
Chase Bank Operating Hours
Craigslist Parsippany Nj Rooms For Rent
Bucks County Job Requisitions
Produzione mondiale di vino
City Of Spokane Code Enforcement
Garrick Joker'' Hastings Sentenced
Jasmine Put A Ring On It Age
Los Angeles Craigs List
Gwdonate Org
Burn Ban Map Oklahoma
2016 Ford Fusion Belt Diagram
Gon Deer Forum
Overton Funeral Home Waterloo Iowa
Driving Directions To Bed Bath & Beyond
라이키 유출
A Biomass Pyramid Of An Ecosystem Is Shown.Tertiary ConsumersSecondary ConsumersPrimary ConsumersProducersWhich
Craigslist Personals Jonesboro
Georgia Cash 3 Midday-Lottery Results & Winning Numbers
Toothio Login
Sherburne Refuge Bulldogs
Cpt 90677 Reimbursem*nt 2023
Craigslist Ludington Michigan
Pixel Combat Unblocked
1636 Pokemon Fire Red U Squirrels Download
Tottenham Blog Aggregator
Pfcu Chestnut Street
Metro By T Mobile Sign In
Does Iherb Accept Ebt
Synchrony Manage Account
In Polen und Tschechien droht Hochwasser - Brandenburg beobachtet Lage
Amc.santa Anita
Strange World Showtimes Near Century Stadium 25 And Xd
Spurs Basketball Reference
Port Huron Newspaper
Tacos Diego Hugoton Ks
Phmc.myloancare.com
Dying Light Mother's Day Roof
Das schönste Comeback des Jahres: Warum die Vengaboys nie wieder gehen dürfen
Mlb Hitting Streak Record Holder Crossword Clue
Random Warzone 2 Loadout Generator
Quest Diagnostics Mt Morris Appointment
What Time Do Papa John's Pizza Close
Fallout 76 Fox Locations
Latest Posts
Article information

Author: Terence Hammes MD

Last Updated:

Views: 6636

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Terence Hammes MD

Birthday: 1992-04-11

Address: Suite 408 9446 Mercy Mews, West Roxie, CT 04904

Phone: +50312511349175

Job: Product Consulting Liaison

Hobby: Jogging, Motor sports, Nordic skating, Jigsaw puzzles, Bird watching, Nordic skating, Sculpting

Introduction: My name is Terence Hammes MD, I am a inexpensive, energetic, jolly, faithful, cheerful, proud, rich person who loves writing and wants to share my knowledge and understanding with you.