Computer Notes, Programming codes, Hardware and Networking Tip, Entertainment, Biography, Internet Tip, Tech News, Latest Technology, YouTube,

Pipelining Hazards

Pipelining Hazards, Define arithmetic pipelining. Explain pipelining hazards with examples, Arithmetic Piplining Hazards, Types of Piplining Hazards, MICT Computer Architecture notes, MICT 1st semester CA Notes, Pipelining Hazards,

Define arithmetic pipelining. Explain pipelining hazards with examples. 




Pipelining is a technique where multiple instructions are overlapped during execution. Pipeline is divided into stages and these stages are connected with one another to form a pipe like structure. Instructions enter from one end and exit from another end. There are two types of pipeline. 
  1. Arithmetic Pipeline
  2. Instruction Pipeline 
Arithmetic pipelines are usually found in most of the computers. They are used for floating point operations, multiplication of fixed point numbers etc.
Pipeline hazards are situations that prevent the next instruction in the instruction stream from 



Pipelining Hazards 
Pipeline hazards are situations that prevent the next instruction in the instruction stream from executing during its designated clock cycles. In another word, any condition that causes a stall in the pipeline operations can be called a hazard. There are mainly three types of hazards, They are : 

  1. Data Hazards
  2. Control Hazards or instruction Hazards
  3. Structural Hazards.

Example:  
A=3+A
B=A*4

For the above sequence, the second instruction needs the value of ‘A’ computed in the first instruction. Thus the second instruction is said to depend on the first. In this situation data hazards is arises.  A data hazard is any condition in which either the source or the destination operands of an instruction are not available at the time expected in the pipeline.

Post a Comment

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget