SlideShare a Scribd company logo
Digital Logic Design
(HSC curriculum based)
M Rashidul Hasan
admin@systechdigital.com
Where You Get…
Syllabus
• Boolean Algebra
• Truth Table
• De-Morgan’s Law
• Logic Functions
• Logic Gates
• Karnaugh Map
• Decoder
• Encoder
• Sequential Logic Circuit
• Flip-Flop
• Register
• Counter
• Adder
• Signed Number
Let’s Play a Game
Can I Guess Your Age?
Can you guess how
this game works???
Can you solve this now?
Boolean Algebra
Boolean Operators
• AND
• Result TRUE if and only if both
input operands are true
• C = A  B
• INCLUSIVE-OR
• Result TRUE if any input operands
are true
• C = A + B
A B C
0 0 0
0 1 0
1 0 0
1 1 1
A B C
0 0 0
0 1 1
1 0 1
1 1 1
Boolean Operators (Continued)
• NOT
• Result TRUE if single input value is
FALSE
• C = A
A C
0 1
1 0
Boolean Theorems
Boolean Theorems (Explanations)
Truth Table
A B AB A+AB
0
1
0
1
0
0
1
1
0
0
0
1
0
1
0
1
Example 1 : A+A.B = A
Example 1 : A + A’B = A+B
A A’ B A’B A+A’B A+B
0
1
0
1
1
0
1
0
0
0
1
1
0
0
1
0
0
1
1
1
0
1
1
1
0 + 0 = 0 . . . . . . . . . 1
1 + 0 = 1 . . . . . . . . . 2
0 + 1 = 1 . . . . . . . . . 3
1 + 1 = 1 . . . . . . . . . 4
0 . 0 = 0
1 . 0 = 0
0 . 1 = 0
1 . 1 = 1
Proof Using Truth Table
De Morgan's Theorem
0 + 0 = 0 . . . . . . . . . 1
1 + 0 = 1 . . . . . . . . . 2
0 + 1 = 1 . . . . . . . . . 3
1 + 1 = 1 . . . . . . . . . 4
0 . 0 = 0
1 . 0 = 0
0 . 1 = 0
1 . 1 = 1
(A + B) = A . B - - - - - - - - (1)
(A . B) = A + B - - - - - - - (2)
A A B B A + B A + B A . B A . B A . B A + B
0
1
0
1
1
0
1
0
0
0
1
1
1
1
0
0
0
1
1
1
1
0
0
0
0
0
0
1
1
1
1
0
1
0
0
0
1
1
1
0
Proof:
Logic Gates
Logic Gates
• Gates or logical gates
• Integrated circuits
constructed from
transistor switches and
other electronic
components
• VLSI: very large-scale
integration
NOT ORAND
NMOS
Logic Gates
• Making AND Gate
Logic Gates
AND
AND Gate
A B C
0 0 0
0 1 0
1 0 0
1 1 1
A
C
X = ABCB
Input Output
A B C X=ABC
0
0
0
1
1
0
1
1
0
0
1
0
1
1
0
1
0
1
1
0
0
1
1
1
0
0
0
0
0
0
0
1
Logic Gates
OR Gate
A B C
0 0 0
0 1 1
1 0 1
1 1 1
OR
A
B X = A + B + C
C
Input Output
A B C X=A+B+C
0
0
0
0
1
1
1
1
0
0
1
1
0
1
0
1
0
1
0
1
1
0
0
1
0
1
1
1
1
1
1
1
A B X
Logic Gates
NOT Gate
A C
0 1
1 0
NOT
Input Output
A X
0
1
0
1
Buffer Gate
Other Combined Logic Gates
NAND Gate
A
B
X = AB
A
B
X = AB
AB
Input Output
A B X
0
1
0
1
0
0
1
1
1
1
1
0
NOR Gate
Input Output
A B X
0
1
0
1
0
0
1
1
1
0
0
0
A
B
X = A + B
A
B
X = A + B
A+B
Other Combined Logic Gates
XOR Gate
XNOR Gate
X = A + B = A'B + AB'
A
B
Input Output
A B X
0
0
1
1
0
1
0
1
0
1
1
0
X = A + B = AB + BA
Input Output
A B X
0
1
0
1
0
0
1
1
1
0
0
1
All Logic Gates and IEEE standards
What is the meaning
of ASCII???
NAND and NOR for Universal use
Using NAND Gate
[wW-giM¨v‡bi mÎvbymv‡i A.B
= A + B ]
NAND and NOR for Universal use
Using NOR Gate
Karnaugh MapY
1 0 0 1
0 1 0 0
0 1 0 0
X
W
1 0 0 1
Z
Do you know the other
name of Karnaugh
Map???
Karnaugh Map
Number of boxes will
be 2n
where n is
number of operator
Karnaugh Map
Example 1:
Consider the following map. The function plotted is: Z = f(A,B) = AB’ + AB
Using algebraic simplification,
Z = AB’ + AB
Z = A( B’+ B)
Z = A
Example 2:
Consider the expression Z = f(A,B) = A’B’ + AB’+A’B plotted on the Karnaugh map:
Hence the simplified answer is Z = A’ +B’
Karnaugh Map
Minterm:
Pair:
Number of term will
be 2n
where n is
number of operator
BC'D'
F(A, B, C) = Σ (3, 15, 6, 2, 7, 11, 8)
Karnaugh Map
Quad:
Octet:
Karnaugh Map (Rules)
Overlapping Groups:
Redundant Group :
X = BCD +ABD+ACD
Karnaugh Map
Solution from Logic Circuit:
X= ABCD’+ABC’D’+AB’C’D’
X= AC’D’+ABD’
Decoder & Encoder
Decoder
• 3:8 line Decoder
Decoder
• 3:8 line Decoder Circuit
Encoder 8:3 line Encoder
Y = D2 + D3 + D6 + D7
X = D4 + D5 + D6 + D7
Z = D1 + D3 + D5 + D7
Can you say a computer
peripheral name which is
used for external data
encoding and decoding ???
Sequential Logic Circuit
What is Sequential Logic Circuit?
Flip-FlopFlip Flop
Flip-Flop
S-R Flip Flop (NAND Latch)
1
0
1
0
S (set)
R (reset)
(a) Logic diagram (b) Truth table
S R Q Q’
1 0 0 1
1 1 0 1 (after S = 1, R = 0)
0 1 1 0
1 1 1 0 (after S = 0, R = 1)
0 0 1 1
S R Q
1 1 AcwiewZ
©Z
0 1 me mgq 1
1 0 me mgq 0
0 0 AwbwðZ
Flip-Flop
S-R Flip Flop (NAND Latch with Clock)
S (set)
R (reset)
(a) Logic diagram (b) Truth table
S R CLK Q
1 1
↑
Acwiew
Z©Z
0 1 ↑ me mgq
1
1 0 ↑ me mgq
0
0 0 ↑ Awbwð
Z
Symbol
Flip-Flop
D CLK Q
0 ↑ 0
1 ↑ 1
D Flip Flop (NAND Latch with Clock)
(a) Graphic diagram (b) Characteristic table
Flip-Flop
JK Flip Flop
(a) Graphic diagram
(b) Characteristic table
J K CLK Q
0 0 ↑ Q0
Acwiew
Z©Z
0 1 ↑ memgq 0
1 0 ↑ memgq|
1 1 ↑ Q0
(Toggle)
Flip-Flop
T CLK Q
0 ↑ Q0
1 ↑ Q0
(Toggle)
T Flip Flop
(a) Graphic diagram
(b) Characteristic table
Register
Can you say what is
resistor ???
Register
†iwR÷vi wK?
†iwR÷vi n‡jv GK cÖKvi †g‡gvwi wWfvBm hv KZ¸‡jv weU‡K aviY
K‡i _v‡K| GwU GK¸”Q wd¬c-d¬c-Gi mgš^‡q MwVZ, †hLv‡b
cÖ‡Z¨KwU wd¬c-d¬c GKwU K‡i evBbvwi weU aviY K‡i _v‡K|
myZivs, n-weU †iwR÷v‡i n msL¨K wd¬c-d¬c _v‡K Ges GUv n-weU-Gi
†h‡Kvb evBbvwi Z_¨‡K aviY Ki‡Z cv‡i| wd¬c-d¬c QvovI †iwR÷v‡i
Kw¤^‡bkbvj (Combinational) †MBU _vK‡Z cv‡i, †hUv †iwR÷v‡ii
wfZ‡i Af¨š—ixY Feedback Path ˆZwi Ki‡Z A_ev wewfbœ cÖKvi WvUv
cÖ‡mwms‡qi Kv‡R e¨eüZ nq| e¨vcK A‡_© †iwR÷vi n‡jv KZ¸‡jv wd¬c-
d¬c-Gi mgš^‡q MwVZ mvwK©U hv evBbvwi Z_¨‡K msi¶Y/aviY K‡i
_v‡K|
AX, BX, CX, DX, EX Ges SX
Register
Shift Register
Shift Register (with no destructive readout)
Register
Parallel Load Register (Parallel in Serial Out)
Parallel Load Register (Parallel in Parallel Out)
Explanation: How Computer Memory Works
Water Filtration and Cooling System
RAM
Hard Disc
Cache Memory
Register in Glass and Machine
Bus
Processor
Do you know what does
mean by DIMM
RAM???
Counter
000
100
101
110
111001
010
011
Counter
Usage of Counter
1. To count digital event
2. To provide timing signal
3. To control operations of digital circuits
Kind of Counters
1. Asynchronous Counter
1. Ripple up counter
2. Ripple down counter
2. Synchronous Counter
Counter
Asynchronous Ripple Counter
MSB LSB
ClockCLK
FF 0
FF 1
FF 2
CLKCLK
Q 2
T 2
Q 1
T 1
Q 0
T 0
1 1 1
To the next
Stage
Synchronous Counter
Can you say an
instrument name where
digital counter used???
Adder
Adder
How adder works….
A + B S C
0 + 0
0 + 1
1 + 0
1 + 1
0
1
1
0
0
0
0
1
• S = 1 when A’B = 1 and AB’ = 1
• C = 1 when AB = 1
In half adder S = A’B + AB’
or S = A ⊕ B
And C = AB
A
B
S = A ⊕ B
C = AB
H/A
A
B
S
C
Adder
Full Adder
Input Outputs
A B Ci S Co
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0
1
1
0
1
0
0
1
0
0
0
1
0
1
1
1
In Full adder
• S = A’B’Ci+A’BCi’+AB’Ci’+ABCi
•C =A’BCi+AB’Ci+ABCi’+ABCi
Adder
Full Adder Circuit In Full adder
• S = A ⊕ B ⊕ Ci
•C = (A ⊕ B )Ci+AB
A B Ci
• S = A ⊕ B ⊕ Ci
•C = (A ⊕ B )Ci+AB
A
H/A
H/A
B
Ci
C1
C2
Co
S1
S
Adder
Parallel Binary Adder
Signed Number
Signed Representation
Some 7400 ICs
References
Computer Books
• Computer Fundamentals – Dr. Lutfar Rahman & Dr.Alamgir Kabir
•Computer Fundamentals – Malvino
•Computer Fundamentals – B Ram
Circuit Design & Simulation Software
•Electronics Work Bench
•Tina Pro
•Circuits Works
•MS Visio 2003
•Electronic Circuit Simulator
•Karnaugh Minimizer
Digital logic

More Related Content

What's hot

Digital logic gates
Digital logic gatesDigital logic gates
Digital logic gatesjsearle11
 
Digital logic circuit
Digital logic circuitDigital logic circuit
Digital logic circuit
Ahmedabad Institute of technology
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
kavitha muneeshwaran
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
foyez ahammad
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
Tamim Tanvir
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
SARITHA REDDY
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
rohity7
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
Vaagdevi College of Engineering
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
Fizaril Amzari Omar
 
PST SC015 Chapter 2 Computer System (III) 2017/2018
PST SC015 Chapter 2 Computer System (III) 2017/2018PST SC015 Chapter 2 Computer System (III) 2017/2018
PST SC015 Chapter 2 Computer System (III) 2017/2018
Fizaril Amzari Omar
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manual
Nitesh Dubey
 
Number system logic gates
Number system logic gatesNumber system logic gates
Number system logic gates
Jaipal Dhobale
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
Rojin Khadka
 
EASA Part 66 Module 5.5 : Logic Circuit
EASA Part 66 Module 5.5 : Logic CircuitEASA Part 66 Module 5.5 : Logic Circuit
EASA Part 66 Module 5.5 : Logic Circuit
soulstalker
 
Digital 1
Digital 1Digital 1
Digital 1
AJAL A J
 
Chapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and GatesChapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and Gates
SSE_AndyLi
 

What's hot (20)

Logic Fe Tcom
Logic Fe TcomLogic Fe Tcom
Logic Fe Tcom
 
Digital logic gates
Digital logic gatesDigital logic gates
Digital logic gates
 
Dpsd lecture-notes
Dpsd lecture-notesDpsd lecture-notes
Dpsd lecture-notes
 
Digital logic circuit
Digital logic circuitDigital logic circuit
Digital logic circuit
 
Digital Logic circuit
Digital Logic circuitDigital Logic circuit
Digital Logic circuit
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
Digital logic gates and Boolean algebra
Digital logic gates and Boolean algebraDigital logic gates and Boolean algebra
Digital logic gates and Boolean algebra
 
Ch1 2
Ch1 2Ch1 2
Ch1 2
 
9. logic gates._rr
9. logic gates._rr9. logic gates._rr
9. logic gates._rr
 
Digital Logic Design
Digital Logic Design Digital Logic Design
Digital Logic Design
 
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)PDT DC015 Chapter 2 Computer System 2017/2018 (f)
PDT DC015 Chapter 2 Computer System 2017/2018 (f)
 
PST SC015 Chapter 2 Computer System (III) 2017/2018
PST SC015 Chapter 2 Computer System (III) 2017/2018PST SC015 Chapter 2 Computer System (III) 2017/2018
PST SC015 Chapter 2 Computer System (III) 2017/2018
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manual
 
