skip to main content
10.1145/1629435.1629446acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
research-article

Using binary translation in event driven simulation for fast and flexible MPSoC simulation

Published:11 October 2009Publication History

ABSTRACT

In this paper, we investigate the use of instruction set simulators (ISS) based on binary translation to accelerate full timed multiprocessor system simulation at transaction level. To have an accurate timing behavior, we had to firstly solve timing issues in processor modeling, secondly define fast and precise cache models, and thirdly solve the synchronization issues due to the different models of computation used in the ISSes and in the rest of the system. We present an integration solution that covers these issues and detail its implementation. We have experimented our proposal using processors models provided by the QEMU framework to replace the existing ISSes and SystemC TLM as simulation environment for the whole platform. This approach proposes a range of solutions trading off simulation speed versus accuracy. The experiments show that even for the most precise configuration, the simulation speedup is still significant.

References

  1. Soclib project. http://soclib.lip6.fr.Google ScholarGoogle Scholar
  2. D. August, J. Chang, S.Girbal, D. G. Perez, G. Mouchard, D. Penry, O. Temam, and N. Vachharajani. Unisim: An open simulation environment and library for complex architecture design and collaborative development. IEEE Computer Architecture Letters (CAL'07), 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. V. Bala, E. Duesterwald, and S. Banerjia. Dynamo: a transparent dynamic optimization system. In Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation, pages 1--12, Vancouver, British Columbia, Canada, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Barham, B. Dragovic, K. Fraser, S. Hand, T. Harris, A. Ho, R. Neugebauer, I. Pratt, and A. Warfield. Xen and the art of virtualization. In Proceedings of the nineteenth ACM symposium on Operating systems principles, pages 164--177, Bolton Landing, NY, USA, 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. F. Bellard. Qemu, a fast and portable dynamic translator. In Proceedings of the USENIX Annual Technical Conference, pages 41--46, Anaheim, CA, 2005. USENIX Association. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. V. Berman. Standards: The P1685 IP-XACT IP Metadata Standard. Design&Test of Computers, IEEE, 23(4):316--317, Apr. 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. R. Buchmann, F. Pétrot, and A. Greiner. Fast cycle accurate simulator to simulate event-driven behavior. In Proceedings of the International Conference on Electrical, Electronic and Computer Engineering, pages 35--38, 2004.Google ScholarGoogle ScholarCross RefCross Ref
  8. L. Cai and D. Gajski. Transaction level modeling: an overview. pages 19--24, Oct 2003.Google ScholarGoogle Scholar
  9. C. Cifuentes and V. Malhotra. Binary translation: Static, dynamic, retargetable? Software Maintenance, IEEE International Conference on, 0:340, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. R. J. Creasy. The origin of the VM/370 time-sharing system. IBM Journal of Research&Development, 25(5):483--490, 1981.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. G. De Micheli, R. Ernst, and W. Wolf, editors. Readings in hardware/software co-design. Kluwer Academic Publishers, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. F. Devaux. Mechanisms for cpu virtualization, 2005. International patent number WO/2006/027488.Google ScholarGoogle Scholar
  13. S. Devine, E. Buignon, and M. Rosenblum. Virtualization system including a virtual machine monitor for computer with segmented architecture, Oct. 1998. US patent number 6397242.Google ScholarGoogle Scholar
  14. P. Gerin, X. Guérin, and F. Pétrot. Efficient implementation of native software simulation for mpsoc. In DATE '08: Proceedings of the conference on Design, automation and test in Europe, pages 676--681, Munich, Germany, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. F. Ghenassia, editor. Transaction Level Modeling With SystemC: TLM Concepts And Applications for Embedded Systems. Springer Verlag, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. G. R. Hellestrand, R. L. K. Chan, M. C. Kam, and J. R. Torossian. Hardware and software co-simulation including executing an analyzed user program, Oct. 1999. patent nb : 6230114.Google ScholarGoogle Scholar
  17. A. A. Jerraya, A. Bouchhima, and F. Pétrot. Programming models and hw-sw interfaces abstraction for multi-processor soc. In Proceedings of the 43rd annual conference on Design automation, pages 280--285, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. M. Monton, A. Portero, M. Moreno, B. Martinez, and J. Carrabina. Mixed sw/systemc soc emulation framework. In Industrial Electronics, 2007. ISIE 2007. IEEE International Symposium on, pages 2338--2341, 2007.Google ScholarGoogle ScholarCross RefCross Ref
  19. F. Pétrot and P. Gomez. Lightweight implementation of the posix threads api for an on-chip mips multiprocessor with vci interconnect. In Proceedings of the conference Design Automation and Test in Europe, pages 20051--20056, mar 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. K. Popovici, X. Guerin, F. Rousseau, P. S. Paolucci, and A. A. Jerraya. Platform-based software design flow for heterogeneous mpsoc. ACM Trans. Embed. Comput. Syst., 7(4):1--23, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. L. Scheffer, L. Lavagno, and G. Martin, editors. EDA for IC System Design, Verification, and Testing. CRC Taylor&Francis, 1 edition, March 2006. Section II, System Level Design. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. J. Schnerr, O. Bringmann, and W. Rosenstiel. Cycle accurate binary translation for simulation acceleration in rapid prototyping of socs. In DATE '05: Proceedings of the conference on Design, Automation and Test in Europe, pages 792--797, Washington, DC, USA, 2005. IEEE Computer Society. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. R. L. Sites, A. Chernoff, M. B. Kirk, M. P. Marks, and S. G. Robinson. Binary translation. Commun. ACM, 36(2):69--81, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. SystemC available online at http://www.systemc.org/.Google ScholarGoogle Scholar
  25. P. van der Wolf, E. de Kock, T. Henriksson, W. Kruijtzer, and G. Essink. Design and programming of embedded multiprocessors: an interface centric approach. pages 206--217, Sept. 2004.Google ScholarGoogle Scholar
  26. V. Zivojnovic and H. Meyr. Compiled hw/sw co-simulation. In Proceedings of the 33rd annual conference on Design automation, pages 690--695, Las Vegas, Nevada, United States, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Using binary translation in event driven simulation for fast and flexible MPSoC simulation

          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
          • Published in

            cover image ACM Conferences
            CODES+ISSS '09: Proceedings of the 7th IEEE/ACM international conference on Hardware/software codesign and system synthesis
            October 2009
            498 pages
            ISBN:9781605586281
            DOI:10.1145/1629435

            Copyright © 2009 ACM

            Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 11 October 2009

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article

            Acceptance Rates

            Overall Acceptance Rate280of864submissions,32%

            Upcoming Conference

            ESWEEK '24
            Twentieth Embedded Systems Week
            September 29 - October 4, 2024
            Raleigh , NC , USA

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader