SlideShare a Scribd company logo
PARITY GENERATOR AND
CHECKER
• Irregular changes to data, as it is
recorded when it is entered in
memory.
• Different types of parity errors can
require the retransmission of data or
cause serious system errors, such
as system crashes.
Parity error
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
totalnumber 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 inthe coded message is even.
Alternatively, odd parity can be
used in which the total number
of 1's in thecoded message is
made odd.
During transfer of information,
the message at the sending-end
is applied to aparity generator
where the parity pit is generated.
Computers can sometimes
make errors when they
transmit data.
Even/odd parity:
Is basic method for detecting
if an odd number of bits has
been switched by accident.
The number of 1-bit must add up
to an odd number
Odd parity:
Even parity:
The number of 1-bit must add up to an
even number
Parity checking uses parity bits to check
that data has been transmitted accurately.
The parity bit is added to every data unit
(typically seven or eight bits) that are
transmitted. The parity bit for each unit is set
so that all bytes have either an odd number
or an even number of set bits.
Parity checker
How Parity Checking Works
1. Assume, for example, that two devices are communicating with even
parity (the most common form of parity checking). As the transmitting
device sends data, it counts the number of set bits in each group of
seven bits. If the number of set bits is even, it sets the parity bit to 0; if
the number of set bits is odd, it sets the parity bit to 1. In this way,
every byte has an even number of set bits. On the receiving side, the
device checks each byte to make sure that it has an even number of
set bits. If it finds an odd number of set bits, the receiver knows there
was an error during transmission.
2. The sender and receiver must both agree to use parity checking and
to agree on whether parity is to be odd or even. If the two sides are
not configured with the same parity sense, communication will be
impossible
To calculate parity data for two drives, an XOR is performed on their data:
01101101
XOR 11010100
_____________
10111001
The resulting parity data, 10111001, is then stored on Drive 3.
XOR AND XNOR ARE USED GENERALLY TO
CHECK THE PARITY
Even parity
Odd parity
Integrated-Circuit Parity
Generator/Checker
74280 TTL IC logic symbol and Function
Table
Parity Generator/Checker
applications:
•One important application of the use of an Exclusive-
OR gate is to generate parity.
•Parity is used to detect errors in transmitted data
caused by noise or other disturbances.
•A parity bit is an extra bit that is added to a data word
and can be either odd or even parity.
•In an even parity system, the sum of all the bits
(including the parity bit) is an even number
In an odd parity system the sum of all the bits must be
an odd number.
•The circuit that creates the parity bit at the transmitter
is called the parity generator.
The circuit that determines if the received data is
correct is the parity checker.
•Parity is good for detecting a single bit error only.
•The parity generator and the parity checker can both
be built using Exclusive-OR gates.
THANK YOU!

More Related Content

Similar to PARITY_GENERATOR_AND_CHECKER_PPT.pptx

Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
Jignesh Navdiya
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
AhmedMuhumed2
 
Error correction and detection th
Error correction and detection thError correction and detection th
Error correction and detection th
ShardaSalunkhe1
 
UNIT-V.pptx
UNIT-V.pptxUNIT-V.pptx
UNIT-V.pptx
amudhak10
 
22BA013 IM.pptx
22BA013 IM.pptx22BA013 IM.pptx
22BA013 IM.pptx
JananiHepta
 
COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2
BON SECOURS COLLEGE FOR WOMEN
 
Computer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdfComputer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdf
SushantRaj25
 
computer network-unit 2
computer network-unit 2computer network-unit 2
computer network-unit 2
sharmilas38
 
III_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptxIII_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptx
ShantanuDharekar
 
9_Hamming Code.pdf
9_Hamming Code.pdf9_Hamming Code.pdf
9_Hamming Code.pdf
AMITKUMAR938671
 
Information Processes and Technology HSC Communications Unit
Information Processes and Technology HSC Communications UnitInformation Processes and Technology HSC Communications Unit
Information Processes and Technology HSC Communications Unit
pezhappy99
 
