Instruction Pipeline | Digital Circuits - Electronics and Communication Engineering (ECE) PDF Download

Introduction

Pipeline processing can occur not only in the data stream but in the instruction stream as well.

Most of the digital computers with complex instructions require instruction pipeline to carry out operations like fetch, decode and execute instructions.

In general, the computer needs to process each instruction with the following sequence of steps.

  • Fetch instruction from memory.
  • Decode the instruction.
  • Calculate the effective address.
  • Fetch the operands from memory.
  • Execute the instruction.
  • Store the result in the proper place.

Each step is executed in a particular segment, and there are times when different segments may take different times to operate on the incoming information. Moreover, there are times when two or more segments may require memory access at the same time, causing one segment to wait until another is finished with the memory.
The organization of an instruction pipeline will be more efficient if the instruction cycle is divided into segments of equal duration. One of the most common examples of this type of organization is a Four-segment instruction pipeline.
A four-segment instruction pipeline combines two or more different segments and makes it as a single one. For instance, the decoding of the instruction can be combined with the calculation of the effective address into one segment.
The following block diagram shows a typical example of a four-segment instruction pipeline. The instruction cycle is completed in four segments.

Instruction Pipeline | Digital Circuits - Electronics and Communication Engineering (ECE)

Segment 1
The instruction fetch segment can be implemented using first in, first out (FIFO) buffer.

Segment 2
The instruction fetched from memory is decoded in the second segment, and eventually, the effective address is calculated in a separate arithmetic circuit.

Segment 3
An operand from memory is fetched in the third segment.

Segment 4
The instructions are finally executed in the last segment of the pipeline organization.

The document Instruction Pipeline | Digital Circuits - Electronics and Communication Engineering (ECE) is a part of the Electronics and Communication Engineering (ECE) Course Digital Circuits.
All you need of Electronics and Communication Engineering (ECE) at this link: Electronics and Communication Engineering (ECE)
6 videos|76 docs|52 tests

Top Courses for Electronics and Communication Engineering (ECE)

6 videos|76 docs|52 tests
Download as PDF
Explore Courses for Electronics and Communication Engineering (ECE) exam

Top Courses for Electronics and Communication Engineering (ECE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Sample Paper

,

Summary

,

Free

,

ppt

,

Extra Questions

,

study material

,

practice quizzes

,

mock tests for examination

,

pdf

,

Previous Year Questions with Solutions

,

Important questions

,

Objective type Questions

,

past year papers

,

video lectures

,

Instruction Pipeline | Digital Circuits - Electronics and Communication Engineering (ECE)

,

Viva Questions

,

Exam

,

Instruction Pipeline | Digital Circuits - Electronics and Communication Engineering (ECE)

,

Instruction Pipeline | Digital Circuits - Electronics and Communication Engineering (ECE)

,

shortcuts and tricks

,

MCQs

,

Semester Notes

;