The Wayback Machine - https://web.archive.org/web/20240811044035/https://www.geeksforgeeks.org/basic-conversion-of-logic-gates/
Open In App

Basic Conversion of Logic Gates

Last Updated : 25 Feb, 2021
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

In the digital system, logic gates are the basic building blocks.  In these logic gates, we can find the gates having more than one input, but will have only one output. The connection between the input and the output of a gate is based on some logic. Based on this logic, different gates are developed like OR gate, AND gate, NOT gate, and more.   The gates that are developed have been divided into categories like Basic Gates, Universal Gates, and more. 

Here we have used 2 inputs, and the combination of the inputs that we will have is 4. So we can have more than one or two inputs, and the combination of the input will be based on 2n. ‘n’ states the number of inputs of the logic gate. 
For example:- if the number of input is 3, then the combination of the input will be 23 = 8.

Some Basic Conversion of Gates: – 

AND to NAND: –

The algebraic expression of the AND to NAND Gate conversion is Y=A’+B‘. 

OR to NOR: –

The algebraic expression of the NOR gate is Y=A’.B’. 

NAND to AND: –

The algebraic expression of the NAND to AND gate conversion is Y”=A.B. 

After complement, we get the expression of the And gate. 

NAND to OR: –

The algebraic expression of the NAND to OR gate is- Y=A+B.

NOR to AND: – 

The algebraic expression of the NOR to AND gate is Y=A.B.

NOR to NOT: –

The algebraic expression of the NOR to NOT gate conversion will be the same as the NOT gate. So the algebraic conversion of the NOT gate is:- Y=A’ 

NAND to NOT: –

The algebraic expression of the NAND to NOT gate conversion will be the same as the NOT gate. So the algebraic conversion of the NOT gate is:- Y=A’

NOR to OR: –

The algebraic expression of the NOR to OR gate is: A+B 

NOR to NAND: –

The algebraic expression of the NOR to NAND gate is A’+B’. 

NOR to XOR: –

The algebraic expression of the NOR to XOR gate is (A+(A+B)’)’+(B+(A+B)’)’

NOR to X-NOR: –

The algebraic expression of the NOR to XNOR gate is- (A+B’). (A’+B)


Previous Article
Next Article

Similar Reads

Program to implement Logic Gates
A Logic gate is an elementary building block of any digital circuits. It takes one or two inputs and produces output based on those inputs. Outputs may be high (1) or low (0). Logic gates are implemented using diodes or transistors. It can also be constructed using vacuum tubes, electromagnetic elements like optics, molecule etc. In a computer, mos
8 min read
VHDL code for AND and OR Logic Gates
Prerequisite - Introduction of Logic Gates Design and implement the AND and OR logic gates using VHDL (VHSIC Hardware Description Language) programming language. Different Types of VHDL Modelling Styles The architecture of VHDL code is written in three different coding styles : Dataflow Modelling Behavioral ModellingStructural Modelling 1. Logic De
2 min read
Control Logic Gates in Computer Organization
Control Logic Gates is the hardware component of a basic computer. It comprises some inputs and outputs. The diagram given below is related to the hardwired control organization. The diagram below consists of the instruction register which has three parts: the I bit (15), the operation code (12, 13, 14), and bits 0 through 11. The symbols as D0 to
2 min read
Realization of Logic Gate Using Universal gates
In Boolean Algebra, the NAND and NOR gates are called universal gates because any digital circuit can be implemented by using any one of these two i.e. any logic gate can be created using NAND or NOR gates only. Every logic gate has a representation symbol. The below image shows a graphical representation of all logic gates. 1. Implementation of AN
1 min read
Two Level Implementation of Logic Gates
The term "two-level logic" refers to a logic design that uses no more than two logic gates between input and output. This does not mean that the entire design will only have two logic gates, but it does mean that the single path from input to output will only have two logic gates. In two-level logic, irrespective of the total number of logic gates,
6 min read
Binary Adder with Logic Gates
Binary Adder and logic gates are important elements in digital logic. Binary adders are circuit which adds two binary numbers and results in the sum of the two binary numbers. Logic gates are the circuit in which a signal can pass through if a logic is applied through it. In this article we will discuss about the binary adder with logic gates, bina
8 min read
Introduction of Logic Gates
In Boolean Algebra, there are three basic operations, [Tex]+,\:.\:,\:^\prime       [/Tex]which are analogous to disjunction, conjunction, and negation in propositional logic. Each of these operations has a corresponding logic gate. Apart from these, there are a few other logic gates as well. It was invented by George Boole. Table of Content What is
6 min read
Universal Logic Gates
A logic gate is an active electronic component that uses one or more inputs to produce an output based on the bolean algebra each gate is designed to perform. Though there are various types of gates including AND, OR, NOT, NAND, NOR etc.. NAND and NOR gates are a little special. NAND gate and NOR gate can be termed as universal logic gates since an
7 min read
Difference between Programmable Logic Array and Programming Array Logic
Programmable Logic Array (PLA) and Programming Array Logic (PAL) are the categories of programming logic devices. In PLA or Programmable Logic Array, there are massive functions can be implemented. Whereas in PAL or Programmable Array Logic, there is finite functions can be implemented. The distinction between PLA and PAL is that, PAL have programm
2 min read
Half Adder and Half Subtractor using NAND NOR gates
Introduction:Advantages of using NAND and NOR gates to implement Half Adder and Half Subtractor:Universality: NAND and NOR gates are considered universal gates because they can be used to implement any logical function, including binary arithmetic functions such as addition and subtraction.Cost-effectiveness: NAND and NOR gates are relatively simpl
2 min read
Article Tags :
three90RightbarBannerImg