SlideShare a Scribd company logo
1 of 47
Digital Principles and
Computer Organization
Unit – II
Digital Logic Circuits
Submitted by,
M. Kavitha,
M. Sc(CS&IT),
Nadar Saraswathi College of
Arts and Science,
Theni. 1
Digital Principle and Computer
Organization
Contents :
1. Logic Gates.
2. Boolean Algebra
3. Map Simplification.
4. Combinational Circuit.
5. Flip Flop.
6. Sequential Circuit.
2
3
Logic Gates
* A logic gate is an electronic circuit which
makes logical decisions, the most common logic
gates are AND, OR, NOT gates.
* The NAND and NOR gates are called as the
Universal gates.
* The exclusive OR gates is another logic gate
which can be constructed using basic gates such as
AND, OR, NOT.
* There are more type of logic gates.
4
Logic Gates :
* OR Gate.
* AND Gate.
* NOT Gate.
* NAND Gate.
* NOR Gate.
* Exclusive-OR(Ex-OR) Gate.
5
OR Gate :
* The OR gate performs Logic addition,
it is known as OR function.
* The OR gate has two or more inputs
and only one output.
Y = A+B
The OR function can be expressed as
Y = A+B+C+D+……..
6
A
B
Y=A+B
Input Output
Y= A+B
A B
0 0 0
0 1 1
1 0 1
1 1 1
a) Logic Symbol
b) OR gate truth table
7
AND Gates :
* The AND gate performs logical
multiplication, it is known as AND
function.
* The AND gate has two or more input
and a single output.
Y= A . B
* Where the dot(.) denotes the AND
operation.
Y =AB
8
A
B
Y=AB
Input Output
Y= AB
A B
0 0 0
0 1 0
1 0 0
1 1 1
a) Logic Symbol
b) AND gate truth table
9
NOT gate :
* The NOT gate performs the basic
logical function called inversion or
complementation.
* The purpose of the gate is to convert
one logic level into the opposite logic level.
Input
A
Output
Y = A
0 1
1 0
Y= A
A
a) Logic Symbol
b) NOT gate truth table
10
NAND gate :
* NAND is a contraction of the NOT-AND
gates.
* It has two or more inputs and only one
output.
10
Input Output
Y= AB
A B
0 0 1
0 1 1
1 0 1
1 1 0a) Logic Symbol
b) NAND gate truth table
A
B
Y=AB
11
NOR gate :
* NOR is a contraction of NOT-OR
gates.
* It has two or more inputs and only
one output.
A
B
Y=A+B
Input Output
Y= A+B
A B
0 0 1
0 1 0
1 0 0
1 1 0a) Logic Symbol
b) NOR gate truth table
12
Exclusive-OR(Ex-OR) gate :
* An Exclusive-OR gate is a gate with
two or more inputs and one output.
* The output of a two-input Ex-OR gate
a HIGH state.
Y=A
B
Input Output
Y= A B
A B
0 0 0
0 1 1
1 0 1
1 1 0a) Logic Symbol
b) Ex-OR gate truth table
+
+
Boolean Algebra
* Boolean Algebra , elements have one
of two values –True or False.
* The circuits in a computer are also
designed for two-state operations.
* That is input and output of a circuit is
either low(0) or high(1).
* The circuits are called logic circuits.
13
Boolean Algebra :
There are three basic operators in
Boolean Algebra which are called logical
operators or Boolean operators.
1. OR - logical addition
2. AND – logical multiplication
3. NOT – Logical negation
The Boolean operators are used to
combine Boolean variables and Boolean
constants to form Boolean Expressions.
14
15
OR Operation
AND Operation
16
NOT Operation
DeMorgan’s law :
1. (A.B)’= A’+ B’
2. (A+B)’= A’. B’
17
Boolean Algebra
• The sum-of-products form
for our function is:
We note that this function is not in
simplest terms. Our aim is only to
rewrite our function in canonical
sum-of-products form.
18
Map Simplification
K – Map Simplification :
K-map method can also be used for
simplifying the logic expression for s and c-
out.
0 1 0 1
1 0 1 0
0 0 1 0
0 1 1 1
AB
AB C out
C out 00 01 11 10
00 01 11 10
0
1
0
1
a) K-map for Sum
b) K-map for C out
19
0 1
2 3
A
B
0
B
1A
1
Two variable k-map Three variable
0 1 3 2
4 5 7 6
A
BC
00 01 11 10
0
1
B
A
C
Four Variable k-map
0 1 3 2
4 5 7 6
12 13 15 14
8 9 11 10
AB
CD
00
01
11
10
00 01 11 10
A
B
C
Example for k – Map :
Product of sum simplification
Formula : F’ = AB+CD+BD’
F = (A’+B’)(C’+D’)(B’+D)
20
1 1 0 1
0 1 0 0
0 0 0 0
1 1 0 1
21
Combinational Circuits
Combinational logic circuits are circuits in
which the output at any time depends upon the
combination of the input signals.
* Multiplexers
* De-Multiplexers
* Encoders
* Decoders
22
Multiplexers (Data Selectors)
* The term ‘multiplex’ means “many into one”.
Multiplexing is the process of transmitting a large number of
information over a single line.
* A digital multiplexer is a combinational circuit that
selects one digital information from several source and
transmits the selected information on a single output line.
* A multiplexer is also called a data selector.
Multiplexer
1 output
signal
m select signals
n input
signal
23
De-multiplexers(Data Distributors)
* The “demultiplex” means “one into many”.
* Demultiplexing is the process of taking information
from one input and transmitting the same over one of several
output.
* A demultiplexer is a logic circuit the receives
information on a single input and transmits the same
information over one for several (2n) output lines.
Demultiplexer 1 output
signal
m select signals
n input
signal
24
Encoders
* An encoder is a digital circuit that performs the
inverse operation of a decoder and the opposite of the
decoding process is called encoding.
* Encoder is a combinational logic circuit that convert
an active input signal into a coded output signal.
Encoders
m outputs
n input
25
Octal-to-Binary Encoder :
It is well-known that a binary-to-octal decoder a 3-
bit input code and activates one of eight output lines
corresponding to that code.
.
Input Output
D0 D1 D2 D3 D4 D5 D6 D7 Y2 Y1 Y0
1 0 0 0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0 0 0 1
0 0 1 0 0 0 0 0 0 1 0
0 0 0 1 0 0 0 0 0 1 1
0 0 0 0 1 0 0 0 1 0 0
0 0 0 0 0 1 0 0 1 0 1
0 0 0 0 0 0 1 0 1 1 0
0 0 0 0 0 0 0 1 1 1 1
26
* An decoder is similar to demultiplexer but
without any data input. It is most digital systems
require the decoding of data.
* Decoding is necessary in applications such
as data demultiplexing, digital display, digital-to-
analog converters and memory addressing.
* Each output line will be activated for only
one of the possible combinations of inputs.
* A decoder is a number of output is greater
than the number of inputs.
Decoders
3-to-8 Decoder :
A 3-to-8 decoder has three input (A,B,C) and
eight output(D0 to D7) based on 3 input one of the
eight output is selected.
27
Input Output
A B C D0 D1 D2 D3 D4 D5 D6 D7
0 0 0 1 0 0 0 0 0 0 0
0 0 1 0 1 0 0 0 0 0 0
0 1 0 0 0 1 0 0 0 0 0
0 1 1 0 0 0 1 0 0 0 0
1 0 0 0 0 0 0 1 0 0 0
1 0 1 0 0 0 0 0 1 0 0
1 1 0 0 0 0 0 0 0 1 0
1 1 1 0 0 0 0 0 0 0 1
Flip Flops
* The simplest kind of sequential circuit
is a memory cell that has only two states it
is called flip flop.
* It is used to store One bit of
information with a 0 or a 1.
* A flip flop is also known as bistable,
multivibrator, latch or toggle.
28
29
Type of flip flop :
* Flip flop are of different types
depending on the input and clock pulses
cause transition between two states.
* There are four type of flip flop.
* S-R Flip flop (Set/Reset).
* D Flip flop (Delay/Data).
* J-K Flip flop.
* T Flip flop (Toggle).
S – R Flip Flop (SET/RESET)
30
31
32
Working of S – R Flip Flop (Set/Reset) :
* If both S and R are 0 during transition, the
output does not change.
* If S= 1 and R= 0, the out put Q is set to 1.
* If S= 0 and R=1, the output is cleared or reset
to 0.
* If both S and R are 1, the output is
unpredictable. This condition makes the RS flip flop
difficult to manage and therefore is forbidden in
practice.
D - Flip Flop (DELAY/DATA)
33
34
Working of D – Flip Flop :
The D input goes directly into the S
input and the complement of the D input
goes to the R input.
* If it is 1, the flip-flop is switched
to the set state (unless it was already set).
* If it is 0, the flip-flop switches to
the clear state.
Applications:
1. Registers as storage devices.
2. Used as a Buffer. 3. In Digital system. 35
JK - Flip Flop (DELAY/DATA)
36
37
Working of JK – Flip Flop :
* When j and k both are 0, the data
inputs have no effect on the outputs.
* When j=0 and k=1, the flip flop is
reset or cleared to 0.
* When j=1 and k=0. the flip flop is set
to 1.
* When j and k are 1, if the state of flip
flop was 0,applying a clock with 1and flip
flop state was 1, it changes to 0.
38
* This on off state is TOGGLING.
* Racing condition: Toggling between
0 to 1 and 1 to 0 alternatively for one clock
cycle.
Application:
1. Counters.
2. Frequency Dividers.
3. Register.
39
T - Flip Flop (TOGGLE)
40
41
Working for T – Flip Flop :
* The T - flip flop is also known as the
TOGGLE - flip flop. The toggle mode of JK flip
flop is used as T - Flip flop.
* This Flip flop can be obtained from a JK
flip flop when inputs J and K are connected to
provide a single input designated by T.
* The T flip-flop is a single input version of
the JK flip - flop. The T flip flop is obtained from
the JK type if both inputs are tied together.
42
* The output of the T flip-flop "toggles" with
each clock pulse.
* When t=0, (j=0, k=0) the clock transition
does not change.
* When t=1, (j=1, k=1) the clock transition
complements the state.
43
Sequential Circuit
* Sequential Logic circuits remember
past inputs and past circuit state.
* Outputs from the system are “fed
back” as new inputs
With gate delay and wire delay
* The storage elements are circuits
that are capable of storing binary
information: memory
44
Sequential Circuits :
45
Sequential Circuits Diagram
Circuits that we
have learned
so far
Information Storing
Circuits
Timed “States”
46
Synchronous Sequential Circuits:
Flip flops as state memory
The flip-flops receive their inputs from theThe flip-flops receive their inputs from the
combinational circuit and also from a clock signalcombinational circuit and also from a clock signal
with pulses that occur at fixed intervals of time, aswith pulses that occur at fixed intervals of time, as
shown in the timing diagram.shown in the timing diagram.
Thank You
47

