SlideShare a Scribd company logo
K-map Simplification of SOP
Expressions
• Steps for minimisation
– Group the 1s
– Determine the product term for each group
– Sum the resulting product terms
– A minimized SOP results into fewest possible
terms with fewest possible variables

IS 151 Digital Circuitry

1
K-map Simplification of SOP
Expressions
• Grouping the 1s
– Group by enclosing adjacent cells containing 1s
– The goal is to maximize the size of the groups and to minimize
the number of groups
– A group must contain either 1,2,4,8 or 16 cells
– Each cell in a group must be adjacent to one or more cells in the
same group, but all cells in the group do not have to be adjacent
to each other
– Always include the largest possible number of 1s in a group in
accordance with the first rule above
– Each 1 on the map must be included in at least one group. The
1s already in a group can be included in another group as long
as the overlapping groups include non-common 1s

IS 151 Digital Circuitry

2
K-map Simplification of SOP
Expressions
• Examples
C

0

1

C

0

1

00

1

1

1

01

1

1

11

AB
00

AB
1

01
11

1

10

A’B’C’ + BC + AB

10

1
1

1

A’C’ + AC + B’

IS 151 Digital Circuitry

3
K-map Simplification of SOP
Expressions
• Examples
CD

CD

AB

00

01

00

1

1

01

1

1

11

11
10

1

1

AB’D + A’B + A’C’

00
1

01

1

1

1

11

1

1

1

10

1

AB
00

1

10

01

11

10

1

1

1

1

AB’C + BC’ + D’

IS 151 Digital Circuitry

4
SOP Determination from the Map
• Rules
• Each group of cells containing 1s creates one
product term composed of all variables that occur
in only one form within the group.
• Variables that occur complemented and
uncomplemented are eliminated

IS 151 Digital Circuitry

5
SOP Determination from the Map
• For a 3-variable map
– A 1-cell group yields a 3-variable product term
(e.g. ABC)
– A 2-cell group yields a 2-variable product term
(e.g. AB)
– A 4-cell group yields a 1-variable term (e.g. A)
– An 8-cell group yields a value of 1 for the
expression

IS 151 Digital Circuitry

6
SOP Determination from the Map
• For a 4-variable map
– A 1-cell group yields a 4-variable product term (e.g.
ABCD)
– A 2-cell group yields a 3-variable product term (e.g.
ABC)
– A 4-cell group yields a 2-variable term (e.g. AB)
– An 8-cell group yields a 1-variable term (e.g. A)
– A 16-cell group yields a value of 1 for the expression

IS 151 Digital Circuitry

7
SOP Determination from the Map
• More examples
CD
AB

00

01

10

1

00

11

1

01

1

1

1

1

11

1

1

1

1

10

1

1

IS 151 Digital Circuitry

8
SOP Determination from the Map
• Add a 1 at cell 1010 and determine the
new product terms
• Minimise the following expressions
– AB’C + A’BC + A’B’C + A’B’C’ + AB’C’
– XY’Z + XYZ’ + X’YZ + X’YZ’ + XY’Z’ + XYZ
– AB’C’D’ + A’B’C’D’ + A’BC’D’ + ABC’D’ +
A’B’CD + AB’CD + A’B’CD’ + A’BCD’ + ABCD’
+ AB’CD’
IS 151 Digital Circuitry

9
Mapping K-maps Directly from
Truth Tables
Inputs

Output

A B

C

X

0

0

0

0

0

0

1

1

01

0

1

0

0

11

C

1

1

00

0

0

0

1

1

0

0

1

1

1

1

0

1

1

1

1

1

0

1

1

AB

10

0

0

1
IS 151 Digital Circuitry

10
Don’t Care Conditions
• Sometimes, some input variable
combinations are not allowed
• BCD – Binary Coded Decimal
– A way to express each of the decimal digits
(0-9) with a binary code of 4 bits

• In BCD code (Chapter 2), there are 6
invalid combinations
– 1010, 1011, 1100, 1101, 1110 and 1111
IS 151 Digital Circuitry

11
Don’t Care Conditions
• Don’t care values

BCD Codes
0000

1

CD

0

0001

AB

00

01

11

10

2

0010

