Skip to main content

CMOS Logic Gates: Working, Types, Truth Tables and Applications


CMOS logic gates are digital electronic circuits built using Complementary Metal-Oxide-Semiconductor (CMOS) technology. They use two types of MOSFET transistors, NMOS and PMOS, to perform Boolean logic operations such as NOT, NAND and NOR. CMOS technology is widely used in modern digital integrated circuits because it offers low static power consumption, high input impedance and good noise immunity.

1. How CMOS Logic Gates Work

CMOS Logic Gates: Block Diagram

CMOS logic gates use complementary PMOS and NMOS transistors to implement digital logic functions.

CMOS logic gate block diagram Input A, B, ... CMOS Network PMOS pull-up NMOS pull-down Output Y Examples: NOT, NAND, NOR

CMOS circuits use complementary NMOS and PMOS transistors to control the output voltage. In a typical CMOS logic gate, the PMOS network provides a path from the output to the positive supply voltage (VDD), while the NMOS network provides a path from the output to ground (GND).

  • PMOS transistor: Generally turns ON when its gate voltage is sufficiently low relative to its source.
  • NMOS transistor: Generally turns ON when its gate voltage is sufficiently high relative to its source.

The transistor networks are arranged so that the output represents the required Boolean function. In a standard static CMOS gate, one network pulls the output HIGH while the complementary network pulls it LOW.

When the circuit is in a stable logic state, ideally there is negligible direct current from VDD to GND. During switching, however, CMOS circuits consume dynamic power because of capacitance charging and discharging, along with short-circuit and leakage currents.

2. Common CMOS Logic Gates

2.1 CMOS NOT Gate (Inverter)

CMOS NOT Gate Circuit Diagram

CMOS inverter using PMOS and NMOS transistors VDD PMOS Pull-up Y = NOT A NMOS Pull-down A PMOS connects output to VDD; NMOS connects output to ground.

A CMOS inverter consists of one PMOS transistor and one NMOS transistor. The PMOS transistor is connected to VDD, and the NMOS transistor is connected to GND. Their drains are connected together to form the output.

When the input is LOW (0), the PMOS transistor turns ON and the NMOS transistor turns OFF, producing a HIGH output (1). When the input is HIGH (1), the PMOS transistor turns OFF and the NMOS transistor turns ON, producing a LOW output (0).

Boolean expression: Y = NOT A = Ā

Input A Output Y
01
10

2.2 CMOS NAND Gate

CMOS NAND Gate Circuit Diagram

Two-input CMOS NAND gate transistor diagram VDD PMOS A PMOS B Y = NOT(A·B) NMOS A NMOS B PMOS parallel; NMOS series.

A NAND gate produces a LOW output only when all its inputs are HIGH. For a two-input static CMOS NAND gate, the PMOS transistors are connected in parallel, while the NMOS transistors are connected in series.

If either input is LOW, at least one PMOS transistor provides a pull-up path, and the series NMOS path is interrupted. When both inputs are HIGH, the NMOS series path conducts and the output becomes LOW.

Boolean expression: Y = NOT (A AND B) = (A · B)̅

Input A Input B Output Y
001
011
101
110

Important: NAND is called a universal logic gate because any Boolean logic function can be implemented using NAND gates alone.

2.3 CMOS NOR Gate

CMOS NOR Gate Circuit Diagram

Two-input CMOS NOR gate transistor diagram VDD PMOS A PMOS B Y = NOT(A+B) NMOS A NMOS B PMOS series; NMOS parallel.

A NOR gate produces a HIGH output only when all its inputs are LOW. In a two-input static CMOS NOR gate, the PMOS transistors are connected in series, while the NMOS transistors are connected in parallel.

If either input is HIGH, the corresponding NMOS transistor provides a path to ground, making the output LOW. When both inputs are LOW, the PMOS series path conducts and the output becomes HIGH.

Boolean expression: Y = NOT (A OR B) = (A + B)̅

Input A Input B Output Y
001
010
100
110

NOR is also a universal logic gate, meaning that any Boolean logic function can be implemented using NOR gates alone.

2.4 CMOS AND and OR Gates

AND and OR functions can be implemented by combining CMOS gates. For example, an AND gate can be built by connecting a NAND gate to a NOT gate. Similarly, an OR gate can be built by connecting a NOR gate to a NOT gate.

  • AND: Y = A · B
  • OR: Y = A + B

