21
Basic logic gates AND gate:The truth table is given by A.B B A 0 0 0 0 1 0 0 0 1 1 1 1

Basic logic gates

  • Upload
    kyran

  • View
    34

  • Download
    0

Embed Size (px)

DESCRIPTION

Basic logic gates. AND gate:The truth table is given by. Logic circuit. OR Gate logic circuit. Truth table of OR Gate. NOT Gate( Invertor ). NAND Gate. The Truth table of NAND Gate. NOR Gate Logic circuit. The truth table of NOR_gate. XOR Gate (Exclusive-OR). - PowerPoint PPT Presentation

Citation preview

Page 1: Basic logic gates

Basic logic gates

AND gate:The truth table is given byA.B B A

0 0 0

0 1 0

0 0 1

1 1 1

Page 2: Basic logic gates

Logic circuit

LogicalOperator

Display

B

1

A

1

Page 3: Basic logic gates
Page 4: Basic logic gates

OR Gate logic circuit

LogicalOperator

Display

B

1

A

1

Page 5: Basic logic gates

Truth table of OR Gate

Output B A0 0 01 1 01 0 11 1 1

Page 6: Basic logic gates

NOT Gate(Invertor)

NOT _Gate A'A

1

Page 7: Basic logic gates

NAND Gate

Output 'NAND

B

1

A

1

Page 8: Basic logic gates

The Truth table of NAND Gate

Output B A1 0 01 1 01 0 10 1 1

Page 9: Basic logic gates

NOR Gate Logic circuit

Output 'NOR

B

1

A

1

Page 10: Basic logic gates

The truth table of NOR_gate

(A+B’) B A

1 0 0

0 1 0

0 0 1

0 1 1

Page 11: Basic logic gates

XOR Gate (Exclusive-OR)

XOR Output '

B

0

A

1

Page 12: Basic logic gates

The truth table of Exclusive-XOR Gate

Output B A0 0 01 1 01 0 10 1 1

Page 13: Basic logic gates

XNOR Gate logic circuit

XOR Output '

1

NOT

B

0

A

0

Page 14: Basic logic gates

The truth table of XNOR Gate

Oautput B A1 0 00 1 00 0 11 1 1

Page 15: Basic logic gates
Page 16: Basic logic gates

Basic combinational logic circuits

The SOP expressions are implemented with AND gate for each product term.

The OR Gate for summing all the product

terms.The SOP is called AND_OR logic

Page 17: Basic logic gates

The AND-OR Logic (SOP)

SOPA.B+C.D

Output '

1

D

1C.D

C

0

B

1

A.BA

1

Page 18: Basic logic gates

Exlusive OR Gate logic circuit

X=A.B'+A'.B Output '

1

NOT 1

NOT

B

1

A.B'

A'B

A

0

Page 19: Basic logic gates

NAND gate as universal logic gate

Z'Z

1

Y'

Y".Z"=Y+Z

Y

1

X

0

OR_Gate

1

NOR_Gate

0

LogicalOperator 2

LogicalOperator 1

LogicalOperator

Inverter

0

D'D

1

C'

C".D"=C+D

C

1

B

1

AND_Gate

0

A

0

(Y+Z)'

Page 20: Basic logic gates

The truth table for 4-input AND-OR circuit

Output CD AB D C B A0 0 0 0 0 0 00 0 0 1 0 0 00 0 0 0 1 0 01 1 0 1 1 0 00 0 0 0 0 1 00 0 0 1 0 1 00 0 0 0 1 1 01 1 0 1 1 1 00 0 0 0 0 0 10 0 0 1 0 0 10 0 0 0 1 0 11 1 0 1 1 0 11 0 1 0 0 1 1

Page 21: Basic logic gates

NOR Gate as universal logic element

Z'Z

0 Y.Z

Y'Y

1

X

0

OR_Gate1

1

NOR_Gate 1

NOR1

NAND_Gate

1

Inverter

1

D'D

1

C'C

1

B

1

AND_Gate

1

A

0

(Y.Z)'

(A+B)'

(A '+B')'=A.B