Digital clock skew detection and phase alignment
First Claim
1. An article of manufacture comprising:
- a skew measure circuit to assert (1) a first output signal if a first digital input clock signal leads a second digital input clock signal, and (2) a second output signal if the second digital input clock signal leads the first digital input clock signal;
an exclusion circuit coupled to the skew measure circuit, to (1) provide first and second digital pulse signals that are representative of the first and second output signals and (2) prevent the states of the first and second digital pulse signals from changing so long as the skew measure circuit is experiencing metastability; and
a first up/down counter to provide a first count that is (1) incremented in response to the first digital pulse signal, and (2) decremented in response to the second digital pulse signal.
1 Assignment
0 Petitions
Accused Products
Abstract
A skew measure circuit, an exclusion circuit, and an up/down counter are connected to form a skew detection circuit. The skew measure circuit asserts a first output signal if a first input clock leads a second input clock, and asserts a second output signal if the second clock leads the first clock. The exclusion circuit provides first and second digital pulse signals that represent the outputs of the skew measure circuit. The exclusion circuit also prevents the states of these pulse signals from changing, so long as the skew measure circuit is experiencing metastability. The up/down counter'"'"'s count is incremented in response to the first pulse signal and decremented in response to the other pulse signal.
55 Citations
18 Claims
-
1. An article of manufacture comprising:
-
a skew measure circuit to assert (1) a first output signal if a first digital input clock signal leads a second digital input clock signal, and (2) a second output signal if the second digital input clock signal leads the first digital input clock signal;
an exclusion circuit coupled to the skew measure circuit, to (1) provide first and second digital pulse signals that are representative of the first and second output signals and (2) prevent the states of the first and second digital pulse signals from changing so long as the skew measure circuit is experiencing metastability; and
a first up/down counter to provide a first count that is (1) incremented in response to the first digital pulse signal, and (2) decremented in response to the second digital pulse signal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
a divider circuit to generate an enable signal that is coupled to qualify the first and second digital input clock signals, in response to one of the first and second digital input clock signals.
-
-
3. The article of manufacture of claim 2 wherein the divider circuit is to generate a reset signal that is coupled to reset the skew measure circuit, in response to one of the first and second digital input clock signals, prior to the skew measure circuit asserting one of the first and second output signals.
-
4. The article of manufacture of claim 1 further comprising:
a second up/down counter to provide a second count that is (1) decremented in response to the first digital pulse signal, and (2) incremented in response to the second digital pulse signal.
-
5. The article of manufacture of claim 4 further comprising:
a clock distribution network to provide the first and second digital input clock signals by first and second programmable delay circuits that are in respective branches of the network, the first and second delay circuits having respective control inputs to receive the first and second counts.
-
6. The article of manufacture of claim 4 further comprising:
a programmable delay circuit to provide (1) the first digital input clock signal by delaying a reference clock signal in accordance with the first count, and (2) the second digital input clock signal by delaying a feedback clock signal in accordance with the second count, the feedback clock signal being to be derived from a frequency control circuit.
-
7. The article of manufacture of claim 6 further comprising the frequency control circuit being coupled to enable the programmable delay circuit when it is phase locked.
-
8. The article of manufacture of claim 4 further comprising:
a programmable delay circuit to provide (1) the first digital input clock signal by delaying a first feedback clock signal in accordance with the first count, (2) the second digital input clock signal by delaying a second feedback clock signal in accordance with the second count, the first and second feedback clock signals to be derived from the outputs of first and second frequency control circuits that supply clocks to different clock domains.
-
9. The article of manufacture of claim 8 further comprising the first and second frequency control circuits being coupled to enable the programmable delay of the first and second feedback clock signals, respectively, when the first and second frequency control circuits are, respectively, phase locked.
-
10. The article of manufacture of claim 8 wherein each of the first and second frequency control circuits is to receive the same reference clock to which their outputs are phase locked.
-
11. The article of manufacture of claim 1 wherein the first count increments by one in response to each low to high transition in the first digital pulse, until reaching a maximum count.
-
12. The article of manufacture of claim 1 wherein the first count increments by a plurality of clock cycles while the first digital pulse is asserted.
-
13. An article of manufacture comprising:
-
means for detecting whether a first digital input clock signal leads or lags a second digital input clock signal;
means for providing first and second digital pulse signals that are representative of detecting that the first clock leads the second clock and that the second clock leads the first clock, respectively, the first and second digital pulse signals having fixed states while the detection means is experiencing metastability; and
means for providing a binary variable which changes in opposite directions in response to the first and second digital pulse signals. - View Dependent Claims (14, 15)
means for dividing one of the first and second digital input clock signals and then qualifying the first and second digital input clock signals, prior to detecting whether the first clock leads or lags the second clock using the qualified first and second clocks.
-
-
15. The article of manufacture of claim 14 further comprising:
means for resetting the detection means in response to one of the first and second digital input clock signals, prior to detecting whether the first clock leads or lags the second clock using the qualified first and second clocks.
-
16. A method comprising:
-
detecting whether a first digital input clock signal leads or lags a second digital input clock signal;
providing first and second digital pulse signals that are representative of detecting that the first clock leads the second clock and that the second clock leads the first clock, respectively, the first and second digital pulse signals having fixed states while the detection means is experiencing metastability; and
providing a binary variable which changes in opposite directions in response to the first and second digital pulse signals. - View Dependent Claims (17, 18)
dividing one of the first and second digital input clock signals to qualify the first and second digital input clock signals prior to detecting whether the first clock leads or lags the second clock using the qualified first and second clocks.
-
-
18. The method of claim 17 further comprising:
resetting the first and second digital pulse signals in response to one of the first and second digital input clock signals, prior to detecting whether the first clock leads or lags the second clock using the qualified first and second clocks.
Specification