Top Banner
Universal Gates
14

Universal Gates. Outline Universal Gates : NAND and NOR NAND Gate NOR Gate Implementation using NAND Gates Implementation using NOR Gates.

Dec 14, 2015

Download

Documents

Misael Scaggs
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Universal Gates

Page 2: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Outline

Universal Gates : NAND and NOR NAND Gate NOR Gate

Implementation using NAND Gates

Implementation using NOR Gates

Page 3: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Outline

Universal Gates : NAND and NOR NAND Gate NOR Gate

Implementation using NAND Gates

Implementation using NOR Gates

Page 4: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Universal Gates: NAND and NOR

AND/OR/NOT gates are sufficient for building any Boolean functions.

We call the set {AND, OR, NOT} a complete set of logic.

However, other gates are also used because:(i) usefulness(ii) economical on transistors(iii) self-sufficient

NAND/NOR: economical, self-sufficient XOR: useful (e.g. parity bit generation)

Page 5: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

NAND Gate (1/2)

NAND gate is self-sufficient (can build any logic circuit with it). Therefore, {NAND} is also a complete set of logic.

Can be used to implement AND/OR/NOT.

Implementing an inverter using NAND gate:

(x.x)' = x' (T1: idempotency)

x x'

Page 6: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

NAND Gate (2/2)

((x.y)'(x.y)')' = ((x.y)')' idempotency = (xy) involution

((x.x)'(y.y)')' = (x'.y')' idempotency = x''+y'' DeMorgan = x+y involution

Implementing AND using NAND gates:

Implementing OR using NAND gates:

xx.y

y

(x.y)'

x

x+y

y

x'

y'

Page 7: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

NOR Gate (1/2)

NOR gate is also self-sufficient. Therefore, {NOR} is also a complete set of logic

Can be used to implement AND/OR/NOT.

Implementing an inverter using NOR gate:

(x+x)' = x' (T1: idempotency)

x x'

Page 8: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

NOR Gate (2/2)

((x+x)'+(y+y)')'=(x'+y')' idempotency = x''.y'' DeMorgan = x.y involution

((x+y)'+(x+y)')' = ((x+y)')' idempotency = (x+y) involution

Implementing AND using NOR gates:

Implementing OR using NOR gates:

xx+y

y

(x+y)'

x

x.y

y

x'

y'

Page 9: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Outline

Universal Gates : NAND and NOR NAND Gate NOR Gate

Implementation using NAND Gates

Implementation using NOR Gates

Page 10: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Implementation using NAND gates (1/2)

Possible to implement any Boolean expression using NAND gates.

Procedure:

(i) Obtain sum-of-products Boolean expression:

Example: F3 = x.y'+x'.z

(ii) Use DeMorgan theorem to obtain expression using 2-level NAND gates

Example: F3 = x.y'+x'.z

= (x.y'+x'.z)' ' involution

= ((x.y')' . (x'.z)')' DeMorgan

Page 11: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Implementation using NAND gates (2/2)

F3 = ((x.y')'.(x'.z)') ' = x.y' + x'.z

x'z

F3

(x'.z)'

(x.y')'xy'

Page 12: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Outline

Universal Gates : NAND and NOR NAND Gate NOR Gate

Implementation using NAND Gates

Implementation using NOR Gates

Page 13: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Implementation using NOR gates (1/2)

Possible to implement any Boolean expression using NOR gates.

Procedure:

(i) Obtain product-of-sums Boolean expression:

Example: F6 = (x+y').(x'+z)

(ii) Use DeMorgan theorem to obtain expression using 2-level NOR gates.

Example: F6 = (x+y').(x'+z)

= ((x+y').(x'+z))' ' involution

= ((x+y')'+(x'+z)')' DeMorgan

Page 14: Universal Gates. Outline  Universal Gates : NAND and NOR  NAND Gate  NOR Gate  Implementation using NAND Gates  Implementation using NOR Gates.

Implementation using NOR gates (2/2)

F6 = ((x+y')'+(x'+z)')' = (x+y').(x'+z)

x'z

F6

(x'+z)'

(x+y')'xy'