The present invention relates to the field of circuit timing and clock selection.
Electronic systems and circuits have made a significant contribution towards the advancement of modern society and are utilized in a number of applications to achieve advantageous results. Numerous electronic technologies such as digital computers, calculators, audio devices, video equipment, and telephone systems have facilitated increased productivity and reduced costs in analyzing and communicating data in most areas of business, science, education and entertainment. Electronic systems providing these advantageous results often include components and/or functions operating at different clock rates. Accuracy in the clock rates is often critical to correct and proper operation. However, changing between clock rates can be challenging and can result in a number of different adverse impacts.
There are a variety of different devices and designs in which multiple clock domains are utilized. For example, in a clock tree design the clock tree can be driven by more than one clock source. Changing active clock selection between multiple clock sources can introduce clock glitches and clock runt pulses. The clock glitches and runt pulses can adversely affect timing transitions in sequential logic that are driven by the clock signals.
The present invention systems and methods enable clock selection between a plurality of different clock signals. In one embodiment, a clock signal selection system includes an arbitration component, a control component, and a selection component The arbitration component coordinates arbitration eligibility between a plurality of clock signals. The control component controls the coordination utilizing a clock signal from the plurality of clock signals. The selection component selects between the plurality of signals.
The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments of the invention by way of example and not by way of limitation. The drawings referred to in this specification should be understood as not being drawn to scale except if specifically noted.
Reference will now be made in detail to the preferred embodiments of the invention, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with the preferred embodiments, it will be understood that they are not intended to limit the invention to these embodiments. On the contrary, the invention is intended to cover alternatives, modifications and equivalents, which may be included within the spirit and scope of the invention as defined by the appended claims. Furthermore, in the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be obvious to one of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present invention.
Some portions of the detailed descriptions which follow are presented in terms of procedures, logic blocks, processing, and other symbolic representations of operations on data bits within a computer memory. These descriptions and representations are the means generally used by those skilled in data processing arts to effectively convey the substance of their work to others skilled in the art. A procedure, logic block, process, etc., is here, and generally, conceived to be a self-consistent sequence of steps or instructions leading to a desired result. The steps include physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical, magnetic, optical, or quantum signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.
It should be borne in mind, however, that all of these and similar terms are associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present application, discussions utilizing terms such as “processing”, “computing”, “calculating”, “determining”, “displaying” or the like, refer to the action and processes of a computer system, or similar processing device (e.g., an electrical, optical, or quantum, computing device), that manipulates and transforms data represented as physical (e.g., electronic) quantities. The terms refer to actions and processes of the processing devices that manipulate or transform physical quantities within a computer system's component (e.g., registers, memories, other such information storage, transmission or display devices, etc.) into other data similarly represented as physical quantities within other components.
Present invention clock signal selection systems and methods facilitate selection of an active clock signal. The active clock signal is selected from a plurality of incoming clock signals and the incoming clock signals are utilized in controlling the changing or selection of one of the plurality of clock signals as the active clock signal. In one embodiment, a one-hot multiplexer interface is utilized. A cross coupled feedback technique can be utilized to ensure a first one of the plurality of incoming clock signals is deselected before a second one of the plurality of incoming clock signals is selected as the active clock signal. In one exemplary implementation, the plurality of incoming clock signals span different clock domains.
The components of clock signal selection system 100 cooperatively operate to select a clock signal as a active signal without reliance on an external master clock. Arbitration component 110 coordinates arbitration eligibility between a plurality of clock signals 171, 172 and 173. Control component 120 controls the coordination utilizing a clock signal from the plurality of clock signal 171, 172 and 173. In one embodiment, a first one of the plurality of clock signals that is currently running is utilized for controlling the coordination and selection of a second one of the plurality of clock signals. Selection component 120 selects one of the plurality of signals and outputs as an active clock signal
In one embodiment, arbitration component 210 includes NOR gates 211, 212, and 213, AND gates 214, 215, 2126, and synchronizing components 217, 218, and 219. The NOR gates 211, 212 and 213 ensure the selection of one of the plurality of clock signals does not occur while another of the plurality of clock signals is selected. The AND gates 214, 215, and 216 coordinate the selection between the plurality of signals with selection of another of the plurality of signals. Synchronizing components 217, 218 and 219 synchronizes a selected one of the plurality of clock signal, which helps avoid meta-stability in the selected output. In one embodiment, cross coupling feedback is utilized to direct the arbitration by the arbitration component.
In one embodiment, control component 220 includes a flip flop for introducing a delay to mitigate runt pulse impact. For example, mitigating in one exemplary implementation, the flip flop ensures a runt pulse does not pass the selection component OR gate between the time a first clock signal is gated off and the next active d or enabled clock being gated on. The control component also helps keep the high or low pulse of the resulting clock is no faster than either the clock that is being gated off nor the clock that is being gated on.
In one embodiment, the selection component is a multiplexer. In one exemplary implementation the multiplexer includes a clock gate and an OR gate. The clock gate coordinates timing between a selection by the selection component and control component with a selected clock signal transition to avoid glitches. In one embodiment, the clock gate includes a latch that opens for a portion of a clock cycle. The OR gate logically “ORs” clock signal output.
The components of clock system 290 cooperatively operate to facilitate efficient clock signal switching. Clock generation system 291 generates a plurality of clock signals. In one exemplary implementation, clock generation system 291 includes a plurality of clock generation components. Clock selection system 293 selects between the plurality of clock signals, wherein the clock selection system utilizes cross coupling feedback of clock selection indications in controlling the selection between the plurality of clock signals The clock selection system performs the selecting while minimizing introduction of clock glitches and runt pluses. Selection input register 293 forwards the clock selection indications. In one exemplary implementation, selection input register 292 receives input in accordance with software controlled instructions.
In one embodiment, there are 1 to 3 target clock cycles in a clock “hole” or between deactivation of a first incoming clock as the active clock (e.g., at time 321) and activation of second incoming clock as the active clock (e.g., at time 331). In one exemplary implementation, there is a latency of up to 3 target clock periods. While there may be a delay, there is not necessarily a minimum delay required between clock select changes.
In one embodiment, glitches on a decoded clock select line cause multiple clocks to be enabled when a non-active clock is currently selected. Registering the decoded “one-hot” selection signals before use avoids these glitches. The logic is skew tolerant and resulting skew does not affect the operation. In one exemplary, the skew on the clock select decode signals is less than 1 cycle of the fastest clock period to avoid increase clock “hole' time.
At block 410, a plurality of clock signals and a plurality of corresponding clock selection indication signals are received. The plurality of clock signals can be received from a single source or a variety of sources. In one embodiment, the clock signals operate at different frequencies and a different phase to one another.
At block 420, arbitration is performed on the plurality of selection indication signals to minimize conflict in selection of the active clock signal. In one embodiment, the enabling and arbitrating utilizes feedback from a clock signal that is already running in selecting of another new clocksignal. The arbitrating ensures an enablement of one of the plurality of clock signals does not occur while another of the plurality of clock signals is enabled.
At block 430, an active clock signal from one of the plurality of clock signals to be output is enabled. In one embodiment, the enabling is controlled by a clock included in the plurality of clock signals. In one embodiment, timing between one of the plurality of clock signals being enabled and another of the plurality of clock signals being enabled prevents a runt pulse.
In one embodiment, the enabling and arbitrating includes changing from one of the plurality of clock signals to control the enabling and arbitrating to another of the plurality of clock signals to control the enabling and arbitrating. The enabling and arbitrating are tolerant of clock skew.
As shown in
Additionally, it should be appreciated that although the components 501-557 are depicted in
It is appreciated that the present invention can be implemented in a variety of embodiments. Present clock selection systems and methods can be utilized in a number of different devices. For example, the present invention can be utilized to select clocks in a game console, personal computer, personal digital assistant, cell phone, etc. In one exemplary implementation, the present invention can be utilized in systems that provide a variety of graphics applications (e.g., video games, movies, images, etc.) on any number of platforms. It is also appreciated that references to these applications or implementations are exemplary and the present invention is not limited to these examples.
Thus, the present invention enables flexible selection of an active clock signals from a plurality of incoming clock signals utilizing. Utilization of a cross coupled feedback technique allows coordination of the selection of the active clock signal without a need for special sequencing of the interface signals controlled by a separate master clock signal. The selection of the active clock signal is performed efficiently while minimizing the clock glitch and runt pulse problems when changing clock sources.
The foregoing descriptions of specific embodiments of the present invention have been presented for purposes of illustration and description. They are not intended to be exhaustive or to limit the invention to the precise forms disclosed, and obviously many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and its practical application, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the Claims appended hereto and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
4868832 | Marrington et al. | Sep 1989 | A |
5220660 | Yoshizawa et al. | Jun 1993 | A |
5331346 | Shields et al. | Jul 1994 | A |
5339445 | Gasztonyi | Aug 1994 | A |
5365468 | Kakubo et al. | Nov 1994 | A |
5510740 | Farrell et al. | Apr 1996 | A |
5530845 | Hiatt et al. | Jun 1996 | A |
5586308 | Hawkins et al. | Dec 1996 | A |
5652885 | Reed et al. | Jul 1997 | A |
5737613 | Mensch, Jr. | Apr 1998 | A |
5758133 | Evoy | May 1998 | A |
5811987 | Ashmore et al. | Sep 1998 | A |
5862368 | Miller et al. | Jan 1999 | A |
6057789 | Lin | May 2000 | A |
6061410 | Linz | May 2000 | A |
6118462 | Margulis | Sep 2000 | A |
6134167 | Atkinson | Oct 2000 | A |
6141737 | Krantz et al. | Oct 2000 | A |
6163583 | Lin et al. | Dec 2000 | A |
6216234 | Sager et al. | Apr 2001 | B1 |
6226661 | Savell | May 2001 | B1 |
6252919 | Lin | Jun 2001 | B1 |
6272649 | Hayward et al. | Aug 2001 | B1 |
6275919 | Johnson | Aug 2001 | B1 |
6397340 | Watts, Jr. et al. | May 2002 | B2 |
6539120 | Sita et al. | Mar 2003 | B1 |
6549240 | Reitmeier | Apr 2003 | B1 |
6600345 | Boutaud | Jul 2003 | B1 |
6600575 | Kohara | Jul 2003 | B1 |
6678831 | Mustafa et al. | Jan 2004 | B1 |
6690219 | Chuang | Feb 2004 | B2 |
6690836 | Natarajan et al. | Feb 2004 | B2 |
6728959 | Merkey | Apr 2004 | B1 |
6747581 | Hodges | Jun 2004 | B2 |
6748408 | Bredin et al. | Jun 2004 | B1 |
6754837 | Helms | Jun 2004 | B1 |
6775776 | Vogt et al. | Aug 2004 | B1 |
6804267 | Long et al. | Oct 2004 | B1 |
6816809 | Circenis | Nov 2004 | B2 |
6845456 | Menezes et al. | Jan 2005 | B1 |
6965974 | Bays et al. | Nov 2005 | B1 |
6990594 | Kim | Jan 2006 | B2 |
7043649 | Terrell, II | May 2006 | B2 |
7061409 | Jantti et al. | Jun 2006 | B1 |
7100013 | de Waal | Aug 2006 | B1 |
7106224 | Knapp et al. | Sep 2006 | B2 |
7277101 | Zeng | Oct 2007 | B2 |
7414550 | Sudharsanan | Aug 2008 | B1 |
7471120 | Lou | Dec 2008 | B2 |
7590815 | de Waal | Sep 2009 | B1 |
7839410 | Brown et al. | Nov 2010 | B1 |
8013637 | Shikata | Sep 2011 | B2 |
8327173 | Hendin et al. | Dec 2012 | B2 |
20010044909 | Oh et al. | Nov 2001 | A1 |
20020013918 | Swoboda et al. | Jan 2002 | A1 |
20020145613 | MacInnis et al. | Oct 2002 | A1 |
20030025689 | Kim | Feb 2003 | A1 |
20030156639 | Liang | Aug 2003 | A1 |
20050021656 | Callegari | Jan 2005 | A1 |
20050057551 | Gong et al. | Mar 2005 | A1 |
20050125705 | Cheng et al. | Jun 2005 | A1 |
20050216643 | Munguia | Sep 2005 | A1 |
20050271361 | Aoki et al. | Dec 2005 | A1 |
20070240013 | Hayashi et al. | Oct 2007 | A1 |
20070257710 | Mari et al. | Nov 2007 | A1 |
20080046774 | Hirai et al. | Feb 2008 | A1 |
20090204830 | Frid et al. | Aug 2009 | A1 |
20120188233 | Shuster et al. | Jul 2012 | A1 |
20120223940 | Dunstan et al. | Sep 2012 | A1 |
20120306877 | Rosasco | Dec 2012 | A1 |
20130002838 | Takenaka | Jan 2013 | A1 |
20130097443 | Li et al. | Apr 2013 | A1 |
Entry |
---|
Office Action dated Sep. 17, 2010, U.S. Appl. No. 12/002,565. |
Final Office Action Dated Feb. 17, 2011; U.S. Appl. No. 12/002,565. |
Non-Final Office Action; U.S. Appl. No. 12/002,565; Mail Date Oct. 20, 2011. |
Final Office Action; U.S. Appl. No. 12/002,565; Mail Date Mar. 16, 2012. |