SlideShare ist ein Scribd-Unternehmen logo
1 von 46
2.2 PERFORM
OPERATION WITH
BOOLEAN ALGEBRA
2.2.1 Define logic gates
• A logic gate performs a logical operation
on one or more logic inputs and produces
a single logic output and most commonly
found at digital circuits.
2.2.2 Explain the operation of logic gates.
2.2.3 Draw logic symbols for gates.
2.2.4 Construct truth table of logic gates.
AND Gate
• Logic Symbol, Truth Table And Logic
Expression
YXZX
0 0
10
Y
01
11
0
0
0
1
Logic Symbol
Truth Table
Logic Expression
OR Gate
• Logic Symbol, Truth Table And Logic
Expression
YXZX
0 0
10
Y
01
11
0
1
1
1
Logic Symbol
Truth Table
Logic Expression
Inverter/Not Gate
• Logic Symbol, Truth Table And Logic
Expression
XZX
0 1
01
Logic Symbol
Truth Table
Logic Expression
NOR
• Logic Symbol, Truth Table And Logic
Expression
YXZX
0 0
10
Y
01
11
1
0
0
0
YXZ
X
Y
Logic Symbol
Truth Table
Logic Expression
NAND
• Logic Symbol, Truth Table And Logic Expression
YXZX
0 0
10
Y
01
11
1
1
1
0
YXZ
X
Y Logic Symbol
Truth Table
Logic Expression
XOR
• Logic Symbol, Truth Table And Logic Expression
YXZX
0 0
10
Y
01
11
0
1
1
0
YXZ
X
Y
1) Result is „1‟ when exactly one input is „1‟
2) The output is always 1 when we have a different set of
input
Logic Symbol
Truth Table
Logic Expression
XNOR
• Logic Symbol, Truth Table And Logic Expression
YXZX
0 0
10
Y
01
11
1
0
0
1
YXZ
X
Y
Result is „1‟ when both inputs are the same logic
Logic Symbol
Truth Table
Logic Expression
2.3 Build sequential logic circuit
• Circuits whose outputs depends not only on the present
input value but also the past input value are known
as sequential logic circuits.
• Are circuits that contain memory element.
• Example: flip-flop
2.3.1 Define sequential logic circuit.
2.3.2 Differentiate between combinational logic
circuit and sequential logic circuit
• Combinational Logic Circuit –
refers to circuits whose output is strictly
depended on the present value of the inputs.
Example: logic gates
• Sequential Logic Circuit-
Circuits whose outputs depends not only on
the present input value but also the past input
value are known as sequential logic circuits.
Example: flip-flop
2.3.3 Describe Flip Flop
• Is a logic circuit that has two stable states
or memory where one state is compliment
with other state.
• can be divided into common types either
synchronous(clock) or asynchronous (no
clock):
2.3.4 List the types of flip-flop:
a. SR flip – flop (SR- set reset)
b. Clocked SR flip – flop
c. JK flip – flop
d. T flip flop (Toggle)
e. D flip flop (Delay or Data)
2.3.5 Build SR, JK, T and D flip flop
using logic gates.
2.3.6 Draw the symbol and truth
table of SR, JK, T and D flip –flop.
1.SR FLIP FLOP
• Can build from NOR or NAND gate.
From NOR gate From NAND gate
S
R
Q
Q
S
R
Q
Q
S R Keluaran (Q)
0 0 Tak logik
0 1 1 (set)
1 0 0(reset)
1 1 Tak ubah
S R Keluaran (Q)
0 0 Tak ubah
0 1 0 (reset)
1 0 1 (set)
1 1 Tak logik
symbol
Con‟t
Timing digram for Flip-Flop SR-get NOR Timing digram for Flip-Flop SR-get NAND
S
R
Q
T1 T2 T3 T4 T5 T6
2) CLOCKED SR FLIP FLOP
From NOR gate From NAND gate
Timing diagram for SR flip flop with clock
S
KLOK
R
Q
Q
S
KLOK
R
Q
Q
S
R
klok
Q
keadaanawal
set
takubah
reset
reset
takubah
set
3) JK FLIP FLOP
Truth table
Timing Digram
nQ
J
K
clock
Q
t.ubah set t.ubah toggle reset t.ubah
Klok J K Qn+1
1 0 0 Qn
1 0 1 0
1 1 0 1
1 1 1 nQ
symbol
4) T FLIP FLOP
JAM T Qn Qn+1 CATATA
N
1 0 0 0 Tak Ubah
1 0 1 1 Tak Ubah
1 1 1 0 Toggle
1 1 0 1 Toggle
JAM T Qn+1
1 0 Qn
1 1 nQ
T
clock
Q
Logic Symbol Logic circuit
Truth table
Truth table
Timing diagram
5) D Flip flop
Jam D Qn+1
0 0
0 1
1 0 0
1 1 1
nQ
nQ D Qn+1
0 0
1 1
D
clock
Q
Symbol Circuit
Truth table
Timing diagram
COMBINATIONAL LOGIC CIRCUIT
• refers to circuits whose output is strictly
depended on the present value of the inputs
• Are made of logic gates with no feedback.
• To design combinational logic circuit, we need to
know about basic logic equation :
– If sign “+” between two or more variables, it
means all variables using OR gate. For
example : A + B + C
– If sign “.” between two or more variables, it
means all variables using AND gate
operation. For example : A.B.C
Example :
• Given logic equation Y = A . B + A . B. Draw the logic
diagram base on the equation.
Solution
• the equation has 2 variables A and B.
• reference A . B used AND gate and A used NOT gate
• reference A . B used AND gate
• Finally, both reference used OR gate to form equation of
Y
Boolean Theorem
• Basic Rules
1. A + 0 = A
2. A + 1 = 1
5. A . 0 = 0
6. A . 1 = A
3. A + A = A
7. A . A = A
4. A + A = 1
8. A . A = 0
9. A = A
=
10. A + AB = A
12. (A + B)(A + C) = A + BC
11. A + AB = A + B
BOOLEAN THEOREMS
XXX
X
XX
XX
XXX
X
X
.7
11.6
0.5
0.4
.3
X1.2
00.1
XZWZXYWYZYXWb
XZXYZYXa
XYZZXYYZX
ZYXZYXZYX
XYYX
XYYX
XX
.13
.13
.12
.11
.10
.9
1.8
AA
YXXY
YXYX
YXYXX
XXYX
.18
.17
.16
.15
.14
Boolean Simplification -
Example
• Using Boolean theorem, Simplify the
expression:
)()( CBBCBAAB
• Apply distributive law,
BCBBACABAB
• Apply rule 7 (BB = B), and rule 5 (AB + AB = AB)
BACAB
• Apply rule 10 (B + BC = B)
BCBACAB
Boolean Simplification -
Example
BACAB
• Apply rule 10 (AB + B = B)
ACB
At this point, the expression is simplified as much
as possible
Original expression is )()( CBBCBAAB
Which is logically equal to ACB
In terms of design, what is the advantage of
Boolean simplification?
Boolean Simplification -
Example
Original expression is )()( CBBCBAAB
Which is logically equal to ACB Faster
Compact design
Lower cost
A
B
C
A
B
C
DeMorgan‟s Theorem
• The complement of a product of variables
is equal to the sum of the complemented
variables
AB = A + B
A + B
A
B
AB
A
B
NAND Negative-OR
BAA
0 0
10
B
01
11
1
1
1
0
BA
1
1
1
0
Theorem 1
DeMorgan‟s Theorem
BAA
0 0
10
B
01
11
1
0
0
0
BA
1
0
0
0
Theorem 2
AB
A
B
A + B
A
B
NOR Negative-AND
A + B = A . B
Example 1:
• Given Z = A + B . C .Simplified the equation
below using De‟ Morgan Theorem.
Solution;
Z = A + B.C
= A . B.C
= A .( B+C)
= A . (B+C)
Example 2:
• Given Z = (A + C).(B+D) .Simplified the
equation below using De‟ Morgan Theorem.
Solution :
Z = (A + C) . (B + D)
= (A + C) + (B + D)
= (A . C) + (B . D)
= AC + BD
Sum-of-Products
• SOP expressions consist of two or more AND
terms (products) that are ORed together
• In SOP an inversion cannot cover more than
one variable in a term
Example:
• ABC + ABC
• A B + A B + A B
• A B C + A B C
• A B + A B C + C D + C
Product-of-Sums
• POS expressions consist of two or more
OR terms (sums) that are ANDed together
• Example:
– X = (A + B + C)(A + C)
– X = (A + B)(C + D)F
– X = ( A + B ) . ( B + C )
– X = ( B + C + D ) . ( B C + E )
– X = ( A + C ) . ( B + E ). ( C + B )
Karnaugh Map Method
• A graphical method of simplifying logic
equations or truth tables.
• Also called a K map.
• Theoretically can be used for any number
of input variables, but practically limited to
5 or 6 variables.
Karnaugh Map Method
• The truth table values are placed in the
K map.
• Adjacent K map square differ in only
one variable both horizontally and
vertically.
• The pattern from top to bottom and left
to right must be in the form
• A SOP expression can be obtained by
ORing all squares that contain a 1.
Karnaugh Map Method
• Looping adjacent groups of 2, 4, or 8 1s will
result in further simplification.
• When the largest possible groups have been
looped, only the common terms are placed in
the final expression.
• Looping may also be wrapped between top,
bottom, and sides.
• Looping a pair (or quad or octet and so on) of
adjacent 1s in a K map eliminates the variable
that appears in complemented and
uncomplemented form.
Karnaugh maps and truth tables for (a) two, (b)
three, and (c) four variables.
Examples of looping pairs of adjacent 1s.
Examples of looping groups of fours 1s (quads).
Examples of looping groups of eight 1s (octets).
Karnaugh Map Method
• Complete K map simplification process
– Construct the K map, place 1s as indicated in the truth
table.
– Loop 1s that are not adjacent to any other 1s. (Isolated
1s)
– Loop 1s that are in pairs
– Loop 1s in octets even if they have already been
looped.
– Loop quads that have one or more 1s not already
looped. (Use minimum number of loops)
– Loop any pairs necessary to include 1s not already
looped.
– Form the OR sum of terms generated by each loop.
Examples :
Example : The same K map with two equally good
solutions.
Example :
• Use a K map to simplify:
Y = C(ABD + D) + ABC + D
SOLUTION :

Weitere ähnliche Inhalte

Was ist angesagt?

CSL 202, Multiplexer and Demultiplexer
CSL 202, Multiplexer and DemultiplexerCSL 202, Multiplexer and Demultiplexer
CSL 202, Multiplexer and DemultiplexerCKSunith1
 
Memory elements
Memory elementsMemory elements
Memory elementschandkec
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsVinoth Loganathan
 
Flip flop conversions
Flip flop conversionsFlip flop conversions
Flip flop conversionsuma jangaman
 
Lec 1 digital electroinics - memory array, write read operations
Lec 1   digital electroinics - memory array, write read operationsLec 1   digital electroinics - memory array, write read operations
Lec 1 digital electroinics - memory array, write read operationspriyankatabhane
 
Fourier analysis of signals and systems
Fourier analysis of signals and systemsFourier analysis of signals and systems
Fourier analysis of signals and systemsBabul Islam
 
Linear dependence(ld) &linear independence(li)
Linear dependence(ld)  &linear independence(li)Linear dependence(ld)  &linear independence(li)
Linear dependence(ld) &linear independence(li)Digvijaysinh Gohil
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic CircuitRamasubbu .P
 
Sequential Logic Circuits
Sequential Logic CircuitsSequential Logic Circuits
Sequential Logic CircuitsDilum Bandara
 
JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronicsEasy n Inspire L
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicJames Evangelos
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction setSaumitra Rukmangad
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebraSARITHA REDDY
 
Dsp lab _eec-652__vi_sem_18012013
Dsp lab _eec-652__vi_sem_18012013Dsp lab _eec-652__vi_sem_18012013
Dsp lab _eec-652__vi_sem_18012013Kurmendra Singh
 

Was ist angesagt? (20)

CSL 202, Multiplexer and Demultiplexer
CSL 202, Multiplexer and DemultiplexerCSL 202, Multiplexer and Demultiplexer
CSL 202, Multiplexer and Demultiplexer
 
Memory elements
Memory elementsMemory elements
Memory elements
 
D Flip Flop
D Flip Flop D Flip Flop
D Flip Flop
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
Laplace transform
Laplace transformLaplace transform
Laplace transform
 
Sequential circuits in Digital Electronics
Sequential circuits in Digital ElectronicsSequential circuits in Digital Electronics
Sequential circuits in Digital Electronics
 
Flip flop conversions
Flip flop conversionsFlip flop conversions
Flip flop conversions
 
Lec 1 digital electroinics - memory array, write read operations
Lec 1   digital electroinics - memory array, write read operationsLec 1   digital electroinics - memory array, write read operations
Lec 1 digital electroinics - memory array, write read operations
 
Fourier analysis of signals and systems
Fourier analysis of signals and systemsFourier analysis of signals and systems
Fourier analysis of signals and systems
 
Flip Flop
Flip FlopFlip Flop
Flip Flop
 
K - Map
  K - Map    K - Map
K - Map
 
Linear dependence(ld) &linear independence(li)
Linear dependence(ld)  &linear independence(li)Linear dependence(ld)  &linear independence(li)
Linear dependence(ld) &linear independence(li)
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
Binary Arithmetic Operations
Binary Arithmetic OperationsBinary Arithmetic Operations
Binary Arithmetic Operations
 
Sequential Logic Circuits
Sequential Logic CircuitsSequential Logic Circuits
Sequential Logic Circuits
 
JK flip flop in Digital electronics
JK flip flop in Digital electronicsJK flip flop in Digital electronics
JK flip flop in Digital electronics
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
8085 Paper Presentation slides,ppt,microprocessor 8085 ,guide, instruction set
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Dsp lab _eec-652__vi_sem_18012013
Dsp lab _eec-652__vi_sem_18012013Dsp lab _eec-652__vi_sem_18012013
Dsp lab _eec-652__vi_sem_18012013
 

Andere mochten auch

Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic GatesKumar
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebraSudheesh S Madhav
 
Dee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aDee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aSITI SABARIAH SALIHIN
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slidesharetech4us
 
Karnaugh Mapping Explained
Karnaugh Mapping ExplainedKarnaugh Mapping Explained
Karnaugh Mapping Explainedml4ml4
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesImran Waris
 
Divide and conquer 1
Divide and conquer 1Divide and conquer 1
Divide and conquer 1Kumar
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Qundeel
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebraGagan Deep
 

Andere mochten auch (14)

Boolean algebra And Logic Gates
Boolean algebra And Logic GatesBoolean algebra And Logic Gates
Boolean algebra And Logic Gates
 
Digital design chap 2
Digital design    chap 2Digital design    chap 2
Digital design chap 2
 
Static Noise margin
Static Noise margin Static Noise margin
Static Noise margin
 
kmap
kmapkmap
kmap
 
Need of Decoupling Capacitor
Need of Decoupling CapacitorNeed of Decoupling Capacitor
Need of Decoupling Capacitor
 
Basic gates and boolean algebra
Basic gates and boolean algebraBasic gates and boolean algebra
Basic gates and boolean algebra
 
Dee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part aDee2034 chapter 2 boolean algebra part a
Dee2034 chapter 2 boolean algebra part a
 
Kmap Slideshare
Kmap SlideshareKmap Slideshare
Kmap Slideshare
 
Karnaugh Mapping Explained
Karnaugh Mapping ExplainedKarnaugh Mapping Explained
Karnaugh Mapping Explained
 
digital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gatesdigital logic design Chapter 2 boolean_algebra_&_logic_gates
digital logic design Chapter 2 boolean_algebra_&_logic_gates
 
Divide and conquer 1
Divide and conquer 1Divide and conquer 1
Divide and conquer 1
 
Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1Ch4 Boolean Algebra And Logic Simplication1
Ch4 Boolean Algebra And Logic Simplication1
 
Boolean algebra
Boolean algebraBoolean algebra
Boolean algebra
 
Counters
CountersCounters
Counters
 

Ähnlich wie Chapter 2 Boolean Algebra (part 2)

Number_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptNumber_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptVEERA BOOPATHY E
 
Computer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docxComputer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docxladonnacamplin
 
Principles of Combinational Logic-1
Principles of Combinational Logic-1Principles of Combinational Logic-1
Principles of Combinational Logic-1Supanna Shirguppe
 
Chapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicChapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicSSE_AndyLi
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfShirazHusain4
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesRai University
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplificationUnsa Shakir
 
Digital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptxDigital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptxThapar Institute
 
Digital Electronics basics book1_pdf.pdf
Digital Electronics basics book1_pdf.pdfDigital Electronics basics book1_pdf.pdf
Digital Electronics basics book1_pdf.pdfpradnyahirekhanATgma
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)MeghaSharma513
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptmichaelaaron25322
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxeedayaya1
 

