Drawing a billion switches
Before a chip is made of silicon, it is made of code, tests and a drawing so large no person could ever read it. How do a few thousand engineers design something with 200 billion parts and get it right the first time?
Picture the processor in your phone. It holds tens of billions of transistors, each one a tiny switch, and every one of them sits in exactly the right spot with exactly the right wires. Nobody drew them. No team could. If an engineer placed one transistor per second, without sleep, a single modern chip would take more than a thousand years.
Yet new chips appear every year, and many of them work the first time they are switched on. That is one of the quiet miracles of modern engineering. This chapter follows a chip from an idea in a document to the moment the first real piece of silicon comes back to the lab.
A chip is a drawing before it is a thing
Chapter 3 explained one transistor. Chapter 4 showed how transistors combine into logic gatestiny circuits that take one or two yes/no signals and produce a yes/no answer, such as AND, OR and NOT. Chip design is the work of putting billions of those gates in the right places with the right connections.
Engineers do not draw transistors. They write a description of how the chip should behave. Software then turns that description into a physical drawing: every transistor and every wire, on every layer of the chip.
The final output of all this work is one very large file. The factory uses it to make photomasksglass plates that each carry the pattern of one layer of the chip, like stencils for light. Chapter 7 shows how the factory uses them.

Think of planning a city. Architects first decide what each district is for. Engineers then draw every street, pipe and cable. Inspectors check that the plan follows the building code. Chip design has the same three stages, except that the "city" is smaller than a fingernail and holds billions of buildings.
If you write software, there is an even closer match. Chip design is a software project whose final release can never be patched. Much of what follows is the industry's answer to that one hard fact.
The design flow, step by step
SPECIFICATION ─► ARCHITECTURE ─► RTL CODE ─► VERIFICATION
"what" "blocks" "logic" "is it correct?"
│
┌────────────────────────────────────────────┘
▼
SYNTHESIS ─► PLACE AND ROUTE ─► TIMING & POWER ─► PHYSICAL
"gates" "positions and CHECKS VERIFICATION
wires" "fast enough?" "obeys fab rules?"
│
┌────────────────────────────────────────────┘
▼
TAPE-OUT ─► PHOTOMASK SET ─► FIRST SILICON ─► BRING-UP ─► PRODUCTION
"send file" "glass plates" "first chips" "test in lab"The steps look like a line, but in practice they overlap. Verification starts long before the code is finished, and layout experiments start while the architecture is still moving. A large project runs for two to four years.
Step 1: the specification
Every chip starts as a document called the specificationthe written description of what a chip must do, with targets for speed, power, size and cost. It says what the chip must do and sets targets for speed, power, area and price.
A specification for an AI chip might say: "Do 2,000 trillion operations a second. Use less than 700 watts. Connect to 192 gigabytes of memory." Every later decision is measured against lines like these.
Step 2: the architecture
Next, architects divide the chip into blocks, each with one job. Typical blocks are compute cores, cachea small, fast memory on the chip that keeps recently used data close to where it is needed, memory controllers and connections to the outside world.

