Nand Nor
Nand Nor
Content
1 0 0 0 0 0 0
0 1
2 0 1 0 0 1 1
3 1 0 0 1 0 1
1 0
4 1 1 1 1 1 1
Logic Gates
• Logic gates are electronic circuits that operate on one or more input
signals to produce an output signal.
• Electrical signals such as voltage and currents are actually analog
signals and having a certain range. (say 0 to 3v)
• But in digital systems they are interpreted as either 0 or 1.
• Voltage controlled logic circuits response to separate voltage levels
that represent logic 0 or logic1.
• Example 0v as Logic 0 and 3v as Logic 1.
• The input terminals of a logic gate accepts the inputs within the
allowable range and produces an output within the specified range.
Logic Gates
• The gates are blocks of hardware that produce the
equivalent of logic‐1 or logic‐0 output signals if
input logic requirements are satisfied.
• The graphical symbols are
Logic Gates
Gates are classified into 3 different groups.
1. Basic Gates (OR, AND & NOT gates)
2. Compound Gates
1. Universal Gates (NAND and NOR Gates)
2. Special Gates (Ex-OR, and Ex-NOR)
• Gates with multiple inputs also possible
OR Gate
• A 2 input logic gate accepts two inputs and produces 1 output.
• The output is 0 if and only if both the inputs are equal to 0.
• The logical expression is 𝑂𝑢𝑡𝑝𝑢𝑡 𝑌 = 𝐴 + 𝐵
• The logic symbol and truth table is Waveform
Truth Table
A B A+B
0 0 0
0 1 1
1 0 1
1 1 1
AND Gate
• A 2 input logic gate accepts two inputs and produces 1 output.
• The output is 1 if and only if both the inputs are equal to 1.
• The logical expression is 𝑂𝑢𝑡𝑝𝑢𝑡 𝑌 = 𝐴. 𝐵
• The logic symbol and truth table is Waveform
Truth Table
A B A.B
0 0 0
0 1 0
1 0 0
1 1 1
NOT Gate
• Not Gate accepts one input and produces 1 output.
• The output is 1 if the input is not equal to 1.
• The logical expression is 𝑂𝑢𝑡𝑝𝑢𝑡 𝑌 = 𝐴′ 𝑜𝑟 𝑌 = 𝐴.ҧ
• The logic symbol and truth table is Waveform
Truth Table
A 𝑌 = 𝐴ҧ
0 1
1 0
NOR Gate
• Known as Universal gate.
• A 2 input NOR gate accepts two inputs and produces 1 output.
• Combination of OR+NOT Gates.
• The logical expression is 𝑂𝑢𝑡𝑝𝑢𝑡 𝑌 = 𝐴 + 𝐵 ′ 𝑜𝑟 𝑨 + 𝑩 Waveform
1. When the input is low, both gates are at zero potential. The input
is at-VDD relative to the source of the p ‐channel device and at
0 V relative to the source of the n ‐channel device.
2. The result is that the p‐channel device is turned on and the
n‐channel device is turned off.
3. Under these conditions, there is a low‐impedance path from
VDD to the output and a very high impedance path from output
to ground. Therefore, the output voltage approaches the high
level VDD under normal loading conditions.
4. When the input is high, both gates are at VDD and the situation
is reversed: The p ‐channel device is off and the n ‐channel
device is on. The result is that the output approaches the low
level of 0 V
Complementary MOS-NAND
Gate
Complementary MOS-NOR Gate
References
• https://www.youtube.com/watch?v=ycPH_DRIfHQ
• https://www.youtube.com/watch?v=GZ8V3M6PXkg