3. CMOS Logic Gate Truth Table Summary

The following table summarizes the output of the common two-input CMOS logic gates.

A B AND OR NAND NOR
000011
010110
100110
111100

4. Advantages of CMOS Technology

  • Low static power consumption: Ideally, a stable CMOS logic state draws negligible direct current between the supply rails.
  • High input impedance: MOSFET gate terminals draw very little steady-state input current.
  • Good noise immunity: Properly designed CMOS circuits can tolerate a useful range of input-voltage disturbances.
  • High integration density: CMOS technology enables large numbers of transistors to be integrated into a small chip.
  • Scalability: CMOS processes have supported the development of increasingly compact and complex digital circuits.

5. Applications of CMOS Logic Gates

CMOS logic gates form the building blocks of many digital electronic systems, including:

  • Microprocessors and microcontrollers
  • Memory circuits, including SRAM and CMOS-based logic in memory systems
  • Digital signal processors (DSPs)
  • Arithmetic logic units (ALUs)
  • Digital communication systems
  • Control circuits and embedded systems
  • Computers, smartphones and other digital devices

6. Why CMOS Is Important in Digital Electronics

CMOS technology combines complementary transistor networks to implement logic functions with low static power consumption and high integration density. These properties make CMOS a fundamental technology for modern digital integrated circuits. Understanding CMOS inverters, NAND gates and NOR gates helps students understand how complex digital systems are constructed from basic transistor-level circuits.

Frequently Asked Questions (FAQs)

What does CMOS stand for?

CMOS stands for Complementary Metal-Oxide-Semiconductor. It refers to a technology that uses complementary NMOS and PMOS transistors.

Why are both NMOS and PMOS transistors used in CMOS?

NMOS and PMOS transistors provide complementary switching behavior. Together, they form pull-down and pull-up networks that implement logic functions efficiently.

Why is NAND called a universal gate?

NAND is a universal gate because NOT, AND, OR and other Boolean functions can be constructed using NAND gates alone.

Do CMOS circuits consume power?

Yes. Although ideal CMOS logic draws negligible static current in stable states, practical circuits consume power due to switching, leakage and other non-ideal effects.

Conclusion

CMOS logic gates use NMOS and PMOS transistors to perform digital logic operations. The inverter, NAND gate and NOR gate are fundamental CMOS circuits, while AND and OR functions can be constructed from these basic gates. Their low static power consumption, noise immunity and high integration density make CMOS technology essential to modern digital electronics.



Contact Us

Name

Email *

Message *

Popular Posts

UGC NET Electronic Science Previous Year Question Papers with Solutions

Download Papers and Solutions Exam Pattern Preparation Tips FAQs More Home / Engineering & Other Exams / UGC NET 2026 PYQ 📊 Exam Highlights: Electronic Science (88) Feature Details Junior Research Fellowship (JRF) ₹37,000 + HRA per month Eligibility M.Sc/M.Tech in Electronics (55%) Validity of Certificate JRF (3 Years) | Lectureship (Lifetime) 📥 Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading 📂 View All Question Papers June 2026 - Question Paper Download PDF June 202...

Flat vs Frequency Selective Online Simulator

Flat vs Frequency Selective Online Simulator Channel Type Without Fading Flat Fading Multipaths Nakagami m SNR(dB) Run Simulation Input Signal Signal After Fading Constellation Diagram BER vs SNR Explore Advanced Flat vs Frequency-Selective Fading Simulator Want to see these equations in action? Visualize it. Launch Simulator Tool Flat Fading and Frequency-Selective Fading Effects of Multipath Components and the Nakagami-m Parameter 1. Flat Fading Flat fading occurs when the signal bandwidth is smaller than the channel's coherence bandwidth, meaning that all frequency components of the transmitted signal experience approximately the same fading. It is typically associated with narrowband signals, where the multipath delay spread is small relative to the symbol duration. ...

MATLAB Code for Constellation Diagram of QAM configurations such as 4, 8, 16, 32, 64, 128, and 256-QAM

