All tracksRTL · Beginner
Combinational RTL
Write synthesizable combinational logic in Verilog. Understand when synthesis infers a latch and how to prevent it.
What you will learn
Combinational RTL is the foundation of all synthesizable Verilog. This track covers:
- always @(*) and always_comb
- if-else chains, nested conditionals, case, casez, casex
- unique case and priority case (SystemVerilog)
- Priority vs. parallel logic and the synthesis difference
- Incomplete case: Yosys auto-detects inferred latch
- MUX, decoder, encoder, comparator and parity generator in RTL
- Reduction operators
15 problems in 5 sections
15 problems in 5 sections