00

0

1

3

2

3

0011

01

4

5

7

6

4

0100

11

12

13

15

14

5

0101

10

8

9

11

10

6

0110

7

0111

8

1000

9

1001

No BCD codes for 2digit decimal numbers
(the don’t cares)

IS 151 Digital Circuitry

12
Digital System Application
• Introducing the first laboratory work
– The Seven Segment Display (SSD)
– Used in
• Automobile instruments
• Tablet counting control system, etc

– Uses logic circuits that decode a binary coded
decimal (BCD) number and activates the
appropriate digits on the display

IS 151 Digital Circuitry

13
The Seven Segment Display
Seven segments:

a, b, c, d, e, f and g
E.g. check your digital
watch, calculator, (some)
phone display digits, etc

IS 151 Digital Circuitry

14
Common SSDs
• LED Displays
– Consists of light-emitting diodes (LED)
– Each segment is an LED that emits light when
there is current through it

• LCD Displays
– Liquid Crystal Display
– Operates by polarizing light so that a nonactivated segment reflects incident light and
thus appears invisible against its background
IS 151 Digital Circuitry

15
Segment Decoding Logic
• Each segment is used for various decimal
digits (i.e. 0 to 9)
• Each segment must be activated by its
own decoding circuit
• The circuit detects the occurrence of any
of the numbers in which the segment is
used
• Segments that are required to be activated
for each digit (0-9) are:
IS 151 Digital Circuitry

16
Segment Decoding Logic
Digit Segments Activated

0

a, b, c, d, e, f

1

b, c

2

a, b, d, e, g

3

a, b, c, d, g

4

b, c, f, g

5

a, c, d, f, g

6

a, c, d, e, f, g

7

a, b, c

8

a, b, c, d, e, f, g

9

a, b, c, d, f, g
IS 151 Digital Circuitry

17
Truth Table for the Segment
Logic
• Requires 4 BCD inputs and 7 outputs, one
for each segment in the display (a to g)
• Inputs: A, B, C and D
– A – the least significant bit
– D – the most significant bit
– DCBA (as opposed to ABCD)

IS 151 Digital Circuitry

18
Truth Table
Decimal
Digit

Inputs

Segment
Outputs

D C B A

a b c d e f

g

0

0 0

0 0

1 1 1 1 1 1

0

1

0 0

0 1

0

2

0 0

1 0

1

3

0 0

1 1

4

0 1

5

Digit Segments Activated
0

a, b, c, d, e, f

1

b, c

1

2

a, b, d, e, g

0 0

0

3

a, b, c, d, g

0 1

0 1

1

6

0 1

1 0

1

4

b, c, f, g

7

0 1

1 0

1

5

a, c, d, f, g

8

1 0

0 1

1

6

a, c, d, e, f, g

9

1 0

0 0

1

10

1 0

1 0

X

7

a, b, c

11

1 0

1 1

X

8

a, b, c, d, e, f, g

12

1 1

0 0

X

9

a, b, c, d, f, g

13

1 1

0 1

X

14

1 1

1 0

X

15

1 1

1 1

X
IS 151 Digital Circuitry

19
Boolean Expressions for the
Segment Logic
• From the truth table, an SOP is developed for
each of the segments
• E.g. SOP for segment ‘a’ is
– a = D’C’B’A’ + D’C’BA’ + D’C’BA + D’CB’A + D’CBA’ +
D’CBA + DC’B’A’ + DC’B’A

• Each product term represents each of the BCD
inputs that activate that segment, therefore
– implementing segment ‘a’ would require AND-OR
circuit containing 8, 4-input AND gates and 1, 8-input
OR gate
– inverters are also required to produce the
complement of each variable
IS 151 Digital Circuitry

20
K-Map Minimisation for the
Segment Logic
• SOP for segment ‘a’
• Don’t care’s are used in forming

BA

groups
DC

00

00

1

11

10

1

1

1

01

01

1

1

11

X

X

X

X

10

1

1

X

• a = B + D + CA + C’A’

X

IS 151 Digital Circuitry

