Digital electronics · Free course
FPGA Design and Implementation
A project-driven course in twelve weekly chapters: design digital hardware in VHDL and SystemVerilog, verify it, meet timing, then build DSP, communications, video, processor, AI and security blocks.
FPGAs let you build custom digital hardware without fabricating a chip. You describe the circuit in a hardware description language, a tool maps it onto a grid of configurable logic, and seconds later the hardware is running on your desk. This course takes you through that whole process.
The course follows a twelve-week plan, one chapter per week. It starts with how an FPGA is built, because good HDL code follows from knowing what the tools can map it onto. Weeks 3 to 6 cover synthesizable VHDL and SystemVerilog, verification with self-checking testbenches and Python (cocotb), timing closure and safe clock domain crossing.
The second half applies those skills to the jobs FPGAs do in industry: fixed-point DSP and FIR filters, communications blocks such as DDS, CRC, a UART and digital modulation, streaming video and image processing, soft RISC-V processors and high-level synthesis, quantised neural-network inference, and hardware security. Every week adds a block to one growing system.
Who it is for
Electronics and computer engineering students, embedded software engineers moving into hardware, and working engineers who want a structured refresher.
Hardware
No board is required for most lessons; every example runs in a free simulator. For the hardware steps, any low-cost board works, for example a Digilent Basys 3 (AMD Artix-7), a Terasic DE10-Lite (Intel MAX 10) or an iCEBreaker (Lattice iCE40).
Software
Icarus Verilog or Verilator for simulation, plus your FPGA vendor's tool (most offer a free edition or free licence for smaller devices; check the vendor site for current terms) or the open-source Yosys and nextpnr flow.
Syllabus
10 modules · 24 lessons · 20 h 35 minIntroduction and architecture
3 lessons · 1 h 50 min- 1What is an FPGA? Programmable hardware explainedWhat an FPGA is, how it differs from a microcontroller, an ASIC and a GPU, where FPGAs are used, the main vendors, and how the configuration is stored.beginner30 min
- 2FPGA architecture: LUTs, routing, block RAM and DSPHow an FPGA is built inside: look-up tables, flip-flops, carry chains, routing, block RAM, DSP slices, clock networks, I/O banks and configuration memory.beginner40 min
- 3The FPGA design flow: from RTL to bitstreamThe FPGA design flow step by step: simulation, synthesis, place and route, timing analysis, bitstream and programming, with Vivado, Quartus and Yosys/nextpnr.beginner40 min
Hardware description languages
4 lessons · 2 h 50 min- 4Verilog and SystemVerilog for synthesisWrite synthesizable Verilog and SystemVerilog: modules, ports, parameters, logic, always_ff and always_comb, blocking vs non-blocking assignment and generate.beginner45 min
- 5VHDL basics for FPGA designLearn the VHDL you need for FPGA work: entity and architecture, numeric_std, std_logic, signals vs variables, processes, generics and type conversions.beginner40 min
- 6Combinational logic in Verilog and SystemVerilogWrite muxes, decoders, priority encoders, comparators and adders for FPGAs, and learn to avoid latches, combinational loops and internal tri-states.beginner40 min
- 7Sequential logic: registers, counters and resetsBuild FPGA sequential logic: flip-flops, clock enables, resets, counters, tick generators, shift registers, edge detectors, a debouncer and an LED blinker.beginner45 min
Synchronous design and verification
3 lessons · 2 h 30 min- 8Finite state machines in SystemVerilogDesign Moore and Mealy state machines in SystemVerilog: enum states, two-process and one-process style, registered outputs, encoding and safe FSMs.intermediate45 min
- 9Self-checking testbenches in SystemVerilogWrite self-checking SystemVerilog testbenches: clock and reset, tasks, reference models, random stimulus, waveforms and assertions, run in Icarus and Verilator.beginner50 min
- 10cocotb tutorial: Python testbenches for FPGA designsVerify Verilog and SystemVerilog designs from Python with cocotb 2.x: clocks, triggers, NumPy reference models, scoreboards and pytest with Icarus Verilog.intermediate55 min
Timing, clocks and implementation
3 lessons · 2 h 30 min- 11Static timing analysis and timing closure for FPGAsHow static timing analysis checks setup and hold, how to write SDC and XDC timing constraints, read WNS, TNS and WHS in a timing report, and fix failing paths.intermediate50 min
- 12Clock domain crossing: synchronisers, Gray code, FIFOsMove signals safely between FPGA clock domains: metastability and MTBF, two-flop synchronisers, pulse and handshake crossings, async FIFOs, resets, constraints.advanced55 min
- 13FPGA implementation and hardware debugRead synthesis, place-and-route and timing reports, fix common implementation problems, and debug on the board with ILA, Signal Tap, LEDs and a checklist.intermediate45 min
Arithmetic and DSP
2 lessons · 1 h 50 min- 14FPGA memory and DSP: block RAM, FIFOs and MACsInfer block RAM, distributed RAM and ROM in SystemVerilog, build a synchronous FIFO, and write multiply-accumulate and fixed-point code that maps to DSP slices.intermediate50 min
- 15FIR filters and CORDIC on FPGAsDesign FIR coefficients in Python, quantise them, build a transposed-form FIR in SystemVerilog, and compute sine, cosine and atan2 with a pipelined CORDIC.intermediate1 h
Communications
3 lessons · 3 h 10 min- 16DDS, LFSR and CRC on FPGAs: NCOs, PRBS and checksumsBuild a DDS from a phase accumulator and sine table, a Galois LFSR with maximal-length taps and a byte-wide CRC-16 or CRC-32 in SystemVerilog, tested in Python.intermediate55 min
- 17FPGA UART project: transmitter, receiver and echoBuild a UART in SystemVerilog: 8N1 framing, baud rate from the system clock, TX and RX state machines, a loopback testbench and a board echo test.intermediate1 h 15 min
- 18Digital modulation on an FPGA: BPSK and QPSKMap bits to BPSK and QPSK symbols with Gray coding, shape them with a root-raised-cosine FIR, mix them onto a carrier with an NCO, and check BER against theory.intermediate1 h
Video and image processing
2 lessons · 2 h- 19FPGA video timing and HDMI outputGenerate VESA 640x480 and 1280x720 video timing in SystemVerilog, draw a test pattern, and drive HDMI through a TFP410 or with TMDS encoding inside the FPGA.intermediate1 h
- 20Streaming image processing on an FPGA: Sobel edgesProcess video one pixel per clock: grayscale in fixed point, line buffers in block RAM, a 3x3 window, Sobel edges, border handling, latency and a NumPy check.intermediate1 h
Processors and HLS
2 lessons · 1 h 55 min- 21Soft processors, RISC-V and AXI4-Lite on FPGAsWhy FPGA designs include a CPU, how RISC-V names its ISA variants, and how to build an AXI4-Lite register file that lets C code control a hardware block.intermediate1 h
- 22High-level synthesis for FPGAs: C++ to RTL with pragmasHow HLS tools turn C++ into hardware: scheduling, latency and initiation interval, loop pipelining, unrolling, array partitioning, dataflow and AXI interfaces.intermediate55 min
AI on FPGAs
1 lessons · 1 hFrequently asked questions
Do I need an FPGA board to take this course?
No. Every lesson can be completed in a free simulator. A board is only needed if you want to run the UART project on real hardware, and any low-cost development board will do.
Should I learn Verilog or VHDL first?
Either works, and the concepts transfer directly. The course uses SystemVerilog for most examples because it is common in industry and in open-source tools, and shows VHDL equivalents for the core constructs.
What background do I need?
Basic digital logic (gates, binary numbers, flip-flops) and some experience with any programming language. Lesson 1 and the glossary cover the terms you need.
Is the course free?
Yes. All lessons, quizzes and code downloads are free to use.
Latest FPGA Design news
All news →- 5 of the Lowest-Power FPGA Dev Kits Available Today
- 8 FPGA Standouts at electronica 2026
- Microchip Expands RT PolarFire® FPGA Portfolio with New Spaceflight Qualifications
- Tektronix Unveils Low Cost Scope With 12-Bit ADC and Built-In Bode Plots
- Altera Agilex 27 FPGA & SoC family features up to 17.6M logic elements, Cortex-A720/A-520 cores, 256 Gbps SerDes, PCIe 7.0
- FPGA to GPU over 100G RoCE: a live beamforming demo
Upcoming events
Calendar →- conference7–10 Dec 2026IEEE FPT 2026: International Conference on Field-Programmable TechnologyHonolulu, Hawaii, USA
Follow the FPGA Design course
Get an email when new lessons, projects and exercises are added.