Ähnlich wie Chapter 2 Boolean Algebra (part 2) (20)

BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Number_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.pptNumber_Systems_and_Boolean_Algebra.ppt
Number_Systems_and_Boolean_Algebra.ppt
 
Computer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docxComputer Organization1CS1400Feng JiangBoolean al.docx
Computer Organization1CS1400Feng JiangBoolean al.docx
 
Principles of Combinational Logic-1
Principles of Combinational Logic-1Principles of Combinational Logic-1
Principles of Combinational Logic-1
 
Chapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational LogicChapter 03 Boolean Algebra and Combinational Logic
Chapter 03 Boolean Algebra and Combinational Logic
 
Digital logic
Digital logicDigital logic
Digital logic
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
Unit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdfUnit 2 Boolean Algebra and Logic Gates.pdf
Unit 2 Boolean Algebra and Logic Gates.pdf
 
B sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gatesB sc cs i bo-de u-ii logic gates
B sc cs i bo-de u-ii logic gates
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
UNIT1-part2.pptx
UNIT1-part2.pptxUNIT1-part2.pptx
UNIT1-part2.pptx
 
Digital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptxDigital Electronics Unit_1.pptx
Digital Electronics Unit_1.pptx
 
Digital Electronics basics book1_pdf.pdf
Digital Electronics basics book1_pdf.pdfDigital Electronics basics book1_pdf.pdf
Digital Electronics basics book1_pdf.pdf
 
