• DocumentCode
    3412045
  • Title

    Rapid prototyping and compact testing of CPU emulators

  • Author

    Weiqin Ma ; Forin, A. ; Jyh-Charn Liu

  • Author_Institution
    Dept. of Comput. Sci. & Eng., Texas A&M Univ., College Station, TX, USA
  • fYear
    2010
  • fDate
    8-11 June 2010
  • Firstpage
    1
  • Lastpage
    7
  • Abstract
    In this paper, we propose a novel rapid prototyping technique to produce a high quality CPU emulator at reduced development cost. Specification mining from published CPU manuals, automated code generation of both the emulator and its test vectors from the mined CPU specifications, and a hardware-oracle based test strategy all work together to close the gaps between specification analysis, development and testing. The hardware-oracle is a program which allows controlled execution of one or more instructions on the CPU, so that its outputs can be compared to that of the emulator. The hardware-oracle eliminates any guesswork about the true behavior of an actual CPU, and it helps in the identification of several discrepancies between the published specifications vs. the actual processor behavior, which would be very hard to detect otherwise.
  • Keywords
    formal specification; microprocessor chips; program compilers; program testing; software prototyping; CPU emulators; CPU manuals; CPU specifications; automated code generation; compact testing; hardware-oracle based test strategy; rapid prototyping technique; specification analysis; specification mining; Generators; Hardware; Manuals; Registers; Routing; Software; Testing; Microprocessors; Simulation software; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Rapid System Prototyping (RSP), 2010 21st IEEE International Symposium on
  • Conference_Location
    Fairfax, VA
  • Print_ISBN
    978-1-4244-7073-0
  • Electronic_ISBN
    978-1-4244-7072-3
  • Type

    conf

  • DOI
    10.1109/RSP.2010.5656339
  • Filename
    5656339