Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Computer science fundamentals

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 to read 11 modules

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

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.

  1. 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.

    1. How chips are designed and verified Beginner Free lesson, Pro answers: 20 minutes
    2. Thinking in hardware: concurrency and 4-state logic Beginner Free lesson, Pro answers: 20 minutes
  2. 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.

    1. Modules, ports, parameters and hierarchy Beginner Free lesson, Pro answers: 20 minutes
    2. Data types, literals and part-selects Beginner Free lesson, Pro answers: 20 minutes
    3. Operators, expression width and signedness Intermediate Free lesson, Pro answers: 15 minutes
    4. Combinational logic with assign and always_comb Beginner Free lesson, Pro answers: 20 minutes
    5. Sequential logic, always_ff and nonblocking Beginner Free lesson, Pro answers: 20 minutes
    6. The event scheduler and race conditions Intermediate Free lesson, Pro answers: 20 minutes
    7. Parameters, generate blocks and packages Intermediate Free lesson, Pro answers: 15 minutes
    8. Structs, enums, unions and interfaces Intermediate Free lesson, Pro answers: 15 minutes
    9. Arrays, memories and $readmemh Intermediate Free lesson, Pro answers: 15 minutes
  3. 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.

    1. What synthesis builds, and sim-synth mismatches Intermediate Free lesson, Pro answers: 15 minutes
    2. RTL coding style that scales Intermediate Free lesson, Pro answers: 15 minutes
    3. Arithmetic datapaths and fixed point Intermediate Free lesson, Pro answers: 15 minutes
    4. Counters, LFSRs, PWM and clock enables Beginner Free lesson, Pro answers: 20 minutes
    5. Muxes, encoders and round-robin arbiters Intermediate Free lesson, Pro answers: 15 minutes
    6. Gate-level simulation and X-propagation Advanced Free lesson, Pro answers: 15 minutes
  4. 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.

    1. FSM coding styles in SystemVerilog Intermediate Free lesson, Pro answers: 25 minutes
    2. FSM case study: UART and SPI controllers Intermediate Free lesson, Pro answers: 20 minutes
    3. FSM encoding, safety and state coverage Intermediate Free lesson, Pro answers: 20 minutes
  5. 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.

    1. Pipelining: latency, throughput and stalls Intermediate Free lesson, Pro answers: 20 minutes
    2. Valid/ready handshakes and skid buffers Intermediate Free core, Pro depth: 8 of 20 minutes free
    3. Synchronous FIFOs and FIFO depth sizing Intermediate Free core, Pro depth: 7 of 20 minutes free
    4. Register blocks: APB, AXI4-Lite and Wishbone Intermediate Free core, Pro depth: 7 of 20 minutes free
  6. 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.

    1. Clocks for RTL designers: enables, gating, muxes Advanced Free lesson, Pro answers: 20 minutes
    2. Reset design and reset synchronizers Intermediate Free core, Pro depth: 6 of 15 minutes free
    3. Metastability, MTBF and two-flop synchronizers Intermediate Free core, Pro depth: 8 of 20 minutes free
    4. Multi-bit CDC: handshakes, pulses and Gray code Advanced Free core, Pro depth: 8 of 20 minutes free
  7. 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.

    1. Linting RTL with Verilator, slang and svlint Beginner Free lesson, Pro answers: 15 minutes
    2. Logic synthesis with Yosys Intermediate Free core, Pro depth: 6 of 15 minutes free
    3. Static timing analysis fundamentals Intermediate Free core, Pro depth: 8 of 20 minutes free
    4. Low-power RTL techniques and UPF Intermediate Free core, Pro depth: 6 of 15 minutes free
    5. Design for test: scan, ATPG and BIST Intermediate Free core, Pro depth: 6 of 15 minutes free
  8. 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.

    1. FPGA architecture for RTL designers Beginner Free lesson, Pro answers: 20 minutes
    2. iCE40 flow: Yosys, nextpnr and IceStorm Beginner Free core, Pro depth: 6 of 15 minutes free
    3. ECP5 flow: constraints, PLLs and block RAM Intermediate Free core, Pro depth: 7 of 20 minutes free
    4. FPGA bring-up and hardware debug Intermediate Free core, Pro depth: 6 of 15 minutes free
  9. 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.

    1. The ASIC flow from RTL to GDS Intermediate Free lesson, Pro answers: 15 minutes
    2. Standard cells, Liberty and SKY130 synthesis Advanced Free core, Pro depth: 6 of 15 minutes free
  10. 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.

    1. Reading VHDL as a Verilog engineer Intermediate Free lesson, Pro answers: 15 minutes
    2. Chisel, Amaranth, Bluespec and HLS Advanced Free core, Pro depth: 7 of 20 minutes free
  11. 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.

    1. RTL design interview problems, solved and tested Intermediate Free lesson, Pro answers: 20 minutes
    2. Digital logic, timing and CDC puzzles Intermediate Free intro, Pro: 5 of 25 minutes free

Related tools

Official documentation

More in Computer science fundamentals

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.