3,EEng k-map.pdf
3,EEng k-map.pdf3,EEng k-map.pdf
3,EEng k-map.pdf
 
Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)Lect 2 boolean algebra (4 5-21)
Lect 2 boolean algebra (4 5-21)
 
booleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).pptbooleanalgebra-140914001141-phpapp01 (1).ppt
booleanalgebra-140914001141-phpapp01 (1).ppt
 
14 Lec11 2003
14 Lec11 200314 Lec11 2003
14 Lec11 2003
 
3306565.ppt
3306565.ppt3306565.ppt
3306565.ppt
 
NOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptxNOTA TOPIK 2_SSK20152 (3).pptx
NOTA TOPIK 2_SSK20152 (3).pptx
 

Mehr von Frankie Jones

Dbm2013 engineering mathematics 3 june 2017
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017Frankie Jones
 
Basic concepts of information technology and the internet
Basic concepts of information technology and the internetBasic concepts of information technology and the internet
Basic concepts of information technology and the internetFrankie Jones
 
2.1 Understand problem solving concept
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving conceptFrankie Jones
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problemFrankie Jones
 
2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life CycleFrankie Jones
 
Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languagesFrankie Jones
 
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGFrankie Jones
 
Chapter 3 Computer Organization
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer OrganizationFrankie Jones
 
Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Frankie Jones
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationFrankie Jones
 