📘 Overview of QAM 🧮 4-QAM MATLAB 🧮 16-QAM MATLAB 🚀 Online Simulator 📂 Other Topics on Constellation Diagrams... ▼ 🧮 MATLAB Code for 4-QAM 🧮 MATLAB Code for 16-QAM 🧮 MATLAB Code for m-ary QAM 🧮 Simulator for m-ary PSK 🧮 Simulator for m-ary QAM 🧮 Overview of Energy per Bit (Eb / N0) 🧮 Simulator for ASK, FSK, and PSK Overview of QAM One of the best-performing modulation techniques is QAM [↗] . Here, we modulate the symbols by varying the carrier signal's amplitude and phase in response to the variation in the message signal (or voltage variation). So, we may say that QAM is a combination of phase and amplitude modulation. Additionally, it performs better than ASK or PSK [↗] . In fact, any constellation for any type of modulatio...

UGC NET Electronic Science June 2026 Question Paper with Answer Key & Detailed Solutions

Home / UGC NET PYQ / June 2026 Solved UGC NET Electronic Science June 2026 Question Paper with Answer Key and Full Explanations 📥 Download Question Paper (PDF) 2025 2024 2023 2022 2021 2020 Explanations 1. Answer: Option (3) Total Students = 900 Urban Students = 7/10*400 + 4/5*500 = 680 680/900 * 100 = 75.56% 2. Answer: Option (1) Urban Students = 7/10*400 + 4/5*500 + 4/7*700 + 1/2 * 600 = 1380 3. Answer: Option (3) Male = 700*4/7 = 400 Female = 700*3/7=300 400-300=100 100/400*100 = 25% 4. Answer: Option (2) 400*3/10*40/100 + 500*1/5*60/100+700*3/7*50/100+600*1/3*30/100 = 318 5. Answer: Option (2) Total Female Students in B,C, and D colleges = 600 Female Post-graduates  = 100*60/100 + 300*50/100 + 200*30/100 = 270 270/600 *100 = 45% 6. Answer: Option (3) 7. Answer: Option (2) 8. Answer: Option (4) 9. Answer: Option (4) 10. Answer: Option (2) 11. Answer: Option (2) 12. Answer...

Online Simulator for ASK, FSK, and PSK Signal Generation

Interactive Digital Signal Processing (DSP) Tutorial and Simulator for ASK, FSK, and BPSK modulation techniques. Try our new Digital Signal Processing Simulator!   •   Interactive ASK, FSK, and BPSK tools updated for 2025. Start Now Digital Modulation Visualizer: ASK, FSK, & BPSK Simulator Learn and visualize binary modulation techniques (ASK, FSK, BPSK) in real-time with adjustable carrier and sampling parameters. Perfect for DSP students and engineers. 📡 ASK Simulator 📶 FSK Simulator 🎚️ BPSK Simulator 📚 More Topics ASK Modulator FSK Modulator BPSK Modulator Demodulation More Topics 1. ASK (Ampli...

Design of CMOS Full Adder

Design of CMOS Full Adder VLSI designers historically focus on speed as a key performance metric. High-performance gains are critical for digital processors, microprocessors, DSPs, and ASICs. Small area and high performance are conflicting constraints. Power consumption in CMOS circuits must be minimized to reduce heat dissipation for dense integration and to save energy in battery-powered devices. Power consumption is proportional to switching activity, capacitive loading, and the square of the supply voltage. The Full Adder is a fundamental building block in processors, ALUs, DSPs, microprocessors, and arithmetic operations like addition, subtraction, multiplication, and division. Improving the performance of a 1-bit Full Adder enhances overall system performance. CMOS logic uses complem...

Constellation Diagrams of ASK, PSK, and FSK (with MATLAB Code + Simulator)

Constellation Diagrams: ASK, FSK, and PSK Comprehensive guide to signal space representation, including interactive simulators and MATLAB implementations. 📘 Overview 🧮 Simulator ⚖️ Theory 📈 Q-function 📚 Resources BASK Modulation Transmits one of two signals: 0 or $\sqrt{E_b}$, representing binary 0 and 1. Simple but sensitive to noise. BFSK Modulation Transmits one of two signals: $\sqrt{E_b}$ on the Y-axis or $\sqrt{E_b}$ on the X-axis. These are orthogonal signals. BPSK Modulation Transmits $+\sqrt{E_b}$ or $-\sqrt{E_b}$ (antipodal signaling). Most efficient binary scheme. ...