Digital Logic Rcs
Digital Logic RcsDigital Logic Rcs
Digital Logic Rcs
 
Number system logic gates
Number system logic gatesNumber system logic gates
Number system logic gates
 
boolean algrebra and logic gates in short
boolean algrebra and logic gates in shortboolean algrebra and logic gates in short
boolean algrebra and logic gates in short
 
EASA Part 66 Module 5.5 : Logic Circuit
EASA Part 66 Module 5.5 : Logic CircuitEASA Part 66 Module 5.5 : Logic Circuit
EASA Part 66 Module 5.5 : Logic Circuit
 
Digital 1
Digital 1Digital 1
Digital 1
 
Chapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and GatesChapter 02 Logic Functions and Gates
Chapter 02 Logic Functions and Gates
 

Viewers also liked

Buscadores y-operadores
Buscadores y-operadoresBuscadores y-operadores
Buscadores y-operadores
arzucillo
 
Finding yourself nasrullah 00011
Finding yourself nasrullah 00011Finding yourself nasrullah 00011
Finding yourself nasrullah 00011
Nasrullah Asif
 
Formacion lean mgnt kata lkt_brochure_dic2016
Formacion lean mgnt kata lkt_brochure_dic2016Formacion lean mgnt kata lkt_brochure_dic2016
Formacion lean mgnt kata lkt_brochure_dic2016
Carlos Martin Maroto
 
Finding yourself nasrullah 00011
Finding yourself nasrullah 00011Finding yourself nasrullah 00011
Finding yourself nasrullah 00011
Nasrullah Asif
 
Postimpressionismo cubismo silvia (1)
Postimpressionismo  cubismo silvia (1)Postimpressionismo  cubismo silvia (1)
Postimpressionismo cubismo silvia (1)
silvia compagnucci
 
VU RESEARCH PROPOSAL
VU RESEARCH PROPOSALVU RESEARCH PROPOSAL
VU RESEARCH PROPOSALLinh Vu
 
Postimpressionismo cubismo sofia
Postimpressionismo  cubismo sofiaPostimpressionismo  cubismo sofia
Postimpressionismo cubismo sofia
silvia compagnucci
 
Tema 16
Tema 16Tema 16
Tema 16
Flor Pineda
 
Conocimiento científico
Conocimiento científicoConocimiento científico
Conocimiento científico
Eli Montse Romero
 
Formacion Lean Kata ene2017
Formacion Lean Kata ene2017Formacion Lean Kata ene2017
Formacion Lean Kata ene2017
Carlos Martin Maroto
 
Webquest trabajo tic
Webquest trabajo ticWebquest trabajo tic
Webquest trabajo tic
Anabel Moreno
 
Weekend in london
Weekend in londonWeekend in london
Weekend in london
silvia compagnucci
 
Metodologia
MetodologiaMetodologia
Metodologia
Eli Montse Romero
 
Formacion lean kata general brochure_feb2016
Formacion lean kata general brochure_feb2016Formacion lean kata general brochure_feb2016
Formacion lean kata general brochure_feb2016
Carlos Martin Maroto
 
Giving Spirit Presentation 6.2.16
Giving Spirit Presentation 6.2.16Giving Spirit Presentation 6.2.16
Giving Spirit Presentation 6.2.16Jeff Gruber
 
