Beruflich Dokumente
Kultur Dokumente
BITS Pilani
Pilani Campus
Rekha.A Faculty
In Boolean algebra there are 3 basic operations: OR, AND, NOT. These basic operations are called as Logic operations. Digital circuits called Logic Gates can be constructed in such a way that the circuit o/p is the result of a basic logic operations performed on the inputs.
The most common laws used to formulate various algebraic structures are as follows: Associative Law: (x*y)*z = x*(y*z) for all x,y,z S Commutative Law: A binary operator * on a set S is said to be commutative , whenever x*y = y*x for all x.y S
Identity Element: A set S is said to have an identity element with respect to a binary operation * on S if there is an element e S with the property that e * x = x * e = x, for every x S. Distributive Law : If + and . Are the two binary operators on a set S, . is said to be distributive over . Whenever x.(y+z) = (x.y) + (x.z)
Postulates and theorems of Boolean algebra x+0=x x.1=x x.x=x x.x=0 x+0=x x+1=1 x+x=x x+x=1 (x+y)= xy and (xy)=x+y De morgans Theorem
2. X 0 0 1 1
Y 0 1 0 1
XY 0 0 0 1
(XY) 1 1 1 0
X 1 1 0 0
Y 1 0 1 0
X+Y 1 1 1 0
BITS Pilani, Pilani Campus
Logic Gates :
Building Blocks of Digital Systems.
OR Operation:
Let A and B represent two independent logic variables. When A and B are combined using OR operation , The result x can be expressed as X = A +B
IC 7432
8
Input
A 0 0 1 1 B 0 1 0 1
Out put
C 0 1 1 1
10
AND operation: If the two logic variables A and B are combined using AND operation , the result X can be expressed as X = A.B AND Gate: An AND gate is a logic circuit with two or more than two inputs and one output. The output of an AND gate is logic1 only when all of its inputs are logic1.In all other cases the output is logic 0.
11
. Logic
IC 7408
12
Input
A 0 0 1 1 B 0 1 0 1
Out put
C 0 0 0 1
13
Logic gates and Boolean Algebra. Truth Table of 3 Input AND gate
Input
A 0 0 0 0 1 1 1 1 B 0 0 1 1 0 0 1 1 C 0 1 0 1 0 1 0 1
Out put
Y 0 0 0 0 0 0 0 1
14
NOT Operation: If a Variable A is subjected to the NOT operation the result X can be expressed as X = A
Input A 0 1
Out put B 1 0
IC 7404
ESZC261:Digital Electronics and Microprocessor
BITS Pilani, Pilani Campus
15
NAND GATE: An AND gate followed by a NOT circuit make it as a NAND gate. NAND gate is a logic circuit with two or more than two inputs and one output. The output of NAND gate is logic0 only when all of its inputs are logic1.In all other cases the output is logic 1
IC 7400
ESZC261:Digital Electronics and Microprocessor
BITS Pilani, Pilani Campus
16
Input
A 0 0 1 1 B 0 1 0 1
Out put
C 1 1 1 0
17
NOR Operation: An OR gate followed by a NOT circuit make it as a NOR gate. An NOR gate is a logic circuit with two or more than two inputs and one output. The output of NOR gate is logic 1 only when all of its inputs are logic1.In all other cases the output is logic0.
IC 7402
18
Input
A 0 0 1 1 B 0 1 0 1
Out put
C 1 0 0 0
19
XOR GATE:
Exclusive OR gate has high output only when an odd number of inputs are high.
IC 7486
20
Input
A 0 0 1 1 B 0 1 0 1
Out put
C 0 1 1 0
21
This Circuit has 3 inputs A,B,C and a single output Y. The Expression for Y = A.B + C
22
23
Boolean Functions
A Boolean function is described by an algebraic expression consisting of binary variables, the constants 0 & 1 and the logic operation symbols For the function F1 = x+ yz . Write the function table . write the Gate Implementation X Y Z Y X+YZ 0 0 0 1 0 0 0 1 1 1 0 1 0 0 0 0 1 1 0 0 1 0 0 1 1 1 0 1 1 1 1 1 0 0 1 1 1 1 0 1
ESZC261:Digital Electronics and Microprocessor
BITS Pilani, Pilani Campus
24
25
Find the complement of the function F = xyz+xyz Solution: F = (xyz+xyz) = (xyz)(xyz) = (x+y+z) ( x+y+z) Find the complement of the function F=x(yz+yz) F= {x(yz+yz)} = x+(yz+yz) = x+ (yz)(yz) = x+(y+z)(y+z)
ESZC261:Digital Electronics and Microprocessor 26
MINTERMS(Sum of Products)
A binary variable may appear either in its normal form(x) or in complement form(x) The two binary variables x and y combined with an AND operation. The four Possible combinations are xy, xy, xy, xy. xy, xy, xy, xy are called Minterms. n variables can be combined to form 2n minterms x 0 0 1 1 Y 0 1 0 1 term XY XY XY XY
m0 m1 m2 m3
f= xy+xy = mo+m2
ESZC261:Digital Electronics and Microprocessor
BITS Pilani, Pilani Campus
27
MAXTERMS(Product of Sum) The two binary variables x and y combined with an OR operation. The four Possible combinations are x+y, x+y, x+y, x=y. x+y, x+y, x+y, x+y are called Maxterms. n variables can be combined to form 2n maxterms x 0 0 1 1 Y 0 1 0 1 term X+Y X+Y X+Y X+Y
M0 M1 M2 M3
f = (x+y)(x+y)(y+x) = M3 . M1. M0
ESZC261:Digital Electronics and Microprocessor 28
Convert the following equation into standard SOP form y = AB+AC+BC Solution: y= AB(C+C) + AC(B+B) + BC(A+A) = ABC+ABC+ABC+ABC+ABC+ABC = ABC+ABC+ABC+ABC
Convert the equation into standard POS form Y=(A+B)(A+C)(B+C) Solution: Y=(A+B+CC)(A+BB+C)(AA+B+C) = (A+B+C)(A+B+C)(A+B+C)(A+B+C)(A+B+C)(A+B+C) =(A+B+C)(A+B+C)(A+B+C)(A+B+C)(A+B+C)