# US 2010/0306426 A1 · Fifo buffer

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2010/0306426 A1
- Document ID: US20100306426A1
- Status: Published application
- Kind: A1
- Application number: 12/599,062
- Filed: 2008-05-14
- Published: 2010-12-02
- Earliest claimed: 2007-05-16
- Assignees: NXP B.V.
- Inventors: Johannes Boonstra; Sundaravaradan Rangarajan; Rajendra Kumar
- Web page: https://patentgrep.com/patent/US20100306426A1

## CPC

- G06F 5/12: Means for monitoring the fill level; Means for resolving contention, i.e. conflicts between simultaneous enqueue and dequeue operations
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A FIFO memory circuit is for interfacing between circuits with different clock domains. The circuit has a FIFO memory (10), a write pointer circuit (16) clocked by the clock of a first clock domain and controlling the memory location to which data is written, and a read pointer circuit clocked by the clock of a second clock domain and controlling the memory location from which data is read. The read and write pointer circuits use gray coding. The memory circuit further comprises a duplicate write pointer circuit (30) which has its write pointer address incremented synchronously with the write pointer circuit (16), and which has a starting write address selected such that the duplicate write pointer address lags behind the write pointer address circuit by a number of address locations corresponding to the size of the FIFO memory (10). A comparator (34) compares the read pointer circuit address with the duplicate write pointer circuit address for determining a full status of the FIFO memory.

## Claims

### Claim 1

A FIFO memory circuit for interfacing between circuits with different clock domains, comprising:
a FIFO memory;
a write pointer circuit clocked by a clock of a first clock domain and controlling a memory location to which data is written; and
a read pointer circuit clocked by a clock of a second clock domain and controlling a memory location from which data is read,
wherein the read and write pointer circuits use gray coding, and wherein the memory circuit further comprises a duplicate write pointer circuit which has its write pointer address incremented synchronously with the write pointer circuit, and which has a starting write address selected such that the duplicate write pointer address lags behind the write pointer address circuit by a number of address locations corresponding to a size of the FIFO memory, and wherein the memory circuit further comprises a comparator for comparing the read pointer circuit address with the duplicate write pointer circuit address for determining a full status of the FIFO memory.

### Claim 2 (depends on 1)

A memory circuit as claimed in claim 1, further comprising a resynchroniser for resynchronising the read pointer to the clock of the first clock domain, and wherein the comparator is for comparing the resynchronized read pointer circuit address with the duplicate write pointer circuit address.

### Claim 3 (depends on 1)

A memory circuit as claimed in claim 1, wherein the comparator comprises a circuit for detecting equality of the duplicate write pointer address and the read pointer address.

### Claim 4 (depends on 1)

A memory circuit as claimed claim 1, further comprising a second comparator for comparing the read pointer circuit address with the write pointer circuit address for determining an empty status of the FIFO memory.

### Claim 5 (depends on 4)

A memory circuit as claimed in claim 4, further comprising a resynchroniser for resynchronising the write pointer to the clock of the second clock domain, and wherein the second comparator is for comparing the resynchronized write pointer circuit address with the read pointer circuit address.

### Claim 6 (depends on 4)

A memory circuit as claimed in claim 4, wherein the comparator comprises a circuit for detecting equality of the write pointer address and the read pointer address.

### Claim 7

A FIFO memory circuit for interfacing between circuits with different clock domains, comprising:
a FIFO memory;
a write pointer circuit clocked by a clock of a first clock domain and controlling a memory location to which data is written; and
a read pointer circuit clocked by a clock of a second clock domain and controlling a memory location from which data is read,
wherein the read and write pointer circuits use gray coding, and wherein the memory circuit further comprises a first conversion circuit for converting the read pointer circuit address to a one-hot signal and for controlling the read address of the FIFO memory, and wherein the read and write pointer circuit gray coded values are used to obtain empty and full status information of the FIFO memory.

### Claim 8 (depends on 7)

A memory circuit as claimed in claim 7, wherein the first conversion circuit comprises a logic structure having AND gates, and a logic structure having an OR tree.

### Claim 9 (depends on 7)

A memory circuit as claimed in claim 7, further comprising a second conversion circuit for converting the write pointer circuit address to a one-hot signal and for controlling the write address of the FIFO memory.
