Analog Layout Guide

Analog Layout Guide

Best references

Core layout and packaging

Razavi Analog CMOS - Ch.19 Layout and Packaging

Topics covered by Razavi Ch.19:

  • Analog layout techniques and best practices
  • Current mirror layout and matching considerations
  • Passive device layout (resistors, capacitors)
  • Interconnect design and crosstalk reduction
  • Device matching techniques
  • Layout for high-precision circuits
  • Common layout pitfalls and solutions

Layout and matching

Ali Niknejad Spring 2021 EE 194/290C Lecture series:

Maloberti Layout of Analog CMOS ICs

Lienig, Scheible, “Fundamentals of Layout Design for Electronic Circuits,” Springer 2020

Passive component layout

Substrate and body contacts

In both planar MOSFETs and FinFETs, we are often guilty of thinking of them as three-terminal devices (gate, drain, and source) because those are the terminals we actively drive.

However, these transistors are truly four-terminal devices: gate, drain, source, and body/substrate. The body (or bulk) terminal is for setting the device’s operating point and ensuring proper isolation and biasing in an integrated circuit.

In a schematic, the body node is typically drawn as a separate terminal on the MOS symbol. But in the actual layout, this same body (or bulk) connection appears as substrate contacts, “taps,” or tap cells:

planar body contact

In many simpler or smaller analog layouts, you might place substrate taps on either side of your active device. This provides two direct pathways to the substrate, ensuring reasonably low-resistance paths from the device body to ground (for NMOS) or to VDD (for PMOS).

planar double sided body contact

Guard rings

Instead of just placing body contacts on the left and right (or top and bottom), you can create a continuous “ring” or guard structure of substrate contacts around the device. This is often referred to as a guard ring when it fully encircles the transistor or transistor array.

planar guard ring

The ring can act like a shield that helps keep substrate noise out (or in). In sensitive analog circuits, this can be very important for performance.

Fully surrounding devices with taps can reduce latch-up risk by providing abundant substrate tie points.

Another benefit, for PMOS devices and deep NWELL NMOS, is that the entire perimeter of the device is tied to the desired well potential which will minimize uneven substrate gradients.

Layout matching

When designing analog circuits, the geometry and arrangement of devices determine parasitic resistances, capacitances, device mismatches, and noise coupling. Although schematic simulations capture many effects, physical layout contributes additional variations that are not always obvious until tapeout.

Below is an overview of key concepts and best practices.

Systematic vs random mismatch

asymmetric mosfet

Image from F. Maloberti, “Layout of Analog CMOS Integrated Circuits” (Part 2). This is an example of a systematic mismatch due fabrication, where the wafer is intentionally tilted by ~7 degrees to prevent channeling of implanted ions. This creates shadowing and mismatch in source/drain doping.

In analog layouts, mismatch is often categorized as:

Systematic (layout-induced) offset: Caused by non-identical device surroundings, metal routing differences, or doping variations due to implants hitting the wafer at slight angles. Careful layout can greatly reduce these systematic offsets (for example, by using symmetrical placement and consistent routing).

Random (local) mismatch: Arises from fundamental process variations in doping and line-edge roughness. Each transistor, resistor, or capacitor on the same die can differ slightly in parameters like VTHV_{TH} or sheet resistance.

Systematic mismatch can be mitigated with symmetry and common-centroid techniques.

Random mismatch is improved by using larger device sizes or arrays of parallel “unit cells.”

Rule of thumb: Matching devices should always be placed as close as possible to each other in the layout. The smaller the layout distance, the less unknown gradients—regardless of what causes them and their magnitude—can contribute to a mismatch.

From Lienig, Scheible, “Fundamentals of Layout Design for Electronic Circuits,” Springer 2020. Page 248.

Common-centroid and interdigitation

Common-centroid layout arranges matched devices (like current-mirror transistors or differential pairs) such that any gradient across the die affects each device in the same way. Placing device segments in an interleaved pattern (e.g., “ABBAABBA” or similar) ensures that if there is a continuous gradient from left to right, each transistor or unit gets an equal piece of that gradient. This dramatically reduces offset due to wafer-level or chip-level process gradients.

