SlideShare a Scribd company logo
Lecture No 16 : Don’t Care Conditions, NAND Implementation
Digital Logic and Design
1
Don’t Care Conditions
 So far, we have always assumed that all combinations of
the input values are necessary in our expressions.
 Sometimes there are unspecified combinations within a
function.
 For example, four bit binary has six combinations that are not
used.
 Functions that have unspecified outputs for some input
combinations are called incompletely specified functions.
 These are called don’t care conditions because in most
applications, we do not care what the specification of the
combination is.
2
Indicating Don’t Care Conditions
 A don’t care condition cannot be specified with a 1 because it
would require the function to always be 1 for the combination.
 Likewise, a don’t care condition cannot be specified with a 0
because it would require the function to always be 0 for the
combination.
 To specify don’t care conditions in a map, we use the letter ‘X’.
 When we choose adjacent squares to simplify the map, the don’t care
minterms can be assumed to be 0 or 1, whichever leads to the simplest
expression.
3
Simplify With Don’t Care Conditions
 Simplify the Boolean function: F (w,x,y,z) = ∑(1,3,5,9,13)
 It has don’t-care conditions: d(w,x,y,z) = ∑(0,2,7)
F1 = w’x’+y’z = ∑(0, 1, 2, 3, 5, 9, 13)
F2 = w’z+y’z = ∑(1, 3, 5, 7, 9, 13)
4
Example 3-9
 Simplify the Boolean function: F (w,x,y,z) = ∑(1,3,7,11,15)
 It has don’t-care conditions: d(w,x,y,z) = ∑(0,2,5)
