This application claims priority to French Patent Application No. 1254319, which was filed May 11, 2012 and is incorporated herein by reference.
The present disclosure relates to the field of clock signal synchronization systems and more specifically to the measurement of the delay of clock signals between different nodes of a circuit (generally called clock skew) and the correction of this delay (generally called de-skew). The present disclosure relates to such systems, be they implemented when the circuit is being tested or during operating phases of this circuit.
Generally, the clock signal of a circuit comprising several functions is generated by a single source, and then distributed to the other functions by means of a clock signal distribution tree, or clock tree. The clock signal may asynchronously reach the input points of the functions.
The physical dispersion of circuit characteristics on manufacturing and the layout imbalance of clock trees are the main contributors to the static skew of clock signals.
Voltage variations in the circuit, temperature variation from one point to the other of the circuit and phase jitter of the signal source are the main contributors to the dynamic skew of clock signals.
Such skews adversely affect the desired increase of the circuit operating frequency by forcing all the functions to wait for the arrival of the most delayed clock signal.
It is generally known to decrease the static skew by drawing a clock tree with a uniform layout. Among such layouts, the H-tree, according to a layout with uniform non-shorted buffers, and the clock mesh, according to a layout with uniform shorted buffers, are generally preferred.
A disadvantage of a uniform layout is that is does not compensate for the physical dispersion of circuit characteristics on manufacturing.
Another disadvantage of a mesh layout is its high power consumption. The mesh layout is achieved by means of metal strips. The resistivity specific to such strips induces variations in the clock signal propagation between nodes. Accordingly, short-circuits affect each of the nodes where such variations occur, thus resulting in high additional power consumption. Further, the self-capacitance of the strips also increases the power consumption. This makes it necessary to increase the buffer power to keep the clock signal frequency.
A disadvantage common to the two layouts is that they impose additional constraints with respect to automatic clock tree routing tools, which constraints are sometimes incompatible with the operation of these tools.
Another disadvantage is that the dynamic skew is not decreased.
Circuits for de-skewing the clock between different circuit nodes generally measure and compensate for this skew by means of programmable delay lines. The skew measurement may be tainted with error due to the length of the metal strips connecting the input nodes of the functions to the skew measurement component. This error mainly depends on the circuit size, on the distance of the leaves of the clock tree, on the clock signal frequency, and on the variability of the manufacturing method.
These and other problems are generally solved or circumvented, and technical advantages are generally achieved, by preferred embodiments of the present invention, one of which provides for a circuit for detecting a time skew. The circuit includes at least two comparators. The circuit further includes a first set of paths respectively connecting a first source of a first signal to the comparators, and a second set of paths respectively connecting a second source of a second signal to the comparators. Each comparator detects a possible skew between said first and second signals.
For a more complete understanding of the present invention, and the advantages thereof, reference is now made to the following descriptions taken in conjunction with the accompanying drawing, in which:
The making and using of the presently preferred embodiments are discussed in detail below. It should be appreciated, however, that the present invention provides many applicable inventive concepts that can be embodied in a wide variety of specific contexts. The specific embodiments discussed are merely illustrative of specific ways to make and use the invention, and do not limit the scope of the invention.
It is difficult to predict the static and dynamic skew between clock signals during circuit design steps. A system for measuring and correcting the skew of clock signals between different nodes of a circuit enables one to handle static and dynamic skews along the product lifetime.
A circuit 6 (SKEWCTRL) generates a reference clock signal REFCLK. A clock tree 10 provides, by layout, an identical time distribution of signal REFCLK of circuit 6 towards functions 1 to 4. If necessary, tree 10 comprises amplifiers 22 (generally called buffers), compensating for variations of the signal excursion along the paths. Such amplifiers must be placed with an identical number on each of the paths between circuit 6 and each function. Tree 10 may also be any other tree which, by construction, provides an identical time distribution of signal REFCLK.
A circuit 8 (CLKGEN) generates a useful clock signal CLK. Signal CLK follows paths 121, 122, 123, 124 (only path 121 is shown, for clarify) of a clock tree 12 towards the functions CORE1 CORE2, CORE3, CORE4, respectively. If necessary, tree 12 also comprises amplifiers 24, similar to amplifiers 22.
In the example of function 1, path 121 conveys signal CLK between circuit 8 and function 1 (also referred to as CORE1).
Signal CLK crosses a programmable delay line 161 (PDL1). A comparator 141 has its respective inputs connected to path 121 and to tree 10.
Comparator 141 is arranged as close as possible to function 1. This comparator measures the time skew between signals CLK and REFCLK on arrival at function 1. This skew information (output of comparator 141) is transmitted to circuit 6 via a connection 181. Circuit 6 then transmits a control signal proportional to the time skew via a connection 261, towards delay line 161, thus shifting a signal CLK present at this time on path 121. This skewed signal is transmitted to function 1 and to comparator 141.
In other words, a regulation loop detects the skew between signal CLK transmitted to function 1 and signal REFCLK, to de-skew, if necessary, future periods of signal CLK, which will in turn be compared with future periods of signal REFCLK for a de-skewing, if necessary.
As a variation, comparator 141 characterizes the skew by data of “advanced” or “delayed” type, and then transmits said data to function 6 over connection 181. Function 6 then transmits to delay line 161 an instruction of delay or advance by a fixed time. The progressive control tends towards a synchronization of signals CLK and REFCLK.
As a variation, comparator 141 directly transmits, over connection 201, an instruction of proportional or predetermined advance or delay to delay line 161 to create a local control loop.
Identical assemblies, sharing clock tree 12, are formed between circuits 6 and 8 and the other functions 2, 3, and 4. Such assemblies, each comprising a comparator 14 and a delay line 16, have been symbolized by blocks 302, 303, and 304. For simplification, the connections of blocks 30 to circuit 6 have not been shown, said connections being identical to those of the assembly of function 1.
An advantage of the described embodiments is that improving the synchronization of clock signals allows increasing the operating frequency.
Another advantage of the described embodiments is avoiding additional consumption power due to a uniform mesh layout.
Another advantage of the described embodiments is the ability to correct static and dynamic clock skews.
Another advantage of the described embodiments is the ability to decrease the power consumption by conditioning the activation of the calibration and of the de-skew to selected trigger thresholds.
Specific embodiments of the present invention have been described. Various alterations, modifications, and improvements will readily occur to those skilled in the art. It should be noted that those skilled in the art may combine various elements of these various embodiments and variations without showing any inventive step. In particular, the number of functions depends on the application. Further, the practical implementation of the described embodiments is within the abilities of those skilled in the art based on the functional indications given hereabove.
Such alterations, modifications, and improvements are intended to be part of this disclosure, and are intended to be within the spirit and the scope of the present invention. Accordingly, the foregoing description is by way of example only and is not intended to be limiting. The present invention is limited only as defined in the following claims and the equivalents thereto.
While this invention has been described with reference to illustrative embodiments, this description is not intended to be construed in a limiting sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention, will be apparent to persons skilled in the art upon reference to the description. It is therefore intended that the appended claims encompass any such modifications or embodiments.
| Number | Date | Country | Kind |
|---|---|---|---|
| 1254319 | May 2012 | FR | national |