21
Laboratory Work
• Obtain SOP for the remaining segments
– b, c, d, e, f and g
• For each segment, develop a K-Map and obtain a
simplified expression for the segment
• Draw a circuit for each segment
• There will be duplicate terms across SOP expressions
for the segments – identify them
• For the final circuit, omit all but one duplicates, and
draw the circuit using Deeds software in the laboratory
• Prepare the laboratory report as instructed in the
laboratory handout (report format)
IS 151 Digital Circuitry

22
• End of lecture

IS 151 Digital Circuitry

23

More Related Content

Similar to IS 151 Lecture 7

Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
chandkec
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
wajanga
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
wajanga
 
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
DamotTesfaye
 
pos and do not care ppt.pptx
pos and do not care ppt.pptxpos and do not care ppt.pptx
pos and do not care ppt.pptx
Dr. Pravin Prajapati
 
elec2200-6.pdf
elec2200-6.pdfelec2200-6.pdf
elec2200-6.pdf
AttareqTareq
 
Digital electronics k map comparators and their function
Digital electronics k map comparators and their functionDigital electronics k map comparators and their function
Digital electronics k map comparators and their function
kumarankit06875
 
Number System.pdf
Number System.pdfNumber System.pdf
Number System.pdf
Sweta Kumari Barnwal
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
AshwiniMate10
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
ShaekAhmed
 
IS 151 Lecture 5
IS 151 Lecture 5IS 151 Lecture 5
IS 151 Lecture 5
wajanga
 
CH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdfCH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdf
SanjoySana2
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4
wajanga
 
Digital electronics-Introduction.pptx
Digital electronics-Introduction.pptxDigital electronics-Introduction.pptx
Digital electronics-Introduction.pptx
Subrata Maiti
 
Bt0064 logic design-de
Bt0064 logic design-deBt0064 logic design-de
Bt0064 logic design-de
smumbahelp
 
Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:
Asif Iqbal
 
Computer archi&mp
Computer archi&mpComputer archi&mp
Computer archi&mp
MSc CST
 
Principles of Combinational Logic-1
Principles of Combinational Logic-1Principles of Combinational Logic-1
Principles of Combinational Logic-1
Supanna Shirguppe
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
GnanaDeepikaMeduri
 

Similar to IS 151 Lecture 7 (20)

Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
4,encoder & decoder MUX and DEMUX EEng - Copy.pdf
 
pos and do not care ppt.pptx
pos and do not care ppt.pptxpos and do not care ppt.pptx
pos and do not care ppt.pptx
 
elec2200-6.pdf
elec2200-6.pdfelec2200-6.pdf
elec2200-6.pdf
 
Digital electronics k map comparators and their function
Digital electronics k map comparators and their functionDigital electronics k map comparators and their function
Digital electronics k map comparators and their function
 
Number System.pdf
Number System.pdfNumber System.pdf
Number System.pdf
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
Kmaps.ppt
Kmaps.pptKmaps.ppt
Kmaps.ppt
 
IS 151 Lecture 5
IS 151 Lecture 5IS 151 Lecture 5
IS 151 Lecture 5
 
CH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdfCH3_Gate Level Minimization.pdf
CH3_Gate Level Minimization.pdf
 
IS 151 lecture 4
IS 151   lecture 4IS 151   lecture 4
IS 151 lecture 4
 
Digital electronics-Introduction.pptx
Digital electronics-Introduction.pptxDigital electronics-Introduction.pptx
Digital electronics-Introduction.pptx
 
Bt0064 logic design-de
Bt0064 logic design-deBt0064 logic design-de
Bt0064 logic design-de
 
Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:Unit-1 Digital Design and Binary Numbers:
Unit-1 Digital Design and Binary Numbers:
 
Computer archi&mp
Computer archi&mpComputer archi&mp
Computer archi&mp
 
Principles of Combinational Logic-1
Principles of Combinational Logic-1Principles of Combinational Logic-1
Principles of Combinational Logic-1
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
 

More from wajanga

IS 151 Lecture 3
IS 151 Lecture 3IS 151 Lecture 3
IS 151 Lecture 3
wajanga
 
IS 151 Lecture 2
IS 151 Lecture 2IS 151 Lecture 2
IS 151 Lecture 2
wajanga
 
IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1
wajanga
 