Error control
Error controlError control
Error control
selvakumar_b1985
 
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET- Resolve Error with Detection & Correction Techniques in Computer NetworksIRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET Journal
 
SPI AND UART COMMUNICATION PROTOCOLS
SPI AND UART COMMUNICATION PROTOCOLSSPI AND UART COMMUNICATION PROTOCOLS
SPI AND UART COMMUNICATION PROTOCOLS
DHIVYA MANI
 
Sak
SakSak
Error.pdf
Error.pdfError.pdf
Error.pdf
IvyRamosCaones
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
Sisir Ghosh
 
Digital Communication GRP1 (1).pptx
Digital Communication GRP1 (1).pptxDigital Communication GRP1 (1).pptx
Digital Communication GRP1 (1).pptx
gidati3640
 
5.Error correction-Hamming Code.pptx
5.Error correction-Hamming Code.pptx5.Error correction-Hamming Code.pptx
5.Error correction-Hamming Code.pptx
AswathiThotz
 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codes
Revathi Subramaniam
 

Similar to PARITY_GENERATOR_AND_CHECKER_PPT.pptx (20)

Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
 
Satellite error detection and correction presentation
Satellite error detection and correction presentationSatellite error detection and correction presentation
Satellite error detection and correction presentation
 
Error correction and detection th
Error correction and detection thError correction and detection th
Error correction and detection th
 
UNIT-V.pptx
UNIT-V.pptxUNIT-V.pptx
UNIT-V.pptx
 
22BA013 IM.pptx
22BA013 IM.pptx22BA013 IM.pptx
22BA013 IM.pptx
 
COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2COMPUTER NETWORKS UNIT 2
COMPUTER NETWORKS UNIT 2
 
Computer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdfComputer Organisation and Architecture :Module M-1.pdf
Computer Organisation and Architecture :Module M-1.pdf
 
computer network-unit 2
computer network-unit 2computer network-unit 2
computer network-unit 2
 
III_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptxIII_UNIT_ErrorCorrecting.pptx
III_UNIT_ErrorCorrecting.pptx
 
9_Hamming Code.pdf
9_Hamming Code.pdf9_Hamming Code.pdf
9_Hamming Code.pdf
 
Information Processes and Technology HSC Communications Unit
Information Processes and Technology HSC Communications UnitInformation Processes and Technology HSC Communications Unit
Information Processes and Technology HSC Communications Unit
 
Error control
Error controlError control
Error control
 
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET- Resolve Error with Detection & Correction Techniques in Computer NetworksIRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
IRJET- Resolve Error with Detection & Correction Techniques in Computer Networks
 
SPI AND UART COMMUNICATION PROTOCOLS
SPI AND UART COMMUNICATION PROTOCOLSSPI AND UART COMMUNICATION PROTOCOLS
SPI AND UART COMMUNICATION PROTOCOLS
 
Sak
SakSak
Sak
 
Error.pdf
Error.pdfError.pdf
Error.pdf
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 
Digital Communication GRP1 (1).pptx
Digital Communication GRP1 (1).pptxDigital Communication GRP1 (1).pptx
Digital Communication GRP1 (1).pptx
 
5.Error correction-Hamming Code.pptx
5.Error correction-Hamming Code.pptx5.Error correction-Hamming Code.pptx
5.Error correction-Hamming Code.pptx
 
Error detection & correction codes
Error detection & correction codesError detection & correction codes
Error detection & correction codes
 

More from RockFellerSinghRusse

2015-lachs-panel_6-1-jasani.ppt
2015-lachs-panel_6-1-jasani.ppt2015-lachs-panel_6-1-jasani.ppt
2015-lachs-panel_6-1-jasani.ppt
RockFellerSinghRusse
 
quiz-150926123857-lva1-app6892 (1).pptx
quiz-150926123857-lva1-app6892 (1).pptxquiz-150926123857-lva1-app6892 (1).pptx
quiz-150926123857-lva1-app6892 (1).pptx
RockFellerSinghRusse
 
