Abstract: This invention is directed to a method and a circuit for determining a relative phase shift between a data transition and a data separator window which are used to decode data read back from a mass storage device. The data separator windows provide a time interval in which a data transition must occur in order to be properly interpreted. This is accomplished by delaying the occurrence of the data transition, thereby shifting it toward the trailing edge of the data separator window, to determine if the delayed data transition occurs late within the data separator window. At the same time, the occurrence of the data separator window is delayed, thereby shifting the leading edge of the data separator window toward the data transition, to determine if the data transition occurs late within the data separator window.