IS 151 Outline 2014
IS 151 Outline 2014IS 151 Outline 2014
IS 151 Outline 2014
wajanga
 
IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3
wajanga
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7
wajanga
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6
wajanga
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2
wajanga
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
wajanga
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
wajanga
 
IS 139 Assignment 1
IS 139 Assignment 1IS 139 Assignment 1
IS 139 Assignment 1
wajanga
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
wajanga
 
IS 139 Lecture 1
IS 139 Lecture 1IS 139 Lecture 1
IS 139 Lecture 1
wajanga
 
IS 139 Lecture 2
IS 139 Lecture 2IS 139 Lecture 2
IS 139 Lecture 2
wajanga
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11
wajanga
 
IS 151 Lecture 10
IS 151 Lecture 10IS 151 Lecture 10
IS 151 Lecture 10
wajanga
 
IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9
wajanga
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
wajanga
 
IS 151 - Lecture 3
IS 151 - Lecture 3IS 151 - Lecture 3
IS 151 - Lecture 3
wajanga
 
IS 151 lecture 2
IS 151   lecture 2IS 151   lecture 2
IS 151 lecture 2
wajanga
 

More from wajanga (20)

IS 151 Lecture 3
IS 151 Lecture 3IS 151 Lecture 3
IS 151 Lecture 3
 
IS 151 Lecture 2
IS 151 Lecture 2IS 151 Lecture 2
IS 151 Lecture 2
 
IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1
 
IS 151 Outline 2014
IS 151 Outline 2014IS 151 Outline 2014
IS 151 Outline 2014
 
IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
 
IS 139 Assignment 1
IS 139 Assignment 1IS 139 Assignment 1
IS 139 Assignment 1
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
 
IS 139 Lecture 1
IS 139 Lecture 1IS 139 Lecture 1
IS 139 Lecture 1
 
IS 139 Lecture 2
IS 139 Lecture 2IS 139 Lecture 2
IS 139 Lecture 2
 
IS 151 Lecture 11
IS 151 Lecture 11IS 151 Lecture 11
IS 151 Lecture 11
 
IS 151 Lecture 10
IS 151 Lecture 10IS 151 Lecture 10
IS 151 Lecture 10
 
IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
 
IS 151 - Lecture 3
IS 151 - Lecture 3IS 151 - Lecture 3
IS 151 - Lecture 3
 
IS 151 lecture 2
IS 151   lecture 2IS 151   lecture 2
IS 151 lecture 2
 

Recently uploaded

Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
techboxsqauremedia
 
Building Your Employer Brand with Social Media
Building Your Employer Brand with Social MediaBuilding Your Employer Brand with Social Media
Building Your Employer Brand with Social Media
LuanWise
 
Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024
FelixPerez547899
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
marketing317746
 
Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024
Top Forex Brokers Review
 
Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431
ecamare2
 
BeMetals Investor Presentation_June 1, 2024.pdf
BeMetals Investor Presentation_June 1, 2024.pdfBeMetals Investor Presentation_June 1, 2024.pdf
BeMetals Investor Presentation_June 1, 2024.pdf
DerekIwanaka1
 
Best practices for project execution and delivery
Best practices for project execution and deliveryBest practices for project execution and delivery
Best practices for project execution and delivery
CLIVE MINCHIN
 
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
hartfordclub1
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
2022 Vintage Roman Numerals Men Rings
2022 Vintage Roman  Numerals  Men  Rings2022 Vintage Roman  Numerals  Men  Rings
2022 Vintage Roman Numerals Men Rings
aragme
 
Structural Design Process: Step-by-Step Guide for Buildings
Structural Design Process: Step-by-Step Guide for BuildingsStructural Design Process: Step-by-Step Guide for Buildings
Structural Design Process: Step-by-Step Guide for Buildings
Chandresh Chudasama
 
Business storytelling: key ingredients to a story
Business storytelling: key ingredients to a storyBusiness storytelling: key ingredients to a story
Business storytelling: key ingredients to a story
Alexandra Fulford
 
