Learn FPGA design by example

A hands-on path from logic gates to a working ALU. Every lesson shows Verilog and VHDL, explains the ideas, and includes a real simulated waveform — generated by actually running the code. Then you can open any lesson in the playground, change it, and see your own waveform in seconds. No signup, no installs.

Basics

01 · Logic Gates

Where every design begins: describing combinational logic with `assign`.

02 · Multiplexers

The hardware `if`: routing one of several inputs to an output.

03 · Latches vs. Flip-Flops

The two kinds of memory — and why one of them is usually a bug.

04 · Counters

Your first real sequential circuit: a register plus an adder, in a loop.

05 · Shift Registers

Serial-to-parallel, parallel-to-serial, and the LED chaser.

Intermediate

06 · Adders

From one full adder to real arithmetic — and why you should just write `+`.

07 · Multipliers

Shift-and-add, DSP blocks, and the width rule everyone trips over.

08 · State Machines

Giving a circuit a memory of \"where it is\": a serial pattern detector.

Capstone

09 · Capstone: A Simple ALU

Everything so far, composed: muxes + adders + flags = a datapath.

Playground

The Verilog playground compiles and simulates your code with Icarus Verilog on our server and renders the waveform — the fastest way to try an idea without installing anything.