Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01...

15
Logic Gates

Transcript of Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01...

Page 1: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

Logic Gates

Page 2: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

AND gateProduces an output only if both inputs are on

Input A Input B Output (Q)

0 0

0 1

1 0

1 1Q=

Page 3: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

Can you draw a circuit that would act like an AND gate?

Page 4: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

OR Gate

Produces an output when….

Input A Input B Output (Q)

0 0

0 1

1 0

1 1Q=

Page 5: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

Can you draw a circuit that would act like an OR gate?

Page 6: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

NOT Gate

• A NOT gate inverts its input

Input (A) Output (Q)

0

1

Q=A

Page 7: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

Can you draw a circuit that would act like an NOT gate?

Page 8: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

NOT AND = NAND

Input A Input B A.B Output (Q)=A.B

0 0

0 1

1 0

1 1

Page 9: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

Can you draw a circuit that would act like an NAND gate?

Page 10: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

NOT OR =NOR

Input A Input B A+B Output (Q) A+B

0 0

0 1

1 0

1 1

Page 11: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

Can you draw a circuit that would act like an NOR gate?

Page 12: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

XOR – Exclusive OR

Input A Input B Output (Q)

0 0

0 1

1 0

1 1

Q=A + B =A.B+A.B

Page 13: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

How would we actually make a logic gate

Page 14: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

NOT Gate

Page 15: Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) 00 01 10 11 Q=

AND Gate