LOGIC GATES
LOGIC GATES
A logic gate is an elementary building block of a digital circuit.
Most logic gates have two inputs and one output, every
terminal is in one of the two binary conditions low (0) or high
(1), represented by different voltage levels.
TYPES OF GATES
- NOT
- AND
- NAND
- OR
- NOR
NOT GATE
A NOT gate accepts one input value and produces one output
value.
A NOT gate is sometimes referred to as an inverter.
EXAMPLE
AND GATE
An AND gate accepts two input signals.
If the input values for an AND gate are both 1, the output is 1;
otherwise the output is 0.
EXAMPLE: AND GATE
NAND GATE
The NAND gate operates as an AND gate followed by a NOT gate. The
outputs of all NAND gates are high (1) if any of the inputs are low (0).
The output is 0 if both inputs are 1; otherwise the output is 1
EXAMPLE: NAND GATE
OR GATE
If the two input values are both 0, the output value is 0;
otherwise, the output is 1.
EXAMPLE: OR GATE
NOR GATE
The NOR gate is a combination OR gate followed by an
inverter. The outputs of all NOR gates are 0 if any of the inputs
are 1.
EXAMPLE: NOR GATE
COMBINATIONAL CIRCUITS
The digital logic circuits whose outputs can be determined
using the logic function of current state input are combinational
logic circuits.
0
0
1
0
0
If A = 1, B = 0 and C = 1, what is X?
N 0
0
1100
1101
0001
If A = 1 and B = 0,
what will be the
output?
ANS: 0010
0
1 0
0
ANS:
0
0 0010
1
1
1
1
0
0
PETA: REPORTING
GROUP 3: 8:00AM – 8:20AM
GROUP 6: 8:20AM – 8:40AM
GROUP 5: 8:40AM – 9:00AM
GROUP 1: 9:00AM – 9:20AM
GROUP 4: 9:20AM – 9:40AM
GROUP 2: 9:40AM – 10:00AM