ChipFACTORYFoundations
Apply now
Foundations/STAGE 14
Foundations Track/STAGE 14
60 min End-to-End Capstone
SECTION 14 • CAPSTONE PROJECT

Now build something that is yours.

The Capstone Challenge • Slide 1

“Can you take an idea all the way from a problem statement to a physical chip?”

Sections 0–13 were a guided exploration of how semiconductors are conceived, modeled, synthesized, routed, verified, and fabricated. Section 14 is the beginning of your own journey.

The question is no longer “What is a chip?” It is: “What should YOUR chip do?”

The Complete ASIC Engineering Workflow:
PROBLEM→SPEC→RTL→VERIFY→SYNTHESIS→OPENROAD→TAPEOUT GDS
14.1 & 14.2•Problem Definition & Hardware Motivation

Start with a problem, not an RTL file

Standing before an empty text editor with the desire to “write some Verilog” is a terrible way to begin a chip. Great integrated circuits start by asking: Who needs this? What problem are we solving? Why does dedicated hardware make sense over a software microcontroller? (Slide 2).

Your first chip does not need to be a 64-bit multi-core CPU or an enormous GPU. A small, completely mastered design—such as a 4-way traffic light controller, a digital security lock, an 8-bit PWM generator, or a UART communications core—gives you 100% end-to-end mastery from idea to silicon.

Interactive Project Selection & Specification Workbench (14.1 & 14.2)

PROJECT CARD // ASICSPEC-V1Target: SkyWater 130nm (`sky130_fd_sc_hd`)

4-Way Traffic Light Controller

Autonomous traffic intersection with sensor triggers and emergency override

DIE AREA~1,850 µm²
TARGET CLK50 MHz
The Core Problem:

Orchestrate safe, deadlock-free traffic flow at a busy 4-way intersection with vehicle presence sensors and emergency vehicle priority.

Why Dedicated Hardware Makes Sense Over Software:

Requires guaranteed microsecond deterministic response and hardware-level safety locks that cannot hang or crash.

ESTIMATED GATES~140 Gates
OPERATING VOLTAGE1.8V IO / 1.2V Core
ESTIMATED POWER~0.45 mW
WRAPPER FITCaravel User Area
14.3, 14.4 & 14.5•Specification & Architectural Decomposition

What exactly should the chip do, and what hardware is needed?

Before typing code, you freeze the System Specification: the exact input pins, output buses, operating voltage, active clock edges, reset behavior, and corner cases (Slide 3).

Then you perform Architectural Block Decomposition (Slide 4 & 5). You partition the design into:

  • Sequential Memory: Flip-flop state registers and counter buffers.
  • Computation Datapaths: Adders, ALUs, magnitude comparators, and shifters.
  • Control Logic FSM: A Moore or Mealy Finite State Machine that orchestrates internal bus handshakes.

Architectural Block Decomposition & FSM Canvas (14.3, 14.4, 14.5)

Clock:Cycle #0
System Architecture • Internal Signal Flow:
01. I/O INTERFACE

Synchronizer & Pads

in_strobe:1
clk_50m:LOCKED
Filters input metastability and conditions clock.
02. CONTROL LOGIC

Finite State Machine (MOORE)

State:IDLE
Strobe:IDLE (0)
Orchestrates execution and generates control strobes.
03. COMPUTATION

4-Bit Datapath ALU

Operation:ADD (+1)
Result:0 (0x0)
Performs arithmetic, logic, and bit shifting.
04. STORAGE

Accumulator Register

Q_out:0000b
Write En:HOLD
Holds state across clock edges in flip-flop arrays.
FSM Architectural Thought Experiment: Moore vs. Mealy (Slide 5)
Moore Machine Architecture:

Output Dependence: Outputs depend solely on the current state register bits.

Output = Decode(State_Reg)

Operational Impact: Offers completely glitch-free, synchronous output generation for predictable, robust ASIC control logic.

