10 Parity Checker Circuit

5
DIGITAL ELECTRONICS (331102) 39 | Page SOHIL VOHRA (LECTURER - SHRI K.J. POLYTECHNIC COLLEGE, BHARUCH (C.E. DEPTT)) PRACTICAL: 10 TO REALIZE THE PARITY CHECKER CIRCUIT 1.0 AIM : To design and realize the Parity checker circuit 2.0 PRIOR CONCEPTS : Knowledge of working of AND, OR, NOT gate. 3.0 INTRODUCTION The most common error detection code used is the parity bit. A parity bit is an extra bit included with a binary message to make the total number of 1's either odd or even. In case of even parity, the parity bit is chosen so that the total number of 1's in the coded message is even. Alternatively, odd parity can be used in which the total number of 1's in the coded message is made odd. During transfer of information, the message at the sending-end is applied to a parity generator where the parity pit is generated. At the receiving-end a parity checker is used to detect single bit error in the transmitted data word by regenerate the parity bit in the same fashion as the generator and then compare with the parity bit transmitted. 4.0 EVEN PARITY GENERATOR AND CHECKER 4.1 EVEN PARITY GENERATOR : An even-parity bit generator will produce a “1” or “0” depending on what is needed to make the total number of 1’s in the entire group of digits (including parity bit) an “even” number. Example: For the following group of digits 0111 the parity bit would be a “1”; for 0101, the parity bit would be a “0”.

description

parity checker and generator Explained in Digital Electronics

Transcript of 10 Parity Checker Circuit

Page 1: 10 Parity Checker Circuit

DIGITAL ELECTRONICS (331102)

39 | P a g e SOHIL VOHRA (LECTURER - SHRI K.J. POLYTECHNIC COLLEGE, BHARUCH (C.E. DEPTT))

PRACTICAL: 10

TO REALIZE THE PARITY CHECKER CIRCUIT

1.0 AIM :

To design and realize the Parity checker circuit

2.0 PRIOR CONCEPTS :

Knowledge of working of AND, OR, NOT gate.

3.0 INTRODUCTION

The most common error detection code used is the parity bit.

A parity bit is an extra bit included with a binary message to make the total

number of 1's either odd or even.

In case of even parity, the parity bit is chosen so that the total number of 1's in

the coded message is even.

Alternatively, odd parity can be used in which the total number of 1's in the

coded message is made odd.

During transfer of information, the message at the sending-end is applied to a

parity generator where the parity pit is generated.

At the receiving-end a parity checker is used to detect single bit error in the

transmitted data word by regenerate the parity bit in the same fashion as the

generator and then compare with the parity bit transmitted.

4.0 EVEN PARITY GENERATOR AND CHECKER

4.1 EVEN PARITY GENERATOR :

An even-parity bit generator will produce

a “1” or “0” depending on what is needed

to make the total number of 1’s in the

entire group of digits (including parity

bit) an “even” number.

Example: For the following group of

digits – 0111 – the parity bit would be a

“1”; for 0101, the parity bit would be a

“0”.

Page 2: 10 Parity Checker Circuit

DIGITAL ELECTRONICS (331102)

40 | P a g e SOHIL VOHRA (LECTURER - SHRI K.J. POLYTECHNIC COLLEGE, BHARUCH (C.E. DEPTT))

4.2 EVEN PARITY CHECKER :

An even-parity bit checker will produce an error (“1”) if the number of bits in the

entire group of digits – including the parity bit – is not an even number.

Example: For the following group of digits – 10111 – the error output would be a

“0”; for 10101, the error output would be a “1”.

5.0 EXERCISE :

5.1 Define Parity.

Page 3: 10 Parity Checker Circuit

DIGITAL ELECTRONICS (331102)

41 | P a g e SOHIL VOHRA (LECTURER - SHRI K.J. POLYTECHNIC COLLEGE, BHARUCH (C.E. DEPTT))

5.2 Fill up the following truth table for an even parity generator.

Page 4: 10 Parity Checker Circuit

DIGITAL ELECTRONICS (331102)

42 | P a g e SOHIL VOHRA (LECTURER - SHRI K.J. POLYTECHNIC COLLEGE, BHARUCH (C.E. DEPTT))

5.3 Fill up the following truth table for an even parity checker.

5.4 Can we design the whole circuit using NAND gates? Why or Why not?

Page 5: 10 Parity Checker Circuit

DIGITAL ELECTRONICS (331102)

43 | P a g e SOHIL VOHRA (LECTURER - SHRI K.J. POLYTECHNIC COLLEGE, BHARUCH (C.E. DEPTT))

6.0 ASSIGNMENTS :

6.1 With reference to the figures of even parity checker and generator draw

the figures of odd parity generator and checker.

6.2 Can the even – parity checker detect the following error in transmission?

Why or why not?

Transmitted data : 0101 0011

Received date : 0100 0010

6.3 Design the parity generator circuit using NAND gate.

6.4 Design the parity checker circuit using NOR gate.

Grades for Exercise: .................................................

Grades for Assignment: .................................................

Signature of Lab Co-ordinators: .................................................