|
ABSTRACT
The increasing complexity of embedded systems requires modeling at higher levels of abstraction. Transaction level modeling (TLM) has been proposed to abstract communication for high-speed system simulation and rapid design space exploration. Although being widely accepted for its high performance and efficiency, TLM often exhibits a significant loss in model accuracy. In this article, we systematically analyze and quantify the speed/accuracy trade-off in TLM. To this end, we provide a classification of TLM abstraction levels based on model granularity and define appropriate metrics and test setups to quantitatively measure and compare the performance and accuracy of such models. Addressing several classes of embedded communication protocols, we apply our analysis to three common bus architectures, the industry-standard AMBA advanced high-performance bus (AHB) as an on-chip parallel bus, the controller area network (CAN) as an off-chip serial bus, and the Motorola ColdFire Master Bus as an example for a custom embedded processor bus. Based on the analysis of these individual busses, we then generalize our results for a broader conclusion. The general TLM trade-off offers gains of up to four orders of magnitude in simulation speed, generally however, at the price of low accuracy. We conclude further that model granularity is the key to efficient TLM abstraction, and we identify conditions for accuracy of abstract models. As a result, this article provides general guidelines that allow the system designer to navigate the TLM trade-off effectively and choose the most suitable model for the given application with fast and accurate results.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
ARM. 1999. AMBA Specification (Rev. 2.0), ARM IHI 0011A. Advanced RISC Machines Ltd. (ARM).
|
| |
2
|
ARM. 2003. AMBA AHB Cycle Level Interface (AHB CLI) Specification, ARM IHI 0011A. Advanced RISC Machines Ltd (ARM).
|
| |
3
|
Bosch. 1991. CAN Specification, 2.0 Ed. Robert Bosch GmbH.
|
| |
4
|
Brem, D. and Müller, D. 2003. Interface based system modeling of a can using sve. In Proceedings of the EkompaSS Workshop.
|
 |
5
|
|
| |
6
|
M. Caldari , M. Conti , M. Coppola , S. Curaba , L. Pieralisi , C. Turchetti, Transaction-Level Models for AMBA Bus Architecture Using SystemC 2.0, Proceedings of the conference on Design, Automation and Test in Europe: Designers' Forum, p.20026, March 03-07, 2003
|
| |
7
|
|
| |
8
|
Gajski, D. D., Zhu, J., Dömer, R., Gerstlauer, A., and Zhao, S. 2000. SpecC: Specification Language and Design Methodology. Kluwer Academic Publishers.
|
| |
9
|
|
 |
10
|
|
 |
11
|
|
| |
12
|
Gerstlauer, A., Shin, D., Peng, J., Dömer, R., and Gajski, D. D. 2007. Automatic layer-based generation of system-on-chip bus communication models. IEEE Trans. Comput. Aid. Design Intergr. Circ. Syst. 26, 9, 1676--1687.
|
| |
13
|
|
| |
14
|
Hartwich, F. and Bassemir, A. 1999. The Configuration of the CAN Bit Timing. Robert Bosch GmbH. http://www.can.bosch.com.
|
| |
15
|
Haverinen, A., Leclercq, M., Weyrich, N., and Wingard, D. 2002. SystemC based SoC communication modeling for the OCP protocol. http://www.ocpip.org.
|
| |
16
|
IBM. 2004. 128-bit processor local bus architecture specification, SA-14-2538-04, 4.6 Ed. IBM.
|
| |
17
|
ISO. 1994. Reference model of open system interconnection (OSI) 2nd Ed. Internation Organization for Standardization (ISO). ISO/IEC 7498 Standard.
|
| |
18
|
Lahiri, K., Raghunathan, A., and Dey, S. 2001. System-level performance analysis for designing on-chip communication architectures. In IEEE Trans. Comput. Aid. Design Intergr. Circ. Syst. 20. 768--783.
|
| |
19
|
Lajolo, M., Passerone, C., and Lavagno, L. 2003. Scalable techniques for system-level co-simulation and co-estimation. IEE Proc. 150, 4, 227--238.
|
| |
20
|
Motorola 1997. MCF5206 ColdFire Integrated Microprocessor User's Manual. Motorola.
|
 |
21
|
|
| |
22
|
Philips. P8xC592: 8-bit microcontroller with on-chip CAN. Philips.
|
| |
23
|
Philips. 2000. The I2C-bus specification, 2.1 ed. Philips.
|
| |
24
|
Rose, A., Swan, S., Pierce, J., and Fernandez, J.-M. 2005. Transaction level modeling in SystemC. http://www.systemc.org.
|
| |
25
|
|
| |
26
|
Schirner, G. and Dömer, R. 2005a. Abstract communication modeling: A case study using the CAN automotive bus. In From Specification to Embedded Systems Application, A. Rettberg, M. Zanella, and F. Rammig, Eds. Springer.
|
| |
27
|
Schirner, G. and Dömer, R. 2005b. System level modeling of an AMBA bus. Tech. rep. CECS-TR-05-03, Center for Embedded Computer Systems, University of California, Irvine.
|
| |
28
|
|
 |
29
|
M. Sgroi , M. Sheets , A. Mihal , K. Keutzer , S. Malik , J. Rabaey , A. Sangiovanni-Vencentelli, Addressing the system-on-a-chip interconnect woes through communication-based design, Proceedings of the 38th conference on Design automation, p.667-672, June 2001, Las Vegas, Nevada, United States
[doi> 10.1145/378239.379045]
|
| |
30
|
|
|