Basic Logic gates

24
Logic Gates

Transcript of Basic Logic gates

Logic Gates

2/6/2015 Mr.Pravin Shirke 2

Logic Gate AND

Bulb

Power

Supply

A B

2/6/2015 Mr.Pravin Shirke 3

Logic Gate AND

Bulb

Power

Supply

A B

2/6/2015 Mr.Pravin Shirke 4

Logic Gate AND

Bulb

Power

Supply

A B

2/6/2015 Mr.Pravin Shirke 5

Logic Gate AND

Bulb

Power

Supply

A B

2/6/2015 Mr.Pravin Shirke 6

Logic Gate AND

Bulb

Power

Supply

A B

2/6/2015 Mr.Pravin Shirke 7

Logic Gate AND

Bulb

Power

Supply

A B

2/6/2015 Mr.Pravin Shirke 8

Logic Gate AND

Bulb

Power

Supply

A B

Output of AND Logic Gate is High when Both

Inputs (A & B Switch )at are High (Closed).

2/6/2015 Mr.Pravin Shirke 9

Logic Gate AND

From above Fig.

Switch A Switch B Bulb

OFF OFF

ON OFF

OFF ON

ON ON

2/6/2015 Mr.Pravin Shirke 10

Logic Gate AND

Truth Table

Input A Input B Y=A.B

0 0 0

0 1 0

1 0 0

1 1 1

Logical Expression:

A and B = A.B =Y

A

BY=A.B

2/6/2015 Mr.Pravin Shirke 11

Logic Gate OR

Bulb

Power

Supply

A

B

2/6/2015 Mr.Pravin Shirke 12

Logic Gate OR

Bulb

Power

Supply

A

B

2/6/2015 Mr.Pravin Shirke 13

Logic Gate OR

Bulb

Power

Supply

A

B

2/6/2015 Mr.Pravin Shirke 14

Logic Gate OR

Bulb

Power

Supply

A

B

2/6/2015 Mr.Pravin Shirke 15

Logic Gate OR

Bulb

Power

Supply

A

B

2/6/2015 Mr.Pravin Shirke 16

Logic Gate OR

Bulb

Power

Supply

A

B

2/6/2015 Mr.Pravin Shirke 17

Logic Gate OR

Output of OR Logic Gate is Low when Both Inputs

(A & B Switch ) are Low (Open).

Bulb

Power

Supply

A

B

2/6/2015 Mr.Pravin Shirke 18

Logic Gate OR

From above Fig.

Switch A Switch B Bulb

OFF OFF

ON OFF

OFF ON

ON ON

2/6/2015 Mr.Pravin Shirke 19

Logic Gate OR

Truth Table

Input A Input B Y=A.B

0 0 0

0 1 1

1 0 1

1 1 1

Logical Expression:

A Or B = A+B =Y

A

BY=A.B

Power

Supply

2/6/2015 Mr.Pravin Shirke 20

Logic Gate NOT

BulbA

Power

Supply

2/6/2015 Mr.Pravin Shirke 21

Logic Gate NOT

BulbA

Power

Supply

2/6/2015 Mr.Pravin Shirke 22

Logic Gate NOT

BulbA

2/6/2015 Mr.Pravin Shirke 23

Logic Gate NOT

From above Fig.

Switch A Bulb

OFF

ON

2/6/2015 Mr.Pravin Shirke 24

Logic Gate NOT

Truth Table

Input A Y=A

0 1

1 0

Logical Expression:

Y= AA Y=A