More Related Content

What's hot (20)

SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Logic gates presentation
Logic gates presentationLogic gates presentation
Logic gates presentation
 
Sequential Logic Circuit
Sequential Logic CircuitSequential Logic Circuit
Sequential Logic Circuit
 
Design half ,full Adder and Subtractor
Design half ,full Adder and SubtractorDesign half ,full Adder and Subtractor
Design half ,full Adder and Subtractor
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
flip flops
flip flops flip flops
flip flops
 
Logic gates ppt
Logic gates pptLogic gates ppt
Logic gates ppt
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Nand and nor as a universal gates
Nand and nor as a universal gatesNand and nor as a universal gates
Nand and nor as a universal gates
 
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
 
Shift Registers
Shift RegistersShift Registers
Shift Registers
 
Digital electronics logic families
Digital electronics logic familiesDigital electronics logic families
Digital electronics logic families
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Logic gates
Logic gatesLogic gates
Logic gates
 
Introduction of digital system
Introduction of digital systemIntroduction of digital system
Introduction of digital system
 
Ripple counter
Ripple counterRipple counter
Ripple counter
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
BOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATEBOOLEAN ALGEBRA & LOGIC GATE
BOOLEAN ALGEBRA & LOGIC GATE
 
Digital electronics
Digital electronicsDigital electronics
Digital electronics
 

