# US 2026/0169687 A1 · Clock domain crossing queue structure

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

- Number: US 2026/0169687 A1
- Document ID: US20260169687A1
- Status: Published application
- Kind: A1
- Application number: 19/222,079
- Filed: 2025-05-29
- Published: 2026-06-18
- Earliest claimed: 2024-12-12
- Assignees: Shanghai Zhaoxin Semiconductor Co., Ltd.
- Applicants: Shanghai Zhaoxin Semiconductor Co., Ltd.
- Inventors: Zenghui LI; Qunyi YANG; Yang JIAO; Xiaofang TANG
- Web page: https://patentgrep.com/patent/US20260169687A1

## CPC

- G06F 5/065: {Partitioned buffers, e.g. allowing multiple independent queues, bidirectional FIFO's}
- G06F 1/12: Synchronisation of different clock signals {provided by a plurality of clock generators}
- G06F 5/06: for changing the speed of data flow, i.e. speed regularising {or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor (G06F7/78 takes precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A clock domain crossing queue structure is provided. The clock domain crossing queue structure used to perform a clock domain crossing data transmission includes a clock domain crossing First In First Out (FIFO) and a first generating module. The clock domain crossing First In First Out is located in a slow clock domain and configured to synchronize combined signals of a plurality of signals corresponding to a plurality of data entries processed in the slow clock domain to a fast clock domain. The slow clock domain is a slower clock cycle of a read clock cycle and a write clock cycle and the fast clock cycle domain is a faster clock cycle of the read clock cycle and the write clock cycle. The first generating module is located in the fast clock cycle and configured to generate a first flag signal.

## Claims

### Claim 1

A clock domain crossing queue structure, used to perform a clock domain crossing data transmission, wherein the clock domain crossing queue structure comprises:
a clock domain crossing First In First Out (FIFO), located in a slow clock domain and configured to synchronize combined signals of a plurality of signals corresponding to a plurality of data entries processed in the slow clock domain to a fast clock domain, wherein the slow clock domain is a slower clock cycle of a read clock cycle and a write clock cycle and the fast clock domain is a faster clock cycle of the read clock cycle and the write clock cycle; and
a first generating module, located in the fast clock cycle and configured to generate a first flag signal indicating an empty/full state of the clock domain crossing queue based on a signal corresponding to a data entry transmitted in the fast clock domain and the combined signals synchronized from the clock domain crossing FIFO.

### Claim 2 (depends on 1)

The clock domain crossing queue structure as claimed in claim 1, further comprising:
a first counting module, located in the fast clock domain and configured to perform counting on the signal to obtain a first count value;
a synchronization module, located in the fast clock domain and configured to synchronize the first count value to the slow clock domain;
a second counting module, located in the slow clock domain and configured to perform counting on the plurality of signals to obtain a second count value; and
a second generating module, configured to generate a second flag signal indicating the empty/full state of the clock domain crossing queue based on the second count value and the first count value synchronized from the fast clock domain.

### Claim 3 (depends on 1)

The clock domain crossing queue structure as claimed in claim 1, wherein a width of the clock domain crossing FIFO is determined based on frequency difference between the read clock cycle and the write clock cycle, and bandwidth requirement for the clock domain crossing data transmission using the clock domain crossing queue structure.

### Claim 4 (depends on 3)

The clock domain crossing queue structure as claimed in claim 3, wherein the bandwidth requirement is that when a bandwidth of data transmission for the read clock cycle is equal to a bandwidth of data transmission for the write clock cycle, the width of the clock domain crossing FIFO is equal to a sum of 1 and a multiple of the frequency difference of the slower clock cycle of the read clock cycle and the write clock cycle.

### Claim 5 (depends on 3)

The clock domain crossing queue structure as claimed in claim 3, wherein the width of the clock domain crossing FIFO is equal to 2, 3, or 4.

### Claim 6 (depends on 2)

The clock domain crossing queue structure as claimed in claim 2, wherein when the slow clock domain is the read clock cycle and the fast clock domain is the write clock cycle:
the clock domain crossing FIFO synchronizes combined signals of a plurality of pop signals corresponding to a plurality of data entries popping within the read clock cycle to the write clock cycle;
the first counting module counts a data entry pushing within the write clock cycle to obtain a write pointer as the first count value; and
the first generating module compares the write pointer with the combined signals synchronized from the read clock cycle to generate a full flag signal indicating that the clock domain crossing queue is full.

### Claim 7 (depends on 6)

The clock domain crossing queue structure as claimed in claim 6, wherein when the slow clock domain is the read clock cycle and the fast clock domain is the write clock cycle:
the synchronization module synchronizes the write pointer to the read clock cycle;
the second counting module counts the plurality of pop signals to obtain a read pointer as the second count value; and
the second generating module compares the read pointer with the write pointer synchronized from the write clock cycle to generate an empty flag signal indicating that the clock domain crossing queue is empty and a flag signal indicating that the clock domain crossing queue is about to be empty.

### Claim 8 (depends on 2)

The clock domain crossing queue structure as claimed in claim 2, wherein when the slow clock domain is the write clock cycle and the fast clock domain is the read clock cycle:
the clock domain crossing FIFO synchronizes combined signals of a plurality of push signals corresponding to a plurality of data entries pushing within the write clock cycle to the read clock cycle;
the first counting module counts a data entry popping within the read clock cycle to obtain a read pointer; and
the first generating module compares the read pointer with the combined signals synchronized from the write clock cycle to generate an empty flag signal indicating that the clock domain crossing queue is empty.

### Claim 9 (depends on 8)

The clock domain crossing queue structure as claimed in claim 8, wherein when the slow clock domain is the write clock cycle and the fast clock domain is the read clock cycle:
the synchronization module synchronizes the read pointer to the write clock cycle;
the second counting module counts the plurality of push signals to obtain a write pointer as the second count value; and
the second generating module compares the write pointer with the read pointer synchronized from the read clock cycle to generate a full flag signal indicating that the clock domain crossing queue is full and a flag signal indicating that the clock domain crossing queue is about to be full.
