Top Banner
G.H. Patel College of Engineering and Technology Subject: Digital Electronics Name Enrollment no. Champaneria Dhvanil J. 150113109004 Chauhan Nisarg D. 150113109005 Jadav Prashant 150113109009 Limbani Milan P. 150113109011
31

Logic gates and NAND and NOR univarsal gates

Apr 13, 2017

Download

Education

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: Logic gates and NAND and NOR univarsal gates

G.H. Patel College of Engineering and Technology

Subject: Digital Electronics

Name Enrollment no.Champaneria Dhvanil J. 150113109004

Chauhan Nisarg D. 150113109005Jadav Prashant 150113109009

Limbani Milan P. 150113109011

Page 2: Logic gates and NAND and NOR univarsal gates

Logic Gates &

Universal Gate

Page 3: Logic gates and NAND and NOR univarsal gates

Logic Gate:

Actually the term logic is applied to digital circuits used to implement logic functions. Several kinds of digital logic circuits are the basic elements that form the building blocks for such complex digital system as the computer.

The lines connected to each symbols are the inputs and outputs. The inputs are on the left of each symbol and the output is on the right.

A circuit that performs a specific logic operation (AND, OR) is called a logic gate.

Page 4: Logic gates and NAND and NOR univarsal gates

AND Gate:

An AND gate can have two or more inputs and performs what is know as multiplication. The output of AND gate is high when all inputs are high otherwise all outputs are low.

Inputs OutputA B X0 0 00 1 01 0 01 1 1

Logical SymbolTruth Table

• It’s logical expression is, X=A.B

Page 5: Logic gates and NAND and NOR univarsal gates

OR Gate:

OR gate can have two or more inputs and performs what is known as logical addition. The output of OR gate is Low when all inputs are low, otherwise all outputs are high

Logical SymbolInputs Output

A B X0 0 00 1 11 0 11 1 1

Truth Table

• It’s logical expression is, X=A+B

Page 6: Logic gates and NAND and NOR univarsal gates

Not Gate:

The inverter (NOT circuit) performs the operation called inversion or complementation. The NOT operation changes one logic level to the opposite logical level. When the input is Low, the output

is high. When the input is high, the output is low.

Input Output0 11 0

Logical SymbolTruth Table

• It’s logical expression is, A=A’

Page 7: Logic gates and NAND and NOR univarsal gates

NAND Gate:

The NAND gate is the one of the popular logic element because it can be used as a universal gate; that is NAND gate can be used in combination to perform the AND, OR, and inverter operations.

NAND Gate is constructed by attaching NOT Gate at the output of AND Gate, hence NAND Gate is called NOT- AND Gate.

The output of NAND gate is low when all inputs are high, otherwise all outputs are high.

Logical Symbol

Page 8: Logic gates and NAND and NOR univarsal gates

It’s logical expression is, X= (AB)’

Inputs OutputA B X0 0 10 1 11 0 11 1 0

Truth Table and Expression of NAND Gate:

Page 9: Logic gates and NAND and NOR univarsal gates

NOR Gate:

The NOR gate, like the NAND gate, NOR gate is also useful logical element because it can also be used as a universal gate.

NOR gate can be used in combination to perform the AND, OR and Inverter operations. NOR Gate is the combination of NOT gate at the output of OR gate, hence NOR gate is type of NOT-OR

gate. The Output of NOR gate is high when all inputs are low otherwise the output is low.

Logical Symbol

Page 10: Logic gates and NAND and NOR univarsal gates

Inputs OutputA B X0 0 10 1 01 0 01 1 0

It’s expression is, X=(A+B)’

Truth Table and Expression of NOR Gate:

Page 11: Logic gates and NAND and NOR univarsal gates

Exclusive- OR Gate:

The exclusive-OR gate has a graphical symbol similar to that of the OR gate, except for the additional curved line on the input side.

If both inputs are Low or both are High then it produces the output Low or 0. otherwise it produce the High.

Logical Symbol

Page 12: Logic gates and NAND and NOR univarsal gates

Inputs OutputA B X0 0 00 1 11 0 11 1 0

It’s logical expression is X=AB’+A’B

