Skip to content
Tactiverge

School/✦ Research Engineer/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?

About 45 min · 3 goals · Checked by automated tests

1.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.

2.Watch

→ 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.

Length: see YouTube · captions on YouTube · source

Nothing loads from YouTube until you press play.

The video is optional: everything you need is also in the lesson text and the interactive.

3.Predict

As transistors shrank over the last decades, which got relatively worse?

Guess first. Being wrong here is how the surprise works.

4.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.

Can't use the interactive? Read a description instead

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.

5.Checkpoint: guided practice

Check what you just discovered before going on. Hints appear after a wrong answer.

Practice 1

Why are standard cells all the same height?

6.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

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.

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.

7.Practice on your own

Practice, not a test. Wrong answers get a hint and another try.

Practice 2

A critical path totals 400 ps of logic and wire, plus 60 ps clock-to-Q, 40 ps setup and 25 ps skew. Maximum clock frequency in GHz?

GHz

Practice 3

An unbuffered wire 1 mm long has 20 ps delay. Using the RC model (delay ∝ L²), what is the delay of a 3 mm wire?

ps

Practice 4

Why does clock gating an idle block save power?

Practice 5 · a fresh version every time

A chip switches an effective capacitance of 1 nF with activity factor α = 0.3, at 0.7 V and 2 GHz. What is its dynamic power in watts?

W

8.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.)

9.Reflect

Concepts: Integrated circuits: architecture, manufacturing and yield · Logic gates and Boolean algebra · Sequential logic and memory