Metamorphic Testing for Processor Verification: A RISC-V Case Study at the Instruction Level

被引:0
|
作者
Riese, Frank [1 ]
Herdt, Vladimir [1 ,2 ]
Grosse, Daniel [1 ,3 ]
Drechsler, Rolf [1 ,2 ]
机构
[1] DFKI GmbH, Cyber Phys Syst, D-28359 Bremen, Germany
[2] Univ Bremen, Inst Comp Sci, D-28359 Bremen, Germany
[3] Johannes Kepler Univ Linz, Inst Complex Syst, Linz, Austria
关键词
D O I
10.1109/VLSI-SoC53125.2021.9606997
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Metamorphic Testing (MT) has been shown to be a very effective technique in the Software (SW) domain. MT does not require a reference model to compare against for testing but instead relies on Metamorphic Relations (MR) to derive the expected result from relationships between several calls to the function under test. An example of an MR is the expectation that the sum of an arbitrary list of integers remain unchanged regardless of it being sorted or reversed. Thus, a key requirement for applying MT effectively is availability of MRs specific to the domain at hand. In this paper, we propose MT to the domain of processor verification. As a case study, we consider the RISC-V Instruction Set Architecture (ISA) and provide MRs tailored for RISC-V. For evaluation purposes, we propose an efficient on-the-fly MT framework that integrates the MRs with an Instruction Set Simulator (ISS). We measure the quality of those MRs by the number of mutations they kill, also referred to as mutation analysis. Our experiments demonstrate the effectiveness of the MRs to kill all mutations, which confirms our research question that MT is also a suitable technique for the domain of processor verification.
引用
收藏
页码:78 / 83
页数:6
相关论文
共 50 条
  • [1] Efficient Cross-Level Testing for Processor Verification: A RISC-V Case-Study
    Herdt, Vladimir
    Grosse, Daniel
    Jentzsch, Eyck
    Drechsler, Rolf
    [J]. PROCEEDINGS OF THE 2020 FORUM FOR SPECIFICATION AND DESIGN LANGUAGES (FDL), 2020,
  • [2] Polynomial Formal Verification of a Processor: A RISC-V Case Study
    Weingarten, Lennart
    Mahzoon, Alireza
    Goli, Mehran
    Drechsler, Rolf
    [J]. 2023 24TH INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN, ISQED, 2023, : 41 - 47
  • [3] Processor Verification using Symbolic Execution: A RISC-V Case-Study
    Bruns, Niklas
    Herdt, Vladimir
    Drechsler, Rolf
    [J]. 2023 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2023,
  • [4] Design and Verification Environment for RISC-V Processor Cores
    Oleksiak, Adrian
    Cieslak, Sebastian
    Marcinek, Krzysztof
    Pleskacz, Witold A.
    [J]. PROCEEDINGS OF THE 2019 26TH INTERNATIONAL CONFERENCE MIXED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS (MIXDES 2019), 2019, : 206 - 209
  • [5] On-line Testing for Autonomous Systems driven by RISC-V Processor Design Verification
    Ruospo, Annachiara
    Cantoro, Riccardo
    Sanchez, Ernesto
    Schiavone, Pasquale Davide
    Garofalo, Angelo
    Benini, Luca
    [J]. 2019 IEEE INTERNATIONAL SYMPOSIUM ON DEFECT AND FAULT TOLERANCE IN VLSI AND NANOTECHNOLOGY SYSTEMS (DFT), 2019,
  • [6] An Efficient Instruction Fetch Architecture for a RISC-V Soft Processor on an FPGA
    Miyazaki, Hiromu
    Miura, Junya
    Kise, Kenji
    [J]. PROCEEDINGS OF THE 10TH INTERNATIONAL SYMPOSIUM ON HIGHLY EFFICIENT ACCELERATORS AND RECONFIGURABLE TECHNOLOGIES (HEART), 2019,
  • [7] Instruction Extension of a RISC-V Processor Modeled with IP-XACT
    Payvar, Saman
    Pekkarinen, Esko
    Stahl, Rafael
    Mueller-Gritschneder, Daniel
    Hamalainen, Timo D.
    [J]. 2019 IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE (NORCAS) - NORCHIP AND INTERNATIONAL SYMPOSIUM OF SYSTEM-ON-CHIP (SOC), 2019,
  • [8] A CFI Verification System based on the RISC-V Instruction Trace Encoder
    Zgheib, Anthony
    Potin, Olivier
    Rigaud, Jean-Baptiste
    Dutertre, Jean-Max
    [J]. 2022 25TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), 2022, : 456 - 463
  • [9] Maxpool operator for RISC-V processor
    Nevezi-Strango, David
    Rotar, Danut
    Valcan, Sorin
    Gaianu, Mihail
    [J]. 2023 25TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING, SYNASC 2023, 2023, : 246 - 250
  • [10] Performance Evaluation of Various RISC Processor Systems: A Case Study on ARM, MIPS and RISC-V
    Liu, Yu
    Ye, Kejiang
    Xu, Cheng-Zhong
    [J]. CLOUD COMPUTING, CLOUD 2021, 2022, 12989 : 61 - 74