Digital Design & Verification (Verilog, SystemVerilog, VLSI)
Design and verify digital hardware in Verilog and SystemVerilog: RTL, testbenches, assertions, UVM, cocotb, timing and FPGA flows, on open-source tools.
43 lessons: 27 free with Pro answers, 15 with a free core and 1 with a free intro.
Examples run with Python 3.14.8 and Pyodide 314.0.7.
Who it is for
ECE, EEE and CS learners preparing for RTL design, design verification and FPGA roles, and software engineers moving into Python-based hardware verification.
What you will be able to do
- Write synthesisable RTL in Verilog and SystemVerilog and predict what synthesis builds from it
- Design state machines, pipelines, FIFOs and valid/ready interfaces that keep their throughput under backpressure
- Cross clock domains safely with synchronizers, handshakes and Gray-coded pointers, and check the crossings
- Plan verification and build self-checking testbenches with constrained random stimulus and functional coverage
- Write SystemVerilog assertions and prove properties of a design with formal tools
- Build UVM environments in SystemVerilog and Python testbenches with cocotb and pyuvm
- Lint, synthesise and time a design, and take it through an FPGA flow to a bitstream
- Read VHDL and explain each step of the open-source ASIC flow from RTL to GDS
- Answer design and verification interview questions with working designs, waveforms and numbers
Revise and practise
- Practice: every exercise and quiz (46 exercises, 43 quizzes)
- Digital Design & Verification (Verilog, SystemVerilog, VLSI) flashcards
Modules and lessons
What the labels mean
- Free lesson, Pro answers
- the whole lesson is free; the model answers to its interview questions open with a pass
- Free core, Pro depth
- the core of the lesson is free; its in-depth parts open with a pass
- Free intro, Pro
- the first part is free; the rest opens with a pass
- Pro
- opens with a Pro, Premium or Ultimate pass
Minutes are reading time: “8 of 20 min free” means 8 minutes of the lesson are free.
What a pass opens in this track
34 in-depth parts and 104 interview answers. The same pass opens every other track and every Pro tool.
- Module 1
Orientation: chips, roles and the open-source toolchain
How a chip goes from specification to silicon or a bitstream, who does each step, how hardware code differs from software, and an open-source toolchain on your own computer.
- How chips are designed and verified Free lesson, Pro answers: 20 minutes
- Thinking in hardware: concurrency and 4-state logic Free lesson, Pro answers: 20 minutes
- Module 2
Verilog and SystemVerilog for design: the language core
Modules and ports, data types and literals, expression width and signedness, combinational and sequential logic, the scheduler and its races, generate, packages, interfaces and first testbenches.
- Modules, ports, parameters and hierarchy Free lesson, Pro answers: 20 minutes
- Data types, literals and part-selects Free lesson, Pro answers: 20 minutes
- Operators, expression width and signedness Free lesson, Pro answers: 15 minutes
- Combinational logic with assign and always_comb Free lesson, Pro answers: 20 minutes
- Sequential logic, always_ff and nonblocking Free lesson, Pro answers: 20 minutes
- The event scheduler and race conditions Free lesson, Pro answers: 20 minutes
- Parameters, generate blocks and packages Free lesson, Pro answers: 15 minutes
- Structs, enums, unions and interfaces Free lesson, Pro answers: 15 minutes
- Arrays, memories and $readmemh Free lesson, Pro answers: 15 minutes
- Module 3
Synthesisable RTL style and building blocks
What synthesis builds from your code and where simulation and synthesis disagree, coding style, arithmetic and fixed point, counters and LFSRs, arbiters, and gate-level X-propagation.
- What synthesis builds, and sim-synth mismatches Free lesson, Pro answers: 15 minutes
- RTL coding style that scales Free lesson, Pro answers: 15 minutes
- Arithmetic datapaths and fixed point Free lesson, Pro answers: 15 minutes
- Counters, LFSRs, PWM and clock enables Free lesson, Pro answers: 20 minutes
- Muxes, encoders and round-robin arbiters Free lesson, Pro answers: 15 minutes
- Gate-level simulation and X-propagation Free lesson, Pro answers: 15 minutes
- Module 4
Finite-state machines in RTL
Coding state machines in SystemVerilog, a UART and SPI controller case study, and state encoding, safe recovery and state coverage.
- FSM coding styles in SystemVerilog Free lesson, Pro answers: 25 minutes
- FSM case study: UART and SPI controllers Free lesson, Pro answers: 20 minutes
- FSM encoding, safety and state coverage Free lesson, Pro answers: 20 minutes
- Module 5
Pipelines, handshakes, FIFOs and on-chip buses
Pipeline latency, throughput and stalls, valid/ready handshakes and skid buffers, FIFO depth sizing, and register blocks on APB, AXI4-Lite and Wishbone.
- Pipelining: latency, throughput and stalls Free lesson, Pro answers: 20 minutes
- Valid/ready handshakes and skid buffers Free core, Pro depth: 8 of 20 minutes free
- Synchronous FIFOs and FIFO depth sizing Free core, Pro depth: 7 of 20 minutes free
- Register blocks: APB, AXI4-Lite and Wishbone Free core, Pro depth: 7 of 20 minutes free
- Module 6
Clocks, resets and clock-domain crossing
Clock enables and gating, reset design, metastability and MTBF, synchronizers, multi-bit crossings with handshakes and Gray code, asynchronous FIFOs and CDC checks.
- Clocks for RTL designers: enables, gating, muxes Free lesson, Pro answers: 20 minutes
- Reset design and reset synchronizers Free core, Pro depth: 6 of 15 minutes free
- Metastability, MTBF and two-flop synchronizers Free core, Pro depth: 8 of 20 minutes free
- Multi-bit CDC: handshakes, pulses and Gray code Free core, Pro depth: 8 of 20 minutes free
- Module 11
Lint, synthesis, timing, power and test
Linting RTL, logic synthesis with Yosys, static timing analysis and SDC constraints, low-power techniques with UPF, and design for test with scan, ATPG and BIST.
- Linting RTL with Verilator, slang and svlint Free lesson, Pro answers: 15 minutes
- Logic synthesis with Yosys Free core, Pro depth: 6 of 15 minutes free
- Static timing analysis fundamentals Free core, Pro depth: 8 of 20 minutes free
- Low-power RTL techniques and UPF Free core, Pro depth: 6 of 15 minutes free
- Design for test: scan, ATPG and BIST Free core, Pro depth: 6 of 15 minutes free
- Module 12
The FPGA flow end to end
FPGA architecture for RTL designers, the iCE40 and ECP5 open-source flows from synthesis to bitstream, and bringing a design up on a board.
- FPGA architecture for RTL designers Free lesson, Pro answers: 20 minutes
- iCE40 flow: Yosys, nextpnr and IceStorm Free core, Pro depth: 6 of 15 minutes free
- ECP5 flow: constraints, PLLs and block RAM Free core, Pro depth: 7 of 20 minutes free
- FPGA bring-up and hardware debug Free core, Pro depth: 6 of 15 minutes free
- Module 13
The open-source ASIC flow (overview)
The ASIC flow from RTL to GDS, standard cells, Liberty files and SKY130 synthesis, and a walkthrough of the OpenROAD flow.
- The ASIC flow from RTL to GDS Free lesson, Pro answers: 15 minutes
- Standard cells, Liberty and SKY130 synthesis Free core, Pro depth: 6 of 15 minutes free
- Module 14
Reading VHDL and other hardware languages
Reading VHDL as a Verilog engineer, VHDL testbenches with OSVVM, VUnit and cocotb, and what Chisel, Amaranth, Bluespec and high-level synthesis offer.
- Reading VHDL as a Verilog engineer Free lesson, Pro answers: 15 minutes
- Chisel, Amaranth, Bluespec and HLS Free core, Pro depth: 7 of 20 minutes free
- Module 15
Interview preparation for design and verification roles
RTL design problems, verification topics, digital logic, timing and CDC puzzles, and mock interviews for design and verification roles.
- RTL design interview problems, solved and tested Free lesson, Pro answers: 20 minutes
- Digital logic, timing and CDC puzzles Free intro, Pro: 5 of 25 minutes free
Related tools
Official documentation
- IEEE 1800-2023: IEEE Standard for SystemVerilog, Unified Hardware Design, Specification, and Verification Language (IEEE Standards Association)
- IEEE 1800.2-2020: IEEE Standard for Universal Verification Methodology Language Reference Manual (IEEE Standards Association)
- IEEE 1076-2019: IEEE Standard for VHDL Language Reference Manual (IEEE Standards Association)
- Verilator documentation (Verilator)
- Icarus Verilog documentation (Icarus Verilog)
- Yosys Open SYnthesis Suite documentation (YosysHQ)
- cocotb 2.1.0 documentation (cocotb)