This work describes a methodology to model power consumption of logic modules. A detailed mathematical model is presented and incorporated in a tool for translation of models written in VHDL to SystemC. The functionality for implicit power monitoring and estimation is inserted at module translation. The translation further implements an approach to wrap RTL to TLM interfaces so that the translated module can be connected to a system-level simulator. The power analysis is based on a statistical model of the underlying HW structure and an analysis of input data. The flexibility of the C++ syntax is exploited, to integrate the power evaluation technique. The accuracy and speed-up of the approach are illustrated and compared to a conventional power analysis flow using PPR simulation, based on Xilinx technology. 1. Introduction The need for more abstract system on chip development techniques is evident due to rising system complexity. Consequently, accurate system evaluation in less time will increase the productivity. According to the Semiconductor roadmap, especially the consideration of energy consumption is becoming more important and is also a limiting factor for many applications [1, 2]. Modeling strategies are driven by system and software engineers on the one hand and hardware engineers on the other hand. The first group develops RTL models written in hardware description languages (HDLs) since they are the basis for synthesis tools. The second group uses transaction level models (TLMS), most commonly written in SystemC [3] since these models enable fast system simulation. SystemC is a library based on the object-oriented programming language C++. A TLM specification extends SystemC to separate communication from computation. TLM improves modeling and simulation speed. The simulation speed depends on the level of abstraction [4]. Also, modeling at different abstraction levels is possible. This increases the flexibility of SystemC. A remaining problem is the trade-off between accuracy and simulation speed and with that, the link and synchronization between the two layers. Translation tools are solving this problem to some extent. They inherit some limitations in the translation of syntax constructs that do not have direct counterparts. The presented tool extends this feature list. The main goal of this work, however, is the integration of a power analysis methodology into the translation process. The power estimation methodology estimates switching activities in DSP units such as adders or multipliers according to actual input data. The approach is
References
[1]
N. Dhanwada, I. C. Lin, and V. Narayanan, “A power estimation methodology for SystemC transaction level models,” in Proceedings of the 3rd IEEE/ACM/IFIP International Conference on Hardware/Software Codesign and Systems Synthesis (CODES+ISSS '05), pp. 142–147, September 2005.
[2]
N. Dhanwada, R. A. Bergamaschi, W. W. Dungan et al., “Transaction-level modeling for architectural and power analysis of PowerPC and CoreConnect-based systems,” Design Automation for Embedded Systems, vol. 10, no. 2-3, pp. 105–125, 2005.
[3]
M. Lang, “System C for Embedded System Design,” Seminar, 2006, http://dl.acm.org/citation.cfm?id=339657.
[4]
S. Boukhechem and E. B. Bourennane, “TLM platform based on systemC for STARSoC design space exploration,” in Proceedings of the NASA/ESA Conference on Adaptive Hardware and Systems (AHS '08), pp. 354–361, June 2008.
[5]
S. Hauck and A. Dehon, Reconfigurable Computing the Theory and Practice of FPA-Based Computing, Elsevier, 2008.
[6]
N. Voros, A. Rosti, and M. Hübner, XDynamic System Reconfiguration in Heterogeneous Platforms, Elsevier, 2009.
[7]
M. Kuehnle, A. Wagner, and J. Becker, “A statistical power estimation methodology embedded in a SystemC code translator,” in Proceedings of the 24th Symposium on Integrated Circuits and Systems Design (SBCCI '11), pp. 79–84, IEEE Computer Society, 2011.
N. Bombieri, “Hif suite 2.0: hdl translating and manipulation tools,” 2009, http://hifsuite.edalab.it/.
[12]
University of Cincinnati, “Savant,” 2011, http://www.cliftonlabs.com/savant/.
[13]
M. e. a. Bocchi, “A system level IP integration methodology for fast SOC design,” in Proceedings International Symposium on System-on-Chip, pp. 127–130, 2003.
[14]
G. B. Vece and M. Conti, “Power estimation in embedded systems within a SystemC-based design context: the PKtool environment,” in Proceedings of the 7th Workshop on Intelligent Solutions in Embedded Systems (WISES '09), pp. 179–184, June 2009.
[15]
M. Giammarini, M. Conti, and S. Orcioni, “System-level energy estimation with Powersim,” in Proceedings of the 18th IEEE International Conference on Electronics, Circuits and Systems (ICECS '11), pp. 723–726, December 2011.
[16]
D. Brooks, V. Tiwari, and M. Martonosi, “Wattch: a framework for architectural-level power analysis and optimizations,” ACM SIGARCH Computer Architecture News, vol. 28, no. 2, pp. 83–94, 2000, http://portal.acm.org/citation.cfm?id=339657.
[17]
G. S. Silveira, A. V. Brito, and E. U. K. Melcher, “Functional verification of power gate design in systemc RTL,” in Proceedings of the 22nd Symposium on Integrated Circuits and Systems Design (SBCCI '09), I. S. Silva, R. P. Ribas, and C. Plett, Eds., ACM, September 2009.
[18]
A. V. Brito, M. Kühnle, M. Hübner, J. Becker, and E. U. K. Melcher, “Modelling and simulation of dynamic and partially reconfigurable systems using System C,” in Proceedings of the IEEE Computer Society Annual Symposium on VLSI (ISVLSI ’07), pp. 35–40, 2007.
[19]
U. Tuebingen, 2001, http://www-ti.informatik.uni-tuebingen.de/systemc/.
[20]
A. Wagner, Diplomarbeit Randbedingungen der HW-Modellierung auf RTL-und Systemebene, 2011.