F = ∑(0,1,2,3,7,11,15) ; F = ∑(1,3,5,7,11,15)
Either of two are acceptable
5
More Examples with Don’t Care
F=A’C’D+B+AC
0
AB
x x
1
00 01
00
01
CD
0
x 1
0
1
1
10
1
x 0
1
1
1
10
1
1 1
x
0
AB
x x
1
00 01
00
01
CD
0
x 1
0
1
1
10
1
x 0
1
1
1
10
1
1 1
x
F=A’B’C’D+ABC’+BC+AC
6
NAND and NOR Implementations
Digital circuits are frequently constructed with NAND and
NOR implementations:
they are easier to make
they are used in all IC digital logic families
Because of their use, rules have been developed that allow
us to convert Boolean functions using AND, OR and NOT into
the equivalent NAND and NOR logic diagrams.
7
NAND Circuits
The NAND gate is a universal gate that can be used to
construct any gate, therefore being able to replace all AND
and OR gates.
8
NAND Notation
A convenient method for creating a NAND circuit is to obtain
the simplified Boolean function in terms of Boolean operators
and then convert the function to NAND logic.
To facilitate the conversion to NAND logic we define
equivalent alternative symbols as shown below for NAND
gate
9
Two-Level Implementation
The implementation of Boolean functions with NAND gates
requires that the function be in sum of products form.
F = AB + CD
All three diagrams are equivalent
10
Two-Level Implementation
F = AB+CD+E
F = ((AB)' (CD)' E')' =AB+CD+E
11
Example 3-10
Implement F(x,y,z)= (1,2,3,4,5,7) with NAND gates
12
2-Level NAND Rules
Given a Boolean function, follow these rules to obtain the
NAND logic diagram:
Simplify the function and express it in sum of products
Draw a NAND gate for each product term of the expression that has at least
two literals. This is group of first level gates
Draw a single gate using the AND-invert or the invert-OR graphic symbol in
the second level, with inputs coming from outputs of first level gates
A term with a single literal requires an inverter in the first level, unless the
single literal is already complemented
13
The general procedure for converting a multi-level AND-OR
diagram into an all-NAND diagram is as follows:
Convert all AND gates to NAND gates with AND-invert graphic symbols
Convert all OR gates to NAND gates with invert-OR graphic symbols
Check all the bubbles in the diagram
Every bubble that is not compensated by another along the same line will
require the insertion of an inverter or complement the input literal
Multilevel NAND Circuits
14
Multilevel NAND Example
15
Multilevel NAND Example
16
end of Lecture
17

More Related Content

Similar to DLD Lecture No 16 Don't `Care Conditions, Nand gate Implementation.pptx

1 arithmetic
1 arithmetic1 arithmetic
1 arithmeticfyjordan9
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
EasyStudy3
 
Understanding Reed-Solomon code
Understanding Reed-Solomon codeUnderstanding Reed-Solomon code
Understanding Reed-Solomon code
继顺(Jeffrey) 王
 
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Find all hazards in this circuit.  Redesign the circuit as a three-le.pdfFind all hazards in this circuit.  Redesign the circuit as a three-le.pdf
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Arrowdeepak
 
DLD BOOLEAN EXPRESSIONS
DLD BOOLEAN EXPRESSIONSDLD BOOLEAN EXPRESSIONS
DLD BOOLEAN EXPRESSIONS
naresh414857
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
MdJubayerFaisalEmon
 
B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
MahiboobAliMulla
 
Logic System Design KTU Chapter-4.ppt
Logic System Design KTU Chapter-4.pptLogic System Design KTU Chapter-4.ppt
Logic System Design KTU Chapter-4.ppt
Albin562191
 
unit-i-number-systems.pdf
unit-i-number-systems.pdfunit-i-number-systems.pdf
unit-i-number-systems.pdf
RameshK531901
 
FPGA based BCH Decoder
FPGA based BCH DecoderFPGA based BCH Decoder
FPGA based BCH Decoder
ijsrd.com
 
Microcontroller lec 3
Microcontroller  lec 3Microcontroller  lec 3
Microcontroller lec 3
Ibrahim Reda
 
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And EngineersAnswers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Sheila Sinclair
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
ssuserca5764
 
Opt simple single_000
Opt simple single_000Opt simple single_000
Opt simple single_000
sheetslibrary
 
D igl elex-day5_recorded-lec
D igl elex-day5_recorded-lecD igl elex-day5_recorded-lec
D igl elex-day5_recorded-lec
Lai Mendoza
 
Gen Math Lesson 1.pptx
Gen Math Lesson 1.pptxGen Math Lesson 1.pptx
Gen Math Lesson 1.pptx
jarred16
 
Unit 4 dica
Unit 4 dicaUnit 4 dica
Unit 4 dica
Pavan Mukku
 
f33-ft-computing-lec09-correct.ppt
f33-ft-computing-lec09-correct.pptf33-ft-computing-lec09-correct.ppt
f33-ft-computing-lec09-correct.ppt
MaddulaCharishma
 

Similar to DLD Lecture No 16 Don't `Care Conditions, Nand gate Implementation.pptx (20)

1 arithmetic
1 arithmetic1 arithmetic
1 arithmetic
 
PECCS 2014
PECCS 2014PECCS 2014
PECCS 2014
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Understanding Reed-Solomon code
Understanding Reed-Solomon codeUnderstanding Reed-Solomon code
Understanding Reed-Solomon code
 
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
Find all hazards in this circuit.  Redesign the circuit as a three-le.pdfFind all hazards in this circuit.  Redesign the circuit as a three-le.pdf
Find all hazards in this circuit. Redesign the circuit as a three-le.pdf
 
DLD BOOLEAN EXPRESSIONS
DLD BOOLEAN EXPRESSIONSDLD BOOLEAN EXPRESSIONS
DLD BOOLEAN EXPRESSIONS
 
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptxECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
ECE 2103_L6 Boolean Algebra Canonical Forms [Autosaved].pptx
 
B sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) baB sc ii sem unit 2(b) ba
B sc ii sem unit 2(b) ba
 
Logic System Design KTU Chapter-4.ppt
Logic System Design KTU Chapter-4.pptLogic System Design KTU Chapter-4.ppt
Logic System Design KTU Chapter-4.ppt
 
unit-i-number-systems.pdf
unit-i-number-systems.pdfunit-i-number-systems.pdf
unit-i-number-systems.pdf
 
FPGA based BCH Decoder
FPGA based BCH DecoderFPGA based BCH Decoder
FPGA based BCH Decoder
 
Microcontroller lec 3
Microcontroller  lec 3Microcontroller  lec 3
Microcontroller lec 3
 
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And EngineersAnswers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
Answers To Selected Exercises For Fortran 90 95 For Scientists And Engineers
 
Combinational logic circuits design and implementation
Combinational logic circuits design and implementationCombinational logic circuits design and implementation
Combinational logic circuits design and implementation
 
Opt simple single_000
Opt simple single_000Opt simple single_000
Opt simple single_000
 
D igl elex-day5_recorded-lec
D igl elex-day5_recorded-lecD igl elex-day5_recorded-lec
D igl elex-day5_recorded-lec
 
