Asynchronous Clock Domain Simulation Model With Random Delay Selection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current design simulation methods fail to accurately model the randomness of signal arrival across asynchronous clock domains, potentially masking functional bugs by assuming a fixed delay and neglecting metastability, which can lead to incorrect timing analysis in multi-cycle paths.

Innovation Solution

A simulation model with a three-stage delay network and a selector that randomly chooses between one, two, or three clock cycles delay, driven by a pseudo-random generator, to account for metastability and multi-cycle paths, ensuring accurate modeling of signal arrival and phase alignment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If a fixed two-clock delay is assumed in simulation, then verification simplicity is improved, but accuracy of timing analysis deteriorates

Engineering Contradiction:
Improveverification simplicityVSAvoidtiming analysis accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent applies dynamics by transforming the static fixed delay model into a dynamic variable delay model. The delay is no longer fixed at two clock cycles but varies randomly between 1-3 clock cycles based on metastability events, accurately reflecting real-world behavior while maintaining simulation tractability through controlled randomness.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the delay parameter from a fixed value (2 clocks) to a variable parameter that can take multiple values (1, 2, or 3 clocks) with different probabilities. This parameter transformation allows the simulation to explore multiple timing scenarios without requiring separate fixed-delay simulations for each case.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If metastability is neglected in simulation, then simulation complexity is reduced, but reliability of verification deteriorates

Engineering Contradiction:
Improvesimulation complexityVSAvoidverification reliability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent introduces an intermediary mechanism (the random delay model) that mediates between the simple fixed-delay assumption and the complex reality of metastability. This intermediary captures the essential effect of metastability (variable delay) without requiring full metastability analysis complexity, thus improving reliability while controlling simulation complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Stability of the object's composition

If phase alignment between clocks is fixed, then simulation determinism is improved, but accuracy of cross-domain signal modeling deteriorates

Engineering Contradiction:
Improvesimulation determinismVSAvoidsignal arrival accuracy
Core Design Contradiction:
Stability of the object's compositionVSMeasurement precision

Solution Approach 1:

The patent applies preliminary action by pre-determining the possible delay outcomes (1, 2, or 3 clock cycles) and their probabilities before simulation runs. This allows the simulation to incorporate phase alignment variability without requiring dynamic phase tracking during simulation, maintaining determinism while improving accuracy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS7382824B1Method and apparatus for accurate modeling of multi-domain clock interfaces
Publication Date: 2008.06.03 EMC IP HLDG CO LLC
  • US7382824B1 patent drawing
  • US7382824B1 patent drawing

AI summary

A simulation model for a system wherein data passes from a source domain to a destination domain, such source and destination domains operating with different, asynchronous clocks provided to the source and destination domains. The model includes a three-stage delay network fed by data from the source domain in response to clock provided to operate the source domain. The network operates in response to clocks provided to operate the destination domain. The model includes a selector having inputs fed by outputs of the three delays and an output fed to the destination domain, such selector randomly providing to the output of such selector outputs of the each of the delays from the three stage delay network. The selector output is randomly chosen only when the data in the source domain changes logical state from a logic low to high or from a logic high to low. Otherwise, if this were performed on every clock of the destination domain, the randomness would not be evenly distributed between all three-delay stages.