Skip to main content
Log in

Fast and Time-Accurate Cosimulation with OS Scheduler Modeling

  • Published:
Design Automation for Embedded Systems Aims and scope Submit manuscript

Abstract

Hardware/Software cosimulation is the key process to shorten the design turn around time. We have proposed a novel technique, called virtual synchronization, for fast and time accurate cosimulation that involves component simulators running concurrently and interacting with each other. In this paper, we further extend the virtual synchronization technique with OS modeling for the case where multiple software tasks are executed under the supervision of a real-time operating system. The OS modeler models the RTOS overheads of context switching and tick interrupt handling as well as preemption behavior. While maintaining the timing accuracy to an acceptable level below a few percents, we could reduce the simulation time drastically compared with existent conservative approaches by removing the need of time synchronization between simulators. It is confirmed with a preliminary experiment on a multimedia example that consists of four real-life tasks.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Mentor Graphics Seamless CVE Home Page, http://www.mentorg.com/seamless/.

  2. Zivojnovic, V., and H. Meyr. Compiled HW/SW Co-Simulation. In Proceedings of 33rd Design Automation Conference, June 1996.

  3. Passerone, C. Fast Hardware/Software Co-simulation for Virtual Prototyping and Trade-off Analysis. In Proceedings of 34th Design Automation Conference, 1997.

  4. Cockx, J. Efficient modeling of preemption in a virtual prototype. In Proceedings of 11th IEEE International Workshop on Rapid System Prototyping, 2000, pp. 14-19.

  5. Hines, K. Pia: A Framework for Embedded System Co-simulation with Dynamic Communication Support. Technical Report UW-CSE-96-11-04, 1997.

  6. Buck, J., S. Ha, E. A. Lee, and D. G. Messerschmitt. Ptolemy: A Framework for Simulating and Prototyping Heterogeneous Systems. International Journal of Computer Simulation, special issue on Simulation Software Development, vol. 4, pp. 152-182, April 1994.

    Google Scholar 

  7. Yoo, S., G. Nicolescu, L. Gauthier, and A. A. Jerraya. Automatic Generation of Fast Timed Simulation Models for Operating Systems in SoC Design. In Proceedings of Design Automation and Test in Europe, March 2002.

  8. Kim, D., C. Rhee, S. Kim, Y. Yi, H. Jung, and S. Ha. Virtual Synchronization for Fast Distributed Cosimulation of Dataflow Task Graphs. In Proceedings of 15th International Symposium on System Synthesis, June 2002.

  9. ARMulator. http://www.arm.com.

  10. eCOS. http://sources.redhat.com/ecos.

  11. uCOS. http://www.ucos-ii.com.

  12. Hagen, K., and H. Meyer. Timed and Untimed Hardware Software Co-simulation: Application and Efficient Implementation. In Proceedings of International Workshop on Hardware Software Co-design, October 1993.

  13. Yoo, S., and K. Choi. Optimistic Distributed Timed Cosimulation Based on Thread Simulation Model. In Proceedings of 6th International Workshop on Hardware/Software Co-Design, March 1998.

  14. Sung, W., and S. Ha. Efficient and Flexible Cosimulation Environment for DSP Applications, IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences, Special Issue on VLSI Design and CAD algorithms, Vol. E81-A,No. 12, pp. 2605-2611, December 1998.

    Google Scholar 

  15. PeaCE codesign environment, http://peace.snu.ac.kr.

  16. Tomiyama, H., Y. Cao, and K. Murakami. Modeling Fixed-Priority Preemptive Multi-Task Systems in SpecC. SASIMI, October 2001.

  17. CoCentirc System Studio, http://www.synopsys.com/products/cocentric_studio.

  18. CoWare N2C, http://www.coware.com/cowareN2C.html.

  19. Tabbara, B. Fast Hardware-Software Co-simulation Using VHDL Models. In Proceedings of Design Automation and Test in Europe, March 1999.

  20. Dumlugol, D. SystemC abstractions and design refinement for HW SW Soc Design. the 9th Electronic Design Processes Workshop, April 2002.

  21. ModelSim, http://www.model.com/products/.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Yi, Y., Kim, D. & Ha, S. Fast and Time-Accurate Cosimulation with OS Scheduler Modeling. Design Automation for Embedded Systems 8, 211–228 (2003). https://doi.org/10.1023/B:DAEM.0000003963.20442.29

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/B:DAEM.0000003963.20442.29

Navigation