logic gates

14
Logic Gates

Upload: monet

Post on 06-Jan-2016

32 views

Category:

Documents


0 download

DESCRIPTION

Logic Gates. NOT Gate. Also known as an inverter. AND Gate. OR Gate. XOR Gate. What are digital circuits?. System of logic components that model some Boolean expression Inputs  Digital Circuit  Output Example: ~x · y = z. Example – Circuit  Expression. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Logic Gates

Logic Gates

Page 2: Logic Gates

NOT Gate

Also known as an inverter

x ~x

Page 3: Logic Gates

AND Gate

x

y

xy

Page 4: Logic Gates

OR Gate

x

y

x+y

Page 5: Logic Gates

XOR Gate

x

y

x XOR y

Page 6: Logic Gates

What are digital circuits?

System of logic components that model some Boolean expression

Inputs Digital Circuit Output Example: ~x · y = z

x

yz

Page 7: Logic Gates

Example – Circuit Expression

What Boolean function does the following digital circuit model?

Answer: ~x + ~y = z

x

y

z

Page 8: Logic Gates

Example – Circuit Expression

What Boolean function does the following digital circuit model?

Answer: f = xy + yz + ~xz

x

y

zf

Page 9: Logic Gates

Your Turn

What Boolean function does the following digital circuit model?

x

y

z

f

Page 10: Logic Gates

Example – Expression Circuit

Draw the logic circuit that corresponds to the following Boolean expression: f = ~(xy+z)

x

y

zf

Page 11: Logic Gates

Example – Expression Circuit

Draw the logic circuit that corresponds to the following Boolean expression: f = ~(x+z)·(x+y)

x

y

z

f

Page 12: Logic Gates

Your Turn

Draw the logic circuit that corresponds to the following Boolean expression:

f = xy + ~xy + ~(yz)

Page 13: Logic Gates

NAND Gate

~(xy)

x

y~(xy)

x

y~(xy)

Page 14: Logic Gates

NOR GATE

~(x+y)

x

y~(x+y)

x

y

~(x+y)