CMOS and NMOS logic
Definition
NMOS logic is a digital logic technique that uses n-channel MOSFETs as the main switching elements, usually with a load device to pull the output high.
CMOS logic stands for Complementary Metal-Oxide-Semiconductor logic, a logic family that uses both n-channel and p-channel MOSFETs in complementary form so that one network pulls the output low and the other pulls it high.
Main Content
1. NMOS Logic
Structure and operation
- NMOS logic uses n-channel MOSFETs as the switching transistors. An NMOS transistor turns ON when a positive voltage is applied to its gate relative to its source. In a logic gate, multiple NMOS transistors may be arranged in series or parallel to form the pull-down network. The output is typically pulled up by a resistor or by an always-on load transistor. When the NMOS network conducts, the output is forced to logic 0.
Characteristics and limitations
- NMOS logic is simpler than CMOS because only one type of transistor is used in the switching network. It is faster than resistor-load logic because MOS transistors can switch faster than passive resistors can charge or discharge a node. However, it has a major drawback: when the output is high, current still flows through the load path, causing static power dissipation. This makes NMOS less power-efficient than CMOS.
Example: NMOS inverter
VDD
|
[Load]
|
+---- Vout
|
[NMOS]
|
GND
- When the input is high, NMOS turns ON and pulls the output low.
- When the input is low, NMOS turns OFF and the load pulls the output high.
2. CMOS Logic
Structure and operation
- CMOS uses a complementary pair of MOSFETs: a p-channel MOSFET at the top connected to VDD and an n-channel MOSFET at the bottom connected to ground. In a CMOS inverter, when the input is low, the pMOS turns ON and the nMOS turns OFF, so the output is pulled high. When the input is high, the pMOS turns OFF and the nMOS turns ON, so the output is pulled low. This complementary action gives CMOS its name.
Characteristics and advantages
- CMOS circuits consume extremely low static power because, in the ideal state, one of the transistors in the pull-up/pull-down path is OFF, so there is no direct path from VDD to ground. Power is mainly consumed only during switching, when the output node capacitance is charged or discharged. CMOS also offers high noise immunity, large fan-out capability, and very dense integration, which is why it is the dominant technology in modern VLSI systems.
Example: CMOS inverter
VDD
|
[pMOS]
|
Vin ----| |---- Vout
|
[nMOS]
|
GND
- Vin = 0 → pMOS ON, nMOS OFF → Vout = 1
- Vin = 1 → pMOS OFF, nMOS ON → Vout = 0
3. Comparison Between CMOS and NMOS Logic
Power consumption
- NMOS logic consumes static power because current can flow continuously through the load when output is high. CMOS logic has very low static power and consumes power mainly during transitions. This makes CMOS much more suitable for battery-powered and high-density circuits.
Speed, noise, and usage
- NMOS was historically faster than older resistor-transistor logic, but CMOS later became preferred because it combines low power with high noise immunity and excellent scalability. CMOS can be used to build complex logic gates, arithmetic circuits, microprocessors, memories, and analog switches. NMOS is now mostly of historical importance or used in special analog and load-related designs.
Comparison table
| Feature | NMOS Logic | CMOS Logic |
|---|---|---|
| Transistors used | n-channel MOSFETs only | n-channel + p-channel MOSFETs |
| Static power | High | Very low |
| Speed | Moderate to good | High, especially in modern ICs |
| Noise immunity | Lower | Higher |
| Heat generation | More | Less |
| Main use today | Limited/special cases | Dominant in digital ICs |
Working / Process
1. Input application
- The input signal is applied to the gate terminal(s) of the MOSFETs. In NMOS, the gate controls whether the n-channel device conducts. In CMOS, the same input simultaneously controls both pMOS and nMOS devices in opposite ways.
2. Transistor switching
- Based on the input, one set of transistors turns ON while the other turns OFF. In NMOS logic, the pull-down path becomes active for a high input. In CMOS logic, either the pull-up path or the pull-down path is active, but not both ideally at the same time.
3. Output formation
- The output node is charged to VDD or discharged to ground. In NMOS, the load device restores the output high when the pull-down network is OFF. In CMOS, the pMOS network pulls the output high and the nMOS network pulls it low, producing a full-swing output with very little static current.
Advantages / Applications
Low power consumption in CMOS
- CMOS circuits are widely used because they draw almost no static power, making them ideal for portable devices such as smartphones, calculators, digital watches, and IoT systems.
High integration and scalability
- CMOS technology supports very large-scale integration, allowing millions or billions of transistors on a single chip. This is why it is used in microprocessors, memory chips, digital signal processors, and mixed-signal integrated circuits.
Digital and mixed-signal applications
- CMOS is used in logic gates, flip-flops, counters, processors, ADCs, DACs, sensor interfaces, and communication chips. NMOS logic, although largely obsolete in mainstream digital design, is important in understanding MOS technology and may appear in some analog switches or legacy circuits.
Summary
- NMOS logic uses n-channel MOSFETs with a load to implement digital switching, but it wastes power in steady state.
- CMOS logic uses complementary pMOS and nMOS transistors, giving low static power and strong performance.
- CMOS is the most widely used logic family in modern digital electronics, while NMOS is mainly of historical and educational importance.
- Important terms to remember: NMOS, CMOS, MOSFET, pull-up network, pull-down network, static power, noise immunity, fan-out