Question bank · Analog / Custom Layout Engineer
Analog Layout interview questions
The 100 analog and custom layout questions interviewers really ask, picked from recent interview reports at analog, mixed-signal and layout-service companies. CMOS process and devices, fingers and stick diagrams, matching, parasitics and shielding, latch-up, ESD, EM, IR and antenna, DRC, LVS and extraction, FinFET rules and real layout scenarios, with the likely follow-up and diagrams.
How Analog Layout interviews actually run
From recent interview reports at product companies and design-service firms in India and abroad. Rounds vary by company; this is the common shape.
- Online testDigital and analog basics: CMOS inverter, MOSFET operation, resistor and capacitor networks, simple op-amp circuits, and aptitude. Some companies add questions on process layers and DRC.
- Technical round 1Fundamentals: CMOS process flow, layers, latch-up and how guard rings prevent it, why fingers, matching basics, antenna effect, electromigration and IR drop. Freshers are often asked to draw an inverter or NAND layout or a stick diagram.
- Technical round 2Depth: common-centroid and interdigitated placement for mirrors, diff pairs, resistors and capacitor arrays; WPE and LOD; parasitic-aware routing; shielding; ESD structures; DRC and LVS debug; FinFET and double-patterning rules.
- Practical testSome companies (often layout-service firms) give a hands-on test in Virtuoso: lay out a small block (a mirror, a diff pair, an inverter chain) clean of DRC and LVS within a time limit.
- Project and toolsBlocks you have laid out, the node, the matching techniques you used, and how you handled EM, IR and post-layout feedback from the designer. Virtuoso XL, Calibre or Pegasus, and extraction tools are assumed.
- Manager and HRWorking with circuit designers, estimating layout time, handling late schematic changes, and tape-out deadlines.
- Be able to draw a CMOS cross-section and show the parasitic PNP and NPN of latch-up on it.
- Practise placing matched devices on paper: ABBA, ABAB, 2-D common centroid, and a binary capacitor array with dummies.
- Know how to read an LVS report and the common causes of each error type: shorts, opens, parameter mismatch, missing devices.
- Know the numbers you use daily: sheet resistances, current density limits per layer, and the matching your process gives for a given area.
- Prepare one block from your project that you can explain in detail: floorplan, matching, routing choices, the EM and IR checks, and what changed after post-layout simulation.
CMOS process, layers and devices
1Describe the CMOS process flow in brief, in the order layers are made.
A simplified flow for a modern bulk CMOS process:
- Isolation: shallow trench isolation (STI) trenches are etched and filled with oxide to separate active areas.
- Wells: n-well and p-well implants (and deep n-well where used), plus threshold-adjust implants.
- Gate: thin gate oxide (or high-k dielectric) is grown, and poly (or a dummy gate for a metal-gate process) is deposited and patterned.
- Source and drain: lightly doped extensions (LDD), spacers, then the n+ and p+ implants and an anneal.
- Silicide on gate and diffusion to lower resistance, except where a silicide block is drawn.
- Contacts, then metal 1, vias and upper metals, built layer by layer (back end of line, BEOL), usually copper with dual damascene.
- Passivation and pad openings.
Front end of line (FEOL) is everything up to the transistors; BEOL is the interconnect. Layout engineers draw the masks for each step; some layers (implants, for example) are derived automatically from what you draw.
2Draw the layout of a CMOS inverter. Name the layers you use.
- n-well around the PMOS, with an n+ well tap tied to VDD.
- Active (diffusion) for each transistor, with p+ implant for the PMOS and n+ implant for the NMOS.
- Poly crossing both active areas forms the two gates, joined into one input.
- Contacts on the sources and drains, and on the poly where the input connects.
- Metal 1: the VDD rail at the top, GND at the bottom, the PMOS and NMOS sources to their rails, and the two drains joined as the output.
- A p+ substrate tap tied to GND near the NMOS.
Interviewers check that the PMOS is in the n-well, that both bodies are tapped, that drains join for the output, and that you know why the taps are there (latch-up).
Likely follow-up: Why is the PMOS usually drawn wider than the NMOS in an inverter?
Hole mobility is lower, so the PMOS is made about 2 to 3 times wider to give equal pull-up and pull-down strength, a switching threshold near VDD/2 and similar rise and fall times.
3What is the difference between n-well, p-well and twin-well processes? What is a deep n-well for?
- n-well process: NMOS sits in the p-substrate, PMOS in n-wells. All NMOS bodies share the substrate.
- Twin-well: separate n-wells and p-wells, each with its own optimised doping. Most modern processes are twin-well on a p-substrate.
- Deep n-well (DNW, triple well): an n-type layer buried under a p-well, with an n-well ring around it. It isolates that p-well from the common substrate.
Deep n-well uses:
- Noise isolation: keeping digital substrate noise away from sensitive NMOS devices (and the reverse).
- Separate body bias: the isolated NMOS body can sit at a voltage other than ground, or be tied to the source to remove the body effect.
Costs: area (spacing rules around DNW are large), an extra mask, and a large DNW-to-substrate junction capacitance.
4What is the difference between a contact and a via?
- A contact connects metal 1 to the device level: poly or diffusion (active).
- A via connects two metal layers (via1 between metal 1 and metal 2, and so on).
Layout points:
- Each contact and via has a resistance (a few ohms to tens of ohms in modern nodes). Use multiple contacts or vias for current and reliability, and to reduce resistance.
- Contacts on the active of a transistor should be spread evenly along the width, so current flows uniformly.
- Never place a contact on poly over the active (the gate region) unless the process allows it.
5What is STI? How does it affect transistors?
Shallow trench isolation is an oxide-filled trench that separates active regions. It replaced LOCOS isolation (which had a large “bird’s beak”) in nodes below about 0.25 µm, because it is denser and flatter.
Side effects relevant to layout:
- Mechanical stress: the oxide compresses the active area. Stress changes carrier mobility (lowering NMOS mobility and raising PMOS mobility for compressive stress) and threshold voltage. The effect depends on the distance from the gate to the STI edge (SA and SB), called the LOD (length of diffusion) effect.
- Narrow-width effects: Vth changes for very narrow devices because of the STI corner.
So matched devices need the same diffusion length on each side of the gate, often achieved with dummy gates.
6What is silicide? Why is it blocked on some resistors and ESD devices?
Silicide (for example nickel or cobalt silicide) is a metal-silicon compound formed on poly and diffusion. It reduces sheet resistance from hundreds of Ω/□ to a few Ω/□.
Silicide block (a drawn layer, often called RPO or SAB) prevents it where high resistance is wanted:
- Poly and diffusion resistors: the unsilicided body gives a useful, stable sheet resistance (for example 100 to 1,000 Ω/□ depending on doping), while the heads are silicided for low-resistance contacts.
- ESD devices: in the drain of an output NMOS, an unsilicided region adds ballast resistance, so current spreads evenly across all fingers instead of focusing in one hot spot.
7What is a PDK? What does a PCell do?
A process design kit from the foundry includes:
- device models for simulation,
- the technology file (layers, colours, grids),
- PCells for each device,
- rule decks for DRC, LVS, extraction and antenna checks,
- documentation (design rule manual, device specs, reliability rules).
A PCell (parameterised cell) generates a device’s layout from parameters: width, length, number of fingers, multiplier, guard ring options, dummy poly and so on. It is correct by construction for DRC and matches the schematic for LVS. It also carries layout-dependent parameters that extraction uses.
8What are the available resistor and capacitor types in CMOS? How do you choose?
Resistors:
| Type | Sheet resistance | Notes |
|---|---|---|
| Unsilicided poly (p+ or n+) | ≈ 100 to 1,000 Ω/□ | Most common; good matching; low voltage coefficient |
| High-resistance poly | ≈ 1 to 3 kΩ/□ | Compact for large values; larger temperature coefficient |
| Diffusion | ≈ 50 to 200 Ω/□ | Junction capacitance and voltage coefficient |
| N-well | ≈ 1 kΩ/□ | Large tolerance and voltage coefficient |
| Metal | Tens of mΩ/□ | Very small values, current sensing |
Capacitors:
| Type | Density | Notes |
|---|---|---|
| MOM (metal finger) | ≈ 1 to 2 fF/µm² with stacked layers | Free (no extra mask), symmetric, good matching |
| MIM | ≈ 1 to 2 fF/µm² (higher in some processes) | Extra mask, linear, low parasitics on one plate |
| MOS capacitor | Highest (gate oxide) | Non-linear, voltage-dependent; used for decoupling |
Choose by value, linearity, matching, parasitic capacitance to the substrate and area. Decoupling uses MOS capacitors; signal paths use MOM or MIM.
9What is the difference between the top and bottom plates of a capacitor? Why does it matter?
In a MIM capacitor (and in a poly-poly capacitor), the bottom plate sits closer to the substrate and has a larger parasitic capacitance to it, often 5 to 20% of the main capacitance. The top plate has much less.
Rules:
- Connect the top plate to the sensitive, high-impedance node (for example the op-amp’s virtual-ground input in a switched-capacitor circuit) so substrate noise and extra capacitance do not load it.
- Connect the bottom plate to a low-impedance node (driven by a source or switched to a reference).
MOM capacitors are more symmetric, but the outer fingers and lower metals still couple more to the substrate, so the same idea applies to how you assign the nodes.
10What are thick-oxide (I/O) devices? How are they marked in layout?
Thick-oxide transistors have a thicker gate oxide, so they tolerate higher voltages, for example 1.8 V, 2.5 V or 3.3 V, compared with under 1 V for core devices. They are used for I/O, analog blocks that need headroom, and power management.
In layout they are identified by a marker layer (often called OD2, DG or thick-gate) drawn over the device. The marker tells the fab to grow the thick oxide there, and tells DRC and LVS to apply the thick-oxide rules and model.
Their minimum length is longer and they are slower. A common error is a missing or wrong marker layer, which makes LVS extract a different device type.
11What is metal density and fill? Why does it matter near analog circuits?
Chemical-mechanical polishing (CMP) planarises each layer. If metal (or poly or active) density varies too much across the die, polishing becomes uneven, causing thickness variation (dishing and erosion). So foundries set minimum and maximum density rules per window, and fill shapes are added automatically to meet them.
Near analog circuits:
- Fill adds parasitic capacitance to nearby nets and can couple noise if it floats.
- Uneven fill around matched devices creates asymmetry.
So designers use fill-block layers over sensitive devices and capacitors, or add custom, symmetric fill, and include fill in the final extraction for sensitive nets.
12What is the difference between drawn length and effective length?
Drawn length is the width of the poly line where it crosses active in the layout.
Effective length is the electrical channel length. It is shorter because the source and drain extensions diffuse under the gate during annealing (lateral diffusion), and it can also differ because of lithography and etch bias.
Leff = Ldrawn − 2·LD (roughly), where LD is the lateral diffusion under each side.
The models account for it. In layout, what matters is that matched devices are drawn identically and in the same orientation, so their effective lengths match even though the absolute value differs from the drawn one.
13What is a well tap and a substrate tap? Why are they needed?
- A well tap is an n+ diffusion in the n-well, tied to VDD (or the PMOS body voltage).
- A substrate tap is a p+ diffusion in the p-substrate or p-well, tied to GND.
They set the body potential of the transistors. Without them, the well or substrate would float or be connected only through a high resistance, so:
- the body effect and Vth would change with leakage and noise,
- and the parasitic bipolar transistors could turn on, causing latch-up.
Foundry rules set a maximum distance from any device’s diffusion to the nearest tap. Analog layouts often use continuous taps or guard rings rather than individual tap cells.
14What is the purpose of the different metal layers? How do you choose which to use?
Lower metals (M1, M2) are thin with fine pitch: high sheet resistance, but dense. Upper metals are thick with wide pitch: low resistance and more current capacity. The top one or two layers (often thick copper or aluminium) carry power and form pads and inductors.
Choices:
- Local device connections: M1 and M2.
- Signal routing within a block: middle metals, with a preferred direction per layer (horizontal and vertical alternate) to avoid congestion.
- Power grids, high current, long global routes: upper thick metals.
- Sensitive nodes: keep short; consider an upper layer (less capacitance to the substrate), and shield where needed.
- Capacitors: MOM fingers in a stack of lower metals; MIM between two specific upper layers.
Transistor layout, fingers and stick diagrams
15Why is a wide transistor split into fingers?
A transistor of W = 40 µm drawn as one finger is long and thin and awkward to place. Splitting it into N fingers of W/N each, with shared source and drain diffusions:
- Less junction capacitance: shared drains between fingers roughly halve the drain area and Cdb (for an even number of fingers with drains inside).
- Lower gate resistance: each finger is N times shorter and the N fingers are in parallel, so poly gate resistance falls by about N² (16 times for 4 fingers). This matters for speed, noise (gate resistance adds thermal noise) and RF.
- Better aspect ratio: the device fits a compact rectangle and is easier to match and interleave.
- Better matching options: two matched devices can be interdigitated finger by finger.
An even finger count puts sources on both outer edges, so the outer diffusions (which see different stress and surroundings) are the less sensitive node.
16What is the difference between fingers (nf) and multiplier (m)?
- Fingers (nf): one device split into nf gates that share source and drain diffusions in a single active area. Total width = nf × finger width.
- Multiplier (m): m separate, identical copies of the device, each with its own active area, connected in parallel.
They give the same total width but different layout:
- Fingers share diffusions, so they have less junction capacitance and are more compact.
- Multipliers are separate, so they can be placed apart and interleaved with another device for common-centroid matching, and each copy sees the same edge conditions.
Both affect the extracted parameters (diffusion areas, LOD stress), so the schematic should say which one the designer intends; LVS checks the total, while post-layout simulation sees the difference.
17Draw the stick diagram of a 2-input CMOS NAND gate. What is an Euler path and why does it help?
A NAND2 has two PMOS in parallel between VDD and the output, and two NMOS in series between the output and GND.
Stick diagram (top to bottom):
- VDD rail (metal).
- P diffusion strip:
VDD | A | OUT | B | VDD. The two PMOS share the output drain in the middle, and both sources go to VDD. - Two vertical poly lines, A and B, crossing both diffusion strips.
- N diffusion strip:
OUT | A | x | B | GND. The two NMOS share the internal node x. - GND rail (metal), and metal joining the two OUT diffusions.
An Euler path is an order of gates that visits every transistor once in both the pull-up and pull-down networks using the same input order. If one exists, each network can be drawn as one unbroken diffusion strip, with shared diffusions and no gaps. This minimises area and capacitance, and lets each poly gate run straight through both strips.
Likely follow-up: How does the NOR2 stick diagram differ?
It is the dual. The PMOS are in series (VDD, A, internal node, B, OUT) and the NMOS are in parallel (GND, A, OUT, B, GND). The series PMOS must be wider, which is why NOR gates are larger and slower than NAND gates in CMOS.
18What causes gate resistance? How do you reduce it in layout?
Poly (even silicided) has a sheet resistance of a few Ω/□ to over 10 Ω/□ in advanced nodes, and the gate is long and thin. A gate contacted at one end has an effective resistance of about Rsh·W/(3·L) (the factor 3 is from the distributed RC).
Effects: slower switching, a lower maximum oscillation frequency in RF devices, and thermal noise (4kT·Rg) added at the gate, which matters in low-noise amplifiers.
Reduction:
- More, narrower fingers (gate resistance falls with the square of the finger count).
- Contacting the gate at both ends, which reduces it by about 4 times compared with one end.
- Strapping the poly with metal where the process allows.
19What are dummy devices? How should they be connected?
Dummies are extra, non-functional gates or devices placed at the ends of a row of matched devices (and sometimes between groups). They make every active device see the same surroundings:
- The same poly density and etch environment, so gate lengths match (edge devices etch differently).
- The same STI stress, LOD and well distance.
- The same implant shadowing and lithography conditions.
Connection: dummies must not affect the circuit. A dummy transistor is turned off: gate tied to its source or to its body (GND for NMOS, VDD for PMOS), with its diffusions tied to a fixed node. Dummy poly with no diffusion is usually left floating or tied as the rules require. Dummies for resistors and capacitors are tied to a quiet supply, not left floating, so they do not couple noise.
20Why must matched devices have the same orientation?
Several process effects depend on direction:
- Implant tilt and shadowing: ion implants are done at an angle (about 7°) to avoid channelling, so the poly shadows one side of the gate. Source and drain doping become slightly asymmetric depending on orientation.
- Mobility depends on crystal direction and on the direction of stress.
- Lithography prints horizontal and vertical lines slightly differently.
So matched devices should have gates in the same direction, and ideally current should flow in the same direction too (source on the same side). Rotating one device by 90° or mirroring its source and drain can add millivolts of offset.
21How do you lay out a transistor with a very long channel length?
Options:
- One long gate: a single poly gate of the full L. Most accurate, but the device can become a long thin shape.
- Series stacking: several shorter devices in series with gates tied together (an “L-multiplier” or series fingers). This saves area and fits a grid, but the stacked devices are not exactly equivalent to one long device: the internal nodes and the different bias of each segment change ro and matching. The model may differ, especially in saturation.
Use stacking where the designer agrees (for example in bias current sources where exact behaviour matters less). For precision mirrors or input pairs, follow the schematic exactly: stacked in the schematic means stacked in layout, so post-layout simulation agrees.
22How do you lay out a power transistor or a large output device?
- Many fingers in a compact array, with source and drain fingers alternating.
- Metal sized for current: wide source and drain buses in several layers in parallel, following EM limits; many contacts and vias, spread uniformly so every finger carries equal current.
- Uniform current distribution: feed current from both ends or in a “comb” or checkerboard pattern so fingers far from the pads are not starved by metal IR drop.
- Gate drive: low gate resistance with poly contacted at both ends and a metal gate bus, so all fingers switch together.
- Thermal: spread the device and keep matched sensing devices (current-sense replicas) in the same thermal environment.
- Latch-up and ESD: guard rings around output devices connected to pads; follow the foundry’s ESD rules for drain-to-gate spacing and ballast if the device is on a pad.
23How do you lay out a current mirror?
- Same unit devices: build each device from identical unit fingers. A ratio of 1:4 uses 1 unit and 4 units, never one device 4 times wider.
- Interleave the units (common-centroid if the area allows), with dummies at both ends.
- Same orientation and current direction for all units.
- Equal source connections: source resistance changes VGS. Route sources with wide metal, the same length to each unit, or star-connect them.
- Gate line: the gates share one net, which carries no DC current, so a thinner line is fine; keep it away from noisy signals because noise on the gate goes to every output.
- Drains: route each output separately to its destination; their capacitance matters for speed.
A typical 1:4 pattern in one row is d B B A B B d: A sits at the centre and the four B units are placed symmetrically around it, so both centroids coincide. For a 1:1 mirror use d A B B A d.
24What is a standard cell? How does its layout differ from full-custom layout?
A standard cell is a pre-designed logic gate (inverter, NAND, flop) with a fixed height (measured in routing tracks, for example 6 to 9 tracks), power rails at the top and bottom, and pins on a routing grid, so cells can be placed side by side (abutted) in rows by automatic place-and-route.
Constraints: fixed height, VDD and GND rails shared by abutment, wells continuous across the row, pins on the grid, minimum-area layout, and taps either inside the cell or in separate tap cells.
Full-custom (analog) layout is drawn device by device, optimised for matching, parasitics and noise rather than area and automation. Analog layout engineers are often asked to draw a standard cell (inverter or NAND2) to show they understand both styles.
25Odd or even number of fingers? Which node should be on the outside of a multi-finger device?
With an even number of fingers, the same node (say the source) is on both outer edges, and the other (the drain) is only inside, between fingers. This:
- gives the drain the minimum diffusion area and junction capacitance, which helps a high-impedance or high-speed node,
- makes the device symmetric, so both outer edges see the same stress and surroundings,
- and puts the less sensitive node (the source, often at a supply) at the edge, where layout effects and coupling from neighbours are largest.
With an odd number, one edge is source and one is drain, which is asymmetric. Odd finger counts are fine for non-critical devices, but matched pairs should use the same count, usually even.
26How do you lay out a differential input pair?
- Split each device into unit fingers and arrange them in a common-centroid pattern, for example
d A B B A din one row, or a 2-D cross-coupledA B / B Aquad for large devices. - Shared source: the tail node is common, so the pair can share source diffusions between A and B fingers, which also helps matching.
- Dummies at the ends, a guard ring around the pair, and equal distance to the well edge (WPE).
- Symmetric routing: both gate lines and both drain lines have the same length, layer, number of vias and neighbours. Cross them symmetrically (a cross-over on each) if they must cross.
- Keep inputs away from noisy lines such as clocks and outputs; shield them if needed.
- Thermal symmetry: place the pair on the symmetry axis of any heat source, never close to one side of an output stage.
The aim is that any gradient, coupling or parasitic affects both devices equally, so it becomes common mode.
Matching
27Why is matching important in analog layout? What are random and systematic mismatch?
Analog circuits rely on ratios of identical devices: a differential pair’s offset, a current mirror’s ratio, a DAC’s linearity, a bandgap’s accuracy. Two devices that should be equal never are exactly, and their difference becomes an error in the circuit.
- Random mismatch comes from atomic-scale variation (dopant count, edge roughness). It is different for every pair and falls with area (Pelgrom’s law: σ ∝ 1/√(W·L)). Layout cannot remove it, only the size chosen by the designer can.
- Systematic mismatch comes from gradients (oxide thickness, doping, temperature, stress) and from differences in surroundings, orientation and routing. This is the layout engineer’s job: common-centroid placement, dummies, symmetry, the same orientation and equal routing remove most of it.
A good layout makes systematic mismatch much smaller than random mismatch, so silicon behaves like the Monte Carlo simulation.
28What is common-centroid layout? Give an example for two matched devices.
Each device is split into equal units, and the units are arranged so that the geometric centre (centroid) of each device is at the same point.
Any linear gradient (for example oxide thickness rising from left to right) then shifts both devices by the same average amount, so the gradient cancels in their difference.
Examples:
- One row:
A B B A(each device has two units, centroids both at the middle). - Two dimensions: a cross-coupled quad,
A B B Awhich cancels gradients in both x and y.
Always add dummies at the ends (or a ring around a 2-D array) so the outer units see the same neighbours as the inner ones.
29What is the difference between interdigitated and common-centroid layout?
- Interdigitated: units of A and B alternate in a row,
A B A B A B. It spreads both devices over the same area, which reduces sensitivity to gradients, but the centroids do not coincide exactly: inABAB, A’s centroid is one unit left of B’s. A linear gradient leaves a small residual error. - Common centroid: the arrangement is symmetric so the centroids coincide exactly,
ABBAorABBAABBA. Linear gradients cancel completely.
Interdigitation is simpler to route and is often good enough for resistors and non-critical mirrors. Common centroid is used for input pairs, precision mirrors, capacitor arrays and bandgap BJTs.
30What are the main rules for a good common-centroid arrangement?
The four rules often quoted from Hastings’ The Art of Analog Layout:
- Coincidence: the centroids of the matched devices coincide (at least approximately).
- Symmetry: the array is symmetric about both the x and y axes, so the placement of each unit does not depend on orientation.
- Dispersion: units of each device are spread throughout the array as evenly as possible, which reduces sensitivity to higher-order (non-linear) gradients.
ABABBABAis better dispersed thanAABBBBAA. - Compactness: the array is as compact and close to square as possible, so gradients across it are small.
Plus the general rules: unit devices of identical size and orientation, dummies at the edges, identical routing for each device, and no unrelated metal over the array.
31What is the well proximity effect (WPE)? How do you handle it in layout?
During the high-energy well implant, some ions scatter off the edge of the photoresist that masks the well, and land in the silicon near the well edge. Transistors close to the well edge get extra doping, so their Vth rises (by tens of millivolts very close to the edge) and their mobility changes. The effect fades over a distance of about 1 to 3 µm.
Layout rules:
- Keep matched devices far from the well edge, beyond the distance the PDK specifies.
- Keep matched devices at the same distance from the well edge on all sides; a pair where one device is near the edge and the other is not has a systematic offset.
- Use one well for a matched group, not separate wells.
Modern PDKs extract the well distances (SCA, SCB, SCC parameters) so post-layout simulation shows the effect.
32What is the LOD (STI stress) effect? How do you make matched devices see the same stress?
STI oxide puts the active area under mechanical stress. The stress at the channel depends on the distance from the gate to the active edge on each side, SA and SB (the length of diffusion). It changes mobility (by several percent) and Vth.
- NMOS mobility usually falls with compressive stress (short diffusion).
- PMOS mobility usually rises.
In a multi-finger device, the outer fingers have short diffusion on one side and inner fingers have long, so each finger has a different current.
Layout fixes:
- Give matched devices the same SA and SB (same finger count, same position, same diffusion extension).
- Add dummy gates at the ends of the active area, so every real finger has a similar neighbour.
- Use continuous diffusion where the process allows it, rather than breaking the active between devices.
The extracted SA and SB values let post-layout simulation see the effect.
33How do you lay out matched resistors?
- Unit resistors: build each value from identical units (same width, length and number of contacts), in series or parallel. Non-integer ratios use a few units of a different length only when unavoidable.
- Same direction: all units parallel to each other, so they see the same lithography and stress.
- Interleave or common-centroid: for example
A B A B …orA B B A. - Dummies at both ends of the array, tied to a fixed potential.
- Width: wider resistors match better, because edge variation (a fixed ±nm) is a smaller fraction of the width. Avoid minimum width for precision.
- Contacts and heads: the contact resistance is part of the value, so use the same head design and contact count on all units.
- Keep metal off the body, keep the array away from heat sources, and put it over a uniform well or substrate (with a shield if needed).
34How do you lay out a binary-weighted capacitor array for a SAR DAC?
- Unit capacitor: every bit is made of identical units: C0 = 1 unit, C1 = 2, C2 = 4, C3 = 8, plus a termination unit. Never draw a bigger capacitor for an upper bit, because the perimeter-to-area ratio would differ.
- Common-centroid placement: spread each bit’s units symmetrically around the array centre, so gradients affect all bits in proportion.
- Dummy ring around the array so every unit sees the same neighbours and fringe field.
- Top plate (the comparator input) is the sensitive, high-impedance node. Route it shielded, with the same routing capacitance counted into each bit, and keep it away from switching bottom-plate lines.
- Bottom plates are driven by switches; route each bit’s bottom plate symmetrically.
- For many bits (10 or more), the array becomes huge. Designs use a split (bridge) capacitor or a segmented array, and the layout must also match the bridge capacitor carefully.
The unit size is set by the matching needed for linearity, which is often larger than the kT/C noise limit.
35How do temperature gradients affect matching? How do you handle them in layout?
Vth changes by about −1 to −2 mV/°C, and VBE by about −2 mV/°C. A power device or output stage dissipating hundreds of milliwatts can create a gradient of several degrees across the die, so two devices a few hundred micrometres apart can differ by several millivolts.
Layout:
- Place matched devices on an axis of symmetry of the heat source (isotherms are symmetric about it), so both devices are at the same temperature.
- Place them far from power devices, and use common-centroid so linear gradients cancel.
- For very precise circuits (bandgaps, precision op-amps), place the heat source at the die centre or the sensitive block in a quiet corner, and check with thermal simulation if available.
36Why should you avoid routing metal over matched devices?
- Stress: metal and passivation layers above a device add mechanical stress, which changes mobility and Vth. If metal covers one device and not the other, they mismatch.
- Hydrogen passivation: hydrogen from the back-end steps passivates the gate interface during anneal. Metal over a device can block it, changing Vth slightly.
- Coupling: signals routed over a device couple onto its gate or diffusion.
Rule: either keep the area above matched devices clear of unrelated metal, or cover all matched devices identically (for example, a full metal shield over the whole array). Never run a single line over one device of a pair.
37How does device size affect matching from a layout point of view?
By Pelgrom’s law, σ(ΔVth) = AVT/√(W·L). Doubling the area improves matching by √2, so for 2 times better matching the area must grow 4 times.
Example: with AVT = 3 mV·µm, a 2 µm × 1 µm pair gives σ ≈ 2.1 mV; 8 µm × 2 µm (8 times the area) gives σ ≈ 0.75 mV.
Layout implications:
- Large matched devices need more care with gradients, because they span more distance. Common-centroid becomes more important as size grows.
- The extra size adds capacitance, so the designer trades it against speed.
- The same rule holds for capacitors and resistors: larger units match better, and edge effects matter less.
38Why are capacitors and resistors built from identical unit elements rather than drawn to the exact size?
Real devices differ from drawn size by an edge error: lithography and etch move each edge by roughly a fixed amount. For a capacitor, the fringe field around the perimeter also adds capacitance.
A large capacitor has a different perimeter-to-area ratio from a small one. If C1 is drawn twice as large as C0 by doubling its area, its perimeter is not doubled, so the ratio C1/C0 is not exactly 2.
Building C1 from two copies of the C0 unit makes both area and perimeter exactly double, so the ratio is exact to first order. The same applies to resistors (edge errors in width, and contact resistance) and transistors (fingers of identical width).
When a non-integer ratio is unavoidable, keep the area-to-perimeter ratio the same for both elements.
39How do you lay out the bipolar transistor array of a bandgap reference with a 1:8 ratio?
Use nine identical unit PNPs in a 3 × 3 array, with the single unit Q1 in the centre and the eight Q2 units around it:
Q2 Q2 Q2
Q2 Q1 Q2
Q2 Q2 Q2
Both centroids are at the centre, so linear gradients cancel. Add a ring of dummy PNPs around the array for uniform surroundings (a 5 × 5 array in total), and tie the dummies’ emitters to the base or to a fixed potential.
Also:
- The resistors that set ΔVBE gain should be matched (common-centroid or interdigitated) and placed near the BJTs.
- Equal emitter connections; the emitter series resistance and the base resistance of the substrate PNPs add errors, so keep metal paths symmetric and wide.
- Keep the array away from heat sources, since VBE drifts at about −2 mV/°C.
40How do you handle symmetry in a fully differential circuit layout?
- Draw a symmetry axis down the block and place the positive and negative halves as mirror images about it.
- Put shared devices (tail current source, common-mode feedback, bias) on the axis.
- Route each differential pair of nets with identical length, layer, vias and neighbours. Where they must cross, cross them in a symmetric way or use a cross-over on both.
- Keep noisy signals (clocks, digital) either far away or on the axis, so they couple equally to both sides.
- Make sure the power and ground connections feed both halves symmetrically, so IR drops are equal.
Mirror symmetry handles coupling and parasitics; matched devices within the halves still need common-centroid placement for gradients.
41Do the contacts and routing to matched devices need to match too?
Yes. Matching is about the whole electrical path, not only the device:
- Source routing resistance changes VGS. A 10 Ω difference with 100 µA flowing gives 1 mV of offset, comparable to the random mismatch.
- Contact count and placement on the diffusion change the series resistance and how current spreads.
- Drain routing capacitance changes the speed of each side and, in a comparator, its kickback and offset.
- Gate routing that passes different neighbours couples different noise.
So matched devices get the same number of contacts, the same metal layers and widths, the same lengths of route (or at least the same resistance), and the same neighbours along the way.
42How do you check after layout that matched devices really match?
- Compare extracted device parameters: in the post-layout netlist, matched devices should have identical layout-dependent parameters: diffusion areas and perimeters, SA and SB (LOD), well-edge distances (WPE), and in FinFET, the diffusion-break and neighbour parameters. Any difference is a systematic mismatch you built in.
- Compare the parasitics on the two sides of each matched pair of nets: resistance in source lines, capacitance on drains and gates, coupling to noisy nets.
- Run post-layout simulation with mismatch off: any offset that remains (for example in a comparator or a differential amplifier) comes from layout asymmetry, not random variation.
- Visual review with the designer: symmetry, dummies, orientation, no stray metal over arrays.
Many teams script the parameter comparison, because doing it by hand for a large array is error prone.
Parasitics, coupling and noise isolation
43Which layout parasitics matter in analog circuits?
- Wire resistance: IR drop in power and source lines (shifts bias and mirror ratios), and series resistance in signal paths (adds poles and thermal noise).
- Wire capacitance to ground: slows high-impedance nodes and lowers bandwidth.
- Coupling capacitance between wires: crosstalk from noisy lines (clocks, digital, outputs) into sensitive ones (inputs, references, bias lines), and unintended Miller feedback from output to input.
- Junction capacitance of diffusions: depends on diffusion area and perimeter, so it depends on fingering.
- Contact and via resistance, significant in advanced nodes.
- Inductance of bond wires, package and long wide lines, which matters for supplies and high-speed signals.
Which ones matter depends on the node: a high-impedance node is sensitive to capacitance; a high-current node to resistance. The designer should tell the layout engineer which nets are critical.
44What is crosstalk? How do you reduce it in layout?
Crosstalk is a signal on an aggressor line coupling into a victim line through coupling capacitance (and, for fast edges and long lines, mutual inductance). The coupled noise is roughly ΔVvictim ≈ ΔVaggressor·Cc/(Cc + Cvictim) for a floating or high-impedance victim.
Reduction:
- Spacing: coupling capacitance falls with distance; double the spacing on sensitive nets.
- Shielding: put grounded lines on both sides (and grounded planes above and below for the most sensitive nets).
- Orthogonal routing: lines on adjacent layers should cross at right angles, not run in parallel.
- Short parallel runs: limit how far an aggressor runs next to a victim.
- Differential routing: route pairs together and symmetrically, so coupling is common mode.
- Separate noisy and quiet nets in floorplanning: clocks and digital buses away from analog inputs and references.
45How do you shield a sensitive line? What do you tie the shield to?
Place grounded metal lines on both sides of the sensitive line on the same layer, and, if needed, grounded plates on the layers above and below (a coaxial-like structure).
Tie the shield to a quiet reference:
- the analog ground of that block (not the digital ground),
- or, for a single-ended signal, the reference it is measured against.
Notes:
- A shield adds capacitance to the victim, which can slow it down. Check with the designer.
- A shield tied to a noisy supply injects noise instead of blocking it.
- Ground the shield at one end or along its length depending on frequency; at high frequency, connect it often to avoid it acting as an antenna.
- For a differential pair, shield the pair as a unit, not each line separately, so both see the same environment.
46How does substrate noise reach analog circuits? How do you isolate them from digital blocks?
Digital switching injects current into the substrate through junction capacitances, impact ionisation and the ground network (bounce on the substrate taps). The substrate is a resistive mesh, so this noise reaches analog devices and modulates their body voltage, through the body effect, and couples into capacitors and wells.
Isolation:
- Distance: separate analog and digital blocks; noise falls with distance on a lightly doped substrate.
- Guard rings: p+ rings tied to a quiet ground around sensitive circuits, and around noisy circuits, to collect substrate current locally. Double rings (p+ and n-well/n+) for stronger isolation.
- Deep n-well around sensitive NMOS or around the digital block.
- Separate supplies and grounds for analog and digital, with separate pads, so digital return current does not flow through analog taps.
- Decoupling close to the digital switching to keep current loops local.
- A substrate tap ground separate from the circuit ground, in some designs.
47Why are separate analog and digital power supplies used? How should grounds be connected?
Digital circuits draw large, fast current spikes. Through the inductance of bond wires and package (about 1 nH per mm of bond wire), these spikes cause ground bounce and supply noise: V = L·di/dt. If analog shares those supplies, the noise appears directly at analog nodes.
Practice:
- Separate AVDD/AVSS and DVDD/DVSS domains, each with its own pads.
- Join the grounds at one point (often off-chip or at the package), so digital return current does not flow through analog ground lines (a star connection).
- Place sensitive blocks next to their supply pads to keep the lines short.
- Put ESD clamps and back-to-back diodes between the separate grounds, so ESD current has a path between domains.
- Level shifters or isolation cells on signals crossing domains.
48Where should decoupling capacitors go? What type is used?
Decoupling capacitors supply fast current locally so the supply does not droop when circuits switch. They work only if the loop from the capacitor to the circuit and back is short, because inductance and resistance in that loop limit them.
Placement:
- As close as possible to the circuit that switches, between its own VDD and GND.
- Fill spare area in the block (under or around power rails) with decap cells.
- Near the reference and bias points of sensitive blocks (for example on a reference voltage that is buffered).
Type: MOS capacitors (thin or thick oxide) give the most capacitance per area. In leaky thin-oxide processes, thick-oxide or MOM capacitors may be used instead, to reduce gate leakage. Long, wide MOS decaps have significant series resistance, so use short fingers for a low ESR at high frequency.
49A metal line has a sheet resistance of 0.08 Ω/□. What is the resistance of a 500 µm long, 2 µm wide line? What is the IR drop at 10 mA?
Number of squares = length / width = 500 / 2 = 250.
R = Rsh × squares = 0.08 × 250 = 20 Ω
IR drop at 10 mA = 10 mA × 20 Ω = 200 mV. That is far too much for a supply line on a 1 V or 1.8 V supply.
Fixes:
- Widen the line (10 µm wide gives 50 squares, 4 Ω, 40 mV).
- Use a thicker upper metal with lower sheet resistance.
- Put several layers in parallel, strapped with many vias.
- Feed current from both ends, or use a mesh.
Sheet resistance is independent of the size of the square: a 1 µm square and a 100 µm square have the same resistance, which is why counting squares works.
50How do you route high-impedance and virtual-ground nodes?
High-impedance nodes (op-amp inputs, the summing node of a switched-capacitor circuit, a bias gate line, a comparator input, a sampling capacitor’s top plate) are the most sensitive to coupled noise and to added capacitance, because nothing holds them firmly.
- Keep them short and compact, placing the devices that connect to them close together.
- Minimise capacitance: narrower lines on upper layers, avoiding wide parallel runs.
- No noisy neighbours: keep clocks, digital lines and switching outputs away; shield if needed.
- Symmetry for differential nodes.
- Leakage: for nodes that hold charge (sample-and-hold), avoid large diffusion areas and junctions that leak at high temperature.
51What is ground bounce? How does layout reduce it?
When many circuits switch at once, a large current change flows through the inductance and resistance of the ground (and supply) path, including bond wires and package pins:
ΔV = L·di/dt + I·R
Example: 50 mA switching in 1 ns through 2 nH of bond wire gives 100 mV of bounce.
The local ground then moves relative to the board ground, which upsets analog references and the input thresholds of digital receivers.
Layout and floorplan fixes:
- More ground and supply pads, in parallel, close to the switching block.
- On-chip decoupling close to the switching circuits, so the high-frequency current circulates locally rather than through the package.
- Wide, low-resistance power grids.
- Separate noisy and quiet domains (I/O drivers on their own supply).
52What is a Kelvin (force and sense) connection? Where do you use it?
A Kelvin connection uses two separate lines to a node: a force line that carries current, and a sense line that carries no current and measures the voltage at the exact point needed.
Because the sense line carries no current, it has no IR drop, so it reports the true voltage at the load, not the voltage at the source end of a resistive line.
Uses:
- Regulator feedback: the LDO senses its output at the load, not at the pass device.
- Current-sense resistors: sense directly at the resistor’s terminals, excluding the routing resistance.
- Reference distribution: a bandgap output used by several blocks.
- Precision resistor ratios in high-current paths.
53What is parasitic extraction? What types of extraction are there?
Extraction reads the layout and calculates the parasitic resistances and capacitances of every net, producing a netlist (DSPF, SPEF or a schematic-style netlist) for post-layout simulation.
Types:
- C only (lumped capacitance to ground): fast; good for checking loading on non-critical nets.
- C + CC (with coupling capacitance): shows crosstalk and Miller effects between nets.
- R only: IR drop and series resistance.
- RC + CC (distributed): the full model; most accurate, largest netlist, slowest simulation.
Tools also extract device layout parameters (diffusion areas and perimeters, SA and SB, well distances), which change device behaviour.
Use the full RC + CC extraction on critical nets and blocks, and reduce elsewhere (for example a threshold for small capacitances) to keep simulations practical.
54How do you lay out an on-chip spiral inductor?
- Use the thickest top metal (lowest resistance) for the turns, with several layers in parallel for the underpass only where needed.
- Wide turns, moderate spacing: wider metal lowers resistance but adds capacitance; the optimum depends on the frequency.
- Hollow centre: inner turns add little inductance but much loss, so leave the middle empty.
- Symmetric (centre-tapped) inductors for differential circuits.
- Patterned ground shield (poly or metal strips, split so no eddy-current loops form) under the inductor reduces loss into the substrate and improves Q.
- Keep-out zone: no other metal, fill or devices near or under the inductor, and a guard ring at a distance.
- Use the foundry’s characterised inductor PCell or an EM simulation, because hand estimates miss the substrate and proximity effects.
55The designer reports that post-layout simulation is much worse than schematic. What do you check in the layout?
Work through the extracted netlist with the designer, net by net:
- Critical high-impedance nodes: how much capacitance was added? Long or wide routes on the dominant pole node or the output are typical.
- Source and supply resistance: IR drop in source lines shifts mirror ratios and bias; check that wide enough metal and enough contacts were used.
- Coupling capacitance between input and output or between a noisy net and a sensitive one.
- Series resistance in the compensation capacitor path, the gate of a large device, or a sampling switch.
- Layout-dependent effects: different SA, SB or well distances on matched devices, or fingering that differs from the schematic intent.
- Symmetry: compare parasitics on the positive and negative halves; any imbalance shows as offset or poor CMRR.
Fix the worst offender, re-extract and repeat. A quick way to find the culprit is to extract only C (or only R) to see which type of parasitic causes the loss.
56Why should clock lines be kept away from analog blocks? How do you route them near analog when unavoidable?
Clocks switch rail to rail at high frequency, all the time, and their edges are sharp. Through coupling capacitance they inject spikes into nearby lines, and their harmonics land on top of signals as spurs. Into a sampling circuit or a comparator, they create errors at specific times that do not average out.
When a clock must pass near analog:
- Route it on a layer far from the sensitive nets (upper metal, with a ground plane between).
- Shield it on both sides with ground.
- Cross sensitive nets at right angles, never in parallel.
- Use a differential clock routed as a pair, so its coupling cancels.
- Route it on the symmetry axis of a differential block so it couples equally to both halves.
- Keep the clock buffers’ supply separate from the analog supply.
Latch-up, ESD and reliability
57What is latch-up? Explain it with a CMOS cross-section.
A CMOS inverter contains a parasitic PNPN thyristor (SCR) between VDD and GND:
- A vertical PNP: the PMOS p+ source (emitter), the n-well (base), the p-substrate (collector).
- A lateral NPN: the NMOS n+ source (emitter), the p-substrate (base), the n-well (collector).
The collector of each transistor drives the base of the other, so they form a positive feedback loop. Normally both are off. If a disturbance injects current into the well or substrate (an I/O pin pulled beyond the rails, a supply spike, ionising radiation), the current flowing through the well resistance Rwell or the substrate resistance Rsub can forward-bias a base-emitter junction. Once the loop gain βnpn·βpnp exceeds 1, the SCR turns fully on and latches: a low-resistance path between VDD and GND that stays on until power is removed, and can destroy the chip through overheating.
Likely follow-up: What is the holding voltage, and why does it matter?
Once triggered, the SCR stays on as long as the supply exceeds its holding voltage and supplies its holding current. If the holding voltage is above the supply voltage, latch-up cannot be sustained. Designs on low supplies are therefore less prone to sustained latch-up, but I/O at higher voltages still need full protection.
58How do you prevent latch-up in layout?
The aim is to keep Rwell and Rsub small, keep the parasitic β small, and collect injected carriers before they trigger the SCR.
- Taps close to devices: well and substrate taps within the maximum distance set by the latch-up rules, so the base resistances are low.
- Guard rings: p+ rings tied to GND around NMOS, and n+ rings tied to VDD around PMOS (in the n-well), especially near I/O.
- Spacing between NMOS and PMOS: larger n+ to p+ spacing lowers the lateral transistor’s gain.
- Double guard rings around I/O devices and anything connected to a pad, because pads can be driven beyond the rails.
- Process measures (epitaxial wafers, retrograde wells, deep trench isolation) help, but layout rules still apply.
Latch-up rules are checked by DRC with special rule sets near I/O pads.
59What types of guard rings are there? Where do you use each?
- p+ guard ring tied to GND (majority carrier ring in the substrate): around NMOS devices. It holds the local substrate at ground and collects holes, lowering Rsub.
- n+ guard ring in an n-well tied to VDD (around PMOS): holds the well at VDD and collects electrons, lowering Rwell.
- Minority-carrier guard ring: an n-well ring tied to VDD placed in the substrate around an NMOS block. It collects electrons injected into the substrate (for example by an I/O NMOS whose drain goes below ground) before they reach other circuits.
- Double guard rings (p+ ring and n-well ring together) around I/O drivers, ESD devices, and noisy or sensitive analog blocks.
Guard rings should be continuous, well contacted (many contacts along their length), and connected to the supply with low-resistance metal. A ring with few contacts does very little.
60What is ESD? What are the common ESD models?
Electrostatic discharge is a short, high-current pulse when a charged object (a person, a machine, or the chip itself) touches a pin. Currents reach amperes for nanoseconds, enough to rupture thin gate oxides (a few volts) and melt junctions or metal.
Common test models:
| Model | What it represents | Typical target |
|---|---|---|
| HBM (human body model) | A charged person touching a pin: 100 pF through 1.5 kΩ | 1 to 2 kV |
| CDM (charged device model) | The chip itself charged, then a pin touches ground: very fast (sub-nanosecond), high peak current | 250 to 500 V |
| MM (machine model) | Older; largely replaced by CDM |
On-chip ESD protection gives every pin a safe, low-resistance discharge path to the supplies that turns on before the protected circuit breaks down.
61How is an I/O pin protected from ESD? What are the layout rules for ESD devices?
Typical scheme:
- Diodes from the pad to VDD and from VSS to the pad, so positive and negative pulses are steered to a supply rail.
- A power clamp between VDD and VSS (an RC-triggered big NMOS, or a grounded-gate NMOS), which conducts the ESD current once it reaches the rail.
- Often a series resistor and a secondary clamp in front of sensitive gates (for inputs).
- Ground-to-ground diodes between separate power domains.
Layout rules:
- Follow the foundry’s ESD rules exactly: drain-contact-to-gate spacing, silicide block on drains (for ballast), and finger widths. These ensure current spreads evenly across all fingers.
- Wide, short metal for the discharge path, with many vias; ESD current is amperes.
- Guard rings around ESD devices (they inject carriers during a discharge).
- Keep the path from pad to clamp short and low in resistance, and the clamp close to the pads it protects.
62What is electromigration? How do you prevent it in layout?
At high current density, electrons transfer momentum to metal atoms and gradually move them in the direction of electron flow. Over time this creates voids (opens) where atoms leave and hillocks (possible shorts) where they pile up. It is a wear-out failure that appears after months or years.
The time to failure follows Black’s equation: MTTF ∝ J^(−n)·exp(Ea/kT), so higher current density (J) and higher temperature both shorten life sharply.
Prevention:
- Wide enough metal for the current, using the foundry’s limits per layer and temperature (often given as mA per µm of width).
- Enough vias and contacts: each via has its own current limit; use arrays, not a single via.
- Upper, thicker metals for high-current paths.
- Check DC (average), RMS and peak current limits separately; signal lines with bidirectional current have different limits from power lines.
EM checks use simulated currents on the extracted layout.
63A power line carries 6 mA DC. The EM limit for that metal is 1 mA per µm of width at 110 °C, and each via handles 0.15 mA. How wide must the line be and how many vias are needed?
- Width: 6 mA ÷ 1 mA/µm = 6 µm. Add margin (and check the maximum-width rule; wide lines may need slots), so use about 7 to 8 µm.
- Vias: 6 mA ÷ 0.15 mA = 40 vias at each layer change, so use an array of at least 40, typically arranged to fill the overlap region evenly.
Also check:
- The IR drop along the line (a separate check from EM).
- The temperature used for the limit: limits fall sharply at higher temperature.
- The current type: DC limits apply to power; RMS limits (self-heating) and peak limits apply to signal lines.
64What is IR drop? How is the power grid designed to keep it low?
IR drop is the voltage lost along the power and ground network, V = I × R, so circuits far from the supply pads see a lower supply (and a raised ground).
- Static IR drop: from the average current.
- Dynamic IR drop: from current spikes when many circuits switch together, which depends on decoupling and inductance too.
Effects in analog: changed bias currents, mirror errors (a difference in source voltages), reduced headroom, and offset in references.
Layout:
- A mesh of wide lines on upper metals, with many vias down to the local rails.
- Supply pads close to the high-current blocks, and several pads in parallel.
- Separate grids for noisy and quiet circuits.
- On-chip decoupling to supply fast current.
Typical budgets keep total IR drop under 5% of the supply.
65What is the antenna effect? How do you fix an antenna violation?
During plasma etching of metal (and poly), exposed conductors collect charge. If a long metal line is connected only to a transistor gate at that stage of processing (the driving diffusion is connected through a higher layer that is not yet built), the charge has nowhere to go except through the thin gate oxide. This can damage it, shifting Vth or causing leakage or breakdown.
The check is a ratio: the area of metal (or its sidewall area) connected to a gate, divided by the gate area, must stay below a limit for each layer (often a few hundred to a few thousand).
Fixes:
- Jumper (layer hopping): break the long line and route part of it in a higher metal, so the gate is joined to the driving diffusion by the time the long segment is formed.
- Antenna diode: add a small reverse-biased diode (n+ in p-substrate for gates of either type) to the net near the gate, giving the charge a safe path. It adds a little capacitance and leakage.
- Shorter routes on the lower layers.
66What are DC, RMS and peak current limits? Which applies to which net?
- DC (average) limit: based on electromigration. Applies to unidirectional current, mainly power and ground lines. Bidirectional signal currents average close to zero, so atoms move back and forth and the DC limit is relaxed for them.
- RMS limit: based on Joule heating (self-heating). Applies to all lines with significant current, including signal lines carrying AC current, such as the output of a driver charging a big load or a clock line.
- Peak limit: based on short-pulse failure (melting or fusing). Applies to fast high-current events such as ESD paths and switching drivers.
The EM tool reads the simulated current waveforms on the extracted netlist, calculates each type for every segment and via, and compares them with the foundry’s limits at the specified temperature.
67What are the main transistor reliability mechanisms? Does layout affect them?
- Hot carrier injection (HCI): at high VDS, energetic carriers get trapped in the gate oxide near the drain, shifting Vth and lowering current over time. Worse for NMOS at high VDS with medium VGS.
- NBTI / PBTI (bias temperature instability): a Vth shift under constant gate bias at high temperature; NBTI affects PMOS under negative gate bias.
- TDDB (time-dependent dielectric breakdown): gate oxide breakdown after long stress at high field.
Layout and design responses:
- Use thick-oxide devices or longer channels where voltages exceed the core limits; check that each device’s terminal voltages are within its rating (a “safe operating area” check).
- Cascode devices to share high voltages.
- Keep matched devices under the same stress, so their aging is similar and the mismatch does not grow.
- Follow voltage-dependent spacing rules between high-voltage nets.
68What are voltage-dependent design rules?
Metal and device spacing rules normally assume nets at core voltage. Nets with a higher voltage difference between them need larger spacing, to avoid dielectric breakdown and time-dependent dielectric breakdown between wires over the chip’s life.
In layout:
- Nets carrying higher voltages (I/O supplies, charge pump outputs, high-voltage domains) are marked with a voltage-label layer or property.
- DRC then applies the larger spacing between nets based on their voltage difference.
- The same applies to wells at different potentials and to deep n-well spacing.
Missing voltage labels are a common reason for a design passing DRC but failing reliability review.
69What is a seal ring? What is the scribe line?
- The scribe line is the space between dies on the wafer, where the saw cuts them apart. It often contains test structures (process control monitors) and alignment marks.
- The seal ring is a continuous ring of all metal layers, vias and contacts down to the substrate, around the die edge inside the scribe line. It:
- stops cracks from the dicing saw from spreading into the die,
- blocks moisture and contaminants from entering through the edge of the dielectric layers,
- and can act as a substrate ground ring.
The foundry supplies the seal ring structure; layout must keep the required distance between it and the core circuits, and connect it as specified (often to ground, sometimes left with a gap in RF designs to break current loops).
70What is self-heating and why does it matter for matched devices and resistors?
Current flowing through a device dissipates power, P = I·V or I²·R, and raises its local temperature. In FinFET and SOI processes, heat escapes poorly, so devices can be several to tens of degrees hotter than the substrate.
Effects:
- Mismatch: a device carrying more current, or with less space around it, heats more, so its Vth and mobility differ from its matched partner.
- Resistor values change with temperature (by the resistor’s temperature coefficient), so a current-carrying resistor drifts from its matched partner if they carry different currents.
- EM limits fall at higher local temperature.
Layout: give matched devices the same current density and the same surroundings for heat flow; spread high-power devices; and use the PDK’s self-heating models in simulation.
71What problems do floating nodes and floating wells cause? How are they found?
A floating gate, well or metal shape has no DC path to a defined voltage. It can:
- charge up to an unknown voltage, leaving a transistor partly on (leakage, wrong logic),
- collect charge during processing (antenna damage),
- couple noise into nearby nodes,
- and for a floating well, cause latch-up or body-bias errors.
Common causes: a missing well or substrate tap, an unconnected dummy gate, a cut that left a piece of metal disconnected, or an input left open in the schematic.
Found by: LVS (floating nets and soft-connect checks), ERC (electrical rule checks for floating gates and wells), and DRC rules for taps. Fix by connecting the node to its intended potential; dummies to a supply, unused inputs tied off.
72Why must the n-well be tied to the highest potential and the p-substrate to the lowest?
The PMOS source and drain (p+) sit in the n-well, and the n-well sits in the p-substrate. These form p-n junctions that must stay reverse-biased:
- If any p+ diffusion in the well rises above the well voltage by more than about 0.6 V, the junction forward-biases and injects current into the well. That current is exactly what triggers latch-up, and it also wastes power and corrupts the signal.
- If the substrate rises above any n+ diffusion or n-well, the same happens on the NMOS side.
So the well is tied to the highest voltage its PMOS devices see (usually VDD), and the substrate to the lowest (usually GND). A PMOS whose source sits below VDD (for example in a stack) can have its own well tied to its source to remove the body effect, but only if its well is separate and its junctions still never forward-bias.
Physical verification and the layout flow
73What is DRC? Name the common rule types.
Design rule checking verifies that the layout geometry can be manufactured reliably, using the foundry’s rule deck (Calibre, Pegasus or IC Validator).
Common rules:
- Minimum width of a shape on a layer.
- Minimum spacing between shapes on the same layer (and wider spacing for wide metal or long parallel runs).
- Enclosure: a contact or via must be surrounded by a minimum overlap of metal, poly or active.
- Extension: poly must extend past active (the gate end cap); active must extend past poly (source and drain).
- Minimum area and minimum enclosed area (holes).
- Density: minimum and maximum per window.
- Antenna, latch-up, ESD and voltage-dependent rules (often run as separate decks).
- In advanced nodes: grid, colouring (multi-patterning), fin and gate pitch, and many context-dependent rules.
74What is LVS? What does it compare?
Layout versus schematic checks that the layout implements exactly the circuit in the schematic.
Steps:
- Extract a netlist from the layout: recognise devices from layer combinations (poly over active is a gate, for example), measure their parameters (W, L, fingers, resistor and capacitor sizes), and trace connectivity through metals, vias and contacts.
- Compare it with the schematic netlist: same devices, same types, same sizes (within tolerance), same connectivity, and same pin names.
The report lists unmatched nets and devices, property mismatches, and shorts and opens in terms of pins. LVS must be clean before extraction and post-layout simulation, because extraction relies on the same device and net recognition.
75What are the common LVS errors? How do you debug each?
| Error | Typical cause | How to debug |
|---|---|---|
| Short (two nets merged) | Overlapping metal, a via in the wrong place, a label on the wrong net | Highlight the merged net and trace it; look for the shape that joins them. Many tools have a short-isolation feature. |
| Open (one net split) | Missing via or contact, a gap in metal, wrong layer | Highlight both pieces; find where they should join. |
| Device mismatch | Wrong W, L, fingers or multiplier; a missing marker layer (thick oxide, resistor) | Compare properties of the unmatched device in both netlists. |
| Missing or extra device | A parasitic device formed by overlapping layers, a deleted device | Find it by location; check layer overlaps. |
| Pin or port mismatch | Missing or misspelt label, a label on the wrong layer | Check label text, layer and position. |
| Well or substrate connection errors | Missing tap, floating well | Check body connections and taps. |
Fix shorts first: one short can make dozens of other errors appear, which disappear once it is fixed.
76LVS reports a short between VDD and GND. How do you find it in a large layout?
- Use the tool’s short-isolation (for example Calibre’s short isolation or path finding). It reports the shortest path of shapes connecting the two nets, and highlights the shape where they meet.
- If not available, highlight the merged net and look for a polygon where the colour should change.
- Check labels: a VDD label placed on a GND rail creates a “short” that is really a labelling error.
- Divide and conquer: check sub-blocks individually (each block is LVS-clean on its own?), then check the top-level connections between them.
- Typical culprits: a via array placed across both rails, a power strap dropped onto the wrong rail, a cell flipped so its rails swap, a well tap connected through a well that touches both, and decap cells placed wrongly.
77What is ERC?
Electrical rule checking looks for connections that are legal geometrically and match the schematic, but are electrically wrong or risky:
- Floating gates and floating wells or substrate regions.
- Wells not tied to the right supply (an n-well not connected to the highest voltage).
- Gates connected directly to supplies without a tie-off cell (an ESD risk in some flows).
- Devices exposed to voltages beyond their rating, for example a thin-oxide device on an I/O supply.
- Multiple power domains joined without a level shifter or isolation.
ERC is usually part of the LVS run (with extra checks in a separate deck) and is part of sign-off.
78What is a soft connection in LVS?
Some layers conduct, but poorly: an n-well, the substrate, or a high-resistance diffusion. LVS treats connections through them as soft: they can establish connectivity, but if two different nets are joined only through a soft layer, LVS reports a soft-connect error rather than silently merging them.
Example: an n-well with two taps, one labelled VDD and one labelled VDD_ANALOG. The well joins them through its resistance, which is not a real metal connection. LVS flags it, because the two supplies would be shorted through the well.
Fix: make sure each well is tapped to only one net, or split the well, or connect the supplies properly in metal if they should be the same.
79What are the steps of a typical analog layout flow?
- Understand the schematic with the designer: critical nets, matching groups, symmetry, high-current paths, sensitive nodes, expected parasitics.
- Floorplan: block size and shape, pin locations, where power comes from, placement of noisy and quiet parts.
- Device generation and placement (schematic-driven layout in Virtuoso XL): matched groups first, common-centroid arrays, dummies, guard rings.
- Routing: critical nets first (by hand), then power, then the rest. Respect symmetry and EM widths.
- DRC and LVS iterations until clean.
- Extraction and post-layout simulation by the designer; layout fixes for parasitic issues.
- EM, IR, antenna, ESD and latch-up checks, density and fill.
- Hand-off of a clean block (GDS and abstract) for integration at the top level.
80What is schematic-driven (connectivity-driven) layout?
In Virtuoso Layout XL (and similar tools), the layout is linked to the schematic:
- Devices are generated from the schematic with the right sizes and parameters.
- Flight lines (rat’s nest) show which terminals must connect.
- Wires drawn by the user are checked against the schematic connectivity in real time, so shorts and opens are flagged as you route.
- Changes in the schematic can be pushed to the layout, and the tool shows what changed.
It speeds up layout and reduces LVS errors. Constraint-driven flows add matching, symmetry and net-class constraints from the designer, which placement and routing tools then follow.
81Why must layout labels and pins be on the correct layer?
LVS uses labels (text) to name nets and match them with schematic pins. A label is attached to the shape on the layer it is “connected” to, defined in the rule deck (for example a metal-1 pin text only names metal-1 shapes).
Problems:
- A label on the wrong layer is ignored, so the net gets an automatic name and LVS reports a missing pin.
- A label placed over two different nets names the wrong one, creating a false short.
- Two labels with different names on one net cause a short report between them, which is how real shorts are often found.
- A misspelt label (VDD versus vdd, depending on case sensitivity) creates an open between parts of the same supply.
82What is hierarchical LVS? What is black-boxing?
Hierarchical LVS compares the design cell by cell: each lower-level cell is checked once, and higher levels check only the connections between cells. It is much faster than flat LVS for large designs, and errors are reported per cell.
It needs the cells in the layout and schematic to correspond (same names and pins), which is helped by a hcell list that maps them.
Black-boxing treats a cell as an empty box with only its pins, so its contents are not compared. It is used for IP whose internals are verified separately (for example a foundry memory or a third-party block), or to focus on top-level connectivity. The risk is that problems inside the box, or at its boundary, are missed, so the box must be verified on its own.
83What are DFM rules and recommended rules?
Mandatory DRC rules give the minimum needed to manufacture. DFM (design for manufacturing) and recommended rules improve yield and variability further:
- Redundant vias (two vias instead of one) where space allows.
- Wider and more spaced metal where routing is not dense.
- Larger enclosures around contacts and vias.
- Litho-friendly shapes (fewer jogs and notches) and uniform density.
- Uniform poly pitch and dummy gates.
For analog layout, following recommended rules for matched devices and critical nets usually costs little area and reduces silicon variation. Some foundries report a DFM score on the final GDS.
84What checks must be clean before tape-out of an analog block?
- DRC (including antenna, density, latch-up, ESD, voltage-dependent rules), with any waivers documented and agreed.
- LVS clean, with ERC clean.
- Post-layout simulation passing on the final extracted netlist, including corners and Monte Carlo for key specs.
- EM and IR checks on the final layout with simulated currents.
- Fill inserted and the final extraction including it for critical nets.
- Pin and abstract files consistent with the top level (pin names, layers, locations, blockages).
- Reliability: device voltage limits (safe operating area) and aging where required.
- The seal ring, pads, and top-level integration checks (top-level DRC and LVS with all blocks).
85Why must LVS be clean before parasitic extraction?
Extraction attaches parasitics to net and device names that come from the LVS comparison. If LVS is not clean:
- shorted nets appear as one net, so their parasitics and coupling are wrong,
- open nets are split, and part of a net may be missing from simulation,
- mismatched devices may be simulated with the wrong sizes or model,
- and back-annotation onto the schematic net names fails.
Post-layout results from a netlist that is not LVS-clean can be badly misleading, so the flow always goes DRC/LVS clean, then extract, then simulate.
86What is an off-grid error? Why does a manufacturing grid exist?
Mask making writes shapes on a fixed manufacturing grid, for example 1 nm or 5 nm depending on the process. A vertex that is not on the grid cannot be written exactly and is snapped, which can create tiny gaps, overlaps or spacing errors.
DRC flags off-grid vertices. They usually come from:
- rotating shapes by angles other than 90° (or 45° where allowed),
- scaling or copying cells with a different grid,
- importing layout from another tool or process.
Fix by snapping to the grid and avoiding arbitrary angles. In advanced nodes, the rules are stricter: placement and routing grids for fins, gates and metal tracks must be followed too.
FinFET and advanced-node layout
87How is FinFET layout different from planar layout?
- Quantised width: the channel wraps around fins, so width comes in steps of one fin (W ≈ nfin × (2·fin height + fin width)). You choose the number of fins and fingers, not an arbitrary W.
- Fixed gate pitch: gates are placed on a regular grid, often with continuous poly lines that are later cut.
- Fixed lengths: only a few channel lengths are allowed. Long effective lengths are built by stacking devices in series.
- Strict, grid-based rules: unidirectional metal on fine layers, fixed track pitches, and multi-patterning colour rules.
- Local interconnect layers (for example MD on diffusion and MP on gate, or M0) between devices and metal 1.
- Stronger layout-dependent effects: diffusion breaks, gate cuts and neighbour devices change performance.
- Self-heating is worse because fins dissipate heat poorly.
Analog layout in FinFET is more like placing devices on a fixed grid of unit cells, with less freedom but more regularity.
88What is multi-patterning? What does colouring mean for layout?
Below about 20 nm, the metal and gate pitches are smaller than one lithography exposure can print. Multi-patterning splits one layer into two or more masks (colours), each printing every second or third shape, so shapes on the same mask are further apart.
- Double patterning (LELE): two masks, A and B. Shapes closer than the single-mask spacing must be on different colours.
- Self-aligned double or quadruple patterning (SADP, SAQP) for the tightest pitches, with strict grid rules.
Layout impact:
- Colouring conflicts: an odd cycle of close shapes (three shapes all too close to each other) cannot be split into two colours, so DRC reports a conflict. Spread the shapes or change the topology.
- Mask misalignment between colours changes spacing and capacitance. Matched nets should use the same colour pattern, and some PDKs let you fix (lock) colours for critical analog nets.
- Extraction must account for colour-dependent variation.
89How do you make device ratios and matched devices in a FinFET process?
Because width is quantised, ratios are made with integer counts:
Wtotal = nfin × nf × m (fins per finger, fingers, multiplier)
Practice:
- Use the same fin count per finger for all devices in a matched group, and change only the number of fingers or units. A 1:3 mirror is 2 fins × 2 fingers against 2 fins × 6 fingers, not 2 fins against 6 fins.
- Keep the same number of dummy gates and the same diffusion-break type at both ends of every matched device.
- Place matched devices in the same row of the gate grid, with the same neighbours.
- Long channels: stack identical series devices; both sides of a matched pair must use the same stack.
- Common-centroid and interdigitation still apply, but work in units of fingers on the fixed grid.
90What are diffusion breaks and why do they matter?
In FinFET processes, the active (fin) region is often continuous, and devices are separated by diffusion breaks that cut the fins:
- Double diffusion break (DDB): a wider break, taking two gate pitches.
- Single diffusion break (SDB) or a cut under a dummy gate (often called CPODE or CNOD): takes one pitch.
Breaks change the stress in the fins, so a device next to a break behaves differently from one with continuous diffusion on both sides (a form of the LOD effect). The gates at the edge of an active region also differ from inner gates.
For analog layout: use the same break type and the same number of dummy gates next to every matched device, and avoid putting a critical device right next to a break. The extracted layout parameters capture these effects for post-layout simulation.
91What are local interconnect layers (MD, MP, M0)?
In advanced nodes, contacts are too small to connect directly between devices and metal 1 at the required density. The process adds local interconnect layers:
- A trench contact on the diffusion (often called MD or TS) that straps all fins of a source or drain together.
- A gate contact layer (often called MP or CB).
- Sometimes an M0 layer for very short local routing.
For layout this means:
- More layers with strict rules (direction, pitch, spacing to gates).
- Significant resistance in these small layers, which affects high-current devices and matched sources.
- Gate-to-diffusion contact spacing affects capacitance between gate and drain, which affects speed and matching.
PCells and the tool’s grid usually handle the rules, but the analog engineer chooses how many and where to put contacts.
92Why does wire and via resistance matter more in advanced nodes?
As metal lines shrink, resistance rises faster than the scaling suggests: thin lines have a larger share of high-resistance barrier liner, and electron scattering at the surfaces and grain boundaries increases copper’s effective resistivity. Lower-level vias can have tens of ohms each.
Consequences for analog layout:
- IR drop in source connections of matched devices becomes a significant source of offset.
- Series resistance in local routing adds poles and noise.
- EM limits are tighter on narrow lines.
Responses: route current-carrying and matched paths in wider, upper metals early; use via arrays and redundant vias; strap lower layers in parallel; and check resistance on critical nets in extraction, not only capacitance.
93What is a restricted design rule (RDR) style, and why do advanced nodes use it?
Advanced-node rules restrict layout to regular patterns that print reliably with lithography at its limits:
- Unidirectional lower metal layers (only horizontal or only vertical).
- Fixed pitches and tracks for gates, fins and metals.
- Limited widths: only a few allowed widths for metal lines.
- No jogs or bends on some layers; line ends must align (end-of-line rules).
- Continuous poly with cuts.
Benefits: predictable printing, less variation, and easier automation. Costs for analog: less freedom to shape devices and routes, so wide power lines are built from many parallel narrow tracks, and custom shapes like inductors or wide resistors move to upper, less restricted layers.
94What are the main challenges of analog layout in a FinFET process?
- Quantised and grid-locked devices: less freedom for sizes and shapes; matching must be built from identical units.
- Larger relative parasitics: gate-to-contact capacitance and local interconnect resistance are a bigger share of the total, so post-layout results differ more from schematic.
- Layout-dependent effects: stress from diffusion breaks, gate cuts and neighbouring devices; WPE still exists.
- Self-heating: devices run hotter, affecting matching and reliability.
- Lower supply voltages and thin oxides limit headroom and ESD robustness; thick-oxide options are limited.
- Long, complex rule decks and multi-patterning, making iteration slower.
Successful teams use automated, template-based device arrays for matched groups, extract early and often, and give designers parasitic estimates at the schematic stage.
Laying out real blocks and scenarios
95How would you floorplan and lay out a two-stage op-amp?
- Group devices: input pair, load mirror, tail current source, second stage, bias, compensation capacitor and resistor.
- Symmetry axis: place the input pair and load mirror symmetric about a vertical axis, with the tail source on the axis below the pair.
- Input pair in common-centroid with dummies and a guard ring; mirror common-centroid too.
- Second stage next to the output pin, away from the input pair; it carries the most current and is the source of heat and noise.
- Compensation capacitor between the first-stage output and the second-stage output, placed close to both to keep the series resistance and stray capacitance low; the nulling resistor next to it.
- Bias devices at the edge, with clean, shielded bias lines.
- Routing: inputs short and symmetric, away from the output; supply lines wide enough for EM; separate input and output pins on opposite sides to minimise feedback coupling.
- Guard rings around the whole block, and substrate taps.
96How do you lay out a latched (StrongARM) comparator?
Speed and offset are both set by layout:
- Strict symmetry: the input pair, the cross-coupled latch devices and the reset switches are mirrored about the axis. Any imbalance in capacitance at the two latch nodes becomes offset, because the latch amplifies the difference at the moment it regenerates.
- Input pair in common-centroid with dummies. Cross-coupled pair placed close together, also symmetric.
- Minimise and match capacitance on the internal regenerative nodes: short routes, equal lengths.
- Clock routing on the symmetry axis, so its coupling is equal on both sides.
- Kickback: the latch’s large swings couple back through the input devices to the inputs. Keep input routes short and symmetric, and away from the output lines.
- Output buffers or SR latch symmetric, equally loaded.
Post-layout, the designer checks the offset from a parasitic imbalance, not only from Monte Carlo.
97How do you lay out an LDO?
- Pass device: a large PMOS array placed between the input and output pins, with very wide metal and many vias for the load current. Check EM and IR, and make the current distribution uniform across fingers.
- Kelvin feedback: take the feedback divider’s top from the output at the load point (a sense line), not from the pass device’s drain, to get good load regulation.
- Feedback divider resistors: matched, interleaved, with dummies; their ratio sets the output voltage.
- Error amplifier: matched input pair and mirror; place it away from the pass device’s heat, ideally on its thermal symmetry axis.
- Reference line from the bandgap: shielded, quiet, filtered.
- Compensation and output capacitor connections short and wide.
- Ground: separate the high-current ground return of the pass path from the quiet ground of the error amp and reference, joined at one point.
98How do you lay out a switched-capacitor circuit (for example a sample-and-hold)?
- Capacitors: matched units in common-centroid arrays with dummies. Connect top plates to the op-amp’s virtual-ground node (high-impedance) and bottom plates to the switched nodes.
- Switches close to the capacitors, with symmetric placement for the differential halves. Charge injection of each switch must match its partner, so use identical switches and gate routes.
- Clock lines: shielded and routed away from the capacitor top plates and the op-amp inputs; non-overlapping clocks routed symmetrically.
- Op-amp input (summing node) routes as short as possible with low capacitance, because parasitic capacitance there reduces the feedback factor and speed.
- Sampling network symmetry: the differential paths from the input pins to the sampling switches must be identical, because any mismatch converts common-mode noise to a differential error.
- Keep the reference and common-mode voltage lines quiet, wide and decoupled.
99The designer changes the schematic a week before tape-out. How do you handle it?
- Understand the change and why: a resize, an added device, a change of connections? Ask what is critical (matching, a parasitic-sensitive net).
- Assess the impact on the layout: does it fit in the current floorplan, does it affect a matched array, does it change the block’s size or pins (which affects the top level)?
- Give an honest estimate of time and risk, and say what checks must be rerun (DRC, LVS, extraction, EM, top-level integration).
- Make the change with the schematic-driven tools to keep connectivity consistent, protecting matched structures (do not break symmetry to save time).
- Rerun all checks, not only the local ones, and get a post-layout simulation done on the changed block.
- Communicate with the integration team if pins or the abstract changed.
Interviewers listen for calm prioritisation, clear communication and not skipping verification under pressure.
100You are given 2 hours in a practical test to lay out a current mirror and a differential pair. How do you approach it?
- Read the schematic for sizes, ratios, and which devices match. Note the pins.
- Plan on paper first: the unit size, the arrangement (
d A B B A dfor the pair, a symmetric pattern for the mirror), the symmetry axis, pin sides. - Generate devices from the schematic (Layout XL), set fingers equal for matched devices.
- Place the matched groups first, with dummies and guard rings; leave room for routing.
- Route critical nets symmetrically, sources with wide metal, then power.
- Run DRC and LVS early and often, after placement and after each routing step, rather than once at the end.
- Finish clean: a clean DRC and LVS in a simple, symmetric layout is worth more than an incomplete clever one. Keep a few minutes to explain your choices.