Similar to Digital Logic circuit

digita circuit design.pptx
digita circuit design.pptxdigita circuit design.pptx
digita circuit design.pptxGodwin585235
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manualNitesh Dubey
 
Digital electronics lab
Digital electronics labDigital electronics lab
Digital electronics labswatymanoja
 
Integrated circuit 7483 Adder/Subtractor
Integrated circuit 7483 Adder/SubtractorIntegrated circuit 7483 Adder/Subtractor
Integrated circuit 7483 Adder/Subtractortanishashukla147
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxUtsavDas21
 
2 marks DPCO.pdf
2 marks DPCO.pdf2 marks DPCO.pdf
2 marks DPCO.pdfVhhvf
 
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxAishah928448
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).pptThanmayiKumar
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1Techglyphs
 

Similar to Digital Logic circuit (20)

digita circuit design.pptx
digita circuit design.pptxdigita circuit design.pptx
digita circuit design.pptx
 
Coa presentation2
Coa presentation2Coa presentation2
Coa presentation2
 
12.Digital Logic.pdf
12.Digital Logic.pdf12.Digital Logic.pdf
12.Digital Logic.pdf
 
Computer Organization And Architecture lab manual
Computer Organization And Architecture lab manualComputer Organization And Architecture lab manual
Computer Organization And Architecture lab manual
 