Type header file in c++ and its function
Type header file in c++ and its functionType header file in c++ and its function
Type header file in c++ and its functionFrankie Jones
 
Multimedia storyboard template
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard templateFrankie Jones
 
Occupancy calculation form
Occupancy calculation formOccupancy calculation form
Occupancy calculation formFrankie Jones
 

Mehr von Frankie Jones (14)

Dbm2013 engineering mathematics 3 june 2017
Dbm2013  engineering mathematics 3 june 2017Dbm2013  engineering mathematics 3 june 2017
Dbm2013 engineering mathematics 3 june 2017
 
Basic concepts of information technology and the internet
Basic concepts of information technology and the internetBasic concepts of information technology and the internet
Basic concepts of information technology and the internet
 
2.1 Understand problem solving concept
2.1 Understand problem solving concept2.1 Understand problem solving concept
2.1 Understand problem solving concept
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem
 
2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle2.2 Demonstrate the understanding of Programming Life Cycle
2.2 Demonstrate the understanding of Programming Life Cycle
 
Introduction to programming principles languages
Introduction to programming principles languagesIntroduction to programming principles languages
Introduction to programming principles languages
 
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMINGChapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
 
Chapter 3 Computer Organization
Chapter 3 Computer OrganizationChapter 3 Computer Organization
Chapter 3 Computer Organization
 
Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)Chapter 2 Data Representation on CPU (part 1)
Chapter 2 Data Representation on CPU (part 1)
 
Chapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of informationChapter 1 computer hardware and flow of information
Chapter 1 computer hardware and flow of information
 
Operator precedence
Operator precedenceOperator precedence
Operator precedence
 
Type header file in c++ and its function
Type header file in c++ and its functionType header file in c++ and its function
Type header file in c++ and its function
 
Multimedia storyboard template
Multimedia storyboard templateMultimedia storyboard template
Multimedia storyboard template
 
Occupancy calculation form
Occupancy calculation formOccupancy calculation form
Occupancy calculation form
 

Kürzlich hochgeladen

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 

Kürzlich hochgeladen (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

Chapter 2 Boolean Algebra (part 2)

  • 2. 2.2.1 Define logic gates • A logic gate performs a logical operation on one or more logic inputs and produces a single logic output and most commonly found at digital circuits.
  • 3. 2.2.2 Explain the operation of logic gates. 2.2.3 Draw logic symbols for gates. 2.2.4 Construct truth table of logic gates.
  • 4. AND Gate • Logic Symbol, Truth Table And Logic Expression YXZX 0 0 10 Y 01 11 0 0 0 1 Logic Symbol Truth Table Logic Expression
  • 5. OR Gate • Logic Symbol, Truth Table And Logic Expression YXZX 0 0 10 Y 01 11 0 1 1 1 Logic Symbol Truth Table Logic Expression
  • 6. Inverter/Not Gate • Logic Symbol, Truth Table And Logic Expression XZX 0 1 01 Logic Symbol Truth Table Logic Expression
  • 7. NOR • Logic Symbol, Truth Table And Logic Expression YXZX 0 0 10 Y 01 11 1 0 0 0 YXZ X Y Logic Symbol Truth Table Logic Expression
  • 8. NAND • Logic Symbol, Truth Table And Logic Expression YXZX 0 0 10 Y 01 11 1 1 1 0 YXZ X Y Logic Symbol Truth Table Logic Expression
  • 9. XOR • Logic Symbol, Truth Table And Logic Expression YXZX 0 0 10 Y 01 11 0 1 1 0 YXZ X Y 1) Result is „1‟ when exactly one input is „1‟ 2) The output is always 1 when we have a different set of input Logic Symbol Truth Table Logic Expression
  • 10. XNOR • Logic Symbol, Truth Table And Logic Expression YXZX 0 0 10 Y 01 11 1 0 0 1 YXZ X Y Result is „1‟ when both inputs are the same logic Logic Symbol Truth Table Logic Expression
  • 11. 2.3 Build sequential logic circuit • Circuits whose outputs depends not only on the present input value but also the past input value are known as sequential logic circuits. • Are circuits that contain memory element. • Example: flip-flop 2.3.1 Define sequential logic circuit.
  • 12. 2.3.2 Differentiate between combinational logic circuit and sequential logic circuit • Combinational Logic Circuit – refers to circuits whose output is strictly depended on the present value of the inputs. Example: logic gates • Sequential Logic Circuit- Circuits whose outputs depends not only on the present input value but also the past input value are known as sequential logic circuits. Example: flip-flop
  • 13. 2.3.3 Describe Flip Flop • Is a logic circuit that has two stable states or memory where one state is compliment with other state. • can be divided into common types either synchronous(clock) or asynchronous (no clock):
  • 14. 2.3.4 List the types of flip-flop: a. SR flip – flop (SR- set reset) b. Clocked SR flip – flop c. JK flip – flop d. T flip flop (Toggle) e. D flip flop (Delay or Data)
  • 15. 2.3.5 Build SR, JK, T and D flip flop using logic gates. 2.3.6 Draw the symbol and truth table of SR, JK, T and D flip –flop.
  • 16. 1.SR FLIP FLOP • Can build from NOR or NAND gate. From NOR gate From NAND gate S R Q Q S R Q Q S R Keluaran (Q) 0 0 Tak logik 0 1 1 (set) 1 0 0(reset) 1 1 Tak ubah S R Keluaran (Q) 0 0 Tak ubah 0 1 0 (reset) 1 0 1 (set) 1 1 Tak logik symbol
  • 17. Con‟t Timing digram for Flip-Flop SR-get NOR Timing digram for Flip-Flop SR-get NAND S R Q T1 T2 T3 T4 T5 T6
  • 18. 2) CLOCKED SR FLIP FLOP From NOR gate From NAND gate Timing diagram for SR flip flop with clock S KLOK R Q Q S KLOK R Q Q S R klok Q keadaanawal set takubah reset reset takubah set
  • 19. 3) JK FLIP FLOP Truth table Timing Digram nQ J K clock Q t.ubah set t.ubah toggle reset t.ubah Klok J K Qn+1 1 0 0 Qn 1 0 1 0 1 1 0 1 1 1 1 nQ symbol
  • 20. 4) T FLIP FLOP JAM T Qn Qn+1 CATATA N 1 0 0 0 Tak Ubah 1 0 1 1 Tak Ubah 1 1 1 0 Toggle 1 1 0 1 Toggle JAM T Qn+1 1 0 Qn 1 1 nQ T clock Q Logic Symbol Logic circuit Truth table Truth table Timing diagram
  • 21. 5) D Flip flop Jam D Qn+1 0 0 0 1 1 0 0 1 1 1 nQ nQ D Qn+1 0 0 1 1 D clock Q Symbol Circuit Truth table Timing diagram
  • 22. COMBINATIONAL LOGIC CIRCUIT • refers to circuits whose output is strictly depended on the present value of the inputs • Are made of logic gates with no feedback. • To design combinational logic circuit, we need to know about basic logic equation : – If sign “+” between two or more variables, it means all variables using OR gate. For example : A + B + C – If sign “.” between two or more variables, it means all variables using AND gate operation. For example : A.B.C
  • 23. Example : • Given logic equation Y = A . B + A . B. Draw the logic diagram base on the equation. Solution • the equation has 2 variables A and B. • reference A . B used AND gate and A used NOT gate • reference A . B used AND gate • Finally, both reference used OR gate to form equation of Y
  • 24. Boolean Theorem • Basic Rules 1. A + 0 = A 2. A + 1 = 1 5. A . 0 = 0 6. A . 1 = A 3. A + A = A 7. A . A = A 4. A + A = 1 8. A . A = 0 9. A = A = 10. A + AB = A 12. (A + B)(A + C) = A + BC 11. A + AB = A + B
  • 26. Boolean Simplification - Example • Using Boolean theorem, Simplify the expression: )()( CBBCBAAB • Apply distributive law, BCBBACABAB • Apply rule 7 (BB = B), and rule 5 (AB + AB = AB) BACAB • Apply rule 10 (B + BC = B) BCBACAB
  • 27. Boolean Simplification - Example BACAB • Apply rule 10 (AB + B = B) ACB At this point, the expression is simplified as much as possible Original expression is )()( CBBCBAAB Which is logically equal to ACB In terms of design, what is the advantage of Boolean simplification?
  • 28. Boolean Simplification - Example Original expression is )()( CBBCBAAB Which is logically equal to ACB Faster Compact design Lower cost A B C A B C
  • 29. DeMorgan‟s Theorem • The complement of a product of variables is equal to the sum of the complemented variables AB = A + B A + B A B AB A B NAND Negative-OR BAA 0 0 10 B 01 11 1 1 1 0 BA 1 1 1 0 Theorem 1
  • 30. DeMorgan‟s Theorem BAA 0 0 10 B 01 11 1 0 0 0 BA 1 0 0 0 Theorem 2 AB A B A + B A B NOR Negative-AND A + B = A . B
  • 31. Example 1: • Given Z = A + B . C .Simplified the equation below using De‟ Morgan Theorem. Solution; Z = A + B.C = A . B.C = A .( B+C) = A . (B+C)
  • 32. Example 2: • Given Z = (A + C).(B+D) .Simplified the equation below using De‟ Morgan Theorem. Solution : Z = (A + C) . (B + D) = (A + C) + (B + D) = (A . C) + (B . D) = AC + BD
  • 33. Sum-of-Products • SOP expressions consist of two or more AND terms (products) that are ORed together • In SOP an inversion cannot cover more than one variable in a term Example: • ABC + ABC • A B + A B + A B • A B C + A B C • A B + A B C + C D + C
  • 34. Product-of-Sums • POS expressions consist of two or more OR terms (sums) that are ANDed together • Example: – X = (A + B + C)(A + C) – X = (A + B)(C + D)F – X = ( A + B ) . ( B + C ) – X = ( B + C + D ) . ( B C + E ) – X = ( A + C ) . ( B + E ). ( C + B )
  • 35. Karnaugh Map Method • A graphical method of simplifying logic equations or truth tables. • Also called a K map. • Theoretically can be used for any number of input variables, but practically limited to 5 or 6 variables.
  • 36. Karnaugh Map Method • The truth table values are placed in the K map. • Adjacent K map square differ in only one variable both horizontally and vertically. • The pattern from top to bottom and left to right must be in the form • A SOP expression can be obtained by ORing all squares that contain a 1.
  • 37. Karnaugh Map Method • Looping adjacent groups of 2, 4, or 8 1s will result in further simplification. • When the largest possible groups have been looped, only the common terms are placed in the final expression. • Looping may also be wrapped between top, bottom, and sides. • Looping a pair (or quad or octet and so on) of adjacent 1s in a K map eliminates the variable that appears in complemented and uncomplemented form.
  • 38. Karnaugh maps and truth tables for (a) two, (b) three, and (c) four variables.
  • 39. Examples of looping pairs of adjacent 1s.
  • 40. Examples of looping groups of fours 1s (quads).
  • 41. Examples of looping groups of eight 1s (octets).
  • 42. Karnaugh Map Method • Complete K map simplification process – Construct the K map, place 1s as indicated in the truth table. – Loop 1s that are not adjacent to any other 1s. (Isolated 1s) – Loop 1s that are in pairs – Loop 1s in octets even if they have already been looped. – Loop quads that have one or more 1s not already looped. (Use minimum number of loops) – Loop any pairs necessary to include 1s not already looped. – Form the OR sum of terms generated by each loop.
  • 44. Example : The same K map with two equally good solutions.
  • 45. Example : • Use a K map to simplify: Y = C(ABD + D) + ABC + D