• DocumentCode
    1799886
  • Title

    PyMTL: A Unified Framework for Vertically Integrated Computer Architecture Research

  • Author

    Lockhart, Derek ; Zibrat, Gary ; Batten, Christopher

  • Author_Institution
    Sch. of Electr. & Comput. Eng., Cornell Univ., Ithaca, NY, USA
  • fYear
    2014
  • fDate
    13-17 Dec. 2014
  • Firstpage
    280
  • Lastpage
    292
  • Abstract
    Technology trends prompting architects to consider greater heterogeneity and hardware specialization have exposed an increasing need for vertically integrated research methodologies that can effectively assess performance, area, and energy metrics of future architectures. However, constructing such a methodology with existing tools is a significant challenge due to the unique languages, design patterns, and tools used in functional-level (FL), cycle-level (CL), and register-transfer-level (RTL) modeling. We introduce a new framework called PyMTL that aims to close this computer architecture research methodology gap by providing a unified design environment for FL, CL, and RTL modeling. PyMTL leverages the Python programming language to create a highly productive domain-specific embedded language for concurrent-structural modeling and hardware design. While the use of Python as a modeling and framework implementation language provides considerable benefits in terms of productivity, it comes at the cost of significantly longer simulation times. We address this performance-productivity gap with a hybrid JIT compilation and JIT specialization approach. We introduce Sim JIT, a custom JIT specialization engine that automatically generates optimized C++ for CL and RTL models. To reduce the performance impact of the remaining unspecialized code, we combine Sim JIT with an off-the-shelf Python interpreter with a meta-tracing JIT compiler (PyPy). Sim JIT+PyPy provides speedups of up to 72× for CL models and 200× for RTL models, bringing us within 4-6× of optimized C++ code while providing significant benefits in terms of productivity and usability.
  • Keywords
    C++ language; computer architecture; program compilers; program interpreters; CL; FL; JIT specialization approach; JIT specialization engine; PyMTL; PyPy; Python interpreter; Python programming language; RTL modeling; Sim JIT; concurrent-structural modeling; cycle-level modeling; design patterns; domain-specific embedded language; functional-level modeling; hybrid JIT compilation; meta-tracing JIT compiler; optimized C++; performance-productivity gap; register-transfer-level modeling; unified framework; unique languages; vertically integrated computer architecture research; vertically integrated research methodology; Computational modeling; Computer architecture; Computers; Hardware; Hardware design languages; Object oriented modeling; Productivity;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Microarchitecture (MICRO), 2014 47th Annual IEEE/ACM International Symposium on
  • Conference_Location
    Cambridge
  • ISSN
    1072-4451
  • Type

    conf

  • DOI
    10.1109/MICRO.2014.50
  • Filename
    7011395