An Integrated Simulation Tool for Computer Architecture and Cyber-Physical Systems

  • Hokeun KimEmail author
  • Armin Wasicek
  • Edward A. Lee
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11267)


Simulating computer architecture as a cyber-physical system has many potential use cases including simulation of side channels and software-in-the-loop modeling and simulation. This paper presents an integrated simulation tool using a computer architecture simulator, gem5 and Ptolemy II. As a case study of this tool, we build a power and thermal model for a DRAM using the proposed tool integration approach where architectural aspects are modeled in gem5 and physical aspects are modeled in Ptolemy II. We also demonstrate simulation results of power and temperature of a DRAM with software benchmarks.


Tool integration Architectural simulation Cyber-physical systems DRAM thermal modeling 



This work was supported in part by the TerraSwarm Research Center, one of six centers supported by the STARnet phase of the Focus Center Research Program (FCRP) a Semiconductor Research Corporation program sponsored by MARCO and DARPA.


  1. 1.
    Akkaya, I., Derler, P., Emoto, S., Lee, E.A.: Systems engineering for industrial cyber-physical systems using aspects. Proc. IEEE 104(5), 997–1012 (2016)CrossRefGoogle Scholar
  2. 2.
    Binkert, N., et al.: The gem5 simulator. SIGARCH Comput. Archit. News 39(2), 1–7 (2011)CrossRefGoogle Scholar
  3. 3.
    Binkert, N., Dreslinski, R., Hsu, L., Lim, K., Saidi, A., Reinhardt, S.: The M5 simulator: modeling networked systems. IEEE Micro 26(4), 52–60 (2006)CrossRefGoogle Scholar
  4. 4.
    Butko, A., Garibotti, R., Ost, L., Sassatelli, G.: Accuracy evaluation of GEM5 simulator system. In: 2012 7th International Workshop on Reconfigurable Communication-centric Systems-on-Chip (ReCoSoC), pp. 1–7, July 2012Google Scholar
  5. 5.
    Cardoso, J., et al.: Modeling timed systems. In: Ptolemaeus, C. (ed.) System Design, Modeling, and Simulation Using Ptolemy II. (2014)Google Scholar
  6. 6.
    Chandrasekar, K., et al.: DRAMPower: open-source DRAM power & energy estimation tool (2012).
  7. 7.
    Davare, A., et al.: Metro II: a design environment for cyber-physical systems. ACM Trans. Embed. Comput. Syst. 12(1s), 49:1–49:31 (2013)CrossRefGoogle Scholar
  8. 8.
    Derler, P., Lee, E.A., Vincentelli, A.S.: Modeling cyber-physical systems. Proc. IEEE 100(1), 13–28 (2012)CrossRefGoogle Scholar
  9. 9.
    Guthaus, M., Ringenberg, J., Ernst, D., Austin, T., Mudge, T., Brown, R.: MiBench: a free, commercially representative embedded benchmark suite. In: IEEE International Workshop on Workload Characterization, WWC-4, pp. 3–14, December 2001Google Scholar
  10. 10.
    Halderman, J.A., et al.: Lest we remember: cold-boot attacks on encryption keys. Commun. ACM 52(5), 91–98 (2009)CrossRefGoogle Scholar
  11. 11.
    Hwang, D.D., Schaumont, P., Tiri, K., Verbauwhede, I.: Securing embedded systems. IEEE Computer Society (2006)Google Scholar
  12. 12.
    Kim, H., Guo, L., Lee, E.A., Sangiovanni-Vincentelli, A.: A tool integration approach for architectural exploration of aircraft electric power systems. In: 2013 IEEE 1st International Conference on Cyber-Physical Systems, Networks, and Applications (CPSNA), pp. 38–43, August 2013Google Scholar
  13. 13.
    Lee, E.A., Seshia, S., Jensen, J.: EECS149.1x, Cyber-Physical Systems. EECS, University of California, Berkeley, May 2014.
  14. 14.
    Lin, J., Zheng, H., Zhu, Z., David, H., Zhang, Z.: Thermal modeling and management of DRAM memory systems. In: Proceedings of the 34th Annual International Symposium on Computer Architecture, ISCA 2007, pp. 312–322. ACM, New York (2007)Google Scholar
  15. 15.
    Liu, S., Leung, B., Neckar, A., Memik, S., Memik, G., Hardavellas, N.: Hardware/software techniques for DRAM thermal management. In: IEEE 17th International Symposium on High Performance Computer Architecture (HPCA), pp. 515–525, February 2011Google Scholar
  16. 16.
    Martin, M.M.K., et al.: Multifacet’s general execution-driven multiprocessor simulator (GEMS) toolset. SIGARCH Comput. Archit. News 33(4), 92–99 (2005)CrossRefGoogle Scholar
  17. 17.
    Ptolemaeus, C. (ed.): System Design, Modeling, and Simulation using Ptolemy II. (2014).
  18. 18.
    Skiba, D.J.: Disruption in higher education: Massively Open Online Courses (MOOCs). Nurs. Educ. Perspect. 33(6), 416–417 (2012)MathSciNetCrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.University of CaliforniaBerkeleyUSA
  2. 2.Technical University ViennaViennaAustria

Personalised recommendations