EE8691 – EMBEDDED SYSTEMS.pptx
EE8691 – EMBEDDED SYSTEMS.pptxEE8691 – EMBEDDED SYSTEMS.pptx
EE8691 – EMBEDDED SYSTEMS.pptx
RockFellerSinghRusse
 
EC8094 – SATELLITE COMMUNICATION.pptx
EC8094 – SATELLITE COMMUNICATION.pptxEC8094 – SATELLITE COMMUNICATION.pptx
EC8094 – SATELLITE COMMUNICATION.pptx
RockFellerSinghRusse
 
logic_families_lecture.ppt
logic_families_lecture.pptlogic_families_lecture.ppt
logic_families_lecture.ppt
RockFellerSinghRusse
 
Lesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.pptLesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.ppt
RockFellerSinghRusse
 
FF and Latches.ppt
FF and Latches.pptFF and Latches.ppt
FF and Latches.ppt
RockFellerSinghRusse
 
1.ppt
1.ppt1.ppt
lecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxlecture4signals-181130200508.pptx
lecture4signals-181130200508.pptx
RockFellerSinghRusse
 
01 - Slides.ppt
01 - Slides.ppt01 - Slides.ppt
01 - Slides.ppt
RockFellerSinghRusse
 
EC8702 – Unit 1.pptx
EC8702 – Unit 1.pptxEC8702 – Unit 1.pptx
EC8702 – Unit 1.pptx
RockFellerSinghRusse
 
IMPLEMENTATION OF WBSS IN LOW SNR.pptx
IMPLEMENTATION OF WBSS IN LOW SNR.pptxIMPLEMENTATION OF WBSS IN LOW SNR.pptx
IMPLEMENTATION OF WBSS IN LOW SNR.pptx
RockFellerSinghRusse
 

More from RockFellerSinghRusse (12)

2015-lachs-panel_6-1-jasani.ppt
2015-lachs-panel_6-1-jasani.ppt2015-lachs-panel_6-1-jasani.ppt
2015-lachs-panel_6-1-jasani.ppt
 
quiz-150926123857-lva1-app6892 (1).pptx
quiz-150926123857-lva1-app6892 (1).pptxquiz-150926123857-lva1-app6892 (1).pptx
quiz-150926123857-lva1-app6892 (1).pptx
 
EE8691 – EMBEDDED SYSTEMS.pptx
EE8691 – EMBEDDED SYSTEMS.pptxEE8691 – EMBEDDED SYSTEMS.pptx
EE8691 – EMBEDDED SYSTEMS.pptx
 
EC8094 – SATELLITE COMMUNICATION.pptx
EC8094 – SATELLITE COMMUNICATION.pptxEC8094 – SATELLITE COMMUNICATION.pptx
EC8094 – SATELLITE COMMUNICATION.pptx
 
logic_families_lecture.ppt
logic_families_lecture.pptlogic_families_lecture.ppt
logic_families_lecture.ppt
 
Lesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.pptLesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.ppt
 
FF and Latches.ppt
FF and Latches.pptFF and Latches.ppt
FF and Latches.ppt
 
1.ppt
1.ppt1.ppt
1.ppt
 
lecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxlecture4signals-181130200508.pptx
lecture4signals-181130200508.pptx
 
01 - Slides.ppt
01 - Slides.ppt01 - Slides.ppt
01 - Slides.ppt
 
EC8702 – Unit 1.pptx
EC8702 – Unit 1.pptxEC8702 – Unit 1.pptx
EC8702 – Unit 1.pptx
 
IMPLEMENTATION OF WBSS IN LOW SNR.pptx
IMPLEMENTATION OF WBSS IN LOW SNR.pptxIMPLEMENTATION OF WBSS IN LOW SNR.pptx
IMPLEMENTATION OF WBSS IN LOW SNR.pptx
 

Recently uploaded

Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
yokeleetan1
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
ihlasbinance2003
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
Madhumitha Jayaram
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
University of Maribor
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
awadeshbabu
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
mahammadsalmanmech
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
wisnuprabawa3
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
Ratnakar Mikkili
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
heavyhaig
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 