Truth Table and Expression of Ex-OR Gate:

Page 13: Logic gates and NAND and NOR univarsal gates

Exclusive-Nor gate:

The exclusive-NOR gate is the complement of the exclusive-OR gate, as indicated by small circle on the output side of the graphic symbol.

If both inputs are Low or both are High then it produces the output High or 1. otherwise it produce the Low output.

Logical symbol

Page 14: Logic gates and NAND and NOR univarsal gates

Inputs OutputA B X0 0 10 1 01 0 01 1 1

It’s logical expression is

Truth Table and Expression of Ex-NOR Gate:

Page 15: Logic gates and NAND and NOR univarsal gates

NAND gate as Universal gate

Page 16: Logic gates and NAND and NOR univarsal gates

NAND Gate as an AND Gate:

X

Y YX YXZ

YX

NAND Gate Inverter

Logical symbol

Inputs OutputX Y Z0 0 00 1 01 0 01 1 1

Truth Table

Page 17: Logic gates and NAND and NOR univarsal gates

NAND Gate as an OR Gate:

X

YYXY X Y XZ

X

NAND GateInverters

Y

Logical symbol

Inputs OutputX Y Z0 0 00 1 11 0 11 1 1

Truth Table

Page 18: Logic gates and NAND and NOR univarsal gates

NAND Gate as an NOT Gate:

X XZ

Logical symbol

Input OutputX Z0 11 0

Truth Table

Page 19: Logic gates and NAND and NOR univarsal gates

NAND Gate:

X

Y Y X YXZ

Logical symbol

Truth Table

Inputs OutputA B Z0 0 10 1 11 0 11 1 0

Page 20: Logic gates and NAND and NOR univarsal gates

NAND Gate as an NOR Gate:Logical symbol

Truth Table

Inputs OutputA B Z0 0 10 1 01 0 01 1 0

Page 21: Logic gates and NAND and NOR univarsal gates

NAND Gate as an Ex-OR Gate:Logical symbol

Truth Table

Inputs OutputX Y Z0 0 00 1 11 0 11 1 0

Page 22: Logic gates and NAND and NOR univarsal gates

NAND Gate as an Ex-NOR Gate:

Logical symbol

Truth Table

Inputs OutputX Y Z0 0 10 1 01 0 01 1 1

Page 23: Logic gates and NAND and NOR univarsal gates

NOR gate as Universal gate

Page 24: Logic gates and NAND and NOR univarsal gates

NOR Gate as an AND Gate:

X

YY XY X Y XZ

X

NOR Gate“Inverters”

Y

Logical symbol

Truth TableInputs Output

X Y Z0 0 00 1 01 0 01 1 1

Page 25: Logic gates and NAND and NOR univarsal gates

NOR Gate as an OR Gate:

X

Y YX Y XZ

Y X

NOR Gate “Inverter”

Logical symbol

Truth TableInputs Output

X Y Z0 0 00 1 11 0 11 1 1

Page 26: Logic gates and NAND and NOR univarsal gates

NOR Gate as an NOT Gate:

X XZ

XXX (Before Bubble)

Logical symbol

Truth Table

Inputs OutputX Z0 11 0

Page 27: Logic gates and NAND and NOR univarsal gates

NOR Gate as an NAND Gate:

Logical symbol

Truth Table

Inputs OutputX Y Z0 0 10 1 11 0 11 1 0

Page 28: Logic gates and NAND and NOR univarsal gates

NOR Gate:

X

YY X Y XZ

Logical symbol

Truth Table

Inputs OutputX Y Z0 0 10 1 01 0 01 1 0

Page 29: Logic gates and NAND and NOR univarsal gates

NOR Gate as an Ex-OR Gate:Logical symbol

Truth Table

Inputs OutputX Y Z0 0 00 1 11 0 11 1 0

Page 30: Logic gates and NAND and NOR univarsal gates

NOR Gate as an Ex-NOR Gate:Logical symbol

Truth Table

Inputs OutputX Y Z0 0 10 1 01 0 01 1 1

Page 31: Logic gates and NAND and NOR univarsal gates

Thank You…..