Phase comparator capable of tolerating a non-50% duty-cycle clocks
First Claim
1. A phase comparator for use in conjunction with a clock domain crossing circuit, comprising:
- a first sampling circuit for sampling a first clock with a first edge of second clock to produce a selection signal, wherein the first and second clocks are mesochronous;
a second sampling circuit for sampling a third clock having a fixed phase differential relative to the first clock to produce a first sample signal, the third clock being sampled with a second edge of the second clock, the second edge of the second clock having an opposite transition direction relative to the first edge of the second clock;
a third sampling circuit for sampling the third clock with the first edge of the second clock to produce a second sample signal; and
a multiplexer for selectly outputting one of the first and second sample signals in accordance with the selection signal to produce a phase comparison signal, wherein the phase comparison signal has a value that is determined by a phase difference between the first clock and the second clock.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and circuit for achieving minimum latency data transfer between two mesochronous (same frequency, different phase) clock domains is disclosed. This circuit supports arbitrary phase relationships between two clock domains and is tolerant of temperature and voltage shifts after initialization while maintaining the same output data latency. In one embodiment, this circuit is used on a bus-system to re-time data from receive-domain, clocks to transmit-domain clocks. In such a system the phase relationships between these two clocks is set by the device bus location and thus is not precisely known. By supporting arbitrary phase resynchronization, this disclosure allows for theoretically infinite bus-length and thus no limitation on device count, as well as arbitrary placement of devices along the bus. This ultimately allows support of multiple latency-domains for very long buses.
71 Citations
5 Claims
-
1. A phase comparator for use in conjunction with a clock domain crossing circuit, comprising:
-
a first sampling circuit for sampling a first clock with a first edge of second clock to produce a selection signal, wherein the first and second clocks are mesochronous;
a second sampling circuit for sampling a third clock having a fixed phase differential relative to the first clock to produce a first sample signal, the third clock being sampled with a second edge of the second clock, the second edge of the second clock having an opposite transition direction relative to the first edge of the second clock;
a third sampling circuit for sampling the third clock with the first edge of the second clock to produce a second sample signal; and
a multiplexer for selectly outputting one of the first and second sample signals in accordance with the selection signal to produce a phase comparison signal, wherein the phase comparison signal has a value that is determined by a phase difference between the first clock and the second clock. - View Dependent Claims (2, 3, 4, 5)
-
Specification