Lite / Independent Engineering Research / Week 22
Inside an integrated circuit
A processor die the size of a fingernail holds billions of transistors and kilometres of wire. How is something that complex designed at all?
Why should I care?
Every algorithm you write eventually runs on a physical object whose wires have resistance, whose clock takes time to arrive and whose area costs money. Knowing the chip's architecture explains why some designs are fast, others hot, and others simply too expensive to make.
- Describe a chip's physical architecture: die, standard cells, rows, metal interconnect layers, I/O pads and packaging.
- Explain clock distribution, clock skew and why wires, not transistors, often limit speed.
- Outline the digital design flow from RTL to layout and the power–performance–area trade-offs at each step.
Predict
As transistors shrank over the last decades, which got relatively worse?
- Transistor switching speed
- The delay of long wires across the chip
- The number of transistors per mm²
- Nothing: everything improved
Guess first, then reveal
Thinner, closer wires have more resistance and capacitance per millimetre, so long wires got relatively slower while transistors got faster. Modern chips stack many metal layers, with thick upper layers for long routes and the clock, and insert repeaters to keep signals moving.
Discover
Open the Silicon Studio. Find (or build) a small logic block and look at how it is described: which parts are logic cells, which are wires and which are flip-flops on the clock. Note anything the studio says about delay or area, and list three things that would change if the block were twice as big.
What the interactive shows (text version)
A chip floorplan: rows of equal-height standard cells in the core, SRAM blocks beside them, I/O pads around the edge, and metal layers above. A clock tree branches from one input to every flip-flop; long wires are broken by repeaters.
Watch (optional)
Watch for: Watch for how transistors went from separate parts to millions on one die, and what Moore's law did and did not promise.
Explains how many transistors came to be printed on one die, and why shrinking them brought speed and cost benefits for decades.
“Integrated Circuits & Moore's Law: Crash Course Computer Science #17” by CrashCourse (opens YouTube; streaming video uses a lot of data)
The video is optional. Everything you need is in this lesson's text.
Understand
Die, cells and rows
The die is the rectangle of silicon that becomes one chip. Digital logic is built from a standard-cell library: pre-designed, pre-characterised gates and flip-flops (NAND2, INV, DFF, …) of equal height, placed in rows like bricks so their power rails line up. Memories (SRAM macros), analogue blocks and I/O pads around the edge complete the floorplan.
Interconnect
Cells are joined by many layers of metal interconnect (often 10 or more) separated by insulator and linked by vias. Lower layers are thin and dense for short local wires; upper layers are thick for long routes, power and clock. Wire delay grows roughly with the square of length for an unbuffered RC wire, so long nets are split with repeater buffers.
Clock distribution
Every flip-flop must see the clock edge at nearly the same moment. A clock tree (or mesh) of buffers fans the clock out from one source to millions of flip-flops. The difference in arrival times is skew; it eats into the time available for logic. The clock network switches every cycle, so it can take a large share of dynamic power, which is why designers clock-gate idle blocks.
The design flow
Engineers write RTL (register-transfer level code), simulate it, synthesise it into a netlist of standard cells, then place and route it, check timing (every path must fit in the clock period), power and manufacturing rules, and finally send the layout to the fab. Each step trades power, performance and area (PPA).
Explain it another way
Intuitive
A chip is a city: standard cells are identical terraced houses in streets, metal layers are roads stacked on flyovers, and the clock tree is a city-wide bell that must ring in every house at the same instant.
Technical
Static timing analysis checks setup: t_clk ≥ t_clk→Q + t_logic + t_wire + t_setup + t_skew, for every register-to-register path. Hold checks guard against data arriving too early. Synthesis maps RTL onto library cells; place-and-route optimises wirelength and timing.
Mathematical
A distributed RC wire of length L has delay ≈ 0.38·r·c·L², with r and c per unit length. Doubling L quadruples delay; splitting it into k buffered segments gives delay ∝ k·(L/k)² + k·t_buf = L²/k + k·t_buf, minimised at k ∝ L.
Applied
Large processors have separate clock domains and power domains so idle cores can be clock-gated or switched off; phone chips combine CPU cores, GPU, modem and accelerators on one die (a system-on-chip) to cut data movement.
Worked example 1
A register-to-register path has clock-to-Q 50 ps, logic 600 ps, wire 150 ps, setup 40 ps and skew 30 ps. What is the maximum clock frequency?
t_clk ≥ 50 + 600 + 150 + 40 + 30 = 870 ps, so f_max = 1/870 ps ≈ 1.15 GHz. Shortening the wire with better placement directly raises f.
Common mix-ups
Chip speed is limited only by how fast transistors switch.
✓ Wires, clock skew and setup times are part of every path; on modern chips long wires are often the limit.Engineers draw every transistor by hand.
✓ Digital chips are described in RTL and built from standard cells by synthesis and place-and-route tools; people design the architecture, constraints and verification.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
Write a one-page floorplan proposal for a small robot controller chip: a CPU core, 64 KB SRAM, a PWM block, an ADC and I/O pads. Sketch where each goes, which wires are long, where the clock enters and which blocks you would clock-gate, and justify each choice in PPA terms. (Conceptual only: no fabrication.)
Reflect
Which physical limit of chips would you most like to see solved, and what would it let you build?
Write your answer on paper or in your own notes. Lite never stores what you write.