Unit LV Digital Electronics
Unit LV Digital Electronics
Unit LV Digital Electronics
DEFINITION ::
A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and
one output. At any given moment, every terminal is in one of the two binaryconditions low (0)
or high (1), represented by different voltage levels. The logic state of a terminal can, and generally
does, change often, as the circuit processes data. In most logic gates, the low state is approximately
zero volts (0 V), while the high state is approximately five volts positive (+5 V).There are seven basic
logic gates: AND, OR, XOR, NOT, NAND, NOR, and XNOR.
1. AND gate ::
An AND gate is a digital circuit having two inputs and one out put. The out put is high if and olny if
both inputs are high.
0 0 0
0 1 0
1 0 0
1 1 1
Out put X = 1 if either A or B or both are 1. Hence out put of OR gate X = A+B.
OR gate
0 0 0
0 1 1
1 0 1
1 1 1
NOTgate ::
A logical inverter , sometimes called a NOT gate to differentiate it from other types of electronic
inverter devices, has only one input. It reverses the logic state.
0 1
1 0
The NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner of the logical
operation "and" followed by negation. The output is "false" if both inputs are "true." Otherwise, the
output is "true."
NAND gateThe NAND gate operates as an AND gate followed by a NOT gate. It acts in the manner
of the logical operation "and" followed by negation. The output is equal to the complementary of
AND gate. NAND gate of A and B inputs = Q = (A. B )’
NAND gate
0 0 (0.0) ‘ = 1
0 1 (0.1)’ = 1
1 0 (1.0)‘= 1
1 1 (1.1)’= 0
NOR gate ::
Half Adder
Half adder is a combinational circuit that performs simple addition of two binary numbers.
It has two inputs and two out puts. The block diagram of a half adder is shown below.
The block diagram of a full adder with A, B and CIN as inputs and S, CoUT as outputs is shown
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9