Mcsl 17 ALP lab manual
Mcsl 17 ALP lab manualMcsl 17 ALP lab manual
Mcsl 17 ALP lab manual
 
Digital electronics lab
Digital electronics labDigital electronics lab
Digital electronics lab
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
Integrated circuit 7483 Adder/Subtractor
Integrated circuit 7483 Adder/SubtractorIntegrated circuit 7483 Adder/Subtractor
Integrated circuit 7483 Adder/Subtractor
 
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptxDigital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
Digital_Electronics_Module_4_Sequential_Circuits v0.6.pptx
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
2 marks DPCO.pdf
2 marks DPCO.pdf2 marks DPCO.pdf
2 marks DPCO.pdf
 
Digital logic
Digital logicDigital logic
Digital logic
 
Logic gates
Logic gatesLogic gates
Logic gates
 
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
 
combinational-circuit (1).ppt
combinational-circuit (1).pptcombinational-circuit (1).ppt
combinational-circuit (1).ppt
 
Logic gates (1)
Logic gates (1)Logic gates (1)
Logic gates (1)
 
Bt0064 logic design1
Bt0064 logic design1Bt0064 logic design1
Bt0064 logic design1
 
Unit-4.pptx
Unit-4.pptxUnit-4.pptx
Unit-4.pptx
 

More from kavitha muneeshwaran (13)

Physical Security
Physical SecurityPhysical Security
Physical Security
 
Digital Audio
Digital AudioDigital Audio
Digital Audio
 
Java
JavaJava
Java
 
Data structure
Data structureData structure
Data structure
 
Internet Programming with Java
Internet Programming with JavaInternet Programming with Java
Internet Programming with Java
 
Digital image processing
Digital image processing  Digital image processing
Digital image processing
 
Staffing level estimation
Staffing level estimation Staffing level estimation
Staffing level estimation
 
Data Integration and Transformation in Data mining
Data Integration and Transformation in Data miningData Integration and Transformation in Data mining
Data Integration and Transformation in Data mining
 
Transaction Management - Deadlock Handling
Transaction Management - Deadlock HandlingTransaction Management - Deadlock Handling
Transaction Management - Deadlock Handling
 
Process
ProcessProcess
Process
 
C and C++ functions
C and C++ functionsC and C++ functions
C and C++ functions
 
I/O system in intel 80386 microcomputer architecture
I/O system in intel 80386 microcomputer architectureI/O system in intel 80386 microcomputer architecture
I/O system in intel 80386 microcomputer architecture
 
narrow Band ISDN
narrow Band ISDNnarrow Band ISDN
narrow Band ISDN
 

Recently uploaded

HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Recently uploaded (20)

HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 