Recently uploaded (20)

Swimming pool mechanical components design.pptx
Swimming pool  mechanical components design.pptxSwimming pool  mechanical components design.pptx
Swimming pool mechanical components design.pptx
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
5214-1693458878915-Unit 6 2023 to 2024 academic year assignment (AutoRecovere...
 
Wearable antenna for antenna applications
Wearable antenna for antenna applicationsWearable antenna for antenna applications
Wearable antenna for antenna applications
 
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
Presentation of IEEE Slovenia CIS (Computational Intelligence Society) Chapte...
 
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
[JPP-1] - (JEE 3.0) - Kinematics 1D - 14th May..pdf
 
Question paper of renewable energy sources
Question paper of renewable energy sourcesQuestion paper of renewable energy sources
Question paper of renewable energy sources
 
New techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdfNew techniques for characterising damage in rock slopes.pdf
New techniques for characterising damage in rock slopes.pdf
 
Exception Handling notes in java exception
Exception Handling notes in java exceptionException Handling notes in java exception
Exception Handling notes in java exception
 
Technical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prismsTechnical Drawings introduction to drawing of prisms
Technical Drawings introduction to drawing of prisms
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 

PARITY_GENERATOR_AND_CHECKER_PPT.pptx

  • 2. • Irregular changes to data, as it is recorded when it is entered in memory. • Different types of parity errors can require the retransmission of data or cause serious system errors, such as system crashes. Parity error
  • 3. 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 totalnumber 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 inthe coded message is even.
  • 4. Alternatively, odd parity can be used in which the total number of 1's in thecoded message is made odd. During transfer of information, the message at the sending-end is applied to aparity generator where the parity pit is generated.
  • 5. Computers can sometimes make errors when they transmit data. Even/odd parity: Is basic method for detecting if an odd number of bits has been switched by accident.
  • 6. The number of 1-bit must add up to an odd number Odd parity:
  • 7. Even parity: The number of 1-bit must add up to an even number
  • 8.
  • 9. Parity checking uses parity bits to check that data has been transmitted accurately. The parity bit is added to every data unit (typically seven or eight bits) that are transmitted. The parity bit for each unit is set so that all bytes have either an odd number or an even number of set bits. Parity checker
  • 10. How Parity Checking Works 1. Assume, for example, that two devices are communicating with even parity (the most common form of parity checking). As the transmitting device sends data, it counts the number of set bits in each group of seven bits. If the number of set bits is even, it sets the parity bit to 0; if the number of set bits is odd, it sets the parity bit to 1. In this way, every byte has an even number of set bits. On the receiving side, the device checks each byte to make sure that it has an even number of set bits. If it finds an odd number of set bits, the receiver knows there was an error during transmission. 2. The sender and receiver must both agree to use parity checking and to agree on whether parity is to be odd or even. If the two sides are not configured with the same parity sense, communication will be impossible
  • 11. To calculate parity data for two drives, an XOR is performed on their data: 01101101 XOR 11010100 _____________ 10111001 The resulting parity data, 10111001, is then stored on Drive 3. XOR AND XNOR ARE USED GENERALLY TO CHECK THE PARITY
  • 14. Integrated-Circuit Parity Generator/Checker 74280 TTL IC logic symbol and Function Table
  • 15. Parity Generator/Checker applications: •One important application of the use of an Exclusive- OR gate is to generate parity. •Parity is used to detect errors in transmitted data caused by noise or other disturbances. •A parity bit is an extra bit that is added to a data word and can be either odd or even parity. •In an even parity system, the sum of all the bits (including the parity bit) is an even number In an odd parity system the sum of all the bits must be an odd number.
  • 16. •The circuit that creates the parity bit at the transmitter is called the parity generator. The circuit that determines if the received data is correct is the parity checker. •Parity is good for detecting a single bit error only. •The parity generator and the parity checker can both be built using Exclusive-OR gates.