1. Field of the Invention
The present invention relates to integrated circuits. More specifically, it relates to a circuit for measuring power integrity of a chip containing integrated circuits.
2. Description of Prior Art
As greater numbers of components are integrated onto semiconductor chips, the quality of the power supplies on those chips becomes an issue for chip designers. A poorly designed power supply architecture can lead to devices failing in operation due to problems such as, e.g., ground bounce and power droop.
Ground bounce is a transient parasitic phenomenon that occurs in high-speed devices and is caused in part by device packaging. When several I/O pins are switched simultaneously at high slew rates (which is, of course, common when driving a bus), the sum of the driving currents through each I/O pin can be quite substantial. The problem arises because this large current must be returned through the ground pins on the device. When there are many fewer ground pins than driving I/O pins, each ground pin is conducting a large portion of the return current. This current can become large enough to induce a significant voltage across the ground pins' lead inductances. This raises the ground reference voltage, which leads to decreased noise margins at receiving modules. Lowered noise margins can result in logic values being sensed improperly, a fatal communications error.
Power droop is experienced when large numbers of logic elements switch at the same time (for example, when the main system dock switches) in that they all draw current from the power supply. Since the wires that connect the circuits to the power supply are not ideal and have resistance, capacitance and inductance, a sudden demand for current will lead to a voltage drop across these wires. The inductance of the wire causes a voltage loss related to the rate of change of current demand. A clock switching causing a sudden large current demand causes a sudden voltage drop to occur across the power supply lines on the chip. Thus, each element that is trying to switch sees an apparent drop in it's supply voltage; this is commonly referred to as “power droop.”
To compound this problem, the failures are likely to be caused by dynamic effects and may not be detectable at final test which is usually performed at a much lower frequency than the typical operating frequency of the device.
During the design phase, power analysis programs can be used to evaluate the power consumption of the chip. These programs can be used to verify the power droop through different branches of the power supply network and show “hot spots” where the conductors may be too narrow for the predicted current flow. Unfortunately, these tools are only as good as the models they use and, to improve their speed of operation, the models use a simplified view of the operating environment. This simplification leads to a reduction in accuracy of the results which is sometimes unacceptable. Furthermore, these tools do not consider packaging and board level details, both of which can have significant effects on the power supply quality.
In addition to power analysis programs, there are currently two ways of measuring the voltages in a wire of an operating integrated circuit: directly with a microprobe or indirectly with something like an electron microscope. The indirect methods tend to suffer from the fact that they cannot resolve very fast edge rates and are very expensive. The direct method is reasonably cheap and can cope with moderate edge rates. Unfortunately, it is very time consuming, hard to automate and wastes die area with probe pad landing sites. It also suffers from the problem that performing the measurement disturbs the circuit that is being measured. It is, thus, desirable to have a method of measuring on-chip power supplies of real working silicon at real working frequencies.
The present invention provides a circuit and method for measuring power supply integrity. The circuit may be incorporated on-chip and, in fact, the circuit is small enough to be integrated many times across the surface of the die. The circuit instantaneously measures, e.g., the voltage of a power supply, which may be fluctuating at the time of measurement. In addition, the circuit isolates itself from all chip power rails for the duration of the measurement, thereby eliminating any influence of external noise on the measurement. A storage capacitor is charged up to full power rail voltage for powering up a comparator. Then, the comparator is isolated from the power rails and the measurements are taken. Based upon the measurements, certain power supply integrity parameters are quantified including ground bounce and power droop.
The foregoing and other advantages and features of the invention will become more apparent from the detailed description of preferred embodiments of the invention given below with reference to the accompanying drawings in which:
The present invention will be described as set forth in exemplary embodiments described below in connection with
Referring now to
A second input 180 (“+”) of comparator 130 is coupled to a first terminal of transistor 110. A second terminal of transistor 110 receives a sense voltage (Vsense) input at point 103 representing a voltage being sensed by the test circuit 100. Point 103 may be permanently coupled to a portion of a circuit under test of the semiconductor die. Transistor 110 will place point 103 in direct electrical contact with the second input 180 of comparator 130. The gate terminal 115 of transistor 110 is coupled to a Measure input for receiving a measure signal instructing the circuit 100 to measure, thereby placing point 103 in electrical contact with comparator 130. An output 145 of comparator 130 produces a Trigger signal, as will be described below.
Comparator 130 is also coupled to a first power terminal 170 (Vdd) and a second power terminal 175 (Vss) via respective transistors 150 and 160. A first terminal of transistor 150 is coupled to comparator 130 via conductor 190. A second input of transistor 150 is coupled to terminal 170 (Vdd). A first terminal of transistor 160 is coupled to comparator 130 via conductors 195 and 197 and also coupled to a second side of capacitor 135 (Cm). A second terminal of transistor 160 is coupled to terminal 175 (Vss). The gate terminal 162 of transistor 150 is coupled to an output of inverter 155. The gate terminal 164 of transistor 160 is coupled to an input of inverter 155. A Charge input 120 is also coupled to both gate terminal 164 and the input to inverter 155. In addition, a first side of capacitor 140 (Cs) is coupled to conductor 190 and a second side of capacitor 140 (Cs) is coupled to conductor 195.
The operation of the
During the second phase (θ1), the system clock (315 of
During the third phase (θ2), the Charge signal is made logic LOW (e.g., 0) and the test circuit 100 is effectively disconnected from the system power supplies and the reference voltage source (i.e., Vdd, Vss, Vref) and the semiconductor die 300.
During the fourth phase (θ3), the system clock 315 returns to normal operation, the Measure signal goes logic HIGH and the comparator's 130 non-inverting input 180 is electrically connected to the circuit under test. For example, input 180 may be coupled to a ground connection if the test circuit 100 is measuring ground bounce, or a power rail, such as Vdd, if the test circuit 100 is measuring power droop, etc. The measurement takes place while the comparator 130 is powered by the discharging capacitor 140 (Cs) rather than the noisy power rails (i.e., Vdd, Vss) and also while the reference voltage (Vref) is supplied by capacitor 135 rather than some source external to the test circuit 100. Furthermore, since the circuit under test is operating under normal conditions, the test circuit 100, when Measure is logic HIGH, senses the voltage of interest under so-called fill load conditions in which the operating frequency is running at its fill value and the conductors on the die 300 are carrying their intended current values. It should be noted that in order to achieve satisfactory isolation of the test circuit 100 from substrate noise, layout of the test circuit(s) 100 on the die 300 must be carefully undertaken as well as the possibility that guard rings might need to be provisioned. Guard rings, as known in the art, are structures that form an electrical barrier around a designated area such that any electrical noise travelling in the substrate of the chip is absorbed by the guard ring and conducted away from the protected region (i.e., the test circuit 100).
During the fifth phase (θ4), the Measure signal goes logic LOW and the measure operation is ended. The system clock 315 still operates under normal conditions and Charge is still logic LOW.
During operation of the test circuit 100, if the sensed voltage (Vsense) is greater than the reference voltage (Vref), the comparator 130 outputs, e.g., a logic HIGH (e.g., 1) signal onto Trigger 145 which may then be forwarded to an external test program which then increments the reference voltage (Vref) a predetermined amount in preparation for the next analysis cycle (phases 1-5). In accordance with an exemplary embodiment of the invention, for each analysis cycle (i.e., where each analysis cycle comprises phases 1-5), the reference voltage (Vref) is incrementally increased from 0v to Vdd. When measuring for ground bounce, the voltage of a selected ground terminal is sensed and compared with the new value of Vref. Eventually, as Vref is incremented for each test cycle, Vsense will be less than Vref and the Trigger output will stop toggling to logic HIGH (e.g. 1). At this point, the maximum ground bounce is known (i.e., it will be very close to the last incremental value of Vref) and appropriate adjustments can be made on a receiving end of a signal (e.g., via an external analysis program working in tandem with the test circuit 100).
Conversely, when the test circuit 100 is configured to test for power droop, the inverting input 185 and the non-inverting input 180 of the comparator 135 are switched, thereby allowing the detection of a condition in which Vsense falls below Vref as Vref is incrementally inversed from 0V to Vdd. The reference voltage (Vref) can be fed to many instances of the test circuit 100 throughout the die 300, as will be described below.
Turning now to
Turning to
Turing now to
At segment 535, the controller 310 determines whether Vsense is greater than Vref. If it is, the Trigger signal on comparator output terminal 145 is sent to a test program which increments the value of Vref at segment 540 and the process returns to segment 505 where segments 505-535 are repeated. However, if Vsense is less than Vref at segment 535, the Trigger signal does not toggle and may be forwarded to an external test system, at segment 545, where a determination of either maximum ground bounce or power droop is made. Such data may be used by the test system e.g., in optimizing the physical layout of the die 300. For example, if ground bounce is determined to be too high, additional ground pins may be added to the die 300 so as to reduce the current conducted by each individual ground pin. Alternatively, if power droop is found to be unacceptable, the designer may choose to increase the current carrying capacity of certain conductors on the die 300. It should be readily apparent that the exact order of process segments depicted in
Although the
The present invention provides a test circuit 100 and corresponding method for measuring power supply integrity. The test circuit 100 is so small and simple it may be integrated many times on a semiconductor die 300. The test circuit 100 may be configured to quantify important power supply parameters such as, e.g., ground bounce and power droop. In addition, when the test circuit 100 is integrated on the die 300, the test circuit 100 takes measurements during normal operation of the circuit or circuits under test on the die 300. Taking such measurements during normal operation allows the designer to assess the overall integrity of the circuits under test on the die 300. For example, the designer may discover that more ground pins are required or that certain conductors on the die 300 must be enlarged in order to carry the amount of current expected during normal operation.
While the invention has been described in detail in connection with preferred embodiments known at the time, it should be readily understood that the invention is not limited to the disclosed embodiments. Rather, the invention can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate with the spirit and scope of the invention. For example, although the invention has been described in connection with specific electronic components, the invention may be carried out with any number of different components. In addition, while the invention depicts a separate controller 310 as being coupled to the semiconductor die 300, it should be readily apparent that a controller may be incorporated onto the die 300 itself or the CPU 602 (of
Number | Date | Country | Kind |
---|---|---|---|
0106296.7 | Mar 2001 | GB | national |
Number | Date | Country | |
---|---|---|---|
Parent | 09808140 | Mar 2001 | US |
Child | 10911575 | Aug 2004 | US |