LEC-4
LEC-4
Digital Design
7 EVEN Vs ODD Parity
A parity is an error coding method to find errors in digital
data. A parity bit is an extra bit which is added in binary
message to make total number of 1's either even or odd.
While reading or receiving the data parity check is made
to find the errors in data. It is used for error detection in
the original data at the receiver side and correcting the
data. Parity word denotes the number of 1's in binary
string. There are two parity systems: even or odd.
Even parity and odd parity are two methods which are
used in data transmission to ensure the integrity of
transmitted data. Both methods involve adding an extra
bit to the data being transmitted, which is called parity
bit, which is used for error detection.
Even Parity Check?
🠶 Closure
🠶 Commutative
Law
🠶 Identity
Element
🠶 Inverse
🠶 Distributive
Law
Commutative
Law
🠶 Commutative Law for
Addition A + B = B + A
0 0 1 A.B.C ABC
0 1 0 A.B.C ABC
0 1 1 A.B.C ABC
1 0 0 A.B.C ABC
1 0 1 A.B.C A B C
1 1 0 A.B.C A B C
1 1 1 A.B.C A B C
Canonical Forms
Boolean functions expressed as a sum of minterms or
product of maxterms are said to be in canonical form.
It is useful to specify Boolean functions in a form that:
Allows comparison for equality.
Has a correspondence to the truth tables
Canonical Forms in common usage:
Sum of Minterms (SOM)
Product of Maxterms (POM)
Minterms
Minterms are AND terms with every variable present in
either true or complemented form.
Given that each binary variable may appear normal (e.g., x)
or complemented (e.g., x’), there are 2n minterms for n
variables.
Min term always produce output as 1.
Example: Two variables (X and Y)produce
2 x 2 = 4 combinations:
X Y (both normal)
X Y’ (X normal, Y complemented)
X’ Y (X complemented, Y normal)
X’ Y’ (both complemented)
Thus there are four minterms of two variables.
Minterms
Sum of minterm
f 1=
Minterm Function Example
Example: Find F1(X,Y,Z) = m1 + m4 + m7
F1 = x’ y’ z + x y’ z’ + x y z
xyz index m1 + m4 + m7 = F1
000 0 0 + 0 + 0 =0
001 1 1 + 0 + 0 =1
010 2 0 + 0 + 0 =0
011 3 0 + 0 + 0 =0
100 4 0 + 1 + 0 =1
101 5 0 + 0 + 0 =0
110 6 0 + 0 + 0 =0
111 7 0 + 0 + 1 =1
Maxterms