Mealy Machine Architecture:

Output Dependence: Outputs depend on both the current state register AND immediate input signals.

Output = Decode(State_Reg, Inputs)

Operational Impact: Allows 0-cycle immediate reaction times, but introduces risk of asynchronous combinational logic glitches and long timing paths.

14.6, 14.7 & 14.8•RTL Modeling, Simulation & Debug Loop

Describe the hardware and prove that it works

RTL is a direct textual representation of physical hardware. When you write assign y = a & b;, you are creating physical PMOS and NMOS transistor networks on silicon (Slide 7).

Writing RTL is only the starting point. Hardware engineering is dominated by The Engineering Debug Loop (Slide 8 & 9): Write → Simulate → Fail → Debug → Fix → Re-Simulate. You write automated self-checking testbenches that verify reset conditions, normal traffic, and edge-case boundary scenarios.

RTL-to-Hardware Mapping & Verification Debug Loop (14.6, 14.7, 14.8)

Testbench Status:READY
RTL-to-Hardware Mapping • Verilog is Physical Silicon (Slide 7)Click code to inspect CMOS primitive
// SystemVerilog Source Code:
1: assign y = a & b; // 2-input AND gate
2: always_ff @(posedge clk or negedge rst_n) begin
3:   if (!rst_n) count <= 4'd0;
4:   else if (en) count <= count == 4'd2 ? 4'd0 : count + 1;
5: end
Physical Silicon Reality:

assign y = a & b; instantiates a CMOS 2-input AND standard cell (`sky130_fd_sc_hd__and2_1`).

Transistors: 6 (4 in NAND gate + 2 in Inverter stage)
Metal Layers: M1 routing for A, B inputs and Y output.
The Engineering Debug Loop • Waveform Analyzer (Slide 9)
Digital Waveform Trace (Cycle-by-Cycle Logic Analyzer):
Cycle #clkrst_nenableExpected QActual Simulated QAssertion Match
Cycle 000000 PASS
Cycle 111111 PASS
Cycle 201122 PASS
Cycle 311130 MISMATCH (Bug in RTL)
Cycle 401141 MISMATCH (Bug in RTL)
Cycle 511041 MISMATCH (Bug in RTL)
The 6 Steps of Hardware Debugging (Slide 9):
01. WRITERTL Code
02. SIMULATETestbench
03. FAILMismatch
04. DEBUGWaveforms
05. FIXEdit RTL
06. RE-SIMZero Bugs
14.9•Logic Synthesis & PPA Evaluation

Is our hardware practical?

A design that passes simulation is functionally correct, but is it viable on silicon? (Slide 10).

You run Logic Synthesis in Yosys against the SkyWater 130nm standard cell library (`sky130_fd_sc_hd`), mapping abstract behavioral equations to physical gates and measuring the PPA triad: Power (mW), Performance / Timing (F_max in MHz), and Silicon Die Area (μm²).

Logic Synthesis & PPA Optimization Dashboard (14.9 • Slide 10)

Compiler:Yosys + SkyWater 130nm
Microarchitectural Strategy • PPA Tuning:
Target Operating Clock Frequency:50 MHz (Period = 20.0 ns)
POWER CONSUMPTION
0.56 mWDynamic switching power at 50 MHz
Static Leakage:34 nW
Voltage VDD:1.20 V
PERFORMANCE & TIMING
61 MHzMaximum reachable clock frequency (F_max)
Critical Path:16.4 ns (8 gates)
Setup Slack:+3.6 ns (MET)
SILICON DIE AREA
1850 µm²Standard cell core silicon footprint
Gate Equivalents:140 GE
D-Flip Flops:8 DFFs
Synthesized Standard Cell Mapping (SkyWater 130nm `sky130_fd_sc_hd`):
LOGIC GATES (NAND/NOR)72 Cells
MULTIPLEXERS (MUX2)24 Cells
SEQUENTIAL (DFF)8 Cells
CLOCK BUFFERS4 Cells
14.10, 14.11 & 14.12•OpenROAD Physical Implementation & Tapeout

