Metastability effects simulation for a circuit description
Abstract
A circuit design that contains at least two clock domains is simulated using a novel system and method for injecting the effects of metastability. The system includes detectors for detecting, during simulation, when a clock in a transmit clock domain and a clock in a receive clock domain are aligned and when the input of a register receiving a clock-domain-crossing signal is changing. The system includes coverage monitors for measuring, during simulation, statistics related to metastability injection. The system accurately models the effects of metastability by, at appropriate times during simulation, pseudo-randomly inverting outputs of registers receiving clock-domain-crossing signals. By accurately modeling the effects of metastability, errors in the circuit design can be detected while simulating a pre-existing simulation test. The simulation with metastability effects injection is repeatable and requires no modification of pre-existing RTL design files or simulation test files.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 57.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for verifying a circuit design, the method comprising: automatically analyzing a description of the circuit design to determine a receiving register receiving a clock domain crossing signal on at least one input; automatically generating a metastability effects generator for injecting metastability effects onto an output of said receiving register based on the analysis; and controlling said metastability effects generator to inject metastability effects during a simulation test.
- Claim 2Depends on #1
The method of claim 1 , further comprising automatically identifying a transmit clock domain associated with a transmit clock and a receive clock domain associated with a receive clock, said receive clock clocking said receiving register.
- Claim 3Depends on #2
The method of claim 2 , further comprising automatically identifying a clock domain crossing signal that crosses from said
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 57 total)
References Cited — Backward Prior Art (10)
Non-Patent Literature (5)
- "VIS: A system for Verification and Synthesis"; The VIS Group, In The Proceedings of the 8th International Conference on Computer Aided Verification, pp. 428-432; Springer Lecture Notes in Computer Science, #1102; Edited by R. Alur and T. Henzinger, New Brunswick, NJ, Jul. 1996; pp. 1-2.
- Author: Ran Ginosar, "Fourteen Ways to Fool Your Synchronizer", ASYNC'03), (C) 2003 IEEE Computer Society, 8 pages.
- Authors, Chris Ka-kei Kwok, Vijay Vardhan Gupta and Tai Ly, . "Using Assertion-Based Verification To Verify Clock Domain Crossing Signals", DVCon, Feb. 2003, 9 pages.
- Authors: Tai Ly, Neil Hand and Chris Ka-Kei Kwok, "Formally Verifying Clock Domain Crossing Jitter Using Assertion-Based Verification", DVCon, Feb. 2004, 5 pages.
- Chris Ka-Kei Kwok et al.; "Using Assertion-Based Verification to Verify Clock Domain Crossing Signals"; Design & Verification Conference (DVCon) Technical Paper; Feb. 2003; DVCon; pp. 1-9.