Difusión titulo propio Lean manufacturing Burgos
Difusión titulo propio Lean manufacturing BurgosDifusión titulo propio Lean manufacturing Burgos
Difusión titulo propio Lean manufacturing Burgos
Carlos Martin Maroto
 
Generaciones de teléfonos
Generaciones de teléfonosGeneraciones de teléfonos
Generaciones de teléfonos
felipe vega suarez
 
The Perception of College Students toward Mental Health Accessbilities
The Perception of College Students toward Mental Health AccessbilitiesThe Perception of College Students toward Mental Health Accessbilities
The Perception of College Students toward Mental Health AccessbilitiesLinh Vu
 

Viewers also liked (19)

Buscadores y-operadores
Buscadores y-operadoresBuscadores y-operadores
Buscadores y-operadores
 
Finding yourself nasrullah 00011
Finding yourself nasrullah 00011Finding yourself nasrullah 00011
Finding yourself nasrullah 00011
 
Formacion lean mgnt kata lkt_brochure_dic2016
Formacion lean mgnt kata lkt_brochure_dic2016Formacion lean mgnt kata lkt_brochure_dic2016
Formacion lean mgnt kata lkt_brochure_dic2016
 
Finding yourself nasrullah 00011
Finding yourself nasrullah 00011Finding yourself nasrullah 00011
Finding yourself nasrullah 00011
 
Postimpressionismo cubismo silvia (1)
Postimpressionismo  cubismo silvia (1)Postimpressionismo  cubismo silvia (1)
Postimpressionismo cubismo silvia (1)
 
VU RESEARCH PROPOSAL
VU RESEARCH PROPOSALVU RESEARCH PROPOSAL
VU RESEARCH PROPOSAL
 
Postimpressionismo cubismo sofia
Postimpressionismo  cubismo sofiaPostimpressionismo  cubismo sofia
Postimpressionismo cubismo sofia
 
Tema 16
Tema 16Tema 16
Tema 16
 
Conocimiento científico
Conocimiento científicoConocimiento científico
Conocimiento científico
 
Formacion Lean Kata ene2017
Formacion Lean Kata ene2017Formacion Lean Kata ene2017
Formacion Lean Kata ene2017
 
Webquest trabajo tic
Webquest trabajo ticWebquest trabajo tic
Webquest trabajo tic
 
Weekend in london
Weekend in londonWeekend in london
Weekend in london
 
Metodologia
MetodologiaMetodologia
Metodologia
 
RESUME-Humayoun (1)
RESUME-Humayoun (1)RESUME-Humayoun (1)
RESUME-Humayoun (1)
 
Formacion lean kata general brochure_feb2016
Formacion lean kata general brochure_feb2016Formacion lean kata general brochure_feb2016
Formacion lean kata general brochure_feb2016
 
Giving Spirit Presentation 6.2.16
Giving Spirit Presentation 6.2.16Giving Spirit Presentation 6.2.16
Giving Spirit Presentation 6.2.16
 
Difusión titulo propio Lean manufacturing Burgos
Difusión titulo propio Lean manufacturing BurgosDifusión titulo propio Lean manufacturing Burgos
Difusión titulo propio Lean manufacturing Burgos
 
Generaciones de teléfonos
Generaciones de teléfonosGeneraciones de teléfonos
Generaciones de teléfonos
 
The Perception of College Students toward Mental Health Accessbilities
The Perception of College Students toward Mental Health AccessbilitiesThe Perception of College Students toward Mental Health Accessbilities
The Perception of College Students toward Mental Health Accessbilities
 

Similar to Digital logic

Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
ssuser6feece1
 
3306565.ppt
3306565.ppt3306565.ppt
3306565.ppt
JP Chicano
 
02-gates-w.pptx
02-gates-w.pptx02-gates-w.pptx
02-gates-w.pptx
039JagadeeswaranS
 
Lecture 18 M - Copy.pptx
Lecture 18 M - Copy.pptxLecture 18 M - Copy.pptx
Lecture 18 M - Copy.pptx
AzeenShahid
 
Modern+digital+electronics rp+jain
Modern+digital+electronics rp+jainModern+digital+electronics rp+jain
Modern+digital+electronics rp+jain
Venugopala Rao P
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
Frankie Jones
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
Unsa Shakir
 
