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 条
  • [41] RISC-V Barrel Processor for Deep Neural Network Acceleration
    AskariHemmat, MohammadHossein
    Bilaniuk, Olexa
    Wagner, Sean
    Savaria, Yvon
    David, Jean-Pierre
    [J]. 2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,
  • [42] An integrated machine code monitor for a RISC-V processor on an FPGA
    Kaneko, Hiroaki
    Kanasugi, Akinori
    [J]. ARTIFICIAL LIFE AND ROBOTICS, 2020, 25 (03) : 427 - 433
  • [43] Spectre attack detection with Neutral Network on RISC-V processor
    Anh-Tien Le
    Trong-Thuc Hoang
    Ba-Anh Dao
    Tsukamoto, Akira
    Suzaki, Kuniyasu
    Cong-Kha Pham
    [J]. 2022 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS 22), 2022, : 2467 - 2471
  • [44] Toward RISC-V CSR Compliance Testing
    Bruns, Niklas
    Herdt, Vladimir
    Grosse, Daniel
    Drechsler, Rolf
    [J]. IEEE EMBEDDED SYSTEMS LETTERS, 2021, 13 (04) : 202 - 205
  • [45] Design Verification Methodology of Pipelined RISC-V Processor Using C2RTL Framework
    Yoshiya, Eiji
    Nakanishi, Tomoya
    Isshiki, Tsuyoshi
    [J]. IEICE TRANSACTIONS ON FUNDAMENTALS OF ELECTRONICS COMMUNICATIONS AND COMPUTER SCIENCES, 2022, E105A (07) : 1061 - 1069
  • [46] A Custom Designed RISC-V ISA Compatible Processor for SoC
    Sharat, Kavya
    Bandishte, Sumeet
    Varghese, Kuruvilla
    Bharadwaj, Amrutur
    [J]. VLSI DESIGN AND TEST, 2017, 711 : 570 - 577
  • [47] RISC-HD: Lightweight RISC-V Processor for Efficient Hyperdimensional Computing Inference
    Taheri, Farhad
    Bayat-Sarmadi, Siavash
    Hadayeghparast, Shahriar
    [J]. IEEE INTERNET OF THINGS JOURNAL, 2022, 9 (23) : 24030 - 24037
  • [48] Security Verification of RISC-V System Based on ISA Level Information Flow Tracking
    Wu, Lingjuan
    Gao, Yifei
    Zhu, Jiacheng
    Tai, Yu
    Hu, Wei
    [J]. 2023 IEEE 32ND ASIAN TEST SYMPOSIUM, ATS, 2023, : 195 - 200
  • [49] An integrated machine code monitor for a RISC-V processor on an FPGA
    Hiroaki Kaneko
    Akinori Kanasugi
    [J]. Artificial Life and Robotics, 2020, 25 : 427 - 433
  • [50] LLVM RISC-V Target Backend Instruction for Reshape Operator
    Budurean, Marius-Mihai
    Rotar, Danut
    Valcan, Sorin
    Gaianu, Mihail
    [J]. 2023 25TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING, SYNASC 2023, 2023, : 241 - 245