Architects build computer models of the chip and try many different block plans on them. This is where the big bets are made. Too little cache, or too narrow a path to memory, can hold back the whole chip for its entire life. It is the hardware version of choosing a system's architecture before writing a line of code: cheap to change now, ruinously expensive later.
Step 3: RTL code
RTLregister transfer level: a way of describing a chip as registers (small stores of bits) and the logic that moves data between them on each clock tick is a description of the chip in a hardware language. The two main languages are Verilog and VHDL. Verilog and its modern extension SystemVerilog are the most common in industry.
RTL looks like software, but it differs in one deep way. A normal program is a list of steps that run one after another. RTL describes hardware, and all of the hardware runs at the same time.
Here is a tiny example in Verilog:
// An adder: on each tick of the clock, sum becomes a + b.
always @(posedge clk)
sum <= a + b;The line says: "every time the clocka signal that ticks billions of times a second and keeps every part of the chip in step ticks, put a + b into sum." There is no loop and no order. A large chip has millions of lines like this, all of them describing circuits that work in parallel.
Step 4: verification
Is the RTL correct? Answering that question is the largest part of chip design.
Verificationthe work of proving that a chip design does what the specification says, before any silicon is made takes about half of all project time. The long-running Wilson Research Group survey of the industry found that, on average, 53% of project time went to verification in 2018, and the share barely moved between 2012 and 2018. On the largest chips, many teams have more verification engineers than design engineers.
Why so much? A software bug can be fixed with an update. A hardware bug lives in the silicon. Fixing it means new photomasks, new wafers and months of waiting. That can cost tens of millions of dollars, and for a fast-moving product, the delay can matter even more than the money.
Engineers attack the problem from several sides at once, from pure software to an FPGAfield-programmable gate array: a chip whose logic can be rewired by software, so it can imitate another chip that imitates the real chip:
| Method | What it does |
|---|---|
| Simulation | Software runs the RTL with test inputs and compares the outputs with the correct answers. It is like running a test suite. |
| Formal verification | Mathematics proves that a block obeys a rule for every possible input, not just the ones someone thought to test. |
| Emulation | Special hardware runs the whole design, much slower than the real chip but far faster than simulation, fast enough to boot an operating system. |
| FPGA prototype | The design runs on an FPGA, so software teams can start before the real chip exists. |
Emulators are large, expensive machines. Most come from Cadence (Palladium), Synopsys (ZeBu) and Siemens EDA (Veloce).
Step 5: synthesis
Synthesissoftware that turns RTL code into a list of real logic gates and the connections between them is the chip designer's compiler. It reads the RTL and produces a netlista list of every gate in a design and every wire between them.
The gates come from a library of standard cellssmall, ready-made designs for one logic gate or one memory element, supplied by the factory, each with a known size, speed and power. Each cell has been characterised carefully by the factory, so the software knows exactly how fast and how hungry it is. If RTL is source code, standard cells are the instruction set the compiler targets.
Step 6: place and route
"Place" means putting each standard cell in a position on the chip. "Route" means drawing the wires between them. Software does both.

