Part VII · Layout in depth
The Art of Analog Layout
The craft of turning a schematic into silicon that works: what each layer and rule means, how wires and junctions fail, how to draw resistors, capacitors, bipolar transistors and large devices, how to make devices match, how to protect a chip from electrostatic discharge, and how to assemble a die. Every layout and figure is drawn in SG13G2 and SKY130 with the course's open tools.
This part follows the scope of R. A. Hastings's The Art of Analog Layout [61], the standard text on the subject, re-developed for two open processes. The explanations, layouts and simulations are our own; read Hastings for the depth that a web course cannot hold.
Layout Fundamentals: From Masks to Rules
A layout is a set of masks. Knowing what each drawn layer becomes in SG13G2 and SKY130, and why every design rule exists, is the base of all analog layout craft.
Reliability: Electromigration, Latch-up and Antennas
A circuit that simulates perfectly can still fail in the field: wires wear out under current, parasitic thyristors latch, and plasma charge breaks gate oxides during manufacture. Layout is where each of these is prevented.
Resistors
Integrated resistors are rectangles of resistive film, and almost every way they deviate from their nominal value can be traced to their layout: contacts, width, temperature, voltage and the substrate beneath.
Capacitors and Inductors
On-chip capacitors trade density against linearity and parasitics; on-chip inductors trade area against quality factor. The layout decides where on those curves a design lands.
Matching in Layout
Two devices drawn the same are never the same on silicon. Random variation shrinks with area; systematic variation from gradients, stress and wells only shrinks with layout. This chapter is about the second kind.
Bipolar Transistors and Diodes
Bandgap references, temperature sensors and protection circuits all need junctions. SG13G2 offers fast SiGe HBTs; SKY130 offers parasitic PNPs. How they are drawn decides how well they match.
Power Devices, Guard Rings and ESD
Large transistors carry amperes through narrow metal, injected carriers wander far through the substrate, and a touch of a finger delivers kilovolts. All three are layout problems.
Assembling the Die
The last step turns blocks into a chip: estimate its area, plan its floor, build its pad ring, route its power and signals, and check it against a list of everything that goes wrong at tape-out.