Professional Documents
Culture Documents
Chapter 3 - P4 - MSI Lgic Circuit 9 - (Parity Method)
Chapter 3 - P4 - MSI Lgic Circuit 9 - (Parity Method)
Lecture:
DIGITAL SYSTEMS
Chapter 1:
Number Systems and Codes
1
Assoc. Prof. Nguyen Thanh Hai
HCMC University of Technology and Education
Faculty of Electrical & Electronics Engineering
Number Systems and Codes
Parity Method for Error Detection
Today, in mostly all digital data transmission in digital systems from
one location to another is popular such as:
1. The transmission of digitized voice over a microwave link
2. The storage of data in and retrieval of data from external memory
devices such as magnetic tape and disk
3. The transmission of digital data from a computer to a remote
computer over telephone lines )i.e., using a modem). This is one of
the major ways od sending and receiving information on internet.
4. The transmission of digital data from a TV transmitter station to
home TVs
Example of noise
Transmitter Receiver
causing an error in the
transmission of digital
data Smooth Noisy
signal signal 2
Assoc. Prof. Nguyen Thanh Hai
HCMC University of Technology and Education
Faculty of Electrical & Electronics Engineering
Number Systems and Codes
The value of the parity bit is chosen so that the total number of 1s in
the code group, including the parity bit, is an even number.
EX: ASCII character “C” with code (1000011) of 7 bit. It is added a
parity 1 to be the total number of 1s an even number as follows:
5
Assoc. Prof. Nguyen Thanh Hai
HCMC University of Technology and Education
Faculty of Electrical & Electronics Engineering
Number Systems and Codes
EX: Determine the name of one person with bytes shown in Hex
and represent transmitting data frames in two types of even and
odd parity bits
Example of finding name based on Hex code
No. Char Binary Even Odd Name
(Hex)
1 4A 01001010 1 1001010 0 1001010 J
2 6F 01101111 0 1101111 1 1101111 o
3 65 01100101 0 1100101 1 1100101 e
4 20 00100000 1 0100000 0 0100000 space
5 47 01000111 0 1000111 1 1000111 G
6 72 01110010 0 1110010 1 1110010 r
7 65 01100101 0 1100101 1 1100101 e
8 65 01100101 0 1100101 1 1100101 e
9 6E 01101110 1 1101110 0 1101110 n
6
Assoc. Prof. Nguyen Thanh Hai
HCMC University of Technology and Education
Faculty of Electrical & Electronics Engineering
Number Systems and Codes
Homework
7
Assoc. Prof. Nguyen Thanh Hai
HCMC University of Technology and Education
Faculty of Electrical & Electronics Engineering
Number Systems and Codes
8
Assoc. Prof. Nguyen Thanh Hai
HCMC University of Technology and Education
Faculty of Electrical & Electronics Engineering
Number Systems and Codes
The End
9
Assoc. Prof. Nguyen Thanh Hai