A modern chip has 10 to 20 layers of copper wiring stacked above the transistors (chapter 7 explains how they are built). The software must connect billions of points through those layers without a single short circuit, while keeping wires short and signals fast. It is one of the hardest optimisation problems that engineers solve routinely, and the tools that do it are a triumph of applied algorithms.
Step 7: timing and power
A chip keeps time with its clock. At 2 GHz, the clock ticks every half a nanoseconda billionth of a second; light travels about 30 cm in that time.
Every signal must travel through its gates and wires before the next tick. If one path is too slow, the chip gives wrong answers. Finding and fixing every slow path is called timing closurethe work of making every signal path in a chip fast enough for the target clock speed, and it can take months. Think of it as a performance budget, except that missing it by one picosecond on one path out of billions breaks the whole product.
Engineers also calculate power and heat. Too much current in a thin wire can slowly wear it away. Too much heat in one corner makes a hot spot.
Step 8: physical verification
The factory has thousands of rules for how a drawing may look. Two wires on the same layer, for example, must keep a minimum distance apart. Two checks make sure the drawing is ready:
- DRC (design rule checksoftware that confirms the layout obeys every one of the factory's geometric rules). Think of it as a very strict linter.
- LVS (layout versus schematicsoftware that confirms the drawn layout connects exactly the same gates as the netlist). It checks that the build matches the source: every wire joins the right points.
Step 9: tape-out
Tape-outthe moment a design team sends the finished chip drawing to the factory is the release day. The file usually uses a format called GDSII or its newer cousin OASIS, and for a large chip it can run to hundreds of gigabytes.
The name is a fossil from the 1970s and 1980s, when designs really did travel to the factory on reels of magnetic tape. Teams still celebrate it, often with cake.
Step 10: the photomask set
A mask shop uses the file to make one photomask for each patterned layer. A leading-edge chip needs somewhere between 60 and more than 100 of them.
A full mask set for a leading-edge process is extraordinarily expensive. Industry estimates for 3-nanometre-class chips range from about $15 million to $30 million or more. No official prices are published, so treat these as rough, unverified estimates. Every mistake that forces a new mask adds more.
Go deeper: why masks cost so much
A mask is a master copy. Any defect on it prints on every chip of every wafer that uses it, so masks are written with electron beams, inspected exhaustively and repaired where needed (chapter 7). An individual EUV mask for a 3 nm chip is commonly estimated at roughly $0.5–1 million. Masks for mature processes are far cheaper, often tens of thousands of dollars each. All of these are industry estimates; there are no public price lists.
Step 11: first silicon and bring-up
The factory makes the first wafers, which takes roughly three months. The first chips then go back to the design company's lab.
Bring-upthe work of switching on the first real chips, loading test software and checking that everything works is a tense and exciting time. Engineers apply power, run tests and measure speed and power. Usually they find some bugs. Small ones can often be worked around in software, or fixed by changing only one or two wiring layers, which needs only a few new masks. Large bugs need a respina new tape-out to fix a hardware bug, with a new set of masks.
Design teams call the first version "A0". The next is "A1" or "B0". A chip that works well enough to ship from A0 is a real triumph, and it happens more often than you might expect, which is a tribute to all that verification.
The PDK: the contract between designer and fab
How does a design team know what the factory can build? Through the PDKprocess design kit: the package of files a factory gives designers, describing exactly how its transistors and wires behave.
A PDK contains:
- The design rules, for DRC.
- Models of how the transistors behave, for simulation.
- The standard cell libraries.
- Data for every wiring layer, such as its electrical resistance.
A design is tied to one factory and one process. A chip designed for TSMC's N3 process cannot simply move to Samsung without a great deal of rework. If you write software, the PDK is like an SDK for one specific platform, and porting between platforms is a project in itself. This is one reason why a design company usually stays with one manufacturer for many years.
Who does what: five ways to be in the chip business
The industry has settled into five main kinds of company: the IDMintegrated device manufacturer: a company that designs chips and makes them in its own factories, the fabless designer, the foundrya company that manufactures chips designed by other companies, the IPintellectual property; here, ready-made designs for chip blocks, licensed to other companies company and the EDAelectronic design automation: the software used to design chips company. Each one is a specialisation that lets the others focus.
| Model | What they do | Examples |
|---|---|---|
| IDM (integrated device manufacturer) | Design and make their own chips | Intel, Samsung, Texas Instruments, Micron, SK hynix, Infineon |
| Fabless | Design chips but own no factories; a foundry makes them | NVIDIA, AMD, Apple, Qualcomm, Broadcom, MediaTek |
| Foundry | Make chips for other companies | TSMC, Samsung Foundry, Intel Foundry, GlobalFoundries, UMC, SMIC |
| IP (intellectual property) | Design reusable blocks and license them | Arm, Synopsys, Cadence, SiFive, Imagination |
| EDA (electronic design automation) | Make the design software | Synopsys, Cadence, Siemens EDA |
DESIGN MANUFACTURE
┌─────────────────────┐ ┌────────────────────┐
│ Fabless company │ file │ Foundry │
│ (NVIDIA, Apple ...) │ ──────► │ (TSMC, Samsung ...)│
│ uses EDA software │ │ makes wafers │
│ and licensed IP │ ◄────── │ │
└─────────────────────┘ chips └────────────────────┘
┌───────────────────────────────────────────────────┐
│ IDM (Intel, Samsung memory, Texas Instruments) │
│ does both inside one company │
└───────────────────────────────────────────────────┘Why the fabless model won at the leading edge
A leading-edge factory costs $20 billion or more (chapter 9). Only a company with enormous volume can keep one full. A foundry gathers orders from hundreds of customers, keeps its factories busy and uses the profits to build the next one.
The idea came from Morris Chang, who founded TSMC in Taiwan in 1987 as the first company devoted purely to making other people's chips. It was a bold bet at the time. Today it looks like one of the most important business ideas of the century: it let thousands of design companies exist without ever building a factory. NVIDIA, Apple and AMD all rely on TSMC, and TSMC makes most of the world's most advanced logic chips.
IP: buy blocks, don't design them
No chip company designs every block itself, any more than a software team writes its own database. It licenses standard blocks:
- CPU cores from Arm. Arm designs cores and the instruction set they speak. Apple, Qualcomm, Amazon and NVIDIA all use Arm designs or the Arm instruction set.
- Interface blocks from Synopsys, Cadence and others: PCIe, USB, and controllers for DDR and HBM memory.
- RISC-V cores. RISC-Van open instruction set that anyone can use without paying a licence fee began at the University of California, Berkeley, in 2010. SiFive and many others sell RISC-V core designs.
The IP company usually earns a licence fee up front plus a royaltya small payment for each chip the customer sells. It is a lot like a software library with a commercial licence.
EDA: the toolmakers
Three companies supply most of the world's chip design software:
- Synopsys (USA). It completed its purchase of Ansys, a maker of physics simulation software for heat, power and stress, in July 2025.
- Cadence (USA).
- Siemens EDA (Germany and USA), formerly Mentor Graphics, bought by Siemens in 2017.
Teams rarely switch tools. Their scripts, flows and hard-won skills depend on them, and the foundries certify specific tools for each process. That makes EDA a remarkably steady business, and it also means these three companies carry a great deal of responsibility: almost every chip in the world passes through their software.
What a chip design costs

The cost depends mostly on the process and the size of the chip. These are rough industry estimates, and different studies disagree:
| Chip type | Rough design cost | Team and time |
|---|---|---|
| Simple microcontroller, older process (40 nm or larger) | $5–30 million | 20–100 engineers, 1–2 years |
| Mid-range chip, 16/12 nm | $50–150 million | 100–300 engineers, about 2 years |
| Leading-edge AI chip or phone processor, 5/3 nm | $500 million or more | 500–2,000+ engineers, 2–4 years |
The leading-edge figure echoes the consulting firm IBS, which estimated about $590 million for a 3 nm design in 2022. Some engineers think IBS runs high; others point out that the biggest AI chips cost far more. Most of the money goes to people and software, not to the silicon itself.
Go deeper: a back-of-envelope team cost
Suppose 1,000 engineers work for 3 years, and each costs $200,000 a year once salary, benefits, offices and computers are included (an assumption). People alone cost 1,000 × 3 × $200,000 = $600 million. Add EDA licences, IP licences, emulators, compute for simulation and the mask set, and the total climbs further. Engineering costs vary a lot from region to region, which is one reason large chip companies run design centres in many countries.
Why this is hard
- Scale. A large chip has tens of billions of transistors. No one person understands all of it. The team divides the work into blocks, and the blocks must then work together perfectly.
- No second chance. A bug in silicon costs millions of dollars and months to fix, so verification takes about half the effort.
- Physics at tiny sizes. At 3 nm, wires have high resistance, transistors leak current, and signals disturb their neighbours. The tools must model every one of these effects.
- Tool and platform lock-in. A design depends on one foundry's PDK and on one or two EDA vendors' tools. Changing either is a project of its own.
- Cost of entry. A leading-edge design costs hundreds of millions of dollars before the first chip is sold.
A map of the main companies
| Company | Based in | Role | Note |
|---|---|---|---|
| Synopsys | USA | EDA software, IP blocks | One of the two largest EDA companies; bought Ansys in 2025 |
| Cadence | USA | EDA software, IP blocks | One of the two largest EDA companies; strong in emulation |
| Siemens EDA | Germany/USA | EDA software | Third largest; strong in physical verification (Calibre) |
| Arm | UK (majority owned by SoftBank) | CPU designs and instruction set | Its designs are in almost every phone |
| SiFive | USA | RISC-V CPU designs | A leader in commercial RISC-V cores |
| NVIDIA | USA | Fabless: GPUs and AI chips | The largest AI chip designer; uses TSMC |
| AMD | USA | Fabless: CPUs and GPUs | Spun off its factories in 2009; uses TSMC |
| Apple | USA | Fabless: phone and computer chips | One of TSMC's largest customers |
| Qualcomm | USA | Fabless: phone chips and modems | Uses TSMC and Samsung |
| Broadcom | USA | Fabless: networking and custom AI chips | Designs custom AI chips for large cloud companies |
| MediaTek | Taiwan | Fabless: phone and TV chips | A very high-volume designer |
| TSMC | Taiwan | Foundry | Makes most of the world's leading-edge logic chips |
| Samsung | South Korea | IDM and foundry | Makes memory and also makes chips for others |
| Intel | USA | IDM and foundry | Makes its own CPUs; opened Intel Foundry to customers |
| Texas Instruments | USA | IDM | Analog chips, made in its own factories |
A short history
- 1958–1959. Jack Kilby at Texas Instruments and Robert Noyce at Fairchild make the first integrated circuits. The first chips are drawn by hand.
- 1968. Noyce and Gordon Moore found Intel.
- 1971. The Intel 4004, about 2,300 transistors, laid out by hand.
- 1979–1980. Carver Mead and Lynn Conway publish Introduction to VLSI Systems. It shows that design can be separated from manufacturing, and universities around the world begin teaching chip design. Few books have changed an industry so much.
- 1980s. EDA companies appear: Mentor Graphics (1981), Synopsys (1986) and Cadence (1988). Verilog appears in 1984, and VHDL becomes a standard in 1987.
- 1987. Morris Chang founds TSMC, the first pure-play foundry, making the fabless model possible.
- 1990. Acorn, Apple and VLSI Technology set up Arm as a joint venture.
- 1993. NVIDIA is founded as a fabless company.
- 2009. AMD spins off its factories as GlobalFoundries and becomes fabless.
- 2010. RISC-V begins at the University of California, Berkeley.
- 2017. Siemens buys Mentor Graphics.
- 2025. Synopsys completes its purchase of Ansys.
Open questions
- Can AI design chips? Machine learning already helps with placement, routing and test generation, and language models are starting to write and check RTL. How much of the flow could they take on, and how would we verify a design that no human fully wrote?
- Will verification ever get cheaper? It has taken about half of project time for over a decade, even as tools improved. Formal methods, faster emulators and AI-generated tests all help. Could some breakthrough change the ratio?
- How open can hardware become? RISC-V and a few open-source PDKs for older processes let students and small teams design real chips. How far up toward the leading edge can open tools and open designs travel?
- What happens to cost as chips become chiplets? Splitting one huge chip into several smaller ones (chapter 11) lets teams reuse blocks and mix processes. Does that make design cheaper overall, or just move the difficulty into packaging?
- Shared masks for first samples. Multi-project wafersa service where many designs share one mask set and one run of wafers, so each pays only a fraction of the cost already let universities and small companies try ideas cheaply on older processes. Could the same idea make leading-edge experiments affordable?
What to remember
- Chip design turns an idea into a file: specification, architecture, RTL code, verification, synthesis, place and route, checks and tape-out.
- A chip is software that can never be patched, so verification takes about half of all project time.
- A leading-edge design costs hundreds of millions of dollars, mostly in engineers and software, and its mask set alone costs tens of millions.
- Fabless companies design and foundries manufacture. TSMC made that split possible in 1987.
- Three EDA companies and a handful of IP companies supply the tools and building blocks for almost every chip in the world.
Sources
- Siemens EDA, Verification Horizons blog (2019). "Part 8: The 2018 Wilson Research Group Functional Verification Study." Average 53% of IC/ASIC project time in verification; little change 2012–2018. https://blogs.sw.siemens.com/verificationhorizons/2019/01/29/part-8-the-2018-wilson-research-group-functional-verification-study/
- Semiconductor Engineering. "The Weather Report: 2018 Study On IC/ASIC Verification Trends." https://semiengineering.com/the-weather-report-2018-study-on-ic-asic-verification-trends
- ETNews (31 March 2022). "Increase in costs for smaller micro-processes." IBS estimate of up to $590 million to design a 3 nm chip. https://english.etnews.com/20220331200001
- Semiconductor Engineering. "Big Trouble At 3nm." IBS design-cost estimates and their range. https://semiengineering.com/big-trouble-at-3nm
- Synopsys (17 July 2025). "Synopsys Completes Acquisition of Ansys." Form 8-K exhibit. https://www.sec.gov/Archives/edgar/data/883241/000114036125026139/ef20051970_ex99-1.htm
- NVIDIA. Blackwell architecture: 208 billion transistors. https://www.nvidia.com/en-us/data-center/technologies/blackwell-architecture/
- Intel. "The Story of the Intel 4004." About 2,300 transistors, 1971. https://www.intel.com/content/www/us/en/history/museum-story-of-intel-4004.html
- Computer History Museum. "1987: TSMC founded" and Mead–Conway VLSI design revolution (1979–1980). https://www.computerhistory.org/siliconengine/
- RISC-V International. History of RISC-V (Berkeley, 2010). https://riscv.org/about/
- Mentor Graphics (Wikipedia summary, citing contemporary press): acquired by Siemens in 2017. https://en.wikipedia.org/wiki/Mentor_Graphics
- Arm. Company history (founded 1990 by Acorn, Apple and VLSI Technology). https://www.arm.com/company
Estimates in this chapter that rest on industry studies rather than published figures: design costs by node; team sizes; mask-set and per-mask prices; the per-engineer cost in the worked example; the three-month fab time for first silicon.
Previous: 4. Bits, bytes and logic · Next: 6. The building is the machine