Sample quizz test
Sample quizz testSample quizz test
Sample quizz test
kasguest
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
qquwandiq19
 
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
Rai University
 
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
ShirazHusain4
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptx
amudhak10
 
dld.ppt
dld.pptdld.ppt
dld.ppt
DagneMulu1
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
ThanmayiKumar
 
Logic gates
Logic gatesLogic gates
Logic gates
khush amdin
 
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfLec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
abdnazar2003
 

Similar to Digital logic (20)

Digital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptxDigital-Logic40124sequential circuits logic gatepptx
Digital-Logic40124sequential circuits logic gatepptx
 
3306565.ppt
3306565.ppt3306565.ppt
3306565.ppt
 
02-gates-w.pptx
02-gates-w.pptx02-gates-w.pptx
02-gates-w.pptx
 
14 Lec11 2003
14 Lec11 200314 Lec11 2003
14 Lec11 2003
 
Lecture 18 M - Copy.pptx
Lecture 18 M - Copy.pptxLecture 18 M - Copy.pptx
Lecture 18 M - Copy.pptx
 
Modern+digital+electronics rp+jain
Modern+digital+electronics rp+jainModern+digital+electronics rp+jain
Modern+digital+electronics rp+jain
 
Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)Chapter 2 Boolean Algebra (part 2)
Chapter 2 Boolean Algebra (part 2)
 
boolean algebra and logic simplification
boolean algebra and logic simplificationboolean algebra and logic simplification
boolean algebra and logic simplification
 
Sample quizz test
Sample quizz testSample quizz test
Sample quizz test
 
2dig circ
2dig circ2dig circ
2dig circ
 
9402730.ppt
9402730.ppt9402730.ppt
9402730.ppt
 
UNIT-1_CSA.pdf
UNIT-1_CSA.pdfUNIT-1_CSA.pdf
UNIT-1_CSA.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
 
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
 
UNIT - II.pptx
UNIT - II.pptxUNIT - II.pptx
UNIT - II.pptx
 
dld.ppt
dld.pptdld.ppt
dld.ppt
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
Arithmatic &Logic Unit
Arithmatic &Logic UnitArithmatic &Logic Unit
Arithmatic &Logic Unit
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdfLec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
Lec4-Algghhhhgghgjhf5dvbgyuygit87678.pdf
 

Recently uploaded

Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 

Recently uploaded (20)

Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 

