Parallel SystemC Cosimulation using Virtual Synchronization

가상 동기화 기법을 이용한 SystemC 통합시뮬레이션의 병렬 수행

  • 이영민 (서울대학교 전기.컴퓨터공학부) ;
  • 권성남 (서울대학교 전기.컴퓨터공학부) ;
  • 하순회 (서울대학교 전기.컴퓨터공학부)
  • Published : 2006.12.15

Abstract

This paper concerns fast and time accurate HW/SW cosimulation for MPSoC(Multi-Processor System-on-chip) architecture where multiple software and/or hardware components exist. It is becoming more and more common to use MPSoC architecture to design complex embedded systems. In cosimulation of such architecture, as the number of the component simulators participating in the cosimulation increases, the time synchronization overhead among simulators increases, thereby resulting in low overall cosimulation performance. Although SystemC cosimulation frameworks show high cosimulation performance, it is in inverse proportion to the number of simulators. In this paper, we extend the novel technique, called virtual synchronization, which boosts cosimulation speed by reducing time synchronization overhead: (1) SystemC simulation is supported seamlessly in the virtual synchronization framework without requiring the modification on SystemC kernel (2) Parallel execution of component simulators with virtual synchronization is supported. We compared the performance and accuracy of the proposed parallel SystemC cosimulation framework with MaxSim, a well-known commercial SystemC cosimulation framework, and the proposed one showed 11 times faster performance for H.263 decoder example, while the accuracy was maintained below 5%.

이 논문에서는 여러 개의 소프트웨어 혹은 하드웨어 컴포넌트가 존재하는 MPSoC(Multiprocessor-System-on-a-chip) 아키텍처를 빠르면서도 정확하게 통합시뮬레이션 하는 내용을 다룬다. 복잡한 시스템을 설계하기 위해서 MPSoC 아키텍처가 점점 일반화되고 있는데, 이러한 아키텍처를 통합시뮬레이션 할 때는 시뮬레이터의 개수가 증가하고 그에 따라 시뮬레이터들 간의 시간 동기화 비용도 증가하므로 전체적인 통합시뮬레이션 성능이 감소된다. 최근의 통합시뮬레이션 연구들에 의해서 등장한 SystemC 통합시뮬레이션 환경이 빠른 성능을 보이고 있으나, 시뮬레이터의 개수가 증가할수록 성능은 반비례한다. 본 논문에서는 효율적인 시간동기를 통해 통합시뮬레이션의 성능을 증가시키는 기법인 가상동기화 기법을 확장하여, (1) SystemC 커널을 수정하지 않고도 가상 동기화 기법을 적용한 SystemC 통합시뮬레이션을 수행할 수 있고, (2) 병렬적으로 가상동기화 기법을 수행할 수 있게 하였다. 이를 통해 SystemC 통합시뮬레이션의 병렬적인 수행이 가능해졌는데, 널리 알려진 상용 SystemC 통합시뮬레이션 도구인 MaxSim과 비교하였을 때, H.263 디코더 예제의 경우 11배 이상의 성능 증가를 얻었고 정확도는 5% 이내로 유지되었다.

Keywords

References

  1. MaxSim, http://www.arm.com/products/DevTools/MaxSim.html
  2. ConvergenSC, http://www.coware.com/products/con-vergensc.php
  3. Luca Benini, Davide Bertozzi, Davide Bruni, Nicola Drago, Franco Fummi, Massimo Poncino, 'SystemC Cosimulation and Emulation of Multi-processor SoC Designs,' Computer, v.36 n.4, pp.53-59, April 2003 https://doi.org/10.1109/MC.2003.1193229
  4. Luca Formaggio, Franco Fummi, Graziano Pravadelli, 'A timing-accurate HW/SW co-simu-lation of an ISS with SystemC,' In Proc. Harduare/ Software Codesign and System Synthesis, Sep-tember 2004
  5. Dohyung Kim, Youngmin Yi, Soonhoi Ha, 'Trace-driven HW/SW Cosimulation Using Vir-tual Synchronization Technique,' In Proc. Design Automation Conf, June 2005 https://doi.org/10.1145/1065579.1065669
  6. SeamlessCVE, http://www.mentor.com/products/fv/hwsw_ coverification/seamless/
  7. Sungjoo Yoo, Kiyoung Choi, 'Optimistic Distri-buted Timed Cosimulation Based on Thread Simulation Model,' In Proc. 6th Int'l Workshop on Hardware/Software Co-Design, March 1998
  8. Wonyong Sung, Soonhoi Ha, 'Efficient and Fle-xible Cosimulation Environment for DSP Applica-tions,' IEICE Transactions on Fundamentals of Elec-tronics, Communications and Computer Sciences, Special Issue on VLSI Design and CAD algorithms, Vol.E81-A, No. 12, pp. 2605-2611, December. 1998
  9. Sungjoo Yoo, Gabriela Nicolescu, Lovic Gauthier, and Ahmed Jerraya, 'Automatic Generation of Fast Timed Simulation Models for Operating Systems in SoC Design,' In Proc. Design Automation and Test in Europe, March 2002 https://doi.org/10.1109/DATE.2002.998365
  10. AndreasGerstlauer, Haobo Yu and Daniel Gajski, 'RTOS Modeling for System-Level Design,' In Proc. Design Automation and Test in Europe, March 2003
  11. Aimen Bouchhima, Sungjoo Yoo, and Ahmed Jerraya, 'Fast and Accurate Timed Execution of High Level Embedded Software using HW/SW Interface Simulation Model,' In Proc. Asia South Pacific Design Automation Conf., January 2004
  12. Zhengting He, Aloysius Mok, Cheng Peng, 'Timed RTOS modeling for Embedded System Design,' In Proc. Real Time and Embedded Technology and Application Symposium, March 2005 https://doi.org/10.1109/RTAS.2005.52
  13. Dynalith, http://www.dynalith.com
  14. Youngmin Yi, Dohyung Kim, Soonhoi Ha, 'Virtual Synchronization Technique with OS modeling for Fast and Time-accurate Cosimulation,' In Proc. Hardware/Software Codesign and System Synthe-sis, pp.1-6, October 2003 https://doi.org/10.1145/944645.944647
  15. Soonhoi Ha, Choonseung Lee, Youngrnin Yi, Seongnam Kwon, Young-Pyo Joo, 'Hardware-software Codesign of Multimedia Embedded Sys-tems : the PeaCE Approach,' In Proc. Embedded and Real-Time Computing Systems and Appli-cations, pp.207-214, August 2006 https://doi.org/10.1109/RTCSA.2006.36