Income Tax exemption for Start up : Section 80 IAC
Income Tax  exemption for Start up : Section 80 IACIncome Tax  exemption for Start up : Section 80 IAC
Income Tax exemption for Start up : Section 80 IAC
CA Dr. Prithvi Ranjan Parhi
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
JeremyPeirce1
 
Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
techboxsqauremedia
 
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdfModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
fisherameliaisabella
 
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
bosssp10
 
Authentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto RicoAuthentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto Rico
Corey Perlman, Social Media Speaker and Consultant
 
Anny Serafina Love - Letter of Recommendation by Kellen Harkins, MS.
Anny Serafina Love - Letter of Recommendation by Kellen Harkins, MS.Anny Serafina Love - Letter of Recommendation by Kellen Harkins, MS.
Anny Serafina Love - Letter of Recommendation by Kellen Harkins, MS.
AnnySerafinaLove
 

Recently uploaded (20)

Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
 
Building Your Employer Brand with Social Media
Building Your Employer Brand with Social MediaBuilding Your Employer Brand with Social Media
Building Your Employer Brand with Social Media
 
Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024Company Valuation webinar series - Tuesday, 4 June 2024
Company Valuation webinar series - Tuesday, 4 June 2024
 
amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05amptalk_RecruitingDeck_english_2024.06.05
amptalk_RecruitingDeck_english_2024.06.05
 
Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024Best Forex Brokers Comparison in INDIA 2024
Best Forex Brokers Comparison in INDIA 2024
 
Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431Observation Lab PowerPoint Assignment for TEM 431
Observation Lab PowerPoint Assignment for TEM 431
 
BeMetals Investor Presentation_June 1, 2024.pdf
BeMetals Investor Presentation_June 1, 2024.pdfBeMetals Investor Presentation_June 1, 2024.pdf
BeMetals Investor Presentation_June 1, 2024.pdf
 
Best practices for project execution and delivery
Best practices for project execution and deliveryBest practices for project execution and delivery
Best practices for project execution and delivery
 
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf2024-6-01-IMPACTSilver-Corp-Presentation.pdf
2024-6-01-IMPACTSilver-Corp-Presentation.pdf
 
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta MatkaDpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
Dpboss Matka Guessing Satta Matta Matka Kalyan Chart Satta Matka
 
2022 Vintage Roman Numerals Men Rings
2022 Vintage Roman  Numerals  Men  Rings2022 Vintage Roman  Numerals  Men  Rings
2022 Vintage Roman Numerals Men Rings
 
Structural Design Process: Step-by-Step Guide for Buildings
Structural Design Process: Step-by-Step Guide for BuildingsStructural Design Process: Step-by-Step Guide for Buildings
Structural Design Process: Step-by-Step Guide for Buildings
 
Business storytelling: key ingredients to a story
Business storytelling: key ingredients to a storyBusiness storytelling: key ingredients to a story
Business storytelling: key ingredients to a story
 
Income Tax exemption for Start up : Section 80 IAC
Income Tax  exemption for Start up : Section 80 IACIncome Tax  exemption for Start up : Section 80 IAC
Income Tax exemption for Start up : Section 80 IAC
 
Top mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptxTop mailing list providers in the USA.pptx
Top mailing list providers in the USA.pptx
 
Creative Web Design Company in Singapore
Creative Web Design Company in SingaporeCreative Web Design Company in Singapore
Creative Web Design Company in Singapore
 
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdfModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
ModelingMarketingStrategiesMKS.CollumbiaUniversitypdf
 
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
Call 8867766396 Satta Matka Dpboss Matka Guessing Satta batta Matka 420 Satta...
 
Authentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto RicoAuthentically Social by Corey Perlman - EO Puerto Rico
Authentically Social by Corey Perlman - EO Puerto Rico
 
Anny Serafina Love - Letter of Recommendation by Kellen Harkins, MS.
Anny Serafina Love - Letter of Recommendation by Kellen Harkins, MS.Anny Serafina Love - Letter of Recommendation by Kellen Harkins, MS.
Anny Serafina Love - Letter of Recommendation by Kellen Harkins, MS.
 

