Reset Domain Problems
The previous articles examined defects that exist within a single RTL module. This article analyzes reset domain defects that emerge when integrating multiple independent modules. Individually verified modules can fail when connected if their reset sequences do not align.
Reset Release as a Timing Event
Section 8.1 established the requirement for a consistent system reset strategy. Reset release is a physical timing event that does not occur instantaneously across a chip. Interconnect delays, clock tree skews, and synchronizer latencies cause different flip-flops to exit reset on different clock cycles. Even when modules share one primary reset input, local reset deassertion times vary.
Figure 1 illustrates an asymmetric reset release across two distinct clock domains. Module A exits reset after two cycles of its fast clock. Module B requires two cycles of its slow clock to exit reset. If Module A transmits data immediately upon release, Module B remains in reset. Consequently, Module B ignores valid transactions or captures corrupted data during power-up.
Common Reset Failure Modes
System integration exposes three frequent reset failure patterns:
-
Asymmetric deassertion across clock domains: Modules operating on different clock frequencies exit reset at different real-time instants. Engineers must implement a global reset coordinator or design interfaces that use two-way handshakes. Handshake protocols like valid-ready interfaces prevent data transfer until both receiver and transmitter assert ready states.
-
Unvalidated early output assumptions: Downstream logic often assumes that upstream module outputs become valid on the first post-reset clock cycle. However, internal pipeline registers require several clock cycles to fill after reset deassertion. Transmitter modules must provide an explicit output-valid flag rather than relying on assumed cycle counts.
-
Undocumented local reset overrides: Individual modules sometimes contain internal reset logic for debug or test modes. If local reset overrides are not documented, they can reset individual blocks during normal operation. Document all secondary reset sources at the top-level architecture specification.
Multi-Module Integration Checklist
Apply this verification checklist before validating integrated multi-module systems:
- Ensure each clock domain includes a dedicated two-stage reset synchronizer for deassertion.
- Confirm that inter-module communication protocols tolerate different reset release times.
- Verify that upstream modules assert an explicit data-valid signal when output pipelines become active.
- Document all local reset overrides, debug resets, and test-mode control signals.
Reset domain bugs often produce intermittent failures in physical hardware. These failures depend on clock jitter, power-supply ramp rates, and temperature variations. When a defect occurs intermittently during physical laboratory testing, inspect reset deassertion sequencing across domains.
Practice Exercise
Module A runs at 100 MHz and Module B runs at 33 MHz.
Both modules share a common reset signal.
Module A asserts data_valid on its first clock cycle after reset deassertion.
Module B requires two 33 MHz clock cycles to complete reset synchronization.
Identify the functional risk and propose an architectural solution.
Solution
Module B remains in reset for two 33 MHz clock periods (approximately 60 ns) after the master reset deasserts. Module A operates at 100 MHz (10 ns period) and transmits valid data immediately. Module A will send approximately six data words before Module B exits reset and begins monitoring the bus. Module B misses these initial data transfers.
To solve this problem, implement a two-way handshake.
Module A must hold data_valid low until Module B asserts a ready signal.
This handshake eliminates timing dependencies caused by asymmetric reset release.
Reset deassertion is an asynchronous timing event that differs across clock domains. Unit-level testbenches rarely expose reset domain mismatches between modules. Designers prevent reset integration failures by using synchronized reset trees and explicit handshake protocols. The next article analyzes multi-driver bus contention defects.