Traditionally, the performance range provided to designers is only applicable to digital circuits in the form of “process corners”. The process corners are indicated as speed variations of an N-type metal oxide semiconductor field effect transistor (NMOS) and a P-type metal oxide semiconductor field effect transistor (PMOS) within a rectangular range determined by four corners. Further, when device models corresponding to each corner are extracted from a chip, testing structures on-chip for the NMOS and the PMOS exhibit different gate delays. Thus, when chips are able to satisfy the performance metrics of these corners, they can be considered as qualified chips. Since speed variations are correlated to the process corners of the chips, minimum integrated circuit (IC) operating voltages for driving the chips are different.
Since the minimum IC operating voltages for driving the chips are different, searching a real minimum IC operating voltage for each chip is required for improving an IC operation performance and reducing power consumption. However, currently, no efficient method for searching the real minimum IC operating voltages to configure infinity voltage bins of the ICs.
Therefore, developing a minimum IC operating voltage searching system capable of rapidly and efficiently searching the real minimum IC operating voltage for each chip is an important design issue.
In an embodiment of the present invention, a minimum integrated circuit (IC) operating voltage searching method is disclosed. The minimum IC operating voltage searching method comprises acquiring a corner type of an IC, acquiring ring oscillator data of the IC, generating a first prediction voltage according to the corner type and the ring oscillator data by using a training model, generating a second prediction voltage according to the ring oscillator data by using a non-linear regression approach under an N-ordered polynomial, and generating a predicted minimum IC operating voltage according to the first prediction voltage and the second prediction voltage. N is a positive integer.
In another embodiment of the present invention, a minimum IC operating voltage searching system is disclosed. The minimum IC operating voltage searching system comprises an input module, a memory, a testing module, a processor, and an output module. The input module is configured to receive input data. The testing module is configured to test an IC by using a plurality of minimum IC operating voltages. The processor is coupled to the input module, the memory, and the testing module. The output module is coupled to the testing module and configured to output a real minimum IC operating voltage. The processor acquires a corner type and ring oscillator data of the IC through the input module. The processor generates a first prediction voltage according to the corner type and the ring oscillator data by using a training model saved in the memory. The processor generates a second prediction voltage according to the ring oscillator data by using a non-linear regression approach under an N-ordered polynomial. The processor generates a predicted minimum IC operating voltage according to the first prediction voltage and the second prediction voltage. N is a positive integer.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
In the NNR approach, as previously mentioned, the training model 11a can include the input layer L1, at least one hidden layer L2, and the output layer L3. The ring oscillator data ROSC can include M data fields, such as OSC1, OSC2, and OSC3 to OSCM. M is a positive integer. The M data fields OSC1, OSC2, and OSC3 to OSCM of the ring oscillator data ROSC and the corner type CT can be inputted to (M+1) neurons of the input layer L1. Here, the ring oscillator data ROSC and the corner type CT are digital data. At least one hidden layer L2 can be regarded as a function for processing the ring oscillator data ROSC and the corner type CT. Finally, the output layer L3 can output the first prediction voltage VNNR. In other words, the first prediction voltage VNNR can be expressed as a function output, as illustrated below.
Here, f(●) is a function of the training model 11a. By using the NNR approach, the processor 13 can acquire the first prediction voltage VNNR of the IC.
In the NLR approach, the processor 13 can acquire a regression weighting bias and N regression weighting vectors under an NLR optimization function according to N ring oscillator vectors. Here, the NLR optimization function can be expressed as below.
Here, w0 is the regression weighting bias. wkT is a transpose of k-th regression weighting vector. xk is k-th ring oscillator vector. α is a predetermined constant. ∥w∥ is an inner product sum of the regression weighting bias w0 and the N regression weighting vectors w1 to wN. N ring oscillator vectors x1 to xN and the parameter y are observed data. In the NLR approach, the ring oscillator data ROSC can be formed by the N ring oscillator vectors x1 to xN. ∥w∥ can be regarded as a regularization term for preventing over-fitting to the observed data (x, y), especially in large N. N ring oscillator vectors x1 to xN and the N regression weighting vectors w1 to wN can form the N-ordered polynomial, denoted as
Specifically, the NLR optimization function corresponds to a convex optimization problem. The convex optimization problem can be solved by deriving the regression weighting bias w0 and the N regression weighting vectors w1 to wN. After the regression weighting bias w0 and the N regression weighting vectors w1 to wN are derived, the processor 13 can generate the second prediction voltage VNLR as
In other words, by using the NLR approach, the processor 13 can generate the second prediction voltage VNLR according to the regression weighting bias w0, the N regression weighting vectors w1 to wN, and the N ring oscillator vectors x1 to xN.
As previously mentioned, the NNR approach can be used for generating the first prediction voltage VNNR of the IC. The NLR approach can be used for generating the second prediction voltage VNLR Of the IC. Particularly, properties of the NLR approach and the NNR approach can be listed in Table T1.
In the minimum IC operating voltage searching system 100, to improve flexibility of generating the predicted minimum IC operating voltage Z, a blending technology of the NNR approach and the NLR approach is introduced. In the embodiment, in
First, the predicted minimum IC operating voltage Z can be expressed as:
The predicted minimum IC operating voltage Z can be optimized by minimizing its variance, expressed as:
Here,
The solutions of the optimization function can be derived below.
Using a partial derivative technology, the optimization function can be derived as:
Therefore, the first weighting value WNNR can be expressed as:
Using the partial derivative technology, the optimization function can be derived as:
Therefore, the second weighting value WNLR can be expressed as:
Since the sum of the first weighting value WNNR and the second weighting value WNLR is normalized to one (i.e., WNNR+WNLR=1), the Lagrange multiplier λ can be derived as:
Substituting λ into the first weighting value WNNR can derive a closed-form of the first weighting value WNNR.
Substituting A into the second weighting value WNLR can derive a closed-form of the second weighting value WNLR.
Here, σ2NNR is a variance of the first weighting value WNNR. σ2NLR is a variance of the second weighting value WNLR. In other words, the processor 13 can acquire the first weighting value WNNR corresponding to the first prediction voltage VNNR according to the variance σ2NNR of the first prediction voltage VNNR and the variance σ2NLR of the second prediction voltage VNLR. The processor 13 can acquire the second weighting value WNLR corresponding to the second prediction voltage VNLR according to the variance σ2NNR of the first prediction voltage VNNR and the variance σ2NLR of the second prediction voltage VNLR. In the embodiment, when the variance σ2NNR of the first prediction voltage VNNR increases, the second weighting value WNLR increases. When the variance σ2NLR of the second prediction voltage VNLR increases, the first weighting value WNNR increases. Briefly, the processor 13 uses the Lagrange multiplier λ for deriving the first weighting value WNNR and the second weighting value WNLR. As a result, the processor 13 can use the first weighting value WNNR and the second weighting value WNLR for blending the first prediction voltage VNNR and the second prediction voltage VNLR. Finally, the predicted minimum IC operating voltage Z can be expressed as:
After the predicted minimum IC operating voltage Z is acquired, the processor 13 can set an initial minimum IC operating voltage to the predicted minimum IC operating voltage Z. For example, the initial minimum IC operating voltage can be set to 0.8V. Then, the testing module 12 can test the IC by using the plurality of minimum IC operating voltages generated according to the initial minimum IC operating voltage for searching the real minimum IC operating voltage Vmin. For example, when the initial minimum IC operating voltage is set to 0.8V, the plurality of minimum IC operating voltages can be smaller than 0.8V. The testing module 12 can use the plurality of minimum IC operating voltages for driving the IC. Then, the testing module 12 can search the real minimum IC operating voltage Vmin from the plurality of minimum IC operating voltages. However, any hardware or technology modification falls into the scope of the present invention. For example, the processor sets a searching bias voltage Δ. The processor 13 can set an initial minimum IC operating voltage to a sum of the predicted minimum IC operating voltage and the searching bias voltage Δ. For example, the initial minimum IC operating voltage can be set to 0.8V+Δ. The searching bias voltage Δ can be used for adjusting a convergence rate of searching the real minimum IC operating voltage Vmin.
Details of step S301 to step S305 are previously illustrated. Thus, they are omitted here. In the minimum IC operating voltage searching system 100, an artificial intelligence (AI) based training model (say, the NNR approach) and the NLR approach are used for generating the predicted minimum IC operating voltage Z. The predicted minimum IC operating voltage Z can be set to the initial minimum IC operating voltage for searching the real minimum IC operating voltage Vmin. Since the initial minimum IC operating voltage is dynamically changed for different ICs, the convergence rate (or say, the processing speed) of searching the real minimum IC operating voltage Vmin can be greatly improved.
To sum up, the present invention discloses a minimum IC operating voltage searching method and a minimum IC operating voltage searching system. The minimum IC operating voltage searching system can use the NNR approach and the NLR approach for generating the predicted minimum IC operating voltage. The weighting values for blending the NNR approach and the NLR approach can be dynamically adjusted according to variances of the prediction voltages of the NNR approach and the NLR approach. The predicted minimum IC operating voltage can be set to the initial minimum IC operating voltage for searching the real minimum IC operating voltage. Thus, the initial minimum IC operating voltage can be dynamically changed for different ICs. As a result, the minimum IC operating voltage searching system can be applied to the adaptive voltage scaling technology under infinity voltage bins and can provide high efficiency for searching the real minimum IC operating voltage.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
This application claims the benefit of U.S. Provisional Application No. 63/580,403, filed on Sep. 4, 2023. The content of the application is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
63580403 | Sep 2023 | US |