Metastability Insertion Using X-State in RTL Simulation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for simulating metastable events in digital designs are computationally intensive and slow, limiting their ability to accurately assess the impact of such events early in the design cycle, and often fail to visualize the non-deterministic behavior caused by glitches, asynchronous resets, and clock domain crossing violations.

Innovation Solution

The Metastability Insertion through X-state (MIX) technique introduces a non-deterministic X-state into circuit outputs during RTL simulation, maintaining it for a specified time and then randomly resolving it, allowing designers to visualize and address metastable issues more effectively, and can be implemented in various hardware verification languages and environments.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If standard delay format (SDF) back annotated gate simulations with timing checks are used to evaluate metastability, then measurement precision is improved, but productivity deteriorates due to computational intensity and slow simulation speed

Engineering Contradiction:
Improvemetastability evaluation accuracyVSAvoidsimulation speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent uses lightweight, simplified circuit models instead of full physical design models for metastability simulation. These simplified models are computationally inexpensive and can be executed quickly during RTL simulation, sacrificing some physical accuracy for dramatically improved simulation speed and early design cycle usability.

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

2Measurement precision

If physical design-based simulation is used for metastability analysis, then measurement precision is improved, but loss of time increases because it can only be run during end phases of design cycle

Engineering Contradiction:
Improvemetastability assessment accuracyVSAvoiddesign cycle timing
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent enables metastability simulation to be performed at the RTL design phase, which is preliminary to physical design. By using simplified circuit models that do not require physical design artifacts, the simulation can be conducted early in the design cycle, allowing designers to identify and fix metastability issues before committing to physical implementation.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If simplified models are used for early design cycle simulation, then productivity is improved, but measurement precision deteriorates

Engineering Contradiction:
Improvesimulation efficiencyVSAvoidmetastability evaluation accuracy
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The patent applies simplified circuit models specifically to metastability evaluation while maintaining other aspects of design simulation fidelity. The simplification is localized to the metastability analysis function, allowing efficient simulation without compromising overall design accuracy for other purposes.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS10755010B2Metastability insertion using the X-state
Publication Date: 2020.08.25 ADVANCED MICRO DEVICES INC
  • US10755010B2 patent drawing
  • US10755010B2 patent drawing
  • US10755010B2 patent drawing

AI summary

An indeterminate state representative of a metastable state is inserted into an output signal of a circuit representation responsive to the circuit representation receiving a metastable triggering event during a register transfer language (RTL) simulation. The simulation view of the RTL has been modified to ensure that the indeterminate state is propagated through the circuit representations regardless of the input on which the indeterminate state appears. The indeterminate state is maintained for a programmable amount of time and responsive to expiration of the amount of time, the output signal is set to a random binary value.