Can our design become a physical chip?

In the physical realm, your gate netlist enters OpenROAD (Slide 11 & 12). You construct the die floorplan and power grid, place millions of transistors into legalized standard cell rows, synthesize a balanced H-tree clock network (CTS) to kill clock skew, and pathfind multi-layer copper routing tracks (M1–M4).

Finally comes Signoff (Slide 13): checking Static Timing Analysis (STA), Design Rule Checking (DRC), and Layout Versus Schematic (LVS). Once certified, you export the golden GDSII stream database and transmit your chip to the foundry!

OpenROAD Physical Design & Signoff Engine (14.10, 14.11, 14.12)

Signoff Status: TAPEOUT READY
05. Golden SignoffDie: 100 µm × 100 µm (SkyWater 130nm)
Util: 65% | Gates: ~160 Cells

Exhaustive STA timing closure, geometric DRC rules, and LVS schematic matching.

Physical Tuning & Signoff:
Core Area Utilization:65% (Optimal)
Higher utilization saves die area but risks routing wire shorts and timing setup violations.
The Golden Signoff Triad (Slide 13):
01. STA Timing (Setup/Hold):+0.68 ns (PASS)
02. DRC Rule Deck:0 Violations (CLEAN)
03. LVS Equivalence:100.0% Match (EXACT)
GDSII TAPE-OUT STREAM CERTIFIEDLayout geometry frozen and ready for photolithography reticle generation.

The 10-Milestone Project Pipeline: From Idea to GDS (14.1 to 14.12)

Complete Lifecycle Framework
STAGE 01 // ConceptProblem Statement

Formal statement of user need, target application, and hardware justification.

Artifact: problem_definition.md
Generated Project Artifact Content (problem_definition.md):
# PROJECT PROBLEM DEFINITION
Problem: 4-way traffic intersection controller with vehicle detection and emergency priority.
Motivation: Microsecond deterministic response and hardware-level safety isolation.
Target Foundry: SkyWater 130nm Open PDK (sky130_fd_sc_hd).
The Complete Curriculum Map • Stages 00 to 14

You Have Climbed the Entire Mountain

Everything before this point was preparation. You started with the physics of electrons, discovered how circuits remember, built complete digital machines, described them in RTL, synthesized them into standard gates, placed wires on silicon, and followed your chip through wafer fabrication!

STAGE 00

Scale

Physical anatomy & scale of silicon

STAGE 01

Bits

Electricity & binary logic thresholds

STAGE 02

Logic

CMOS Boolean decision gates

STAGE 03

Math

Binary adders & computation units

STAGE 04

Memory

Latches, flip-flops & sequential storage

STAGE 05

State

Finite State Machines & time sequencing

STAGE 06

Machine

Architecture, datapaths & internal buses

STAGE 07

RTL

Hardware description languages (Verilog)

STAGE 08

Verify

Simulation, testbenches & waveforms

STAGE 09

Synthesis

Yosys logic mapping & standard cells

STAGE 10

PPA

Power, Performance & Area optimization

STAGE 11

Layout

OpenROAD floorplanning, placement & CTS

STAGE 12

Signoff

STA timing, DRC rules & LVS equivalence

STAGE 13

Silicon

Foundries, wafers, packaging & bring-up

STAGE 14

YOUR CHIP

From problem statement to live silicon

“You now have the map. The next step is to travel it yourself.”
Project Generator • Define Your Tapeout Target

Start Your First Chip Specification

Every semiconductor milestone begins with answering three foundational questions before writing a single line of code.

Inputs:
Outputs:
YOUR_DIE

The Course Ends Here. Your Chip Doesn't.

Now decide what yours should do.

You know how a chip is designed, simulated, synthesized, placed, routed, verified, and manufactured into physical silicon. The canvas is yours.