Codiode
All tracks
RTL · Advanced

Debug and Verification

Hunt bugs in broken RTL. Yosys latch detection and WaveformViewer make every bug visible and reproducible.

What you will learn

Debugging RTL is a daily skill on any hardware team. This track covers:

  • Non-blocking vs. blocking assignment bugs: find the wrong assignment
  • Inferred latch: Yosys flags it, fix the RTL
  • Off-by-one cycle bugs: identify in WaveformViewer
  • Missing reset: output undefined, find and fix
  • FSM deadlock and unreachable states
  • Wrong reset polarity and unconnected port causing undefined output
  • Counter wrapping incorrectly
19 problems in 7 sections
19 problems in 7 sections
Section 1

Blocking vs Nonblocking Assignments

2
01Debug: Blocking Assignment Race ConditionRTL15 GE02State Machine FactoringRTL25 GE
Section 2

Reset and Initialization Issues

2
03Asynchronous Active Low ResetRTL10 GE04Debug: Missing Edge in Sensitivity ListRTL15 GE
Section 3

Structural and Connectivity Bugs

1
05Port Width MismatchRTL15 GE
Section 4

Off By One and Timing Alignment

4
06Parameterized Pipeline with Valid SignalsRTL15 GE07Read First Single Port RAMRTL15 GE08Synchronous Rising Edge DetectorRTL10 GE09Pipeline Interlock on Data HazardRTL15 GE
Section 5

State Machine Output and Deadlock Bugs

2
10Registered vs Combinational OutputRTL10 GE11Two Phase Handshake ProtocolRTL25 GE
Section 6

Datapath and Arithmetic Edge Cases

1
12Signed versus Unsigned Comparison ALURTL15 GE
Section 7

Self Checking Testbenches

7
13Exhaustive Stimulus Generator for a Priority EncoderRTL10 GE14Clock and Reset GeneratorRTL10 GE15Parameterized Modulo N CounterRTL15 GE16Overlapping Sequence Detector CheckerRTL15 GE17Watchdog Timer for a Busy SignalRTL25 GE18Self-Test Checker for a Pipelined MultiplierRTL25 GE19Modulo-13 Counter MonitorRTL15 GE