IS 151 Lecture 7

  • 1. K-map Simplification of SOP Expressions • Steps for minimisation – Group the 1s – Determine the product term for each group – Sum the resulting product terms – A minimized SOP results into fewest possible terms with fewest possible variables IS 151 Digital Circuitry 1
  • 2. K-map Simplification of SOP Expressions • Grouping the 1s – Group by enclosing adjacent cells containing 1s – The goal is to maximize the size of the groups and to minimize the number of groups – A group must contain either 1,2,4,8 or 16 cells – Each cell in a group must be adjacent to one or more cells in the same group, but all cells in the group do not have to be adjacent to each other – Always include the largest possible number of 1s in a group in accordance with the first rule above – Each 1 on the map must be included in at least one group. The 1s already in a group can be included in another group as long as the overlapping groups include non-common 1s IS 151 Digital Circuitry 2
  • 3. K-map Simplification of SOP Expressions • Examples C 0 1 C 0 1 00 1 1 1 01 1 1 11 AB 00 AB 1 01 11 1 10 A’B’C’ + BC + AB 10 1 1 1 A’C’ + AC + B’ IS 151 Digital Circuitry 3
  • 4. K-map Simplification of SOP Expressions • Examples CD CD AB 00 01 00 1 1 01 1 1 11 11 10 1 1 AB’D + A’B + A’C’ 00 1 01 1 1 1 11 1 1 1 10 1 AB 00 1 10 01 11 10 1 1 1 1 AB’C + BC’ + D’ IS 151 Digital Circuitry 4
  • 5. SOP Determination from the Map • Rules • Each group of cells containing 1s creates one product term composed of all variables that occur in only one form within the group. • Variables that occur complemented and uncomplemented are eliminated IS 151 Digital Circuitry 5
  • 6. SOP Determination from the Map • For a 3-variable map – A 1-cell group yields a 3-variable product term (e.g. ABC) – A 2-cell group yields a 2-variable product term (e.g. AB) – A 4-cell group yields a 1-variable term (e.g. A) – An 8-cell group yields a value of 1 for the expression IS 151 Digital Circuitry 6
  • 7. SOP Determination from the Map • For a 4-variable map – A 1-cell group yields a 4-variable product term (e.g. ABCD) – A 2-cell group yields a 3-variable product term (e.g. ABC) – A 4-cell group yields a 2-variable term (e.g. AB) – An 8-cell group yields a 1-variable term (e.g. A) – A 16-cell group yields a value of 1 for the expression IS 151 Digital Circuitry 7
  • 8. SOP Determination from the Map • More examples CD AB 00 01 10 1 00 11 1 01 1 1 1 1 11 1 1 1 1 10 1 1 IS 151 Digital Circuitry 8
  • 9. SOP Determination from the Map • Add a 1 at cell 1010 and determine the new product terms • Minimise the following expressions – AB’C + A’BC + A’B’C + A’B’C’ + AB’C’ – XY’Z + XYZ’ + X’YZ + X’YZ’ + XY’Z’ + XYZ – AB’C’D’ + A’B’C’D’ + A’BC’D’ + ABC’D’ + A’B’CD + AB’CD + A’B’CD’ + A’BCD’ + ABCD’ + AB’CD’ IS 151 Digital Circuitry 9
  • 10. Mapping K-maps Directly from Truth Tables Inputs Output A B C X 0 0 0 0 0 0 1 1 01 0 1 0 0 11 C 1 1 00 0 0 0 1 1 0 0 1 1 1 1 0 1 1 1 1 1 0 1 1 AB 10 0 0 1 IS 151 Digital Circuitry 10
  • 11. Don’t Care Conditions • Sometimes, some input variable combinations are not allowed • BCD – Binary Coded Decimal – A way to express each of the decimal digits (0-9) with a binary code of 4 bits • In BCD code (Chapter 2), there are 6 invalid combinations – 1010, 1011, 1100, 1101, 1110 and 1111 IS 151 Digital Circuitry 11
  • 12. Don’t Care Conditions • Don’t care values BCD Codes 0000 1 CD 0 0001 AB 00 01 11 10 2 0010 00 0 1 3 2 3 0011 01 4 5 7 6 4 0100 11 12 13 15 14 5 0101 10 8 9 11 10 6 0110 7 0111 8 1000 9 1001 No BCD codes for 2digit decimal numbers (the don’t cares) IS 151 Digital Circuitry 12
  • 13. Digital System Application • Introducing the first laboratory work – The Seven Segment Display (SSD) – Used in • Automobile instruments • Tablet counting control system, etc – Uses logic circuits that decode a binary coded decimal (BCD) number and activates the appropriate digits on the display IS 151 Digital Circuitry 13
  • 14. The Seven Segment Display Seven segments: a, b, c, d, e, f and g E.g. check your digital watch, calculator, (some) phone display digits, etc IS 151 Digital Circuitry 14
  • 15. Common SSDs • LED Displays – Consists of light-emitting diodes (LED) – Each segment is an LED that emits light when there is current through it • LCD Displays – Liquid Crystal Display – Operates by polarizing light so that a nonactivated segment reflects incident light and thus appears invisible against its background IS 151 Digital Circuitry 15
  • 16. Segment Decoding Logic • Each segment is used for various decimal digits (i.e. 0 to 9) • Each segment must be activated by its own decoding circuit • The circuit detects the occurrence of any of the numbers in which the segment is used • Segments that are required to be activated for each digit (0-9) are: IS 151 Digital Circuitry 16
  • 17. Segment Decoding Logic Digit Segments Activated 0 a, b, c, d, e, f 1 b, c 2 a, b, d, e, g 3 a, b, c, d, g 4 b, c, f, g 5 a, c, d, f, g 6 a, c, d, e, f, g 7 a, b, c 8 a, b, c, d, e, f, g 9 a, b, c, d, f, g IS 151 Digital Circuitry 17
  • 18. Truth Table for the Segment Logic • Requires 4 BCD inputs and 7 outputs, one for each segment in the display (a to g) • Inputs: A, B, C and D – A – the least significant bit – D – the most significant bit – DCBA (as opposed to ABCD) IS 151 Digital Circuitry 18
  • 19. Truth Table Decimal Digit Inputs Segment Outputs D C B A a b c d e f g 0 0 0 0 0 1 1 1 1 1 1 0 1 0 0 0 1 0 2 0 0 1 0 1 3 0 0 1 1 4 0 1 5 Digit Segments Activated 0 a, b, c, d, e, f 1 b, c 1 2 a, b, d, e, g 0 0 0 3 a, b, c, d, g 0 1 0 1 1 6 0 1 1 0 1 4 b, c, f, g 7 0 1 1 0 1 5 a, c, d, f, g 8 1 0 0 1 1 6 a, c, d, e, f, g 9 1 0 0 0 1 10 1 0 1 0 X 7 a, b, c 11 1 0 1 1 X 8 a, b, c, d, e, f, g 12 1 1 0 0 X 9 a, b, c, d, f, g 13 1 1 0 1 X 14 1 1 1 0 X 15 1 1 1 1 X IS 151 Digital Circuitry 19
  • 20. Boolean Expressions for the Segment Logic • From the truth table, an SOP is developed for each of the segments • E.g. SOP for segment ‘a’ is – a = D’C’B’A’ + D’C’BA’ + D’C’BA + D’CB’A + D’CBA’ + D’CBA + DC’B’A’ + DC’B’A • Each product term represents each of the BCD inputs that activate that segment, therefore – implementing segment ‘a’ would require AND-OR circuit containing 8, 4-input AND gates and 1, 8-input OR gate – inverters are also required to produce the complement of each variable IS 151 Digital Circuitry 20
  • 21. K-Map Minimisation for the Segment Logic • SOP for segment ‘a’ • Don’t care’s are used in forming BA groups DC 00 00 1 11 10 1 1 1 01 01 1 1 11 X X X X 10 1 1 X • a = B + D + CA + C’A’ X IS 151 Digital Circuitry 21
  • 22. Laboratory Work • Obtain SOP for the remaining segments – b, c, d, e, f and g • For each segment, develop a K-Map and obtain a simplified expression for the segment • Draw a circuit for each segment • There will be duplicate terms across SOP expressions for the segments – identify them • For the final circuit, omit all but one duplicates, and draw the circuit using Deeds software in the laboratory • Prepare the laboratory report as instructed in the laboratory handout (report format) IS 151 Digital Circuitry 22
  • 23. • End of lecture IS 151 Digital Circuitry 23