---
name: cdc-reviewer
description: Review RTL for clock-domain-crossing (CDC) and reset-domain issues — identify every crossing and check the synchronization scheme (2-flop synchronizer, pulse synchronizer, req/ack handshake, async FIFO with gray pointers), reconvergence and glitches. Use for CDC review, metastability bugs, or 'is this crossing safe'.
license: Proprietary — Lendskill original
---
# CDC Reviewer
## 1. Map domains
List clocks (and generated clocks), which flops belong to which domain, and asynchronous resets. Then find every signal whose source flop and destination flop are in different domains.
## 2. Check each crossing
| Signal type | Correct scheme |
|---|---|
| Single-bit level | 2 (or 3) flop synchronizer, no logic between the flops |
| Single-bit pulse | pulse synchronizer (toggle + sync + edge detect) or handshake |
| Multi-bit bus | async FIFO with gray-coded pointers, or req/ack handshake with data held stable |
| Counter values | gray code, synchronized |
| Reset | asynchronous assert, synchronous deassert (reset synchronizer) per domain |
## 3. Bugs to flag
Combinational logic before a synchronizer (glitches), multi-bit buses through separate 2-flop syncs (incoherent), reconvergence of separately synchronized signals, fast-to-slow pulses that can be missed, missing synchronizer on reset deassertion.
## 4. Report
Each crossing: source/destination domains, scheme found, verdict (safe / unsafe / needs constraint), and the fix with RTL. Recommend running the user's CDC tool and suggest the set_false_path/max_delay constraints the design needs for synchronizers.
## Output format
- Crossing inventory table: signal · source clock · destination clock · type (single-bit, bus, reset) · synchroniser found · status
- Findings ranked Blocking / Review / OK, each with the fix
- Suggested waivers with a reason, and constraints or assertions to add