Method and apparatus for automatically determining the phase...

Electrical computers and digital processing systems: support – Synchronization of clock or timing signals – data – or pulses

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C713S503000, C713S600000

Reexamination Certificate

active

06240523

ABSTRACT:

FIELD OF THE INVENTION
The present invention relates to clocking data in digital systems. More specifically, the present invention relates to the determination of phase-based relationships between two clocks having the same frequency, but initially unknown phase-based relationships.
DESCRIPTION OF THE RELATED ART
In the art of digital signal processing, which of course includes the art of computing, it is common to clock data from one integrated circuit (the sending IC) to another IC (the receiving IC) using a clock signal generated externally from both ICs. Often the sending IC will also produce a strobe signal that is delayed by ¼ of a cycle from the internal clock of the sending IC so that the data transmitted by the sending IC can be validated at the receiving IC. While the data from the sending IC is easily captured at the receiving IC using the strobe signal produced by the sending IC, the receiving IC must then shift the data from the clock domain of the sending IC to its own clock domain to continue processing the data. While the clocks within the sending and receiving ICs are the same frequency, the phase relationship between the clocks is initially unknown because of clock skew, the ¼ cycle delay, and other factors.
One prior art method of shifting data from one clock domain to another is to sequentially clock data from the sending IC into a series of flip flops using a round robin scheme, and holding each data bit at a flip flop for a longer period of time. For example, consider a strobe signal from the sending IC that indicates valid data on both the rising and falling edges (which will generically be referred to as validation edges), and a single data input pad coupled to four flip flops. Each flip flop is clocked by signal running at ¼ the frequency of the validation edges of the strobe signal from the sending IC, and the clock of each flip flop is delayed by one validation edge with respect the flip flop logically adjacent to it. In such an arrangement, the first, fifth, and ninth bits will be received at the first flip flop, the second, sixth, and tenth bits will be received at the second flip flop, and so on. Since each bit is held within each flip flop for four validation edges, it is easier to select one of the clock edges of the receiving IC's clock to validate the incoming data bit and transfer the data bit from the sending IC's clock domain to the clock domain of the receiving IC.
While using such a round robin scheme eases the problem of transferring the data bit from the sending IC's clock domain to the clock domain of the receiving IC, the receiving IC must still have some method of determining which flip flop to read data from for any given clock cycle. In the example above, for a given validation edge of the receiving ICs clock, the data is typically more centered and best validated at one of two possible flip flops. Accordingly, a select signal is required to determine which flip flop to read for any given validation edge of the clock of the receiving IC.
In the prior art, this select signal was typically selected using a master IC. The master IC contained a series of registers that stored the proper orientation of select signals for the ICs on the board. A designer would design the logic circuit, and when the design was nearing conclusion, would perform timing simulations for the complete system. Based on the timing simulations, the proper values would be loaded into the registers of the master IC to provide the proper select signal orientation to the other ICs. If it turned out that the simulations were not accurate, or subsequent modifications were made to the board which altered clock skew, the select signal orientations could easily be changed by reloading the registers of the master IC.
While the master IC works well, programming it requires extra simulation steps and subsequent debugging. In addition, using a master IC can consume many I/O pins. Note that a select signal is required for each strobe signal provided by another IC. Therefore, if an IC is designed to receive strobe signals from twelve other ICs, twelve I/O pins are required. Unfortunately, in the art of integrated circuit design increases in transistor density are not matched by corresponding increases in I/O pin density. Accordingly, it is becoming increasing difficult to dedicate so many I/O pins to select signals. Therefore, any method or apparatus that would allow an IC to generate its own select signal would be highly desirable. Some of the simulation steps required during design can be eliminated, I/O pin count would be reduced (or I/O pins would become available for other functions), and system debugging would be simplified, thereby reducing time to market and cost for a given design.
SUMMARY OF THE INVENTION
The present invention provides a method and apparatus for automatically determining a phase-based relationship between two clocks generated from the same source. In accordance with the present invention, a clock generator provides a clock signal to a sending IC and a receiving IC. The sending IC transmits data to the receiving IC over a data bus, and provides a strobe signal that is delayed by ¼ of a cycle of the internal clock of the sending IC to validate data at the receiving IC. Because of clock skew, the ¼ cycle delay, and other factors, the phase relationship between the strobe signal and the internal clock of receiving IC is initially unknown.
Within the receiving IC, the strobe signal is used to form four round robin clock signals. Each of the four round robin clock signals has a falling edge once every two cycles of the strobe signal. However, each of the four round robin clock signals is offset from the round robin clock signal logically adjacent to it by ½ of a cycle of the strobe signal. The round robin clock signals are used to clock data into four flip flops using a round robin scheme. For example, if the first flip flop captures the first, fifth, and ninth bits, the second flip flop will capture the second, sixth, and tenth bits, the third flip flop will capture the third, seventh, and eleventh bits, and the fourth flip flop will capture the fourth, eighth, and twelfth bits.
Each of the round robin flip flops has a valid read window. A pair of multiplexors route the outputs of the round robin flip flops to a pair of flip flops that are clocked using internal clocks of the receiving IC, thereby transferring the incoming data from the clock domain of the sending IC to the clock domain of the receiving IC.
A select signal in the clock domain of the receiving IC is provided to the pair of multiplexors. The select signal can have one of two possible orientations. If the orientation is correct, each round robin flip flop will be read at least ¼ and no more than ¾ of the way into the read window of that flip flop, thereby resulting in a valid. read. However, if the orientation signal is incorrect, a read error may occur, resulting in data corruption.
To ensure that the select signal has the proper orientation, a phase detection circuit compares the phase of the select signal in the clock domain of the receiving IC with one of the round robin clock signals in the clock domain of the sending IC. The phase detection circuit begins detecting the phase relationship after a power-on reset signal is deasserted. The power-on reset signal is asserted when a computer is powered on, and is deasserted a sufficient time after the power supples have reached stable voltage levels.
If the phase detection circuit determines that the phase of the select signal has the proper orientation with respect to the phase of the round robin clock signal, then the phase detect circuit does not toggle the orientation of the select signal. However, if the phase detection circuit determines that the select signal has an incorrect orientation, then the select signal is delayed for ½ of a cycle of the select signal, thereby establishing the proper orientation of the select signal.
At some point after the deassertion

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for automatically determining the phase... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for automatically determining the phase..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for automatically determining the phase... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2550827

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.