Skip to content
All SystemVerilog labs
  1. SystemVerilog RTL Foundations6

  2. Strong Typing & Data Modeling6

  3. Parameters, Packages & Reuse5

  4. Interfaces & Modports5

  5. Assertions & Temporal Reasoning7

  6. Testbench Architecture5

  7. OOP Verification Foundations6

  8. Concurrency & Communication5

  9. Constrained Random6

  10. Functional Coverage5

  11. Integrated Verification Projects4

SystemVerilog RTL FoundationsPublished

always_comb, always_ff and always_latch

Write the same block three ways and compare what each one asks the tool for — then trigger a real inferred-latch warning and fix it by making the intent explicit.

Beginner~35 minSelf-checking testbench1 challenge
Concepts covered
  • always_comb
  • always_ff
  • Latch inference
This lab is part of SystemVerilog Labs

Unlock the complete lab — language semantics, hardware meaning, complete SystemVerilog source, a self-checking testbench, compiler-diagnostic evidence, debugging walkthroughs and challenges — with the SystemVerilog Labs package.

  • Language semantics & hardware meaning
  • Complete, runnable SystemVerilog
  • Self-checking testbench
  • Compiler-diagnostic evidence
  • Debugging walkthroughs
  • 1 progressive challenge
Back to all labs