skip to main content
research-article

Quantitative analysis of the speed/accuracy trade-off in transaction level modeling

Published:04 January 2009Publication History
Skip Abstract Section

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

  1. ARM. 1999. AMBA Specification (Rev. 2.0), ARM IHI 0011A. Advanced RISC Machines Ltd. (ARM).Google ScholarGoogle Scholar
  2. ARM. 2003. AMBA AHB Cycle Level Interface (AHB CLI) Specification, ARM IHI 0011A. Advanced RISC Machines Ltd (ARM).Google ScholarGoogle Scholar
  3. Bosch. 1991. CAN Specification, 2.0 Ed. Robert Bosch GmbH.Google ScholarGoogle Scholar
  4. Brem, D. and Müller, D. 2003. Interface based system modeling of a can using sve. In Proceedings of the EkompaSS Workshop.Google ScholarGoogle Scholar
  5. Cai, L. and Gajski, D. 2003. Transaction level modeling: An overview. In Proceedings of the International Conference on Hardware/Software Codesign and System Synthesis. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Caldari, M., Conti, M., Coppola, M., Curaba, S., Pieralisi, L., and Turchetti, C. 2003. Transaction-level models for AMBA bus architecture using SystemC 2.0. In Proceedings of the Design, Automation and Test in Europe (DATE) Conference. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Coppola, M., Curaba, S., Grammatikakis, M., and Maruccia, G. 2003. IPSIM: SystemC 3.0 enhancements for communication refinement. In Proceedings of the Design, Automation and Test in Europe (DATE) Conference. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Gajski, D. D., Zhu, J., Dömer, R., Gerstlauer, A., and Zhao, S. 2000. SpecC: Specification Language and Design Methodology. Kluwer Academic Publishers.Google ScholarGoogle Scholar
  9. Gasteier, M. and Glesner, M. 1996. Bus-based communication synthesis on system-level. In Proceedings of the International Symposium on System Synthesis. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Gerstlauer, A. and Gajski, D. D. 2002. System-level abstraction semantics. In Proceedings of the International Symposium on System Synthesis. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Gerstlauer, A., Shin, D., Doemer, R., and Gajski, D. 2005. System-level communication modeling for network-on-chip synthesis. In Proceedings of the Asia and South Pacific Design Automation Conference. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Grötker, T., Liao, S., Martin, G., and Swan, S. 2002. System Design with SystemC. Kluwer Academic Publishers. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Hartwich, F. and Bassemir, A. 1999. The Configuration of the CAN Bit Timing. Robert Bosch GmbH. http://www.can.bosch.com.Google ScholarGoogle Scholar
  15. Haverinen, A., Leclercq, M., Weyrich, N., and Wingard, D. 2002. SystemC based SoC communication modeling for the OCP protocol. http://www.ocpip.org.Google ScholarGoogle Scholar
  16. IBM. 2004. 128-bit processor local bus architecture specification, SA-14-2538-04, 4.6 Ed. IBM.Google ScholarGoogle Scholar
  17. ISO. 1994. Reference model of open system interconnection (OSI) 2nd Ed. Internation Organization for Standardization (ISO). ISO/IEC 7498 Standard.Google ScholarGoogle Scholar
  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. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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.Google ScholarGoogle Scholar
  20. Motorola 1997. MCF5206 ColdFire Integrated Microprocessor User's Manual. Motorola.Google ScholarGoogle Scholar
  21. Pasricha, S., Dutt, N., and Ben-Romdhane, M. 2004. Fast exploration of bus-based on-chip communication architectures. In Proceedings of the International Conference on Hardware/Software Codesign and System Synthesis (CODES/ISSS). Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. Philips. P8xC592: 8-bit microcontroller with on-chip CAN. Philips.Google ScholarGoogle Scholar
  23. Philips. 2000. The I2C-bus specification, 2.1 ed. Philips.Google ScholarGoogle Scholar
  24. Rose, A., Swan, S., Pierce, J., and Fernandez, J.-M. 2005. Transaction level modeling in SystemC. http://www.systemc.org.Google ScholarGoogle Scholar
  25. Sarmento, A., Cesario, W., and Jerraya, A. A. 2001. Mixed-level cosimulation for fine gradual refinement of communication in SoC design. In Proceedings of the Design, Automation and Test in Europe (DATE) Conference. Google ScholarGoogle ScholarDigital LibraryDigital Library
  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.Google ScholarGoogle Scholar
  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.Google ScholarGoogle Scholar
  28. Schirner, G. and Dömer, R. 2006. Quantitative analysis of transaction level models for the AMBA bus. In Proceedings of the Design, Automation and Test in Europe (DATE) Conference. Google ScholarGoogle ScholarDigital LibraryDigital Library
  29. Sgroi, M., Sheets, M., Mihal, M., Keutzer, K., Malik, S., Rabaey, J., and Sangiovanni-Vincentelli, A. 2001. Addressing the system-on-a-chip interconnect woes through communication based design. In Proceedings of the Design Automation Conference. Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Siegmund, R. and Müller, D. 2001. SystemCSV: An extension of SystemC for mixed multi-level communication modeling and interface-based system design. In Proceedings of the Design, Automation and Test in Europe (DATE) Conference. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Quantitative analysis of the speed/accuracy trade-off in transaction level modeling

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader
    About Cookies On This Site

    We use cookies to ensure that we give you the best experience on our website.

    Learn more

    Got it!