A Concrete Example: 5T OTA Input Pair

For example, in the input stage of a five-transistor operational transconductance amplifier (5T OTA), the differential input transistors are often interleaved. Rather than placing all Vin+V_{in}^+ transistors in one row and all VinV_{in}^- transistors in another, they are mixed. The image below shows the highlighted nets for such an input pair.

5T Input Pair Net Highlighting

The method used here is called common-centroid layout. The idea is that the “center of mass” (the geometric average of the centers of each unit transistor) is identical for both halves of the differential pair. This is important because process gradients across the wafer can cause mismatch in device parameters. By ensuring a common centroid, the layout becomes resilient to linear gradients. For any linear variation, the average device parameter will be a function of the average transistor position. The figure below illustrates the common centroid for the same input pair.

5T Input Pair Common Centroid

Mathematical Justification

The mathematical basis for common-centroid layout relies on averaging out process gradients. Consider a linear variation in transistor mobility (μ\mu) across the x-y plane of the die:

μ(x,y)=m1x+m2y\mu(x,y) = m_1 x + m_2 y

The average mobility, μavg\mu_{avg}, for a composite transistor made of MM unit cells located at positions (xi,yi)(x_i, y_i) is:

μavg=1Mi=1Mμ(xi,yi)=1Mi=1M(m1xi+m2yi)=m1xiM+m2yiM=m1xavg+m2yavg\mu_{avg} = \frac{1}{M} \sum_{i=1}^{M} \mu(x_i,y_i) = \frac{1}{M} \sum_{i=1}^{M} (m_1 x_i + m_2 y_i) = m_1 \frac{\sum x_i}{M} + m_2 \frac{\sum y_i}{M} = m_1 x_{avg} + m_2 y_{avg}

This shows that the average mobility is a function only of the transistor’s average position, or centroid, (xavg,yavg)(x_{avg}, y_{avg}). If two transistors are laid out to share the same centroid, their average mobilities will be identical, even in the presence of a linear gradient.

Since drain current IDμI_D \propto \mu, the total current for a composite device is proportional to μavg\mu_{avg}. Therefore, ensuring a common centroid leads to matched I-V characteristics, mitigating the effects of linear process gradients.

common centroid arrays

Image from F. Maloberti, “Layout of Analog CMOS Integrated Circuits” (Part 2).

In simpler interdigitated layouts, two transistors (A and B) are arranged as alternating fingers on the same row (A-B-A-B, etc.). This approach promotes symmetrical surroundings, though it may be less effective for large spatial gradients than full common-centroid patterns.

Interdigitation Patterns

Basic interdigitation patterns used - these balance process gradients and improve matching.

Number of Cells1D Patterns2D Patterns3D Patterns4D Patterns
A (single device)AAAAAAAAAA
AB (two devices)AB*ABBAABBAAB*ABABBABA
ABC (three devices)ABC*ABCCBAABCBACBCA*ABCABCCBACBA
ABCD (four devices)ABCD*ABCDDCBAABCBCADBCDA*ABCDDCBAABCDDCBA
ABA (ratio 2:1)ABAABAABAABAABAABAABAABAABAABA
ABABA (ratio 3:2)ABABAABABAABABAABABAABABAABABAABABAABABAABABAABABA
AABA (ratio 3:1)AABA*AABAABAAAABAAABAAABA*AABAABAAAABAABAA
AABAA (ratio 4:1)AABAAAABAAAABAAAABAAAABAAAABAAAABAAAABAAAABAAAABAA

Note: Patterns marked with * may not permit a stacked layout due to connectivity constraints.

Common-centroid layout patterns

Below are several common centroid patterns used, with each letter representing a unit cell of a particular device (e.g., A and B might be the two transistors in a differential pair).

