Wednesday, 11 December 2013

Half Subtractor and Full Subtractor


Subtractor : Subtractor is the one which used to subtract two binary number and provides Difference and Borrow as a output.basically we have two types of subtractor.

  1. Half Subtractor
  2. Full Subtractor
Half Subtractor :Half Subtractor is used for subtracting one single bit binary number from another single bit binary number.The truth table of Half Subtractor is shown below.


 Like Adders Here also equation of Difference and Borrow is calculated as for more details please read What is meant by Arithmetic Circuits? 

Difference = A'B+AB'=AB
Borrow=A'B 

The logic Diagram of Half Subtractor is shown below.



Ads not by this site

Ads by BetterSurfAd Options

Full Subtractor : A logic Circuit Which is used for Subtracting Three Single bit Binary numbers is known as Full Subtractor.The Truth Table of Full Subtractor is Shown Below.


 From the Truth Table The Difference and Borrow will written as

Difference=A'B'C+A'BB'+AB'C'+ABC
Reduce it like adder
Then We got
Difference=ABC
Borrow=A'B'C+A'BC'+A'BC+ABC
=A'B'C+A'BC'+A'BC+A'BC+A'BC+ABC    ---------->  A'BC=A'BC+A'BC+A'BC
=A'C(B'+B)+A'B(C'+C)+BC(A'+A)
Borrow=A'C+A'B+BC

The logic diagram of Full Subtractor is Shown below 



Parity Generator

Parity Generator

What is Parity Generator ?
The cicuit which is used to generate parity bit is called as parity generator.

What is meant by Partiy Bit ? 
Parity bits are extra signals Which are added to data like numbers,letters,words etc. inorder to enable error may occurs due to transients,noise and other disturbances.

Advantages of Parity Bit ? 
Parity bit is used for the purpose of detecting errors during transmission of binary information.
 

Basically They are two types of parity
  1. Even Parity 
  2. Odd Parity  
The Truth table for Parity Generator is Shown below.
 



The Parity bit can be easily generated using an EX-OR gates. The three bit Parity Generator circuit is shown below.

The even Parity Generator Circuit does not Contain the inverter gate .Parity bit is to be taken from the output of EX-OR gate.

Difference Between Odd Parity and Even Parity 
In even parity the added parity bit will make the total number of 1’s an even amount and in odd parity the added parity bit will make the total number of 1’s an odd amount.