Digital logic

  • 1. Digital Logic Design (HSC curriculum based) M Rashidul Hasan admin@systechdigital.com
  • 3. Syllabus • Boolean Algebra • Truth Table • De-Morgan’s Law • Logic Functions • Logic Gates • Karnaugh Map • Decoder • Encoder • Sequential Logic Circuit • Flip-Flop • Register • Counter • Adder • Signed Number
  • 5. Can I Guess Your Age?
  • 6. Can you guess how this game works???
  • 7. Can you solve this now?
  • 9. Boolean Operators • AND • Result TRUE if and only if both input operands are true • C = A  B • INCLUSIVE-OR • Result TRUE if any input operands are true • C = A + B A B C 0 0 0 0 1 0 1 0 0 1 1 1 A B C 0 0 0 0 1 1 1 0 1 1 1 1
  • 10. Boolean Operators (Continued) • NOT • Result TRUE if single input value is FALSE • C = A A C 0 1 1 0
  • 13. Truth Table A B AB A+AB 0 1 0 1 0 0 1 1 0 0 0 1 0 1 0 1 Example 1 : A+A.B = A Example 1 : A + A’B = A+B A A’ B A’B A+A’B A+B 0 1 0 1 1 0 1 0 0 0 1 1 0 0 1 0 0 1 1 1 0 1 1 1 0 + 0 = 0 . . . . . . . . . 1 1 + 0 = 1 . . . . . . . . . 2 0 + 1 = 1 . . . . . . . . . 3 1 + 1 = 1 . . . . . . . . . 4 0 . 0 = 0 1 . 0 = 0 0 . 1 = 0 1 . 1 = 1 Proof Using Truth Table
  • 14. De Morgan's Theorem 0 + 0 = 0 . . . . . . . . . 1 1 + 0 = 1 . . . . . . . . . 2 0 + 1 = 1 . . . . . . . . . 3 1 + 1 = 1 . . . . . . . . . 4 0 . 0 = 0 1 . 0 = 0 0 . 1 = 0 1 . 1 = 1 (A + B) = A . B - - - - - - - - (1) (A . B) = A + B - - - - - - - (2) A A B B A + B A + B A . B A . B A . B A + B 0 1 0 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 1 1 1 0 0 0 0 0 0 1 1 1 1 0 1 0 0 0 1 1 1 0 Proof:
  • 16. Logic Gates • Gates or logical gates • Integrated circuits constructed from transistor switches and other electronic components • VLSI: very large-scale integration NOT ORAND NMOS
  • 18. Logic Gates AND AND Gate A B C 0 0 0 0 1 0 1 0 0 1 1 1 A C X = ABCB Input Output A B C X=ABC 0 0 0 1 1 0 1 1 0 0 1 0 1 1 0 1 0 1 1 0 0 1 1 1 0 0 0 0 0 0 0 1
  • 19. Logic Gates OR Gate A B C 0 0 0 0 1 1 1 0 1 1 1 1 OR A B X = A + B + C C Input Output A B C X=A+B+C 0 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 0 1 0 1 1 0 0 1 0 1 1 1 1 1 1 1 A B X
  • 20. Logic Gates NOT Gate A C 0 1 1 0 NOT Input Output A X 0 1 0 1 Buffer Gate
  • 21. Other Combined Logic Gates NAND Gate A B X = AB A B X = AB AB Input Output A B X 0 1 0 1 0 0 1 1 1 1 1 0 NOR Gate Input Output A B X 0 1 0 1 0 0 1 1 1 0 0 0 A B X = A + B A B X = A + B A+B
  • 22. Other Combined Logic Gates XOR Gate XNOR Gate X = A + B = A'B + AB' A B Input Output A B X 0 0 1 1 0 1 0 1 0 1 1 0 X = A + B = AB + BA Input Output A B X 0 1 0 1 0 0 1 1 1 0 0 1
  • 23. All Logic Gates and IEEE standards
  • 24. What is the meaning of ASCII???
  • 25. NAND and NOR for Universal use Using NAND Gate [wW-giM¨v‡bi mÎvbymv‡i A.B = A + B ]
  • 26. NAND and NOR for Universal use Using NOR Gate
  • 27. Karnaugh MapY 1 0 0 1 0 1 0 0 0 1 0 0 X W 1 0 0 1 Z
  • 28. Do you know the other name of Karnaugh Map???
  • 29. Karnaugh Map Number of boxes will be 2n where n is number of operator
  • 30. Karnaugh Map Example 1: Consider the following map. The function plotted is: Z = f(A,B) = AB’ + AB Using algebraic simplification, Z = AB’ + AB Z = A( B’+ B) Z = A Example 2: Consider the expression Z = f(A,B) = A’B’ + AB’+A’B plotted on the Karnaugh map: Hence the simplified answer is Z = A’ +B’
  • 31. Karnaugh Map Minterm: Pair: Number of term will be 2n where n is number of operator BC'D' F(A, B, C) = Σ (3, 15, 6, 2, 7, 11, 8)
  • 33. Karnaugh Map (Rules) Overlapping Groups: Redundant Group : X = BCD +ABD+ACD
  • 34. Karnaugh Map Solution from Logic Circuit: X= ABCD’+ABC’D’+AB’C’D’ X= AC’D’+ABD’
  • 37. Decoder • 3:8 line Decoder Circuit
  • 38. Encoder 8:3 line Encoder Y = D2 + D3 + D6 + D7 X = D4 + D5 + D6 + D7 Z = D1 + D3 + D5 + D7
  • 39. Can you say a computer peripheral name which is used for external data encoding and decoding ???
  • 41. What is Sequential Logic Circuit?
  • 43. Flip-Flop S-R Flip Flop (NAND Latch) 1 0 1 0 S (set) R (reset) (a) Logic diagram (b) Truth table S R Q Q’ 1 0 0 1 1 1 0 1 (after S = 1, R = 0) 0 1 1 0 1 1 1 0 (after S = 0, R = 1) 0 0 1 1 S R Q 1 1 AcwiewZ ©Z 0 1 me mgq 1 1 0 me mgq 0 0 0 AwbwðZ
  • 44. Flip-Flop S-R Flip Flop (NAND Latch with Clock) S (set) R (reset) (a) Logic diagram (b) Truth table S R CLK Q 1 1 ↑ Acwiew Z©Z 0 1 ↑ me mgq 1 1 0 ↑ me mgq 0 0 0 ↑ Awbwð Z Symbol
  • 45. Flip-Flop D CLK Q 0 ↑ 0 1 ↑ 1 D Flip Flop (NAND Latch with Clock) (a) Graphic diagram (b) Characteristic table
  • 46. Flip-Flop JK Flip Flop (a) Graphic diagram (b) Characteristic table J K CLK Q 0 0 ↑ Q0 Acwiew Z©Z 0 1 ↑ memgq 0 1 0 ↑ memgq| 1 1 ↑ Q0 (Toggle)
  • 47. Flip-Flop T CLK Q 0 ↑ Q0 1 ↑ Q0 (Toggle) T Flip Flop (a) Graphic diagram (b) Characteristic table
  • 49. Can you say what is resistor ???
  • 50. Register †iwR÷vi wK? †iwR÷vi n‡jv GK cÖKvi †g‡gvwi wWfvBm hv KZ¸‡jv weU‡K aviY K‡i _v‡K| GwU GK¸”Q wd¬c-d¬c-Gi mgš^‡q MwVZ, †hLv‡b cÖ‡Z¨KwU wd¬c-d¬c GKwU K‡i evBbvwi weU aviY K‡i _v‡K| myZivs, n-weU †iwR÷v‡i n msL¨K wd¬c-d¬c _v‡K Ges GUv n-weU-Gi †h‡Kvb evBbvwi Z_¨‡K aviY Ki‡Z cv‡i| wd¬c-d¬c QvovI †iwR÷v‡i Kw¤^‡bkbvj (Combinational) †MBU _vK‡Z cv‡i, †hUv †iwR÷v‡ii wfZ‡i Af¨š—ixY Feedback Path ˆZwi Ki‡Z A_ev wewfbœ cÖKvi WvUv cÖ‡mwms‡qi Kv‡R e¨eüZ nq| e¨vcK A‡_© †iwR÷vi n‡jv KZ¸‡jv wd¬c- d¬c-Gi mgš^‡q MwVZ mvwK©U hv evBbvwi Z_¨‡K msi¶Y/aviY K‡i _v‡K| AX, BX, CX, DX, EX Ges SX
  • 51. Register Shift Register Shift Register (with no destructive readout)
  • 52. Register Parallel Load Register (Parallel in Serial Out) Parallel Load Register (Parallel in Parallel Out)
  • 54. Water Filtration and Cooling System RAM Hard Disc Cache Memory Register in Glass and Machine Bus Processor
  • 55. Do you know what does mean by DIMM RAM???
  • 57. Counter Usage of Counter 1. To count digital event 2. To provide timing signal 3. To control operations of digital circuits Kind of Counters 1. Asynchronous Counter 1. Ripple up counter 2. Ripple down counter 2. Synchronous Counter
  • 58. Counter Asynchronous Ripple Counter MSB LSB ClockCLK FF 0 FF 1 FF 2 CLKCLK Q 2 T 2 Q 1 T 1 Q 0 T 0 1 1 1 To the next Stage Synchronous Counter
  • 59. Can you say an instrument name where digital counter used???
  • 60. Adder
  • 61. Adder How adder works…. A + B S C 0 + 0 0 + 1 1 + 0 1 + 1 0 1 1 0 0 0 0 1 • S = 1 when A’B = 1 and AB’ = 1 • C = 1 when AB = 1 In half adder S = A’B + AB’ or S = A ⊕ B And C = AB A B S = A ⊕ B C = AB H/A A B S C
  • 62. Adder Full Adder Input Outputs A B Ci S Co 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 0 1 1 0 1 0 0 1 0 0 0 1 0 1 1 1 In Full adder • S = A’B’Ci+A’BCi’+AB’Ci’+ABCi •C =A’BCi+AB’Ci+ABCi’+ABCi
  • 63. Adder Full Adder Circuit In Full adder • S = A ⊕ B ⊕ Ci •C = (A ⊕ B )Ci+AB A B Ci • S = A ⊕ B ⊕ Ci •C = (A ⊕ B )Ci+AB A H/A H/A B Ci C1 C2 Co S1 S
  • 68. References Computer Books • Computer Fundamentals – Dr. Lutfar Rahman & Dr.Alamgir Kabir •Computer Fundamentals – Malvino •Computer Fundamentals – B Ram Circuit Design & Simulation Software •Electronics Work Bench •Tina Pro •Circuits Works •MS Visio 2003 •Electronic Circuit Simulator •Karnaugh Minimizer