Digital logic design


Logic gate is a circuit that has one or more input voltages but only one output voltage. logic gates are basic building blocks of the digital system.OR, NOT,  &  AND Gates are the fundamental kinds of gates. The interrelationship of gates to perform a type of logical work is called logic design.

Pin diagram of Logic gates.

Types of Logic Gates:

  • NOT GATE
  • OR GATE
  • AND GATE
  • NOR GATE
  • NAND GATE

NOT GATE:

A NOT gate creates an output which is the fulfillment of the input and It has only one input signal.

It creates a 1 output when the input is 0. and

It creates a 0 output when the input is 1.

The four generally used methods of displaying the NOT operation as shown in the figure.

 

The diagram shows the idea of the NOT gate using a switch. The lamp (Y) will glow when the switch (A) is on. The lamp (Y) will not glow when the switch (A) is off.

Logic Gate & Types of Logic Gates:Logic Gates

The two possible switch position is shown below. The truth table shows that NOT the gate of the switch and lamp circuit. The output of the NOT Gate circuit will be enabled when the input switch is ON.

OR GATE:

An OR gate is infrequently called the “ all gate”. OR gate has two or additional input signals.

  • It creates a 1 output if any or all inputs are 1.
  • It creates a 0 output when all inputs are 0.

An OR gate simulars to the action of parallel switches for the input.

The below table shows the four generally used methods for expressing the OR operation.

The diagram shows the idea of the OR gates using switches.

  • The lamp (Y) will glow when either switch A, B, or switch C is closed.
  • The lamp will also glow when switches A, B, and C are closed.
  • The lamp will not glow when switches A, B, and C are open.

Logic Gate & Types of Logic Gates:

AND GATE:

An AND gate is infrequently called the “all or nothing gate”. It has two or additional input signals.

  • It creates a 1 output only when all inputs are 1. Otherwise,
  • It creates a 0 output (nothing).
  • In other words, it creates a 0 output when any input is 0.
An AND gate simulars to the action of series switches for the input.

The below table shows the four commonly used methods for expressing the AND operation.

It shows the example of the AND gate using switches.

The lamp (Y) will glow only when both input switches (A and B) are off.

 

Logic Gate & Types of Logic Gates:Logic Gate & Types of Logic Gates:

 

All other possible groups for switches A and B are shown in the below table.

Switch Combination:

Input switches   Output Light
A B Y
1 1 Off
1 0 Off
0 1 Off
0 0 On

NOR GATE:

” A NOR gate shows OR gates followed by an inverter”. NOR Gate has two or additional input signals.

  • It creates a 1 when all the inputs are 0.
  • It creates a 0 output when any or all of the inputs are 1.
  • It so also works as a negative (bubbled) AND gate.

The table of the four generally used methods for expressing the NAND operation is given below.

NAND GATE:

(“A NAND gate current AND gates followed by an inverter”). NAND gate has two or additional input signals.

  • It creates a 0 output only when all the inputs are 1.
  • It creates a 1 output when any of the inputs is 0.

De Mergon’s second theorem says that the NAND function is equivalent to a negative (bubbled) OR gate.

The table of the four generally used methods for expressing the NAND operation is given below