Chapter 9
This presentation is the property of its rightful owner.
Sponsored Links
1 / 24

Chapter 9 PowerPoint PPT Presentation


  • 60 Views
  • Uploaded on
  • Presentation posted in: General

Chapter 9. Normal Forms and Logic Design. 9.2 PNF and CNF Normal Forms 9.3 DNF Normal Form and Boolean Function 9.4 Logic Design PNF:Prenix Normal Form CNF:Conjunction Normal Form DNF:Disjunctive Normal Form. 9.2 PNF and CNF Normal Forms. Example PNF

Download Presentation

Chapter 9

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Chapter 9

Chapter 9

Normal Formsand Logic Design


Chapter 9

9.2PNF and CNF Normal Forms

9.3DNF Normal Form and Boolean Function

9.4Logic Design

PNF:Prenix Normal Form

CNF:Conjunction Normal Form

DNF:Disjunctive Normal Form


9 2 pnf and cnf normal forms

9.2 PNF and CNF Normal Forms


Chapter 9

Example PNF

(1) x in P(x) and x in Q(x) are in different domains, i.e.

two x’s are different local variable

transform it to the following PNF:


Chapter 9

ExamplePlease transform x y ((z (P(x, z) Q(y, z))r R(x, y, r)) to PNF.

Ans.

It can be transformed to


Chapter 9

Example CNF(Conjunction Normal Form)

Ans.

ci:clause

pij:literal

e. g.


Chapter 9

Example4Transform (PQ)R to CNF.

Ans.


9 3 dnf normal form and boolean function

9.3DNF Normal Form and Boolean Function


Chapter 9

Example DNF (Disjunctive Normal Form)

Ans.

e. g.


Chapter 9

ExampleTransform proposition logic to DNF.

Ans.

Four useful rules:


Chapter 9

Example Transform PQ to DNF.


Chapter 9

ExampleMap Table to DNF

Ans.


Chapter 9

Rule (2) is called Idempotent Law. Rule (3) is called Distributive Law. Rule (4) is called Demorgan Law.


9 4 logic design

9.4 Logic Design


Chapter 9

Three Main Logic Gates


Chapter 9

Example1LogicDesign for Full Adder.

Ans.

represents carry.


Chapter 9

We have


Chapter 9

Fig.9.4.2 Basic module for two-bit addition.


Chapter 9

Two-bit adder module

Extension:

Fig.9.4.4 Logic design of X+Y


Chapter 9

ExampleGray code.

Ans.

Also called Reflected Code

Two-bit Gray code:

0 0

0 1

1 1

1 0


Chapter 9

Three-bit Gray code:

Mirror

0 0

0 1

1 1

1 0

U

1 0

1 1

0 1

0 0

L


Chapter 9

0U and 1L:

0 0 0

0 0 1

0 1 1

0 1 0

1 1 0

1 1 1

1 0 1

1 0 0

0U

1L


Chapter 9

ExampleInteger to Gray code.

e.g.

b=(01)2, we have g=(g1g0)=(01)


  • Login