Gen Math Lesson 1.pptx
Gen Math Lesson 1.pptxGen Math Lesson 1.pptx
Gen Math Lesson 1.pptx
 
Unit 4 dica
Unit 4 dicaUnit 4 dica
Unit 4 dica
 
f33-ft-computing-lec09-correct.ppt
f33-ft-computing-lec09-correct.pptf33-ft-computing-lec09-correct.ppt
f33-ft-computing-lec09-correct.ppt
 
Presentation11
Presentation11Presentation11
Presentation11
 

More from SaveraAyub2

DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptxDLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
SaveraAyub2
 
DLD Lecture No 21 BCD Multiplier and Magnitude Comparator.pptx
DLD Lecture No 21  BCD Multiplier and Magnitude Comparator.pptxDLD Lecture No 21  BCD Multiplier and Magnitude Comparator.pptx
DLD Lecture No 21 BCD Multiplier and Magnitude Comparator.pptx
SaveraAyub2
 
DLD Lecture No 20 Look Ahead Carry Generator, Binary Subtractors and BCD Add...
DLD Lecture No 20 Look Ahead Carry Generator, Binary Subtractors and  BCD Add...DLD Lecture No 20 Look Ahead Carry Generator, Binary Subtractors and  BCD Add...
DLD Lecture No 20 Look Ahead Carry Generator, Binary Subtractors and BCD Add...
SaveraAyub2
 
DLD Lecture No 19 Binary adders.pptx
DLD Lecture No 19  Binary adders.pptxDLD Lecture No 19  Binary adders.pptx
DLD Lecture No 19 Binary adders.pptx
SaveraAyub2
 
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptxDLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
SaveraAyub2
 
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptxDLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
SaveraAyub2
 
presentation
presentationpresentation
presentation
SaveraAyub2
 

More from SaveraAyub2 (7)

DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptxDLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
 
DLD Lecture No 21 BCD Multiplier and Magnitude Comparator.pptx
DLD Lecture No 21  BCD Multiplier and Magnitude Comparator.pptxDLD Lecture No 21  BCD Multiplier and Magnitude Comparator.pptx
DLD Lecture No 21 BCD Multiplier and Magnitude Comparator.pptx
 
DLD Lecture No 20 Look Ahead Carry Generator, Binary Subtractors and BCD Add...
DLD Lecture No 20 Look Ahead Carry Generator, Binary Subtractors and  BCD Add...DLD Lecture No 20 Look Ahead Carry Generator, Binary Subtractors and  BCD Add...
DLD Lecture No 20 Look Ahead Carry Generator, Binary Subtractors and BCD Add...
 
DLD Lecture No 19 Binary adders.pptx
DLD Lecture No 19  Binary adders.pptxDLD Lecture No 19  Binary adders.pptx
DLD Lecture No 19 Binary adders.pptx
 
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptxDLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
 
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptxDLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
DLD Lecture No 15 Prime and Essential Implicants, Five Variable Map.pptx
 
presentation
presentationpresentation
presentation
 

Recently uploaded

太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
foismail170
 
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
larisashrestha558
 
Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!
LukeRoyak
 
一比一原版(YU毕业证)约克大学毕业证如何办理
一比一原版(YU毕业证)约克大学毕业证如何办理一比一原版(YU毕业证)约克大学毕业证如何办理
一比一原版(YU毕业证)约克大学毕业证如何办理
yuhofha
 
Personal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignmentPersonal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignment
ragingokie
 
原版制作(RMIT毕业证书)墨尔本皇家理工大学毕业证在读证明一模一样
原版制作(RMIT毕业证书)墨尔本皇家理工大学毕业证在读证明一模一样原版制作(RMIT毕业证书)墨尔本皇家理工大学毕业证在读证明一模一样
原版制作(RMIT毕业证书)墨尔本皇家理工大学毕业证在读证明一模一样
atwvhyhm
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
foismail170
 
The Impact of Artificial Intelligence on Modern Society.pdf
The Impact of Artificial Intelligence on Modern Society.pdfThe Impact of Artificial Intelligence on Modern Society.pdf
The Impact of Artificial Intelligence on Modern Society.pdf
ssuser3e63fc
 
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaaInteractive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
23211a7274
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
vencislavkaaa
 
Full Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptxFull Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptx
mmorales2173
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
Pushpendra Kumar
 
DIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptxDIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptx
FarzanaRbcomcs
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
Manu Mitra
 
Digital Marketing Training In Bangalore
Digital  Marketing Training In BangaloreDigital  Marketing Training In Bangalore
Digital Marketing Training In Bangalore
nidm599
 
Exploring Career Paths in Cybersecurity for Technical Communicators
Exploring Career Paths in Cybersecurity for Technical CommunicatorsExploring Career Paths in Cybersecurity for Technical Communicators
Exploring Career Paths in Cybersecurity for Technical Communicators
Ben Woelk, CISSP, CPTC
 
Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.
alexthomas971
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
foismail170
 
han han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi samahan han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi sama
IrlanMalik
 
Andrea Kate Portfolio Presentation.pdf
Andrea Kate  Portfolio  Presentation.pdfAndrea Kate  Portfolio  Presentation.pdf
Andrea Kate Portfolio Presentation.pdf
andreakaterasco
 

Recently uploaded (20)

太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
太阳城娱乐-太阳城娱乐推荐-太阳城娱乐官方网站| 立即访问【ac123.net】
 
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
皇冠体育- 皇冠体育官方网站- CROWN SPORTS| 立即访问【ac123.net】
 
Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!Luke Royak's Personal Brand Exploration!
Luke Royak's Personal Brand Exploration!
 
一比一原版(YU毕业证)约克大学毕业证如何办理
一比一原版(YU毕业证)约克大学毕业证如何办理一比一原版(YU毕业证)约克大学毕业证如何办理
一比一原版(YU毕业证)约克大学毕业证如何办理
 
Personal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignmentPersonal Brand exploration KE.pdf for assignment
Personal Brand exploration KE.pdf for assignment
 
原版制作(RMIT毕业证书)墨尔本皇家理工大学毕业证在读证明一模一样
原版制作(RMIT毕业证书)墨尔本皇家理工大学毕业证在读证明一模一样原版制作(RMIT毕业证书)墨尔本皇家理工大学毕业证在读证明一模一样
原版制作(RMIT毕业证书)墨尔本皇家理工大学毕业证在读证明一模一样
 
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
欧洲杯买球平台-欧洲杯买球平台推荐-欧洲杯买球平台| 立即访问【ac123.net】
 
The Impact of Artificial Intelligence on Modern Society.pdf
The Impact of Artificial Intelligence on Modern Society.pdfThe Impact of Artificial Intelligence on Modern Society.pdf
The Impact of Artificial Intelligence on Modern Society.pdf
 
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaaInteractive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
Interactive Dictionary AIDS-B.pptx aaaaaaaaaaaaaaaaaaaaaaaaaa
 
How to create an effective K-POC tutorial
How to create an effective K-POC tutorialHow to create an effective K-POC tutorial
How to create an effective K-POC tutorial
 
Full Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptxFull Sail_Morales_Michael_SMM_2024-05.pptx
Full Sail_Morales_Michael_SMM_2024-05.pptx
 
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdfDOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
DOC-20240602-WA0001..pdf DOC-20240602-WA0001..pdf
 
DIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptxDIGITAL MARKETING COURSE IN CHENNAI.pptx
DIGITAL MARKETING COURSE IN CHENNAI.pptx
 
135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering135. Reviewer Certificate in Journal of Engineering
135. Reviewer Certificate in Journal of Engineering
 
Digital Marketing Training In Bangalore
Digital  Marketing Training In BangaloreDigital  Marketing Training In Bangalore
Digital Marketing Training In Bangalore
 
Exploring Career Paths in Cybersecurity for Technical Communicators
Exploring Career Paths in Cybersecurity for Technical CommunicatorsExploring Career Paths in Cybersecurity for Technical Communicators
Exploring Career Paths in Cybersecurity for Technical Communicators
 
Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.Personal Brand Exploration Comedy Jxnelle.
Personal Brand Exploration Comedy Jxnelle.
 
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
欧洲杯投注网站-欧洲杯投注网站推荐-欧洲杯投注网站| 立即访问【ac123.net】
 
han han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi samahan han widi kembar tapi beda han han dan widi kembar tapi sama
han han widi kembar tapi beda han han dan widi kembar tapi sama
 
Andrea Kate Portfolio Presentation.pdf
Andrea Kate  Portfolio  Presentation.pdfAndrea Kate  Portfolio  Presentation.pdf
Andrea Kate Portfolio Presentation.pdf
 

