• DocumentCode
    3644885
  • Title

    Rapid Development of Error-Free Architectural Simulators Using Dynamic Runtime Testing

  • Author

    Sasa Tomic;Adri´n Cristal;Osman Unsal;Mateo Valero

  • Author_Institution
    Barcelona Supercomput. Center, Barcelona, Spain
  • fYear
    2011
  • Firstpage
    80
  • Lastpage
    87
  • Abstract
    Architectural simulator platforms are particularly complex and error-prone programs that aim to simulate all hardware details of a given target architecture. The development of a stable cycle-accurate architectural simulator can easily take several man-years. Discovering and fixing all visible errors in the simulator often requires significant effort, much higher than for writing the simulator in the first place. In addition, there are no guarantees that all programming errors will be eliminated, no matter how much effort is put into it. This paper presents dynamic runtime testing, a methodology for rapid development and accurate error detection in architectural cycle-accurate simulators. In dynamic runtime testing, the simulator execution is dynamically compared with a simple and functionally equivalent emulator. A possible error is detected if any instruction produces different results in the simulator and the emulator. Dynamic testing can help the developers of architectural simulators to get a reliable and accurate verification of functional correctness. Based on our experience, dynamic testing reduced the simulator modification time from 12-18 person-months to 3-4 person-months, and it only modestly reduced the simulator performance (in our case under 20%).
  • Keywords
    "Testing","Computer bugs","Hardware","Out of order","Runtime","Debugging"
  • Publisher
    ieee
  • Conference_Titel
    Computer Architecture and High Performance Computing (SBAC-PAD), 2011 23rd International Symposium on
  • ISSN
    1550-6533
  • Print_ISBN
    978-1-4577-2050-5
  • Type

    conf

  • DOI
    10.1109/SBAC-PAD.2011.23
  • Filename
    6106008