Discrete 1
Discrete 1
LOGIC GATES
LOGIC GATE
A logic gate is a building block of a digital circuit.
Most logic gates have two inputs and one output and are
based on Boolean algebra.
AND GATE
OR GATE
INPUT OUTPUT INPUT OUTPUT
A B A AND B
A B A OR B
0 0 0
0 0 0
0 1 0
1 0 0 0 1 1
1 1 1 1 0 1
1 1 1
NOR GATE
NOT GATE INPUT OUTPUT
INPUT OUTPUT A B A NOR B
A NOT A 0 0 1
0 1 0 1 0
1 0 1 0 0
1 1 0
NAND GATE
INPUT OUTPUT
A B A NAND B
0 0 1
0 1 1
1 0 1
1 1 0
XOR GATE XNOR GATE
INPUT OUTPUT Input Output
A B A XOR B A B A XNOR B
0 0 0
0 0 1
0 1 1
0 1 0
1 0 1
1 1 0 1 0 0
1 1 1
USE NAND GATES TO CONSTRUCT THE
FOLLOWING:
1) X + Y
2) X + Y
COMBINATIONS OF
GATES
COMBINATIONS OF GATES
• Two or more discrete logic gates in a single logic
solution.
• The integrated gates may be internally
connected to generate a specific Boolean
function or can remain independent.
• Combinational circuits can be constructed using
a combination of inverters, OR gates, AND
gates.
• When combinations are circuits are formed,
some gates may share input.
This is shown in one of two ways in depictions of circuits.
METHODS:
One method is to use branchings that indicate all the gates
that use a given input.
2) (x . y)
3)(x + y + z)(x y z)
Example : 01