The appendix of this patent document contains material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosure, as it appears in the Patent and Trademark Office patent file or records, but otherwise reserves all copyright rights whatsoever.
1. Technical Field
The present disclosure relates to the field of clock signal generation, and more particularly to the generation of multiple phase-aligned clock signals.
2. Related Art
In an ideal synchronous circuit, all data transitions occur simultaneously and all components are synchronized by one or more related clock signals. Multiple clock signals are often used in a circuit because circuit components are designed to function (reliably) at different speeds. For example, a central processing unit (CPU) typically functions at a much higher speed than a peripheral/external interface data bus. It is important, however, that the frequency of the clock signal that drives the CPU be a multiple of the frequency of the clock signal that drives the data bus so that data bus operations are in synchronization with the operation of the CPU. For example, a CPU may function at 3 GHz and the system bus may function at 375 MHz, a ratio of 1:8. Operations that involve both the CPU and the data bus will succeed only if (1) the CPU and data bus clock signals maintain the 1:8 ratio and (2) each data bus clock signal transition occurs at the same time with respect to eight CPU clock signals, i.e., the CPU and data bus clock signals are phase-aligned.
High speed components and increasingly complex circuits have made it difficult to phase-align the different clock signals in a circuit. In addition, some circuits require three, four, or even more different clock signals, all of which must be phase-aligned. In such circuits, phase-alignment is partially aided by having all of the clock circuits (also referred to as clock dividers) derive their clock signals (also referred to as clock root signals) from a common signal, typically generated by a phase-locked loop (PLL) system. The PLL system, in turn, is driven by a chip's reference clock oscillator. Thus, all clock root signals are derived, either directly or indirectly, from a common reference clock oscillator.
One of the factors that determines the complexity of the clock dividers is the number of different clock root signals that must be phase-aligned. The greater the number of clock root signals, the less forgiving each clock divider can be to clock signal effects such as skew, jitter, and noise. Stability, predictability, and variance parameters of clock dividers are becoming increasingly stringent due to circuit designs that utilize high speed components and multiple clock root signals.
One technique for generating phase-aligned clock root signals is to “merge” the clock dividers into the PLL system design. However, this design approach typically involves highly sensitive analog and digital design considerations and leads to difficult verification and qualification processes.
Another technique for generating phase-aligned clock root signals is to provide the PLL system output to a series of cascaded multiplexer circuits, and have each multiplexer provide a different clock root signal. However, this design approach leads to long signal paths of varying lengths and, consequently, high jitter. It also requires large timing margins. An improved approach is desirable.
The following embodiments relate to systems and methods of generating a clock signal, wherein the structure of a generated clock signal in relation to a reference clock signal is determined by two signal patterns (“patterns”) input into a pattern selector. The pattern selector, a pattern generator, and a reference clock signal generator may be referred to collectively as a clock signal generator. In a system that requires more than one clock signal, multiple, equivalent pattern selectors can be implemented for generating each clock signal. The patterns input into the pattern selectors, not the circuit structures of the clock signal generators, determines the structure of each generated clock signal. Thus, skew from the reference clock signal to the generated clock signal is primarily the same for each pattern selector so that the different clock signals are readily synchronized.
The systems and methods of the following embodiments may be used to generate clock signals that have fifty-percent duty cycles or non-fifty-percent duty cycles. The generated clock signals may be synchronous or asynchronous. In all cases, a generated clock signal is characterized by phase alignment between its edges and the edges of the reference clock signal.
The clock signal generators may generate clock signals that serve functional, power saving, testing, and/or other operational modes, for example. Although the patterns may be different for generating the clock signals for each mode, the pattern selectors are identical. In one version, the clock signal generators are not subject to narrow timing constraints because the pattern selector synchronizes the patterns to the reference clock signal. On chips having multiple clocks, several clock signals, each having a different structure/ratio, may all be synchronized to a single reference clock in the sense that the phases of the different clock signals are aligned.
An embodiment of a pattern selector includes a first storage element having a first input to receive a first signal pattern and a second storage element having a second input to receive a second signal pattern. The first and second storage elements may be D flip-flops, as examples. The pattern selector has a switching element, such as a multiplexer, to receive latched states of the first storage element at a first data input and the second storage element at a second data input. The switching element selects states of the first storage element output and the second storage element output in an alternating sequence coincident with high and low transitions, respectfully, of the reference clock signal. The first storage element, the second storage element, and the switching element are clocked with the reference clock signal, such as one generated by a PLL system, for example. The switching element outputs the generated clock signal. The switching element may be a time-balanced multiplexer such that the delay between rising or falling edges of the reference clock signal to the rising or falling edges of the corresponding generated clock signal are substantially equal.
The clock signal generator may include a pattern generator to generate and modify the first signal pattern and the second signal pattern.
A method includes receiving a first signal pattern, a second signal pattern, and a first clock signal, storing a first state of the first signal pattern at a first transition in the first clock signal, and storing a second state of the second signal pattern at a second transition in the first clock signal. The method may include generating a second clock signal by selecting the first state when the first clock signal is high and selecting the second state when the first clock signal is low. The first and second signal patterns may be modified. The method may include generating the first and second signal patterns for an AC scan test. The first and second signal patterns may be provided based on a target ratio of the second clock signal to the first clock signal.
An apparatus comprises one or more of the following: means for receiving a first signal pattern, a second signal pattern, and a first clock signal; means for storing a first state of the first signal pattern at a first transition in the first clock signal; means for storing a second state of the second signal pattern at a second transition in the first clock signal; means for generating a second clock signal by selecting the first state when the first clock signal is high and selecting the second state when the first clock signal is low; means for modifying the first and second signal patterns; means for generating the first and second signal patterns for an AC scan test; means for increasing the strength of the second clock signal; and means for providing the first and second signal patterns based on a target ratio of the second clock signal to the first clock signal.
A computer readable storage medium has processor executable instructions to execute one or more of the following acts: receive a first signal pattern, a second signal pattern, and a first clock signal; store a first state of the first signal pattern at a first transition in the first clock signal; store a second state of the second signal pattern at a second transition in the first clock signal; generate a second clock signal by selecting the first state when the first clock signal is high and selecting the second state when the first clock signal is low; modify the first and second signal patterns; generate the first and second signal patterns for an AC scan test; and select the first and second signal patterns based on a target ratio of the second clock signal to the first clock signal. The direction of the first transition may be opposite the direction of the second transition.
An apparatus comprises a switching element, such as a multiplexer, to receive a first clock signal that alternates between a high state and a low state, a first input signal, and a second input signal. The switching element outputs a second clock signal having a first state that is determined by the first input signal when the first clock signal is low, and a second state that is determined by the second input signal when the first clock signal is high. A device having a clock input may receive the second clock signal. The apparatus may have a first storage element to communicate the first input signal to the switching element, wherein the first storage element is clocked by the first clock signal. The first storage element may be a memory element that receives a low pattern signal. The apparatus may have a second storage element to communicate the second input signal to the switching element, wherein the second storage element is clocked by the first clock signal. The second storage element may be a memory element that receives a high pattern signal. A signal generator may generate the first and second input signals to provide the second clock signal, wherein consecutive periods of the first state are equal and/or a period of the second clock signal is an integer multiple of a period of the first clock signal.
A method includes receiving a first clock signal that alternates between a high state and a low state, a first input signal, and a second input signal. A second clock signal is communicated to a clock input of a device, wherein the second clock signal has a first state that is determined by the first input signal when the first clock signal is low, and a second state that is determined by the second input signal when the first clock signal is high. The first input signal may be communicated to a switching element in accord with the first clock signal. A low pattern signal may be communicated to a first storage element in communication with the switching element. The second input signal may be communicated to the switching element in accord with the first clock signal. A high pattern signal may be communicated to a second storage element in communication with the switching element. Transitions in the second clock signal may be synchronized to transitions in the first clock signal. The first and second input signals may be generated to provide the second clock signal, wherein consecutive periods of the first state are equal and/or a period of the second clock signal is an integer multiple of a period of the first clock signal.
A apparatus comprises one or more of the following: means for receiving a first clock signal that alternates between a high state and a low state, a first input signal, and a second input signal; means for communicating a second clock signal to a clock input of a device, wherein the second clock signal has a first state that is determined by the first input signal when the first clock signal is low, and a second state that is determined by the second input signal when the first clock signal is high; means for communicating the first input signal to a switching element in accord with the first clock signal; means for communicating a low pattern signal to a first storage element in communication with the switching element; means for communicating the second input signal to the switching element in accord with the first clock signal; means for communicating a high pattern signal to a second storage element in communication with the switching element; means for synchronizing transitions in the second clock signal to transitions in the first clock signal; and means for generating the first and second input signals to provide the second clock signal.
A computer readable storage medium has processor executable instructions to execute one or more of the following acts: receive a first clock signal that alternates between a high state and a low state, a first input signal, and a second input signal; communicate a second clock signal to a clock input of a device, wherein the second clock signal has a first state that is determined by the first input signal when the first clock signal is low, and a second state that is determined by the second input signal when the first clock signal is high; communicate the first input signal to a switching element in accord with the first clock signal; communicate a low pattern signal to a first storage element in communication with the switching element; communicate the second input signal to the switching element in accord with the first clock signal; communicate a high pattern signal to a second storage element in communication with the switching element; synchronize transitions in the second clock signal to transitions in the first clock signal; generate the first and second input signals to provide the second clock signal, wherein consecutive periods of the first state are equal and/or a period of the second clock signal is an integer multiple of a period of the first clock signal.
A system comprises a reference clock outputting a reference clock signal having a first frequency, a first clock signal generating circuitry that receives the reference clock signal, and that employs first multiplexer circuitry which uses the reference clock signal and first clock defining data to output a first clock signal that is related to the reference clock signal. The system includes a second clock signal generating circuitry that receives the reference clock signal, and that employs second multiplexer circuitry which uses the reference clock signal and second clock defining data to output a second clock signal that is related to the reference clock signal and has a different frequency than the first clock signal. A first device may receive the first clock signal and a second device may receive the second clock signal. Both the first and second multiplexer circuitries may be configured to output the respective first and second clock signals, both having the following characteristics: a rise time that is substantially equal to a reference clock signal rise time and a reference clock signal fall time, and a fall time that is substantially equal to the reference clock signal rise time and the reference clock signal fall time. The first clock signal and the second clock signal may be substantially in mutual phase alignment.
A method comprises generating a first clock signal based on a reference clock signal and first clock defining data, generating a second clock signal based on the reference clock signal and second clock defining data. The second clock signal has a different frequency than the first clock signal. The first clock signal may be communicated to a first device and the second clock signal may be communicated to a second device. The first and second clock signals may both have the following characteristics: a rise time that is substantially equal to a reference clock signal rise time and a reference clock signal fall time, and a fall time that is substantially equal to the reference clock signal rise time and the reference clock signal fall time. The first clock signal and the second clock signal may be substantially in mutual phase alignment.
A system comprises one or more or the following: means for generating a first clock signal based on a reference clock signal and first clock defining data; means for generating a second clock signal based on the reference clock signal and second clock defining data; and/or means for communicating the first clock signal to a first device and the second clock signal to a second device. The second clock signal may have a different frequency than the first clock signal. The first and second clock signals may both have the following characteristics: a rise time that is substantially equal to a reference clock signal rise time and a reference clock signal fall time, and a fall time that is substantially equal to the reference clock signal rise time and the reference clock signal fall time. The first clock signal and the second clock signal may be substantially in mutual phase alignment.
A computer readable storage medium has processor executable instructions to execute one or more of the following acts: generate a first clock signal based on a reference clock signal and first clock defining data; generate a second clock signal based on the reference clock signal and second clock defining data; and communicate the first clock signal to a first device and the second clock signal to a second device. The second clock signal may have a different frequency than the first clock signal. The first and second clock signals may both have the following characteristics: a rise time that is substantially equal to a reference clock signal rise time and a reference clock signal fall time, and a fall time that is substantially equal to the reference clock signal rise time and the reference clock signal fall time. The first clock signal and the second clock signal may be substantially in mutual phase alignment.
An apparatus comprises a first storage element having a first input to receive a first signal pattern, a second storage element having a second input to receive a second signal pattern, and a switching element to receive a first output of the first storage element and a second output of the second storage element. The first storage element, the second storage element, and the switching element are clocked by a first clock signal, and the switching element outputs a second clock signal. The apparatus may include a pattern generator to generate the first signal pattern and the second signal pattern and modify the first and second signal patterns to modify the second clock signal. The ratio of the first clock signal to the second clock signal may be based on the first and second signal pattern.
A method comprises receiving a first signal pattern, a second signal pattern, and a first clock signal, and storing a first state of the first signal pattern at a first transition in the first clock signal, and storing a second state of the second signal pattern at a second transition in the first clock signal. A second clock signal is generated by selecting the first state when the first clock signal is high and selecting the second state when the first clock signal is low. The method may include generating the first signal pattern and the second signal pattern with a pattern generator that may modify the first and second signal patterns to modify the second clock signal. The ratio of the first clock signal to the second clock signal may be based on the first and second signal patterns.
An apparatus comprises one or more of the following: means for receiving a first signal pattern, a second signal pattern, and a first clock signal; means for storing a first state of the first signal pattern at a first transition in the first clock signal and storing a second state of the second signal pattern at a second transition in the first clock signal; means for generating a second clock signal by selecting the first state when the first clock signal is high and selecting the second state when the first clock signal is low; and means for modifying the first and second signal patterns to modify the second clock signal.
A computer readable storage medium has processor executable instructions to execute one or more of the following acts: receive a first signal pattern, a second signal pattern, and a first clock signal, and store a first state of the first signal pattern at a first transition in the first clock signal, and store a second state of the second signal pattern at a second transition in the first clock signal; generate a second clock signal by selecting the first state when the first clock signal is high and selecting the second state when the first clock signal is low; generate the first signal pattern and the second signal pattern with a pattern generator that may modify the first and second signal patterns to modify the second clock signal. The ratio of the first clock signal to the second clock signal may be based on the first and second signal patterns.
An apparatus comprises a first clock signal generator to generate a first clock signal having a first ratio to a reference clock signal, and a second clock signal generator to generate a second clock signal having a second ratio to the reference clock signal. The first ratio is based on a first signal pattern and the second ratio is based on a second signal pattern. The first clock signal generator is equivalent in structure to the second clock signal generator. The first and second clock signal generators are clocked by the reference clock signal. The apparatus may also include a first multiplexer to provide the first clock signal and a second multiplexer to provide the second clock signal. The first and second multiplexers may be clocked by the reference clock signal.
A method includes generating a first clock signal having a first ratio to a reference clock signal and a second clock signal having a second ratio to the reference clock signal. The first ratio is based on a first signal pattern and the second ratio is based on a second signal pattern. The method may include clocking first and second clock signal generators with the reference clock signal.
An apparatus comprises a first clock signal generator to generate a first clock signal having a first ratio to a reference clock signal, and a second clock signal generator to generate a second clock signal having a second ratio to the reference clock signal. The first ratio is based on a first signal pattern and the second ratio is based on a second signal pattern. The first clock signal generator is equivalent in structure to the second clock signal generator, and the first and second clock signal generators are clocked by the reference clock signal. The apparatus may include a first multiplexer to provide the first clock signal and a second multiplexer to provide the second clock signal. The first and second multiplexers may be clocked by the reference clock signal. A first storage element, clocked by the reference clock signal, may receive the first signal pattern and communicate a first data sample to the first multiplexer. A second storage element, clocked by the reference clock signal, may receive the second signal pattern and communicate a second data sample to the second multiplexer. The apparatus may also include a third storage element, clocked by the reference clock signal, to receive a third signal pattern and communicate a third data sample to the first multiplexer, and a fourth storage element, clocked by the reference clock signal, to receive a fourth signal pattern and communicate a fourth data sample to the second multiplexer. The first and second storage elements may receive the reference clock signal at inverted clock inputs, and the third and fourth storage elements may receive the reference clock signal at un-inverted clock inputs. The apparatus may also include a first pattern generator to generate the first and third signal patterns and a second pattern generator to generate the second and fourth signal patterns. The first pattern generator may modify the first and third signal patterns to change the first ratio. The first and second storage elements may be D flip-flops, as an example. The first clock signal may be a processor clock root signal and the second clock signal may be a data bus clock root signal, as examples.
A method includes generating a first clock signal based upon a first pattern signal and a second pattern signal, and generating a second clock signal based upon a third pattern signal and a fourth pattern signal. The method includes synchronizing the first clock signal and the second clock signal. The method may also include selecting the first pattern signal and the second pattern signal based upon a first target ratio of the first clock signal to the reference clock signal, and selecting the third pattern signal and the fourth pattern signal based upon a second target ratio of the second clock signal to the reference clock signal. The first pattern signal and the third pattern signal may be sampled when the reference clock signal transitions from high to low, and the second pattern signal and the fourth pattern signal may be sampled when the reference clock signal transitions from low to high. The method may include selecting samples of the first pattern signal and samples of the third pattern signal when the reference clock signal is high, and selecting samples of the second pattern signal and samples of the fourth pattern signal when the reference clock signal is low. The first clock signal consists of samples of the first pattern signal and the second pattern signal, and the second clock signal consists of samples of the third pattern signal and the fourth pattern signal.
An apparatus comprises one or more of the following: means for generating a first clock signal based upon a first pattern signal and a second pattern signal; means for generating a second clock signal based upon a third pattern signal and a fourth pattern signal; means for synchronizing the first clock signal and the second clock signal; means for providing the first pattern signal and the second pattern signal based upon a first target ratio of the first clock signal to the reference clock signal; means for providing the third pattern signal and the fourth pattern signal based upon a second target ratio of the second clock signal to the reference clock signal; means for sampling the first pattern signal and the third pattern signal when the reference clock signal transitions from high to low; means for sampling the second pattern signal and the fourth pattern signal when the reference clock signal transitions from low to high; means for selecting samples of the first pattern signal and samples of the third pattern signal when the reference clock signal is high; and means for selecting samples of the second pattern signal and samples of the fourth pattern signal when the reference clock signal is low.
A computer readable storage medium has processor executable instructions to execute one or more of the following acts: generate a first clock signal based upon a first pattern signal and a second pattern signal; generate a second clock signal based upon a third pattern signal and a fourth pattern signal; synchronize the first clock signal and the second clock signal; select the first pattern signal and the second pattern signal based upon a first target ratio of the first clock signal to the reference clock signal; select the third pattern signal and the fourth pattern signal based upon a second target ratio of the second clock signal to the reference clock signal; sample the first pattern signal and the third pattern signal when the reference clock signal transitions from high to low; sample the second pattern signal and the fourth pattern signal when the reference clock signal transitions from low to high; select samples of the first pattern signal and samples of the third pattern signal when the reference clock signal is high; and select samples of the second pattern signal and samples of the fourth pattern signal when the reference clock signal is low. The first clock signal may consist of samples of the first pattern signal and the second pattern signal, and the second clock signal may consist of samples of the third pattern signal and the fourth pattern signal.
Other systems, methods, and features of the invention will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention, and be protected by the following claims.
The embodiments will now be described with reference to the attached drawings.
a) is a functional block diagram of a hard disk drive;
b) is a functional block diagram of a digital versatile disk (DVD);
c) is a functional block diagram of a high definition television;
d) is a functional block diagram of a vehicle control system;
e) is a functional block diagram of a cellular phone;
f) is a functional block diagram of a set top box;
g) is a functional block diagram of a media player; and
h) is a functional block diagram of a VoIP phone.
The disclosure can be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like reference numerals designate corresponding parts or elements throughout the different views.
The embodiments below relate to a clock signal generator having a signal path that is consistent regardless of the ratio of the generated clock signal frequency to a reference clock signal frequency. Thus, substantially identical circuits, all driven by the same reference clock signal (provided by a system reference clock, for example), may be used to generate clock signals of different frequencies and symmetries/asymmetries. For each clock signal generator, the ratio of the generated clock signal frequency to the reference clock signal frequency is controlled by patterns generated by a pattern generator. Different patterns, or sets of patterns, govern different clock signal frequencies (i.e., ratios to the reference clock signal) and/or symmetries/asymmetries. For generating a clock signal, a pattern selector is sensitive to transitions in the reference clock signal. The pattern selector receives the patterns and outputs the state of a first pattern when the reference clock signal transitions high, and outputs the state of a second pattern when the reference clock signal transitions low. Thus, the form of the clock signal generated by the clock signal generator is based on the patterns generated by the pattern generator.
A clock source 16 provides the CLOCK_IN signal and a pattern generator 14 provides the Pattern A and Pattern B signals. In one version, the clock source 16 is a phase locked loop (PLL) circuit that receives a system clock signal generated by a reference clock oscillator (not shown). The pattern generator 14 may be any type of signal generator and preferably generates Pattern A and Pattern B signals that are synchronized to the CLOCK_IN signal generated by the clock source 16. In another version, the Pattern A and Pattern B signals are not necessarily in synchronization with the CLOCK_IN signal; in this version synchronization between the CLOCK_IN signal and the Pattern A and Pattern B signals may be achieved by the pattern selector 12, as explained below. The pattern selector 12 may include a switching element such as a multiplexer and/or other device.
The CLOCK_IN signal is a periodic signal that oscillates between low and high states at a reference clock frequency. In one version, the CLOCK_IN signal is a generally square waveform (having finite rise and fall times that are non-instantaneous, resulting in a slight slope) generated by the clock source 16. The Pattern A and Pattern B signals generated by the pattern generator 14 determine the state (high or low) of the CLOCK_ROOT signal when the CLOCK_IN signal transitions high and low, respectively. In other words, when the CLOCK_IN signal transitions high, the pattern selector 12 outputs the state of Pattern A, and when the CLOCK_IN signal transitions low, the pattern selector 12 outputs the state of Pattern B. The Pattern A and Pattern B signals may be referred to as “envelopes” applied to the CLOCK_IN signal to generate the CLOCK_ROOT signal.
The CLOCK_ROOT signal has transitions that are phase-aligned to the transitions of the CLOCK_IN signal. There is a constant and uniform delay between CLOCK_IN transitions, and the transitions in the output CLOCK_ROOT signal. Because the transitions of the CLOCK_ROOT signal are triggered by the CLOCK_IN signal, the resolution of the CLOCK_ROOT signal is determined by the CLOCK_IN signal. In one version, the CLOCK_IN signal is a high frequency signal compared to the Pattern A and Pattern B signals.
Table 1 is a logic map for a pattern selector 12 showing an example of the state of the signals discussed above.
Table 1 illustrates that when the CLOCK_IN signal transitions high (rises), the CLOCK_ROOT signal follows Pattern A (which therefore may be referred to as the “high pattern”). When the CLOCK_IN signal transitions low (falls), the CLOCK_ROOT signal follows Pattern B (which therefore may be referred to as the “low pattern”). The pattern generator 14 may be a single device that generates both Pattern A and Pattern B. In an alternate version, Pattern A and Pattern B are generated by two signal generators; one for each pattern. In the example above, the pattern generator that generates Pattern A may be referred to as a “high signal” pattern generator (although it should be understood that pattern A includes both high and low signal states), and the pattern generator that generates Pattern B may be referred to as a “low signal” pattern generator (although it should be understood that pattern B includes both high and low signal states).
In the embodiment of
The pattern selector of
In an embodiment, switching element 24 outputs a CLOCK_ROOT signal at an output pin. The CLOCK_ROOT signal is balanced relative to the CLOCK_IN signal, i.e., there is a constant and uniform delay between transitions in the CLOCK_IN signal at S and transitions in the CLOCK_ROOT signal at the output pin of the switching element 24. Due to the slope in the CLOCK_IN signal and the slope in the CLOCK_ROOT signal, the delay may be measured from mid-point to mid-point between the transitions.
The CLOCK_ROOT signal is communicated to the clock input pin of a device 32. The device 32 may be any device, memory, component, system, or circuit that is on a chip, for example, or other device that receives a clock signal. A clock buffer 28 may optionally be included as a part of the clock signal generator 18 or between the clock signal generator 18 and the device 32 to provide signal strength to the CLOCK_ROOT signal and/or to provide test signals for debugging circuit components.
Whatever asymmetric or varying shape the CLOCK_ROOTE signal may be, it is ultimately determined by the Pattern A and Pattern B signals, just as for the CLOCK_ROOT signals of
As discussed above, the structure of the CLOCK_ROOT signal, for example its ratio to the CLOCK_IN signal, is determined by the Pattern A and Pattern B signals, referred to again as the “patterns.” The patterns may be derived through an algorithm, computer program, or any other technique. For example, the patterns may be derived by first deriving output signals A and B of the first and second storage elements 20, 22 that are required to provide the desired CLOCK_ROOT signal. This technique is described below.
Referring again to
Next, Pattern A and Pattern B as necessary to generate signals A and B are derived taking into account skewing introduced by storage elements 20, 22, for example. An outline of Pattern A can be derived with reference to signal A at each falling edge of CLOCK_IN, and an outline of Pattern B can be derived with reference to signal B at each rising edge of CLOCK_IN. For example, at transition 202 the data input of the second storage element 22 is latched at B. Because B (216) is high at 202, Pattern B (208) must be high at 202. Outlines of the Pattern A and Pattern B signals are obtained using this technique until repeating patterns are observed, from which the full signals (Pattern A and Pattern B) may be derived. It is noted that in some embodiments, the Pattern A and Pattern B signals may be logical compliments of each other (e.g., as a result of inversion by inverter circuitry or any other suitable circuitry) for generating a desired CLOCK_ROOT signal. For example, the Pattern A and Pattern B signals may each have a frequency that is approximately one-half of the CLOCK_IN signal frequency. In this case, Pattern B may be a delayed logical compliment of Pattern A (e.g., as a result of an inverter circuitry).
A version of a Verilog HDL program that derives the transition points of Pattern A and Pattern B signals for a desired CLOCK_ROOT signal is provided in the appendix of the present disclosure.
Once obtained, in an embodiment the Pattern A and Pattern B signals are generated to that they may be synchronized to either a rising transition or a falling transition of the CLOCK_IN signal. The patterns are input into the storage elements 20, 22 within a window of time with respect to the CLOCK_IN signal that also governs the output of the storage elements 20, 22. The window of time may be equal to one CLOCK_IN clock cycle minus the setup and hold times. In other words, the transitions of Pattern A and Pattern B do not need to occur precisely as shown in
In an alternate version, the Pattern A and Pattern B signals are generated so that they may be synchronized to either a rising transition or a falling transition of the CLOCK_IN signal. In this version, the switching element 24 may receive the Pattern A and Pattern B signals directly, i.e., the storage elements 20, 22, are not required, and the set-up and hold times respectively of the Pattern A and Pattern B signals may be defined as a function of a timing input to switching element 24.
The CLOCK_IN signal may be generated by a device that is either internal or external to a circuit that implements the clock signal generator 18. Either internally or externally generated CLOCK_IN signals may be utilized in one or more of functional, testing, debug, or other modes, as explained below. The CLOCK_IN signal may be generated by an internal clock, such as a reference clock oscillator driven PLL. Typically, an internally driven CLOCK_IN signal is utilized when a circuit is operating in a fully functional mode. In a testing or debug mode, either an internal or external clock may generate the CLOCK_IN signal. By way of example, an external clock may generate the CLOCK_IN signal when a PLL driven CLOCK_IN signal is not desired, such as for certain DC scan testing modes. During DC scan testing, scan data is typically clocked into and out of a circuit at a clock rate that is much slower than the circuit's full operational speed. For DC scan testing, a much slower reference clock may be utilized to generate the CLOCK_IN signal.
The clock signal generator 18 may also support AC scan testing. During AC scan testing, the timing performance of a circuit is tested by driving the circuit with several CLOCK_IN signals generated by the PLL. Scan data is first clocked in at a rate that is much slower than the circuit's projected (full) operational speed. The circuit is then driven (stressed) by several full speed clock pulses. Data is then shifted out of the circuit at a rate that is again much slower than the projected operational speed. The PLL may generate the CLOCK_IN signal throughout the entire AC scan test, while the pattern generator 26 provides patterns to generate periods of slow and fast CLOCK_ROOT signals. Preferably, the patterns are designed so that the transitions from one clock speed to another occur while CLOCK_ROOT is low. One version of a Verilog HDL program for generating an AC scan test pattern is provided in the appendix of the present disclosure.
The circuitry 320 includes four identical root clock generators 328 that receive the CLOCK_IN signal at input CK. Each root clock generator 328 may employ multiplexer circuitry 329 which uses the CLOCK_IN signal and clock defining data to output a respective CLOCK_ROOT signal that is related to the CLOCK_IN signal. The clock defining data may by a respective pair of low frequency clock patterns generated by respective pattern generators 326, 332, 340, and 348, as an example. The root clock generators 328 may be configured to output CLOCK_ROOT signals that have the following characteristics: a rise time that is equal to the rise time of the CLOCK_IN signal, a rise time which is equal to the fall time of the CLOCK_IN signal, a fall time which is equal to the rise time of the CLOCK_IN signal, and a fall time which is equal to the fall time of the CLOCK_IN signal.
Pattern generator 326 generates low frequency clock patterns Pattern A1 and Pattern B1 to generate the CLOCK_ROOTF signal. The CLOCK_ROOTF signal is a fifty-percent duty signal having a 1:2 ratio to the CLOCK_IN signal. Pattern generator 332 generates low frequency clock patterns Pattern A2 and Pattern B2 to generate the CLOCK_ROOTG signal. The CLOCK_ROOTG signal is a fifty-percent duty signal having a 1:3 ratio to the CLOCK_IN signal. Pattern generator 340 generates low frequency clock patterns Pattern A3 and Pattern B3 to generate the CLOCK_ROOTH signal. The CLOCK_ROOTH signal is a fifty-percent duty signal having a 1:4 ratio to the CLOCK_IN signal. Pattern generator 348 generates low frequency clock patterns Pattern A4 and Pattern B4 to generate the CLOCK_ROOTI signal. The CLOCK_ROOTI signal is a fifty-percent duty signal having a 1:5 ratio to the CLOCK_IN signal. Because the root clock generators 328 are identical, the skews between each CLOCK_ROOT signal and the CLOCK_IN signal are consistent, and the CLOCK_ROOT signals are substantially in mutual phase alignment.
Each CLOCK_ROOT signal CLOCK_ROOTF, CLOCK_ROOTG, CLOCK_ROOTH, and CLOCK_ROOTI is communicated to one or more respective modules, including memory 330, circuit1 336, circuit2 338, device 344, component 346, and device 352, as shown. The phase-alignment of the CLOCK_ROOT signals can advantageously facilitate timing and operation of synchronous electrical systems, for example by facilitating adherence to various timing constraints, such as those imposed by setup and hold times required by various modules.
Referring again to
Time-balanced multiplexer circuit 360 can also include additional transistor chain 380, which can include PMOS transistors 382 and 384, as well as NMOS transistors 386 and 388. The gates of transistors 382 and 388 can be coupled to signal Y, while the gates of transistors 384 and 386 can be coupled to selector input S. Transistor chain 380 can serve to delay relatively fast transitions, such that the switching of time-balanced multiplexer circuit 360 is substantially balanced with respect to transitions of selector input S. Further details regarding the structure and operation of time-balanced multiplexer circuitry 360 can be found in U.S. patent application Ser. No. 11/093,080, filed Mar. 28, 2005, which is hereby incorporated by reference herein. It is noted that time-balanced multiplexer circuitry 360 is merely illustrative, and other time-balanced multiplexer circuitry can be used as switching element 24 in
Referring now to
The present invention may be implemented with either or both signal processing and/or control circuits, which are generally identified in
Referring now to
DVD drive 410 may communicate with a device (not shown) such as a computer, television or other device via one or more wired or wireless communication links 417. DVD drive 410 may communicate with mass data storage 418 that stores data in a nonvolatile manner. Mass data storage 418 may include a HDD such as that shown in
Referring now to
HDTV 420 may communicate with mass data storage 427 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices. At least one HDD may have the configuration shown in either
Referring now to
The present invention may also be embodied in other control systems 440 of vehicle 430. Control system 440 may likewise receive signals from input sensors 442 and/or output control signals to one or more output(s) 444. In some implementations, control system 440 may be part of an anti-lock braking system (ABS), a navigation system, a telematics system, a vehicle telematics system, a lane departure system, an adaptive cruise control system, a vehicle entertainment system such as a stereo, DVD, compact disc and the like. Still other implementations are contemplated.
Powertrain control system 432 may communicate with mass data storage 446 that stores data in a nonvolatile manner. Mass data storage 446 may include optical and/or magnetic storage devices, for example HDDs and/or DVDs. At least one HDD may have the configuration shown in
Referring now to
Cellular phone 450 may communicate with mass data storage 464 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices, for example HDDs and/or DVDs. At least one HDD may have a configuration shown in
Referring now to
Set top box 480 may communicate with mass data storage 490 that stores data in a nonvolatile manner. Mass data storage 490 may include optical and/or magnetic storage devices, for example HDDs and/or DVDs. At least one HDD may have a configuration shown in
Referring now to
Media player 500 may communicate with mass data storage 510 that stores data such as compressed audio and/or video content in a nonvolatile manner. In some implementations, the compressed audio files include files that are compliant with MP3 format or other suitable compressed audio and/or video formats. The mass data storage 510 may include optical and/or magnetic storage devices, for example HDDs and/or DVDs. At least one HDD may have a configuration shown in
Media player 500 may be connected to memory 514 such as RAM, ROM, low latency nonvolatile memory such as flash memory and/or other suitable electronic data storage. Media player 500 also may support connections with a WLAN via a WLAN network interface 516. Still other implementations in addition to those described above are contemplated. One or more clock signal generator circuits (not shown) of the present invention may be implemented in one or more of signal processing and/or control circuit 504, memory 514, mass data storage 510, WLAN 516, audio output 509, display 507, and user input 508.
Referring to
VoIP phone 550 may communicate with mass data storage 522 that stores data in a nonvolatile manner such as optical and/or magnetic storage devices, for example HDDs and/or DVDs. At least one HDD may have a configuration shown in
In addition to the above exemplary implementations, the present invention may be implemented in any synchronous very-large-scale integrated (VLSI) circuit or application specific integrated circuit (ASIC) design including central processing units, controllers, switches, network devices, cellular chips, and others.
All of the discussion above, regardless of the particular implementation being described, is exemplary in nature, rather than limiting. Although specific components of the clock signal generator (10 and 18) are described, methods, systems, and articles of manufacture consistent with the clock signal generator (10 and 18) may include additional or different components. For example, components of the clock signal generator (10 and 18) may be implemented by one or more of: control logic, hardware, a microprocessor, microcontroller, application specific integrated circuit (ASIC), discrete logic, or a combination of circuits and/or logic. Further, although selected aspects, features, or components of the implementations are depicted as hardware or software, all or part of the systems and methods consistent with the clock signal generator (10 and 18) may be stored on, distributed across, or read from machine-readable media, for example, secondary storage devices such as hard disks, floppy disks, and CD-ROMs; a signal received from a network; or other forms of ROM or RAM either currently known or later developed. Any act or combination of acts may be stored as instructions in computer readable storage medium. Memories may be DRAM, SRAM, Flash or any other type of memory. Programs may be parts of a single program, separate programs, or distributed across several memories and processors.
The processing capability of the system may be distributed among multiple system components, such as among multiple processors and memories, optionally including multiple distributed processing systems. Parameters, databases, and other data structures may be separately stored and managed, may be incorporated into a single memory or database, may be logically and physically organized in many different ways, and may implemented in many ways, including data structures such as linked lists, hash tables, or implicit storage mechanisms. Programs and rule sets may be parts of a single program or rule set, separate programs or rule sets, or distributed across several memories and processors.
It is intended that the foregoing detailed description be understood as an illustration of selected forms that the invention can take and not as a definition of the invention. It is only the following claims, including all equivalents, that are intended to define the scope of this invention.
Verilog program to derive transition points for a desired CLOCK_ROOT:
Verilog program for generating AC scan test pattern:
This application is a continuation of co-pending U.S. application Ser. No. 11/876,526, filed Oct. 22, 2007, which claims the benefit of U.S. Provisional Application No. 60/862,264, filed on Oct. 20, 2006, 60/864,688, filed on Nov. 7, 2006, and 60/868,825, filed on Dec. 6, 2006, all of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60862264 | Oct 2006 | US | |
60864688 | Nov 2006 | US | |
60868825 | Dec 2006 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11876526 | Oct 2007 | US |
Child | 12650125 | US |