Home » LOGIC GATES

Category Archives: LOGIC GATES

LOGIC GATES AND ITS TYPES

INTRODUCTION OF LOGIC GATES

Binary logic deals with binary variables and with operations that assume a logical meaning.It is used to describe, in algebraic or tabular form, the manipulation of processing of binary information.The manipulation of binary information is done by logic circuits called gates. Gates are blocks of hardware that produce signals of binary 1 or 0 when input logic requirement are satisfied. A variety of logic gates are commonly used in digital computer system. Each gate has a distinct graphic symbol and its operation can be described by means of an algebraic expression. The input-output relationship of the binary variables for each gate can be represented in tabular form by a truth table. The basic logic gates are AND, Inclusive OR with multiple inputs and NOT with a single input. Each gate with more than one input is sensitive to either logic 0 or logic 1 input at any one of its input, generating the output according to its function. (more…)

OR GATE

An OR gate is the physical realization of the logical additionTHREE SWITCHES CONNECTED IN PARALLEL AS AN OR GATE (OR) operation. That is, it is an electrical circuit that generates an output signal of 1 only if any of the input signals is also 1. An OR Gate may have two or more inputs and has a single output. Let’s have a look at the circuit Diagram that is shown below to have a proper and understandable view of operation of an OR Gate. (more…)

NOT GATE

This Gate circuit provides an output only when the input signal to the Gate is not present. A NOT gate is the physical realisation of the complementation operation. Recall that the complementation operation is unary operation which is defined on a single variable. The NOT Gate circuit has a single input and a single output. The circuit performs the functioning of logic negation in accordance with the following definition: NOT gate is an electronic circuit that generates an output signal which is the reverse of the input signal or it can be defined as too: the output of a NOT Gate takes on state (1) if and only if the input to the circuit takes off state (0) and vice verse. It is also known as an Inverter because NOT gate inverts the input.

TRUTH TABLE AND LOGIC DIAGRAM OF NOT GATE

The truth table and the block diagram symbol for a NOT gate are shown below. A NOT gate always has a single input. Hence there can be only two possibilities of the input signal that are consecutively 0 and 1. When input is 0, the output is 1 and when input is 1 the output is 0. In the block diagram there is a small circle ahead which represents the logic negation.
TRUTH TABLE OF NOT GATEThe picture (b) shows that when A=1, Y=0 because the circle is on the output side and this is the symbol of NOT Gate and it is read as NOT ABLOCK DIAGRAM OF NOT GATE. The figure (a) shows that when A=0, Y=1 because the circle is input side and it is read as A NOT. From the above figure (c) it is shown that when two NOT gates are connected in series the final result is same as the first input and it gives the output as a Buffer gate. The output equation is Y = A’ (read A complement), where A is the input to the circuit and Y is output.

REALISATION OF NOT GATE BY THE USE OF TRANSISTOR

A NOT Gate cannot be constructed using semi-conductor diodes. We have to take help of a transistor. The picture shown below shows how a NOT Gate is implemented by a N-P-N transistor. In circuit A is input point and Y is output point. Now the Base Current B of the transistor is connected to input point A through a

REALISATION OF NOT GATE BY THE USE OF TRANSISTOR resistance RB. The emitter current E is earth-connected. And collector current C is in touch with the positive terminal of a 5V battery through a resistance RC, the negative terminal of the battery is earth-connected. The resistance RB and RChave such values that when the Base Current B is supplied with 5V potential a large values of Collector Current flows and the voltage at Y drops and Base Collector junction becomes forward biased. Since there can be two possibilities of the input A hence two different states are generated when A = 0 and When A = 1.STAGE ONE WHEN A=0

When A = 0 the Base-Collector junction is reverse biased and but Base-Emitter junction is forward biased thus no current flows through RC hence at Y a 5V potential remain same which correspond to state 1.

STAGE TWO WHEN A=1

When  A = 1 the Base-Collector junction becomes forward biased and thus Base current flows through collector C. Hence a 5V potential is developed across RC and output Y is nearly 0V corresponding to 0.

IMPLEMENTATION OF NOT GATE BY NAND GATE AND NOR GATES

A NOT Gate can be made using a single NAND Gate. The two inputs of a NAIMPLEMENTATION OF NOT GATE BY NAND GATE AND NOR GATESND Gate are joined together to form a single input to the circuit. Thus we find that a single input NAND gate behaves as the inverter or NOT gate. In the same way a NOT Gate can be implemented by NOR Gate by joining two input to function as a single input. The Block Diagram of NOT Gate by NAND Gate and NOR Gate is shown here.

NOR GATE

A NOR gate is a complemented OR gate, as indicated by the circuit diagram, which consist of an OR gate and followed by a small circle or NOT gate. That is, the output of a NOR gate will be 0 if anyone of the inputs to NOR gate is 1 and the output of NOR gate will be 1 only when all the inputs are 0.LOGIC DIAGRAM OF TWO INPUT AND THREE INPUT NOR GATES

NAND GATE

ABLOCK DIAGRAM OF TWO INPUT AND THREE INPUT NAND GATE NAND gate is a complemented or inverted AND gate. As it is indicated by the graphic symbol, which consists of an AND gate graphic symbol followed by a small circle which represents a NOT gate. Thus the output of a NAND gate will be 1 if any one of the input is 0 and will be 0 only when all the inputs are 1. Block diagram of two input and three input NAND gates are shown here.

(more…)

XOR GATE (EXCLUSIVE-OR)

The exclusive-OR gate is a logic gate which has a graphic symbol similar to the OR gate except for the additional curved line on the input side. The output of this gate is 1 if anyone of the inputs is 1 but excludes the combination when both inputs are either 1 or 0.The exclusive-OR function has its own algebraic symbol or can be expressed in term of AND,OR, and complement operation as shown below.

(more…)

XNOR GATE (EXCLUSIVE-NOR GATE)

XNOR gate is the complement of the exclusive-OR gate. It is obtained by adding a NOT gate next to a XOR gate. The NOT gate is indicated by a small circle in the block diagram given here.

TRUTH TABLE AND BLOCK DIAGRAM OF TWO INPUT XNOR GATE

BLOCK DIAGRAM OF TWO INPUT XNOR GATE

Form the block diagram shown here, it can be said that a XNOR gate can be obtained by putting a circle which represent a NOT gate after a XOR gate. From the block diagram it can be seen that it has two inputs A and B, and an output Y which is equivalent to the complemented output of a two input XOR gate. So, the output of XNOR gate is Y is equal to (A’B + AB’)’.

(more…)