Machine Learning-Based Prediction of Test Power
Machine Learning-Based Prediction of Test Power
The model generated is sensitive to random errors if the matrix Pt = w1 (n1 ) + w2 (n2 ) + . . . + wm (nm ),
X becomes singular. The model terms are independent of the
estimated coefficients. If the columns of the design matrix X where w1 , . . . , wm are the coefficients representing the power
have linear dependencies due to correlated terms then there metric value of their corresponding node n1 , . . . , nm . The data
is the problem of multi-collinearity [5], [22]. Due to this, the is obtained by the accurate (time-consuming) simulation of the
error can be large while predicting multiple values. training test vectors for the training purpose.
Fig. 3: Test simulation and analysis.
rithms are well suited to predict the power profile of a test. [6] R. Burch, F. N. Najm, P. Yang, and T. N. Trick, “A monte carlo approach
The number of training tests influences the prediction quality. for power estimation,” IEEE Trans. on VLSI Systems, vol. 1, no. 1, pp.
63–71, 1993.
The Neural Network based learning technique was found to [7] M. Chadha, T. Ilsche, M. Bielert, and W. E. Nagel, “A statistical
be the best choice compared to the other algorithms in terms approach to power estimation for x86 processors,” in International
of overall accuracy as well as run time. Parallel and Distributed Processing Symposium Workshops (IPDPSW).
IEEE, 2017, pp. 1012–1019.
VII. C ONCLUSION AND F UTURE W ORK [8] R. Chandramouli and V. K. Srikantam, “Multimode power modeling and
maximum-likelihood estimation,” IEEE Trans. on VLSI Systems, vol. 12,
It is difficult to carry out the power analysis for all tests no. 11, pp. 1244–1248, 2004.
due to practical time and resource constraints. The accurate [9] M. B. Christopher, PATTERN RECOGNITION AND MACHINE LEARN-
ING. Springer-Verlag New York, 2016.
simulation of the complete test set for complex circuits is not [10] Y. A. Durrani and T. Riesgo, “Statistical power estimation for ip-
possible. We have proposed the use of machine learning-based based design,” in IEEE Industrial Electronics, IECON -32nd Annual
techniques to predict the test power of test patterns without Conference on, 2006, pp. 4935–4939.
[11] Y.-C. Fang, H.-Y. Lin, M.-Y. Su, C.-M. Li, and E. J.-W. Fang, “Machine-
explicitly simulating them. The detailed analysis results of a learning-based dynamic ir drop prediction for eco,” in Int’l Conf. on
few tests are used to train a model. The model is then applied CAD. ACM, 2018, p. 17.
for the prediction of the power profile of the remaining tests to [12] P. Girard, N. Nicolici, and X. Wen(Eds.), Power-Aware Testing and Test
Strategies for Low Power Devices. Springer, 2009.
identify potentially power-unsafe tests. The method is found [13] S. Gupta and F. N. Najm, “Analytical models for rtl power estimation
to be effective in predicting the test power profile of most of combinational and sequential circuits,” IEEE Trans. on CAD of
tests. The error is less than 5% when we rely on the accurate Integrated Circ. and Systems, vol. 19, no. 7, pp. 808–814, 2000.
[14] L. Hou, X. Wu, and W. Wu, “Neural network based power estimation on
simulation data of a few training vectors. Experimental results chip specification,” in International Conference on Information Sciences
show that hours of run time for the actual analysis is reduced and Interaction Sciences (ICIS). IEEE, 2010, pp. 187–190.
to seconds with the help of the prediction techniques. Here, the [15] L. Hou, L. Zheng, and W. Wu, “Neural network based vlsi power
estimation,” in International Conference on Solid-State and Integrated
Neural Network-based learning algorithm has been found to be Circuit Technology, ICSICT. IEEE, 2006, pp. 1919–1921.
the best in terms of run time and error rate. Overall, it has been [16] S.-Y. Lin, Y.-C. Fang, Y.-C. Li, Y.-C. Liu, T.-S. Yang, S.-C. Lin, C.-
shown that machine learning-based prediction is an effective M. Li, and E. J.-W. Fang, “IR-drop prediction of ECOs-revised circuits
using machine learning,” in VLSI Test Symp., 2018, pp. 1–6.
alternative to the accurate simulation of all test patterns to [17] K. Miyase, M. Sauer, B. Becker, X. Wen, and S. Kajihara, “Identifi-
identify power-critical tests when the latter is infeasible. In cation of high power consuming areas with gate type and logic level
future work, more parameters such as time-dependent features information,” in IEEE European Test Symp., 2015, pp. 1–6.
[18] K. P. Murphy and F. B. (Ed.), Machine Learning: A Probabilistic
will be considered to improve the accuracy further. Perspective (Adaptive Computation and Machine Learning series). MIT
VIII. ACKNOWLEDGMENT Press, 2012.
[19] A. K. Murugavel, N. Ranganathan, R. Chandramouli, and S. Chavali,
The work has been supported by the Deutsche Forschungs- “Least-square estimation of average power in digital cmos circuits,”
gemeinschaft (DFG) under contract number EG 290/5-1 and IEEE Trans. on VLSI Systems, vol. 10, no. 1, pp. 55–58, 2002.
[20] V. Narayanan, N. Dhanwada et al., “A power estimation methodol-
SFB 1232 in subproject P01 Predictive function under Project ogy for systemc transaction level models,” in Third IEEE/ACM/IFIP
276397488 by German Research Foundation. The work of International Conference on Hardware/Software Codesign and System
Krishnendu Chakrabarty was supported in part by a Humboldt Synthesis,CODES+ ISSS, 2005, pp. 142–147.
[21] N. Nicolici and B. Al-Hashimi, Power-constrained testing of VLSI
Research Award from the Alexander von Humboldt Founda- circuits. Kluwer Academic Publishers, Boston, MA, 2003.
tion. [22] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion,
O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vander-
R EFERENCES plas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duch-
esnay, “Scikit-learn: Machine learning in Python,” Journal of Machine
[1] C. Albrecht, “IWLS 2005 benchmarks,” Tech. Rep., Jun. 2005. Learning Research, vol. 12, pp. 2825–2830, 2011.
[2] N. S. Altman, “An introduction to kernel and nearest-neighbor non- [23] G. Qu, N. Kawabe, K. Usami, and M. Potkonjak, “Function-level power
parametric regression,” The American Statistician, vol. 46, no. 3, pp. estimation methodology for microprocessors,” in Design Automation
175–185, 1992. Conf., 2000, pp. 810–813.
[3] S. Bhanja and N. Ranganathan, “Switching activity estimation of vlsi [24] V. Saxena, F. N. Najm, and I. Hajj, “Monte-carlo approach for power
circuits using bayesian networks,” IEEE Trans. on VLSI Systems, vol. 11, estimation in sequential circuits,” in Design, Automation and Test in
no. 4, pp. 558–567, 2003. Europe, 1997, p. 416.
[4] ——, “Cascaded bayesian inferencing for switching activity estimation [25] L.-T. Wang, C.-W. Wu, and X. Wen, VLSI Test Principles and Architec-
with correlated inputs,” IEEE Trans. on VLSI Systems, vol. 12, no. 12, tures. Elsevier, 2006.
pp. 1360–1370, 2004. [26] Q. Wu, Q. Qiu, and M. Pedram, “Estimation of peak power dissipation in
[5] L. Buitinck, G. Louppe, M. Blondel, F. Pedregosa, A. Mueller, O. Grisel, vlsi circuits using the limiting distributions of extreme order statistics,”
V. Niculae, P. Prettenhofer, A. Gramfort, J. Grobler, R. Layton, J. Van- IEEE Trans. on CAD of Integrated Circ. and Systems, vol. 20, no. 8,
derPlas, A. Joly, B. Holt, and G. Varoquaux, “API design for machine pp. 942–956, 2001.
learning software: experiences from the scikit-learn project,” in ECML
PKDD Workshop: Languages for Data Mining and Machine Learning,
2013, pp. 108–122.