Codiode
All tracks
RTL · Intermediate

Sequential RTL

Write clocked circuits correctly every time. Master non-blocking assignment, reset styles and flip-flop inference.

What you will learn

Sequential RTL is where most bugs hide. This track covers:

  • always @(posedge clk) pattern
  • Blocking (=) vs. non-blocking (<=): the core rule
  • Blocking assignment in sequential block as a race condition bug (DEBUG)
  • Synchronous and asynchronous reset flip-flops
  • Clock enable register, shift register, counter
  • D, T, JK flip-flop behavioural models
  • always_ff and always_latch (SystemVerilog)