Method and apparatus for determining a status of an asynchronous memory
Abstract
A method and apparatus for facilitating the determination of a status of an asynchronous memory (e.g., how full or empty the memory is). A write pointer to the memory is maintained in a first clock domain; a read pointer is maintained in a second clock domain. The pointers are maintained in a non-binary code format promoting minimum bit transitions as the pointers increment (e.g., Gray code). Each pointer is transmitted to the other clock domain through synchronizers. Each synchronizer comprises multiple sets of D flip-flops. In each clock domain, the write pointer and read pointer values are converted to mathematically useful formats (e.g., binary), and their difference is calculated. The difference indicates how much space in the memory is or is not used, and may be compared to a non-zero threshold.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 10.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of determining the status of an asynchronous memory, comprising: maintaining in a first clock domain a non-binary write pointer to an asynchronous memory; maintaining in a second clock domain a non-binary read pointer to the asynchronous memory; transferring a value of said non-binary write pointer to the second clock domain; transferring a value of said non-binary read pointer to the first clock domain; and calculating the difference between the value of said write pointer and the value of said read pointer to determine a status of the asynchronous memory.
- Claim 2Depends on #1
The method of claim 1 , further comprising: converting the value of said non-binary write pointer into binary; and converting the value of said non-binary read pointer into binary.
- Claim 3Depends on #1
The method of claim 1 , wherein one or more of the value of said non-binary write pointer a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