DLD Lecture No 16 Don't `Care Conditions, Nand gate Implementation.pptx

  • 1. Lecture No 16 : Don’t Care Conditions, NAND Implementation Digital Logic and Design 1
  • 2. Don’t Care Conditions  So far, we have always assumed that all combinations of the input values are necessary in our expressions.  Sometimes there are unspecified combinations within a function.  For example, four bit binary has six combinations that are not used.  Functions that have unspecified outputs for some input combinations are called incompletely specified functions.  These are called don’t care conditions because in most applications, we do not care what the specification of the combination is. 2
  • 3. Indicating Don’t Care Conditions  A don’t care condition cannot be specified with a 1 because it would require the function to always be 1 for the combination.  Likewise, a don’t care condition cannot be specified with a 0 because it would require the function to always be 0 for the combination.  To specify don’t care conditions in a map, we use the letter ‘X’.  When we choose adjacent squares to simplify the map, the don’t care minterms can be assumed to be 0 or 1, whichever leads to the simplest expression. 3
  • 4. Simplify With Don’t Care Conditions  Simplify the Boolean function: F (w,x,y,z) = ∑(1,3,5,9,13)  It has don’t-care conditions: d(w,x,y,z) = ∑(0,2,7) F1 = w’x’+y’z = ∑(0, 1, 2, 3, 5, 9, 13) F2 = w’z+y’z = ∑(1, 3, 5, 7, 9, 13) 4
  • 5. Example 3-9  Simplify the Boolean function: F (w,x,y,z) = ∑(1,3,7,11,15)  It has don’t-care conditions: d(w,x,y,z) = ∑(0,2,5) F = ∑(0,1,2,3,7,11,15) ; F = ∑(1,3,5,7,11,15) Either of two are acceptable 5
  • 6. More Examples with Don’t Care F=A’C’D+B+AC 0 AB x x 1 00 01 00 01 CD 0 x 1 0 1 1 10 1 x 0 1 1 1 10 1 1 1 x 0 AB x x 1 00 01 00 01 CD 0 x 1 0 1 1 10 1 x 0 1 1 1 10 1 1 1 x F=A’B’C’D+ABC’+BC+AC 6
  • 7. NAND and NOR Implementations Digital circuits are frequently constructed with NAND and NOR implementations: they are easier to make they are used in all IC digital logic families Because of their use, rules have been developed that allow us to convert Boolean functions using AND, OR and NOT into the equivalent NAND and NOR logic diagrams. 7
  • 8. NAND Circuits The NAND gate is a universal gate that can be used to construct any gate, therefore being able to replace all AND and OR gates. 8
  • 9. NAND Notation A convenient method for creating a NAND circuit is to obtain the simplified Boolean function in terms of Boolean operators and then convert the function to NAND logic. To facilitate the conversion to NAND logic we define equivalent alternative symbols as shown below for NAND gate 9
  • 10. Two-Level Implementation The implementation of Boolean functions with NAND gates requires that the function be in sum of products form. F = AB + CD All three diagrams are equivalent 10
  • 11. Two-Level Implementation F = AB+CD+E F = ((AB)' (CD)' E')' =AB+CD+E 11
  • 12. Example 3-10 Implement F(x,y,z)= (1,2,3,4,5,7) with NAND gates 12
  • 13. 2-Level NAND Rules Given a Boolean function, follow these rules to obtain the NAND logic diagram: Simplify the function and express it in sum of products Draw a NAND gate for each product term of the expression that has at least two literals. This is group of first level gates Draw a single gate using the AND-invert or the invert-OR graphic symbol in the second level, with inputs coming from outputs of first level gates A term with a single literal requires an inverter in the first level, unless the single literal is already complemented 13
  • 14. The general procedure for converting a multi-level AND-OR diagram into an all-NAND diagram is as follows: Convert all AND gates to NAND gates with AND-invert graphic symbols Convert all OR gates to NAND gates with invert-OR graphic symbols Check all the bubbles in the diagram Every bubble that is not compensated by another along the same line will require the insertion of an inverter or complement the input literal Multilevel NAND Circuits 14

Editor's Notes

  1. What are Don’t Care Conditions? Examples of Dice display, BCD digits etc
  2. Is there any don’t care conditions for inputs? Example of priority encoder
  3. We have to cover 1’s by combining with don’t care for bigger group Not necessary all don’t care conditions are covered