Digital Logic circuit

  • 1. Digital Principles and Computer Organization Unit – II Digital Logic Circuits Submitted by, M. Kavitha, M. Sc(CS&IT), Nadar Saraswathi College of Arts and Science, Theni. 1
  • 2. Digital Principle and Computer Organization Contents : 1. Logic Gates. 2. Boolean Algebra 3. Map Simplification. 4. Combinational Circuit. 5. Flip Flop. 6. Sequential Circuit. 2
  • 3. 3 Logic Gates * A logic gate is an electronic circuit which makes logical decisions, the most common logic gates are AND, OR, NOT gates. * The NAND and NOR gates are called as the Universal gates. * The exclusive OR gates is another logic gate which can be constructed using basic gates such as AND, OR, NOT. * There are more type of logic gates.
  • 4. 4 Logic Gates : * OR Gate. * AND Gate. * NOT Gate. * NAND Gate. * NOR Gate. * Exclusive-OR(Ex-OR) Gate.
  • 5. 5 OR Gate : * The OR gate performs Logic addition, it is known as OR function. * The OR gate has two or more inputs and only one output. Y = A+B The OR function can be expressed as Y = A+B+C+D+……..
  • 6. 6 A B Y=A+B Input Output Y= A+B A B 0 0 0 0 1 1 1 0 1 1 1 1 a) Logic Symbol b) OR gate truth table
  • 7. 7 AND Gates : * The AND gate performs logical multiplication, it is known as AND function. * The AND gate has two or more input and a single output. Y= A . B * Where the dot(.) denotes the AND operation. Y =AB
  • 8. 8 A B Y=AB Input Output Y= AB A B 0 0 0 0 1 0 1 0 0 1 1 1 a) Logic Symbol b) AND gate truth table
  • 9. 9 NOT gate : * The NOT gate performs the basic logical function called inversion or complementation. * The purpose of the gate is to convert one logic level into the opposite logic level. Input A Output Y = A 0 1 1 0 Y= A A a) Logic Symbol b) NOT gate truth table
  • 10. 10 NAND gate : * NAND is a contraction of the NOT-AND gates. * It has two or more inputs and only one output. 10 Input Output Y= AB A B 0 0 1 0 1 1 1 0 1 1 1 0a) Logic Symbol b) NAND gate truth table A B Y=AB
  • 11. 11 NOR gate : * NOR is a contraction of NOT-OR gates. * It has two or more inputs and only one output. A B Y=A+B Input Output Y= A+B A B 0 0 1 0 1 0 1 0 0 1 1 0a) Logic Symbol b) NOR gate truth table
  • 12. 12 Exclusive-OR(Ex-OR) gate : * An Exclusive-OR gate is a gate with two or more inputs and one output. * The output of a two-input Ex-OR gate a HIGH state. Y=A B Input Output Y= A B A B 0 0 0 0 1 1 1 0 1 1 1 0a) Logic Symbol b) Ex-OR gate truth table + +
  • 13. Boolean Algebra * Boolean Algebra , elements have one of two values –True or False. * The circuits in a computer are also designed for two-state operations. * That is input and output of a circuit is either low(0) or high(1). * The circuits are called logic circuits. 13
  • 14. Boolean Algebra : There are three basic operators in Boolean Algebra which are called logical operators or Boolean operators. 1. OR - logical addition 2. AND – logical multiplication 3. NOT – Logical negation The Boolean operators are used to combine Boolean variables and Boolean constants to form Boolean Expressions. 14
  • 16. 16 NOT Operation DeMorgan’s law : 1. (A.B)’= A’+ B’ 2. (A+B)’= A’. B’
  • 17. 17 Boolean Algebra • The sum-of-products form for our function is: We note that this function is not in simplest terms. Our aim is only to rewrite our function in canonical sum-of-products form.
  • 18. 18 Map Simplification K – Map Simplification : K-map method can also be used for simplifying the logic expression for s and c- out. 0 1 0 1 1 0 1 0 0 0 1 0 0 1 1 1 AB AB C out C out 00 01 11 10 00 01 11 10 0 1 0 1 a) K-map for Sum b) K-map for C out
  • 19. 19 0 1 2 3 A B 0 B 1A 1 Two variable k-map Three variable 0 1 3 2 4 5 7 6 A BC 00 01 11 10 0 1 B A C Four Variable k-map 0 1 3 2 4 5 7 6 12 13 15 14 8 9 11 10 AB CD 00 01 11 10 00 01 11 10 A B C
  • 20. Example for k – Map : Product of sum simplification Formula : F’ = AB+CD+BD’ F = (A’+B’)(C’+D’)(B’+D) 20 1 1 0 1 0 1 0 0 0 0 0 0 1 1 0 1
  • 21. 21 Combinational Circuits Combinational logic circuits are circuits in which the output at any time depends upon the combination of the input signals. * Multiplexers * De-Multiplexers * Encoders * Decoders
  • 22. 22 Multiplexers (Data Selectors) * The term ‘multiplex’ means “many into one”. Multiplexing is the process of transmitting a large number of information over a single line. * A digital multiplexer is a combinational circuit that selects one digital information from several source and transmits the selected information on a single output line. * A multiplexer is also called a data selector. Multiplexer 1 output signal m select signals n input signal
  • 23. 23 De-multiplexers(Data Distributors) * The “demultiplex” means “one into many”. * Demultiplexing is the process of taking information from one input and transmitting the same over one of several output. * A demultiplexer is a logic circuit the receives information on a single input and transmits the same information over one for several (2n) output lines. Demultiplexer 1 output signal m select signals n input signal
  • 24. 24 Encoders * An encoder is a digital circuit that performs the inverse operation of a decoder and the opposite of the decoding process is called encoding. * Encoder is a combinational logic circuit that convert an active input signal into a coded output signal. Encoders m outputs n input
  • 25. 25 Octal-to-Binary Encoder : It is well-known that a binary-to-octal decoder a 3- bit input code and activates one of eight output lines corresponding to that code. . Input Output D0 D1 D2 D3 D4 D5 D6 D7 Y2 Y1 Y0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1
  • 26. 26 * An decoder is similar to demultiplexer but without any data input. It is most digital systems require the decoding of data. * Decoding is necessary in applications such as data demultiplexing, digital display, digital-to- analog converters and memory addressing. * Each output line will be activated for only one of the possible combinations of inputs. * A decoder is a number of output is greater than the number of inputs. Decoders
  • 27. 3-to-8 Decoder : A 3-to-8 decoder has three input (A,B,C) and eight output(D0 to D7) based on 3 input one of the eight output is selected. 27 Input Output A B C D0 D1 D2 D3 D4 D5 D6 D7 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 1
  • 28. Flip Flops * The simplest kind of sequential circuit is a memory cell that has only two states it is called flip flop. * It is used to store One bit of information with a 0 or a 1. * A flip flop is also known as bistable, multivibrator, latch or toggle. 28
  • 29. 29 Type of flip flop : * Flip flop are of different types depending on the input and clock pulses cause transition between two states. * There are four type of flip flop. * S-R Flip flop (Set/Reset). * D Flip flop (Delay/Data). * J-K Flip flop. * T Flip flop (Toggle).
  • 30. S – R Flip Flop (SET/RESET) 30
  • 31. 31
  • 32. 32 Working of S – R Flip Flop (Set/Reset) : * If both S and R are 0 during transition, the output does not change. * If S= 1 and R= 0, the out put Q is set to 1. * If S= 0 and R=1, the output is cleared or reset to 0. * If both S and R are 1, the output is unpredictable. This condition makes the RS flip flop difficult to manage and therefore is forbidden in practice.
  • 33. D - Flip Flop (DELAY/DATA) 33
  • 34. 34
  • 35. Working of D – Flip Flop : The D input goes directly into the S input and the complement of the D input goes to the R input. * If it is 1, the flip-flop is switched to the set state (unless it was already set). * If it is 0, the flip-flop switches to the clear state. Applications: 1. Registers as storage devices. 2. Used as a Buffer. 3. In Digital system. 35
  • 36. JK - Flip Flop (DELAY/DATA) 36
  • 37. 37
  • 38. Working of JK – Flip Flop : * When j and k both are 0, the data inputs have no effect on the outputs. * When j=0 and k=1, the flip flop is reset or cleared to 0. * When j=1 and k=0. the flip flop is set to 1. * When j and k are 1, if the state of flip flop was 0,applying a clock with 1and flip flop state was 1, it changes to 0. 38
  • 39. * This on off state is TOGGLING. * Racing condition: Toggling between 0 to 1 and 1 to 0 alternatively for one clock cycle. Application: 1. Counters. 2. Frequency Dividers. 3. Register. 39
  • 40. T - Flip Flop (TOGGLE) 40
  • 41. 41
  • 42. Working for T – Flip Flop : * The T - flip flop is also known as the TOGGLE - flip flop. The toggle mode of JK flip flop is used as T - Flip flop. * This Flip flop can be obtained from a JK flip flop when inputs J and K are connected to provide a single input designated by T. * The T flip-flop is a single input version of the JK flip - flop. The T flip flop is obtained from the JK type if both inputs are tied together. 42
  • 43. * The output of the T flip-flop "toggles" with each clock pulse. * When t=0, (j=0, k=0) the clock transition does not change. * When t=1, (j=1, k=1) the clock transition complements the state. 43
  • 44. Sequential Circuit * Sequential Logic circuits remember past inputs and past circuit state. * Outputs from the system are “fed back” as new inputs With gate delay and wire delay * The storage elements are circuits that are capable of storing binary information: memory 44
  • 45. Sequential Circuits : 45 Sequential Circuits Diagram Circuits that we have learned so far Information Storing Circuits Timed “States”
  • 46. 46 Synchronous Sequential Circuits: Flip flops as state memory The flip-flops receive their inputs from theThe flip-flops receive their inputs from the combinational circuit and also from a clock signalcombinational circuit and also from a clock signal with pulses that occur at fixed intervals of time, aswith pulses that occur at fixed intervals of time, as shown in the timing diagram.shown in the timing diagram.