| • Science | • People | • Locations | • Timeline |
CMOS logic uses a combination of p-type and n-type metal-oxide-semiconductor field effect transistors (MOSFETs) to implement logic gates and other digital circuits found in computers, telecommunications and signal processing equipment. Although CMOS logic can be implemented with discrete devices (for instance, in an introductory circuits class), typical commercial CMOS products are integrated circuits composed of millions (or hundreds of millions) of transistors of both types on a rectangular piece of silicon of between 0.1 and 4 square cm. These bits of silicon are commonly called chips, although within the industry they are also referred to as die, perhaps because they are the result of dicing (that is, cutting up) the circular silicon wafer which is the basic unit of semiconductor device fabrication.
In CMOS logic gates, as in NMOS logic gates, a collection of n-type MOSFETs is arranged in a pull-down network between the output and the lower- voltage power supply rail (often named Vss). Instead of the load resistor of NMOS gates, CMOS gates have a collection of p-type MOSFETs in a pull-up network between the output and higher-voltage rail (often named Vss. P-type MOSFETs are complementary to n-type because they turn on when their gate voltage goes low, and because they can pull the output all the way to Vdd. Thus, the p-type MOSFETs are on when the corresponding n-type MOSFETs are off, and vice-versa.
As an example, here is a NAND gate in CMOS logic. If inputs A and B remain at the high or low voltage, only one of the pull-up or pull-down networks can be conductive. In any of these states, the gate has no conductive path between the two voltage rails, and dissipates only leakage power (MOSFETs that are nominally off actually leak a small amount of current). The very low static power dissipation of CMOS is a major virtue that sets CMOS circuits apart from their NMOS and TTL predecessors.
Another advantage of CMOS over NMOS is that both low-to-high and high-to-low output transitions are fast since the pull-up transistors have low resistance when switched on, unlike the load resistors in NMOS logic. In addition, the output signal swings the full voltage between the low and high rails. This strong, more nearly symmetric response also makes CMOS more resistant to noise.
CMOS circuits burn power by charging and discharging the various load capacitances (mostly gate and wire capacitance, but also source and drain capacitances) whenever they are switched. The charge moved is the capacitance multiplied by the voltage change. Multiply by the switching frequency to get the current burned, multiply by voltage again to get the characteristic switching power dissipated by a CMOS device: .
Crowbar power became noticeable in the 1990s as wires on chip became narrower and the long wires became more resistive. CMOS gates at the end of those resistive wires see slow input transistions. During the middle of these transitions, both the NMOS and PMOS networks are partially conductive, and current flows directly from Vdd to Vss. Careful design which avoids weakly driven long skinny wires has ameliorated this effect, and crowbar power is nearly always substantially smaller than switching power.
Both NMOS and PMOS transistors have a threshold gate-to-source voltage, below which the current through the device drops exponentially. Historically, CMOS designs operated at supply voltages much larger than their threshold voltages (Vdd might have been 5 V, and Vth for both NMOS and PMOS might have been 700 mV). As supply voltages have come down to conserve power, voltage thresholds have had to come down as well. The exponential current curve has not changed, however, and as a result a modern NMOS transistor with a Vth of 200 mV has a significant subthreshold leakage current. Designs (e.g. desktop processors) which try to optimize their fabrication processes for minimum power dissipation during operation have been lowering Vth so that leakage power begins to approximate switching power. As a result, these devices burn considerable power even when not switching.