# US 2009/0261869 A1 · Clock domain data transfer device and methods thereof

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

- Number: US 2009/0261869 A1
- Document ID: US20090261869A1
- Status: Published application
- Kind: A1
- Application number: 12/104,246
- Filed: 2008-04-16
- Published: 2009-10-22
- Earliest claimed: 2008-04-16
- Assignees: Advanced Micro Devices, Inc.
- Inventors: Kevin GILLESPIE; Guhan KRISHNAN; Maurice STEINMAN; Spencer GOLD; Bill K.C. KWAN
- Web page: https://patentgrep.com/patent/US20090261869A1

## CPC

- G06F 1/12: Synchronisation of different clock signals {provided by a plurality of clock generators}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Two clock domains of a data processing device are each synchronized with a different clock signal. The clock signals are generated by clock generation logic. The clock generation logic also generates a transfer enable signal based on the relative frequency of each clock signal to indicate when data can be transferred between the clock domains. Further, as the relative frequency of the clock signals change, the timing of the transfer enable signal also changes to ensure reliable data transfer.

## Claims

### Claim 1

A method, comprising:
receiving a first clock signal at a first synchronous logic module of a device;
receiving a second clock signal at a second synchronous logic module of the device;
asserting an enable signal based on a first transition of the first clock signal substantially corresponding to a second transition of the second clock signal; and
transferring data from the first synchronous logic module to the second synchronous logic module in response to assertion of the enable signal.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first transition is of a first type and the second transition is of a second type.

### Claim 3 (depends on 2)

The method of claim 2, wherein the first type is a rising transition and the second type is a falling transition.

### Claim 4 (depends on 1)

The method of claim 1, further comprising transferring data from the second synchronous logic module to the first synchronous logic module in response to assertion of the enable signal.

### Claim 5 (depends on 1)

The method of claim 1, wherein asserting the enable signal comprises asserting the enable signal at a first time, and further comprising:
asserting the enable signal at a second time based on a third transition of the first clock signal substantially corresponding to a fourth transition of the second clock signal; and
transferring data from the first synchronous logic module to the second synchronous logic module in response to assertion of the enable signal at the second time.

### Claim 6 (depends on 5)

The method of claim 5, wherein a frequency relationship between the first clock signal and the second clock signal at the first time is different from a frequency relationship between the first clock signal and the second clock signal at the second time.

### Claim 7 (depends on 6)

The method of claim 6, wherein a frequency of the first clock signal at the first time is at least twice a frequency of the second clock signal at the first time, and a frequency of the first clock signal at the second time is at least three times the frequency of the second clock signal at the second time.

### Claim 8

A method, comprising:
generating a first clock signal associated with a first clock domain;
generating a second clock signal associated with a second clock domain;
asserting a transfer enable signal at a first time in response to determining a first edge of the first clock substantially coincides with a second edge of the second clock signal; and
transferring first data from the first clock domain to the second clock domain in response to assertion of the transfer enable signal at the first time.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
asserting the transfer enable signal at a second time in response to determining a third edge of the first clock substantially corresponds to a fourth edge of the second clock;
transferring second data from the first clock domain to the second clock domain in response to assertion of the transfer enable signal at the second time.

### Claim 10 (depends on 9)

The method of claim 9, wherein the first clock signal has a first frequency at the first time and a second frequency at the second time.

### Claim 11 (depends on 10)

The method of claim 10, wherein the second clock signal has a third frequency at the first time and a fourth frequency at the second time.

### Claim 12

A device, comprising:
a clock module comprising a first output to provide a first clock signal, a second output to provide a second clock signal, and a third output to provide a first enable signal, the clock module configured to assert the first enable signal based on a first transition of the first clock signal substantially corresponding to a second transition of the second clock signal; and
a transfer module configured to transfer data from a first clock domain associated with the first clock signal to a second clock domain associated with the second clock signal in response to assertion of the first enable signal.

### Claim 13 (depends on 12)

The device of claim 12, wherein the transfer module is further configured to transfer data from the second clock domain to the first clock domain in response to assertion of the first enable signal.

### Claim 14 (depends on 12)

The device of claim 12, wherein the transfer module comprises:
a first FIFO comprising an input to receive data from a first logic module and an output;
a first latch comprising an input coupled to the output of the first FIFO, a clock input configured to receive a second enable signal, and an output, wherein the second enable signal based on the first; and
a second latch comprising an input coupled to the output of the first latch and a clock input configured to receive a third enable signal, the third enable signal based on the second clock signal.

### Claim 15 (depends on 14)

The device of claim 14, wherein the transfer module further comprises
a second FIFO comprising an input to receive data from a second logic module and an output;
a third latch comprising an input coupled to the output of the second FIFO, a clock input configured to the second clock signal, and an output; and
a fourth latch comprising an input coupled to the output of the first latch and a clock input configured to receive the second enable signal.

### Claim 16 (depends on 14)

The device of claim 14, wherein the transfer module further comprises:
a first clock gate module comprising a first input configured to receive the first clock signal, a second input to receive the first enable signal and an output configured to provide the second enable signal based on the first clock signal and the first enable signal.

### Claim 17 (depends on 16)

The device of claim 16, wherein the first clock gate module further comprises:
a fifth latch comprising an input configured to receive the first enable signal, a clock input, and an output;
an inverter comprising an input configured to receive the first clock signal, and an output coupled to the clock input of the fifth latch; and
an AND gate comprising an input coupled to the output of the fifth latch, an input configured to receive the first clock signal, and an output configured to provide the second enable signal.

### Claim 18 (depends on 17)

The device of claim 17, wherein the transfer module further comprises:
a second clock gate module comprising a first input configured to receive the second clock signal, a second input configured to receive a transfer signal indicative of whether a transfer between the first and second logic modules have occurred, and an output configured to provide the third enable signal based on the second clock signal and the transfer signal.

### Claim 19 (depends on 18)

The device of claim 18, wherein the transfer module further comprises a transfer monitoring module comprising an input configured to receive the second enable signal, an input configured to receive the second clock signal, and an output configured to provide the transfer signal based on the second enable signal and the second clock signal.

### Claim 20 (depends on 19)

The device of claim 19, wherein the transfer monitoring module further comprises:
a first inverter comprising an input configured to receive reset signal indicative of a reset state and an output;
an AND gate comprising a first input coupled to the output of the inverter, a second input, and an output;
a sixth latch comprising an input coupled to the output of the AND gate, a clock input configured to receive the second enable signal, and an output;
a second inverter comprising an input coupled to the output of the sixth latch and an output coupled to the second input of the AND gate;
a seventh latch comprising an input coupled to the output of the second latch, a clock input configured to receive the second clock signal, and an output; and
an X-NOR gate comprising an input coupled to the output of the sixth latch, an input coupled to the output of the seventh latch, and an output configured to provide the transfer signal.
