Salta al contenuto
Note per Studenti Implementation Technologies - CMOS Gates and Technology Parameters Report

Implementation Technologies - CMOS Gates and Technology Parameters

In questa pagina 5

Logic gates so far were symbols with ideal behaviour. Here we see how they are built in integrated circuits and which parameters limit their performance. It is a quick overview: device details belong to electronics courses.

Integrated circuits and CMOS

An integrated circuit (IC) is a thin rectangle of single-crystal silicon (chip) on which gates, flip-flops, memories, the clock tree and supply lines are built and interconnected; the chip is mounted in a package with tens or hundreds of pins. Characteristics are in the manufacturer's datasheet.

Digital circuits are almost always built in CMOS (Complementary Metal Oxide Semiconductor) technology, dominant since the 1980s. The basic component is the MOSFET, in two types, nMOS and pMOS, with terminals gate (G), source (S) and drain (D). An nMOS conducts if VGS>VTnV_{GS}>V_{Tn} (with VTn>0V_{Tn}>0), a pMOS if VGS<VTpV_{GS}<V_{Tp} (with VTp<0V_{Tp}<0).

Law (Moore). The number of transistors per chip grows exponentially, roughly doubling every two years.

Example. Doubling every 22 years gives 210/2=322^{10/2}=32 times more transistors in 1010 years.

Switch model

Definition (switch model of MOSFETs). In the simplified treatment MOSFETs are switches controlled by the logic value at the gate: open (OFF) means no signal between source and drain, closed (ON) means conduction. The physics is ignored and only the logical behaviour is kept.

transistor gate =0=0 gate =1=1
nMOS OFF ON
pMOS ON OFF

Static CMOS gates

Inverter. A pMOS between VddV_{dd} and the output and an nMOS between the output and ground, gates tied to the input AA:

  • A=0A=0: pMOS ON, nMOS OFF, so Q=1Q=1 (connected to VddV_{dd});
  • A=1A=1: nMOS ON, pMOS OFF, so Q=0Q=0 (connected to ground).

Definition (static CMOS gate: pull-up and pull-down). A generic gate has a pull-up network (PUN), made of only pMOS, between VddV_{dd} and the output, and a pull-down network (PDN), made of only nMOS, between the output and ground. PUN and PDN are dual: for every input combination one is ON and the other OFF:

  • PUN ON, PDN OFF: output =1=1;
  • PUN OFF, PDN ON: output =0=0.

The output swings between VddV_{dd} and 00: the wide swing gives large noise margins. The two networks are never both on in steady state, so no DC current flows from supply to ground and static consumption is minimal.

Property (2-input CMOS NAND and NOR). NAND: PDN with two nMOS in series (conducts only if A=1A=1 and B=1B=1); PUN with two pMOS in parallel (conducts if A=0A=0 or B=0B=0). NOR, the dual: PDN with two nMOS in parallel; PUN with two pMOS in series.

AA BB NAND: pMOS ON NAND: nMOS ON NAND: QQ NOR: pMOS ON NOR: nMOS ON NOR: QQ
0 0 2 0 1 2 0 1
0 1 1 1 1 1 1 0
1 0 1 1 1 1 1 0
1 1 0 2 0 0 2 0

Formula (transistor count). An nn-input NAND or NOR has 2n2n transistors (nn pMOS and nn nMOS); an inverter has 2; an AND (== NAND ++ inverter) has 2n+22n+2. This is why AND and OR cost more than NAND and NOR, which are also faster, and circuits are usually built with NAND/NOR.

Exam-style example. 3-input CMOS NAND with A=0,B=0,C=1A=0,B=0,C=1: the pMOS with gate 0 are on (AA and BB: 2) and the nMOS with gate 1 are on (that of CC: 1); the series of nMOS does not conduct, the PUN (parallel) does: Q=1Q=1. Answer: 2 pMOS and 1 nMOS on.

Technology parameters

Cost of an integrated circuit

The cost of a gate is its contribution to chip cost, proportional to the silicon area (number and size of transistors and wires) and to the technology node. IC costs split into:

  • non-recurring engineering costs (NRE): one-off (design, verification, test, masks), amortised over large volumes;
  • production costs: incurred per wafer (materials, labour, energy).

At small volumes NRE dominates. The cost per transistor keeps falling with new nodes. Programmable devices, which avoid custom masks, are in Programmable Logic Devices - ROM, PLA, PAL and FPGAProgrammable logic devices (PLD) have logic structures configurable by the manufacturer or the user, which is hardware configuration and not software programming. ROM: 2^k words of n bits, a decoder followed by programmable ORs, so a physical truth table; PLA: programmable AND and OR arrays with product terms shared between outputs; PAL: programmable ANDs and fixed ORs, no sharing; FPGA: programmable logic blocks with look-up tables and flip-flops, programmable routing and I/O, with a volatile or non-volatile configuration memory. Programming is irreversible (fuse, anti-fuse, mask) or reconfigurable (SRAM, floating gate).Programmable Logic Devices - ROM, PLA, PAL and FPGA →.

Versione ripasso

  • CMOS: MOSFETs nMOS and pMOS, modelled as switches: nMOS ON for gate 1, pMOS ON for gate 0. Moore's law: doubling about every 2 years (210/2=322^{10/2}=32 in 10 years).
  • Static gate: PUN (only pMOS, to VddV_{dd}) and dual PDN (only nMOS, to ground); one ON and the other OFF. Output swing VddV_{dd} gives high noise margins; no DC current, low static power. Inverter: A=0A=0 gives Q=1Q=1, A=1A=1 gives Q=0Q=0.
  • NAND: nMOS in series, pMOS in parallel. NOR: nMOS in parallel, pMOS in series. nn-input NAND/NOR has 2n2n transistors, inverter 2, AND/OR 2n+22n+2; NAND/NOR cheaper and faster.
  • Example: 3-input NAND with A=B=0,C=1A=B=0,C=1: 2 pMOS and 1 nMOS on, Q=1Q=1.
  • Parameters: fan-in (typically at most 5, otherwise tree; 8-input AND = 2 NAND4 + NOR2); fan-out in standard loads; noise margin; delays tpHL,tpLHt_{pHL},t_{pLH} (clock frequency ∝1/worst-case delay sum\propto 1/\text{worst-case delay sum}); power (P≈αCVdd2fP\approx\alpha CV_{dd}^2f).
  • Cost: proportional to silicon area; NRE (one-off) vs production (per wafer); small volumes are NRE-dominated.

Teoria collegata