Pattern NameVisual RepresentationDescriptionBest For
Simple InterdigitatedABABABABBasic finger interleaving in a single rowSimple current mirrors, small differential pairs
Cross-CoupledABBA
BAAB
2×2 array with diagonal symmetryDifferential pairs with moderate matching requirements
2×4 Common-CentroidABBAABBA
BAABBAAB
Larger array with better gradient cancellationHigh-precision op-amp input stages
CheckerboardABABAB
BABABA
ABABAB
Alternating pattern in both dimensionsQuad devices (e.g., fully-differential circuits)
3-Device Common-CentroidABCCBA
CBAABC
Pattern for three matched devicesTriple current mirrors, 3-input comparators
Asymmetric RatioAABBAA
BAAAAB
For intentional device ratios (e.g., 4:2)DACs, gain stages with specific ratios

Symmetry and unit cells

Well-designed analog blocks exploit symmetry to reduce mismatches. For instance, in differential pairs or current mirrors, each transistor is laid out with identical orientation, guard rings, and spacing to body contacts.

mirror matching

When possible, repeated devices should be grouped into consistent “unit cells” with carefully replicated surroundings. This helps ensure each sub-device experiences the same environment for doping, stress, and parasitic effects.

Current mirrors and differential pairs

When matching is critical (e.g., in a current mirror or the input pair of an op amp), it is common to:

  • Split each transistor into multiple identical fingers rather than using a single large finger.
  • Interleave the fingers of matched transistors.
  • Route signals symmetrically to reduce IR drops and parasitic mismatches on either branch.
  • Share junctions (e.g., stacking source/drain diffusions) when transistors are series-connected, such as in cascode or stacked current sources.

Ensuring the routing path to each transistor is the same length and has the same number of vias helps maintain symmetrical resistance and capacitance, which is particularly important for high-gain, high-precision circuits.

Passives

Capacitors

Accurate capacitor ratios are often vital in sample-and-hold circuits, filters, and DAC/ADC networks. Common capacitor structures in CMOS include:

  • MOS capacitor (poly gate over substrate), which can be large and non-linear but useful for bypass or Miller compensation.

  • MOM capacitors (metal-oxide-metal) also called Metal Finger Capacitors (MFCs), which leverage lateral coupling in multiple metal layers for relatively high density without extra process steps.

mfc capacitors

For good matching, designers frequently use “unit capacitors” arranged in a common-centroid pattern, similar to matched transistors.

Resistors

matched resistors

Image from Lienig, Scheible, “Fundamentals of Layout Design for Electronic Circuits,” Springer 2020.

Standard CMOS processes typically prioritize transistors and interconnect, so pure resistors can be somewhat ad hoc. Designers often use:

  • Diffusion or poly resistors which are simple to implement but can have high temperature or voltage coefficients.

  • Silicide-blocked regions which increase the sheet resistance of diffusion or poly for larger resistor values.

Like transistors, resistors that must match or maintain a precise ratio are laid out in unit segments, repeated and placed in symmetrical arrays. Contacts and corners are carefully managed to reduce systematic mismatch. Keep in mind that absolute resistor accuracy is typically much worse than relative matching, so ratio-based designs (like feedback networks) are easier to optimize than designs requiring a precise absolute resistance.

IR Drop

IR drop CANNOT BE IGNORED in modern nodes, particularly when wide metal lines are not used for power/ground or high-current paths.

Narrow metals and too few vias can introduce tens of ohms of parasitic resistance, which can skew bias voltages and degrade matching.

Always consider adding more metal width and multiple vias to keep IR drops minimal and symmetrical.

ir drop gate resistance

Image from F. Maloberti, “Layout of Analog CMOS Integrated Circuits” (Part 2).

Matching IR drop

matching connections

Image from Lienig, Scheible, “Fundamentals of Layout Design for Electronic Circuits,” Springer 2020.

Authors

Daniel Lovelldlovell98@berkeley.eduUniversity of California, Berkeley
Nikhil Jainnjain_cal@berkeley.eduUniversity of California, Berkeley
Last Updated: June 6, 2025