主权项 |
1. A method of detecting a phase difference between a first signal and a second signal, the method comprising:
latching, using a first gated latch circuit, a state of the first signal using the second signal as a clock to produce a first latched signal; latching, using a second gated latch circuit, a state of the second signal using the first signal as a clock to produce a second latched signal; and summing the first latched signal and the second latched signal to produce an indication of whether the first signal is leading or lagging the second signal. |