The invention relates to a buffer circuit, and in particular, to a buffer circuit acting as a repeater or receiver on a signal wire of an integrated circuit, such as a signal wire of an on-chip bus.
As integrated circuit technology is scaled to provide increased density on a chip, the on-chip interconnects become narrower and narrower. In addition, the height of the on-chip interconnects tend not to be scaled linearly with the width of the interconnects, thus making their aspect ratios larger. These trends lead to an increase in coupling capacitance with neighboring wires, which in turn leads to increased crosstalk between wires. These degrading effects, coupled with high wire resistance, can lead to poor performance due to the poor RC response at the receiving end of the wire.
This scenario is further degraded on an on-chip bus system when neighboring wires (referred to hereinafter as “aggressor” wires) switch in opposite directions to a wire under consideration (referred to hereinafter as a “victim” wire). For example, on a typical bus, the delay due to worst case switching, which occurs when the aggressor wires switch in an opposite direction to the victim wire, can be up to 2-4 times higher than when the wires switch in the same direction. Glitches due to crosstalk may occur on a victim wire when it stays silent and the aggressor wires switch simultaneously in the same direction.
It is known to overcome the problems mentioned above by reducing the coupling length of on-chip interconnects. One method for reducing coupling length is to introduce repeaters in each bus wire. A traditional repeater is a buffer circuit comprising two inverting stages. A repeater helps to reduce the crosstalk between bus wires, and also assists in linearizing the dependency of delay over the wire length.
Techniques usually used for reducing delays and delay noise are repeater insertion and delayed switching schemes. However, such schemes still suffer from poor response on long wires due to high wire capacitance (and miller coupling), since the switching threshold of the repeaters and receivers is fixed at half the supply voltage, i.e. Vdd/2.
Although it is known to lower the switching thresholds of repeaters by utilizing Schmitt trigger types of circuits, the improvement in bus performance is offset by the increased susceptibility to glitches caused by crosstalk. Furthermore, the charge induced by crosstalk can grow as it travels along a wire, leading to increased delay noise and hence slow speed.
An object of the present invention is to provide a buffer circuit for a signal wire on an integrated circuit, for example a buffer circuit acting as a repeater or receiver on a signal wire of an on-chip bus, which suffers less from the disadvantages mentioned above.
According to a first aspect of the present invention, there is provided a buffer circuit for a signal wire of an integrated circuit in which one or more aggressor signals can have a degrading effect on the signal wire, the buffer circuit receiving an input signal and producing an output signal, and comprising first and second inverter stages, characterized in that the buffer circuit comprises means for dynamically controlling the switching threshold of the first inverting stage according to the state of one or more of the aggressor signals.
According to another aspect of the present invention, there is provided a method of buffering a signal on a signal wire of an integrated circuit in which one or more aggressor signals can have a degrading effect on the signal, the method comprising the step of receiving an input signal and producing an output signal using first and second inverter stages, the method being characterized by the step of dynamically controlling the switching threshold of the first inverting stage according to the state of one or more of the aggressor signals.
According to another aspect of the present invention, there is provided an integrated circuit with an on-chip bus, having a buffer circuit as defined in the claims.
Advantageous embodiments are defined by the dependant claims.
For a better understanding of the present invention, and to show more clearly how it may be carried into effect, reference will now be made, by way of example, to the accompanying drawings, in which:
a to 9c show how the repeater circuit of the present invention can be connected as a repeater in an on-chip bus system;
As with a conventional repeater, the repeater circuit 31 of
According to one aspect of the invention, the switching threshold of the repeater circuit 31 is lowered when the aggressor signals 11, 13 are in certain states only, for example when the switching of the aggressor signals can potentially cause worst-case delay. This occurs when the aggressor wires switch in an opposite direction to the victim wire. It is noted that “lowering the switching threshold” can involve either lowering or raising the switching voltage of the repeater, depending upon whether the transition of the signal on the victim wire is from logic 0 to 1, or from logic 1 to 0.
In other words, during a transition from logic 0 to logic 1, the normal switching threshold is lowered by lowering the normal switching voltage (for example Vdd/2) by a value “Δ” to (Vdd/2)−Δ. This results in the repeater being made more sensitive to the input transition from 0 to 1. Likewise, when switching from logic 1 to logic 0, the switching threshold is lowered by raising the switching voltage by a value “Δ” to (Vdd/2)+Δ, which makes the repeater more sensitive to an input transition from 1 to 0.
Table 1 below shows how the switching threshold of the repeater circuit 31 is dynamically changed according to the various states of the victim and aggressor wires.
As can be seen from the table, the switching threshold of the repeater circuit
31 is lowered only when the switching of aggressor signals 11, 13 can potentially cause worst-case delay (i.e. when they switch in an opposite direction to the victim wire). This is shown in the first and fourth rows of the table. In the first row, the victim wire is at logic 0 and the aggressor wires are at logic 1, and the switching threshold is lowered by changing the switching voltage of the repeater to be (Vdd/2)−Δ. In the fourth row, where the victim wire is at logic 1 and the aggressor wires are at logic 0, the switching threshold is lowered by raising switching voltage of the repeater to (Vdd/2)+Δ.
This aspect of the invention has the advantage that, lowering of the switching threshold in these specific situations does not degrade signal integrity, because in such states the noise is always induced in such a way that it cannot introduce a glitch on the victim wire, as will be explained in greater detail later in the application.
Using the delayed aggressor values a1, a2, the switching threshold (Vdd/2, Vdd/2±Δ) of the repeater circuit 31 is determined by the state of aggressor signals 11, 13 as previously shown in Table 1 above. For example, assume that the input signal 3, i.e. the victim, is at logic level 0 and the aggressor signals 11, 13 are at logic level 1. This forms the initial condition for a possible worst case switching. This means that a1 and a2 will be at logic 1, resulting in devices 27 and 29 being turned ON while devices 21 and 23 are turned OFF. Thus, the inverting stage 7 has a stronger puff down path as compared to the pull up path, which means that this stage becomes more sensitive to 0→1 transitions at its inputs.
As mentioned above, the lowering of the switching threshold only when worst-case switching for delay is expected does not degrade signal integrity because the noise is always induced such that it cannot lead to a glitch at the output of a repeater/receiver. This phenomenon is explained as follows:
If it is assumed that the victim wire is at logic level 0 and the aggressor wires (neighbors) are at logic level 1, then “worst-case” switching for delay can occur in this state, which leads to a larger delay as compared to all the other cases. In this state, when the victim wire remains unchanged at logic level 0 and the aggressor wires switch from logic level 1 to logic level 0, the noise induced takes the victim wire to a voltage which is lower than logic level 0.
Similarly, worst-case switching for delay can also occur if the victim wire is at logic level 1 and the aggressor wires (neighbors) are at logic level 0. When the victim wire remains unchanged at logic level 1 and the aggressor wires switch from logic level 0 to logic level 1, the noise induced takes the victim wire to a voltage which is higher than logic level 1.
Only in the above-mentioned states can worst-case switching for delay occur. In all other cases (i.e. other states of the bus wires) the delay is less than the worst-case delay. This means that the noise induced in this state cannot cause a glitch at the receiver and so the switching threshold of the repeater/receiver can be safely reduced.
According to another aspect of the invention, the embodiment shown in
For example, if all the three wires are at the same logic level (e.g. 0) then a1 and a2 are also at 0. This forms the initial case for a possible worst case switching for crosstalk noise, which may lead to a glitch if the victim does not switch and both the aggressors switch. In this case, the switching threshold is raised. Since a1 and a2 are at 0, this results in devices 21 and 23 being turned ON and devices 27 and 29 being turned OFF. This means that the pull up strength of the inverter 7 is higher than the pull down strength. This makes the repeater less sensitive to a 0→1 transition and hence more robust As mentioned above, the control signals a1 and a2 are delayed signals derived from the neighboring wires. The delay is essential as these delay lines act as a temporary state retention elements, which prepare the circuit for the next transition.
In a similar manner to lowering the switching threshold, the raising of the switching threshold also involves the lowering or raising of the switching voltage, depending upon whether a transition from 1 to 0 or from 0 to 1 is expected.
The lowest possible switching threshold depends upon the threshold voltage of N (pull-down) and P (pull-up) devices when one of the paths is selected (either pull up or pull down).
The additional circuitry 50 comprises a first p-mos device 51 having its source connected to Vdd and its drain connected to a second p-mos device 53. The gate of p-mos device 51 is controlled by the input signal 3 (i.e. Vin). The gate of the second p-mos device 53 is controlled by the control signal X. The drain of the second p-mos device 53 is connected to the output of the first inverter stage 7, the input of the second inverter stage 9, and the drain of a first n-mos device 55. The source of the first n-mos device 55 is connected to the-drain of a second n-mos device 57, and the gate of the first n-mos device 55 is controlled by the second control signal Y. The gate of the second n-mos device 57 receives the input signal 3 (i.e. Vin), and the source of the second n-mos device 57 is connected to ground.
The control signals X, Y are derived using selection logic (not shown), based on the status of the input signal 3 of the repeater (i.e. Vin) and the aggressor signals 11 and 13 (referred to below as Agg1 and Agg2, respectively). The selection logic is configured such that:
X=
Y=
The selection logic is implemented in such a way that the delay meets the following criterion:
TCLK>TSl>δmax (1)
Where, TCLK is the clock period, TSl is the delay of selection circuit, δmax is the maximum difference between the delay of the wire section that is being refreshed by the repeater and its aggressors. The lower bound on TSl ensures that the state selection is maintained until the input of the repeater has crossed Vdd/2 and the first inverting stage 7 has switched. Otherwise the internal node of the repeater circuit could flip temporarily, which would cause a short glitch.
In the embodiment described above, the aggressor signals 11 (Agg1) and 13 (Agg2) represent the signals on the immediate aggressors to the victim wire under consideration. The first inverter stage 7, or “weak” inverter, in
The additional circuitry 50 operates to lower the switching threshold of the repeater circuit 31 only when worst-case switching is expected, and does not raise the threshold when typical-case switching is expected. This is achieved by having a “weak” first inverting stage 7, with the additional circuitry 50 connected in parallel such that the pull up/down paths of the inverter stage 7 and additional circuitry 50 combine to form the total pull up/down paths.
When the victim wire is in an opposite state as compared to the aggressor wires, then either of devices 53 or 55 is selected, which results in the input stage being more sensitive to low or high transitions respectively. However, if all wires are in the same state, then both devices 53 and 55 are turned ON, and thus the switching threshold remains at Vdd/2.
This arrangement enables the repeater circuit 31 to be configured such that the switching threshold of the repeater circuit is lowered only when worst-case switching for delay is expected (i.e. when the victim wire is in an opposite state to the aggressor wires), and in all the other states the switching threshold is kept constant, for example at Vdd/2. In contrast, the repeater circuit described in
According to the circuit arrangement of
The lowest possible switching threshold of the repeater circuit of
a to 9c show how the repeater circuit according to the present invention can be inserted into signal wires of an on-chip bus.
The repeater circuit according to the present invention provides improved performance as described below. The performance simulations are based on a 10 mm long bus on a second metal layer laid over metal one plane in CMOS 0.13 micrometer technology. A simulation-based approach is used to calculate the repeater sizes, i.e. the drive strength for a given load, based on optimum power-delay product
A distributed wire RLC (resistance-inductance-capacitance) model is used to model the wires. A comparison of speed and power dissipation is provided for a conventional repeater and the repeater according to the present invention, both having the same output drives for different configurations, no repeater insertion, repeater insertion and staggered repeater insertion as shown in
Tables 2 and 3 show the worst-case delay and product of the power and the square of the delay (i.e. Power-Delay2 product) for a 10 mm long bus laid at minimum pitch. 125 MHz data rate is used for simulating the power Figs.
Although the preferred embodiment has been described in relation to the switching threshold being dynamically lowered according to first and second aggressor signals, for example from immediate neighbors, it will be appreciated that the aggressor signals may be derived from any signal wires on the integrated circuit which can have an impact on the victim wire. For example, the repeater circuit can be used to reduce the effect of crosstalk from far-away aggressors, when the victim wire and its immediate aggressor wires are not switching, but whereby other aggressor wires are switching to generate noise. In such a state, the simulation results show that a peak noise of 225 mV was observed on the victim line due to simultaneous switching of six far off aggressors (three on each side) (total nine wires, 6 far-away aggressors, 2 immediate aggressors and 1 victim).
The invention described above provides a buffer circuit for use as a repeater or receiving circuit, in which the switching threshold is dynamically changed in accordance with the state of one or more aggressor wires. The buffer circuit has the advantage of improving the performance of the bus.
In the examples provided above, it is assumed that the close neighbors of the victim wire induce most of the noise and the noise induced by subsequent aggressor is lesser. However, it will be readily apparent to a person skilled in the art that, although the preferred embodiments refer to the aggressor wires being the immediate neighbors of the victim wire, the aggressor wires could also be selected from other signal wires which have an impact on the victim wire. For example the aggressor wires can be signal wires other than the immediate neighbors of the victim wire, or from a different communication bus which is synchronous with the bus under consideration. Furthermore, the reference to immediate neighbors embraces both immediate neighbors in the same plane and neighbors lying in different planes, for example above and below the metal plane under consideration.
In addition, it is noted that the invention can be used with only one aggressor signal, for example when the buffer is used as a repeater/receiver near the edge of a communication bus, or with more than two aggressor signals, for example when second order or third order crosstalk is being experienced.
Also, other modifications are possible without departing from the scope of the invention as defined in the appended claims. For example, a person skilled in the art will appreciate that various circuit elements shown in the preferred embodiments can be replaced with equivalent circuits performing the same function. For example, in
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be capable of designing many alternative embodiments without departing from the scope of the invention as defined by the appended claims. In the claims, any reference signs placed in parentheses shall not be construed as limiting the claims. The word “comprising” and “comprises”, and the like, does not exclude the presence of elements or steps other than those listed in any claim or the specification as a whole. The singular reference of an element does not exclude the plural reference of such elements and vice-versa. The invention may be implemented by means of a hardware comprising several distinct elements, and by means of a suitably programmed computer. In a device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Number | Date | Country | Kind |
---|---|---|---|
03101317.0 | May 2003 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB04/50613 | 5/7/2004 | WO | 11/8/2005 |