Unit 2 digital fundamentals boolean func.pptx

VidhyaB10 69 views 24 slides Aug 29, 2024
Slide 1
Slide 1 of 24
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24

About This Presentation

Understand the basic operation of Boolean theorems.
• Explain the operation of different logic gates such as AND, OR, NOT, XOR, and
NAND gates.
• Show the truth table of different logic gates.
• Distinguish between the different types of integrated circuits (ICs).
• Apply Boolean theorems t...


Slide Content

Boolean Functions Mr V Ni v edan A ssistant P r o f essor De p a r t m ent of Ele c t r onics S r i R amak r ishna C ollege of A r ts a n d Scie n c e

Bo o l ean Al g ebraic L a w s The logic symbols “0” and “1” being used to represent a digital input or output, we can also use them as constants for a permanently “Open” or “Closed” circuit or contact respectively. A set of rules or Laws of Boolean Algebra expressions have been invented to help reduce the number of logic gates needed to perform a particular logic operation resulting in a list of functions or theorems known commonly as the Laws of Boolean Algebra .

Bo o l ean Al g ebraic L a w s Switching circuits are also called logic circuits, gates circuits and digital circuits. Switching algebra is also called Boolean algebra. Boolean algebra is a system of mathematical logic. It is an algebraic system consisting of the set of elements (0,1), two binary operators called OR and AND and unary operator called NOT. It is the basic mathematical tool in the analysis and synthesis of switching circuits. It is a way to express logic functions algebraically. Any complex logic can be expressed by a Boolean function. The Boolean algebra is governed by certain well developed rules and laws.

Bo o l ean Al g ebraic L a w s Boolean Algebra is use to analyse digital gates and circuits. T hese “Laws of Boolean” i s used to both reduce and simplify a complex Boolean expression in an attempt to reduce the number of logic gates required. The main aim of any logic design is to simplify the logic as much as possible so that the final implementation will become easy.

Boolean Algebraic Laws In order to simplify the logic, the Boolean equations and expressions representing that logic must be simplified. So, to simplify the Boolean equations and expression, there are some laws and theorems proposed. Using these laws and theorems, it becomes very easy to simplify or reduce the logical complexities of any Boolean expression or function.

Boolean Algebraic Laws Basic Laws and Proofs: The basic rules and laws of Boolean algebraic system are known as “Laws of Boolean algebra”. Some of the basic laws (rules) of the Boolean algebra are Associativ e la w i v . Absorptio n law Distributive law v. Consensus law Commutative law

Associative Law Associate Law of Addition Statement: Associative law of addition states that OR ing more than two variables i.e. mathematical addition operation performed on variables will return the same value irrespective of the grouping of variables in an equation.It involve in swapping of variables in groups. The Associative law using OR operator can be written as A+(B+C) = (A+B)+C

Associate Law Associate Law of Multiplication Statement: Associative law of multiplication states that ANDing more than two variables i.e. mathematical multiplication operation performed on variables will return the same value irrespective of the grouping of variables in an equation. The Associative law using AND operator can be written as A * ( B * C) = (A * B ) * C

Distributive law Sta t e m ent 1 : The multiplication of two variables and adding the result with a variable will result in same value as multiplication of addition of the variable with individual variables. In other words, ANDing two variables and ORing the result with another variable is equal to AND of ORing of the variable with the two individual variables. Distributi v e l a w can be wri t ten as A + BC = (A + B )(A + C) This is called OR distributes over AND.

Distributive law Proof Proof: If A, B and C are three variables then A + BC = A * 1 + BC → since A*1 = A = A (1 + B)+ BC → since 1 + B = 1 = A * 1 + AB + BC = A *(1 + C) + AB + BC → since A*A = A*1 = A = A *(A + C) + B (A + C) = (A + C) (A + B) A + BC = (A + B) (A + C) Hence, distributive law is proved.

Distributive law Statement 2: The addition of two variables and multiplying the result with a variable will result in same value as addition of multiplication of the variable with individual variables. In other words, ORing two variables and ANDing the result with another variable is equal to OR of ANDing of the variable with the two individual variables. Distributive law can be written as A (B+C) = (A B) + (A C)

Distributive law Proof Proof: A (B + C) = A (B*1) + A (C*1) → since 1 * B = B, 1 * C = C = [(AB)*(A*1)] + [(AC) *(A*1)] =[(AB) * A] + [(AC) *A] = (A +1) (AB + AC) = (AB +AC) → since 1 + A = 1 Hence, distributive law is proved.

Example for distributive law Take three variables 0, 1 and 0, then According to distributive law, (1 + 0) = (0*1) + (0*0) (1) = (0) + (0) = Hence,distributive law is verified.

Commutative law Statement: Commutative law states that the inter-changing of the order of operands in a Boolean equation does not change its result. A + B = B + A Using OR operator → Usin g AN D operato r → A * B = B * A This law is also has more priority in Boolean algebra. Example: Take 2 variables 1 and 0, then 1 + = + 1 1 = 1 Similarly, 1 * = * 1 =

Absorption Law Statement 1: A + AB = A Statement 2: A (A + B) = A Proof: Proof: A + AB = A.1 + AB → since A.1 = A A (A + B) = A.A + A.B =A(1+B) → since 1 + B = 1 = A+AB → since A . A = A = A.1 = A (1 + B) = A = A.1 = A

Redundancy laws Statement 3: Proof: A + ĀB = A + B A + Ā B = (A + Ā ) (A + B ) → since A+BC = (A+B)(A+C) using distributive law = 1 * (A + B ) → since A + Ā = 1 = A + B Statement 4: Proof: A * (Ā+B) = AB A * (Ā + B ) = A . Ā + AB = A B → since A Ā =

De Morgan’s Theorem Statement 1: “The negation of conjunction is the disjunction of the negations”. Or we can define that as “The compliment of the product of 2 variables is equal to the sum of the compliments of individual variables”. (A.B)’ = A ’ + B’ Statement 2: “The negation of disjunction is the conjunction of the negations”. Or we can define that as “The compliment of the sum of two variables is equal to the product of the compliment of each variable”. (A + B) ’ = A ’.B’

De Morgan’s Theorem Verifying DeMorgan’s First Theorem using Truth Table Input Input Output Output Output Output Output B A A.B ( A.B )’ A ' B ' A ' + B ' 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

De Morgan’s Theorem DeMorgan’s First Law Implementation using Logic Gates

De Morgan’s Theorem Verifying DeMorgan’s Second Theorem using Truth Table Input Input Output Output Output Output Output B A A+B A+B A B A . B 1 1 1 1 1 1 1 1 1 1 1 1 1

De Morgan’s Theorem DeMorgan’s Second Law Implementation using Logic Gates

DeMorgan’s Equivalent Gates Standard Logic Gate DeMorgan’s Equivalent Gate

DeMorgan’s Equivalent Gates Standard Logic Gate DeMorgan’s Equivalent Gate