A RISC-V Processor Design for Transparent Tracing

被引:6
|
作者
Gamino del Rio, Ivan [1 ]
Martinez Hellin, Agustin [1 ]
Polo, Oscar R. [1 ]
Jimenez Arribas, Miguel [1 ]
Parra, Pablo [1 ]
da Silva, Antonio [1 ]
Sanchez, Jonatan [1 ]
Sanchez, Sebastian [1 ]
机构
[1] Univ Alcala, Space Res Grp, Ctra Madrid Barcelona Km 33-600,Edificio Politecn, Madrid 28805, Spain
关键词
processor architecture; trace mechanism; critical software characterization; worst-case execution time; risc-v vhdl ip core; instruction set architecture; software instrumentation; hybrid analysis; real-time trace; TIME; PROGRAM;
D O I
10.3390/electronics9111873
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Code instrumentation enables the observability of an embedded software system during its execution. A usage example of code instrumentation is the estimation of "worst-case execution time" using hybrid analysis. This analysis combines static code analysis with measurements of the execution time on the deployment platform. Static analysis of source code determines where to insert the tracing instructions, so that later, the execution time can be captured using a logic analyser. The main drawback of this technique is the overhead introduced by the execution of trace instructions. This paper proposes a modification of the architecture of a RISC pipelined processor that eliminates the execution time overhead introduced by the code instrumentation. In this way, it allows the tracing to be non-intrusive, since the sequence and execution times of the program under analysis are not modified by the introduction of traces. As a use case of the proposed solution, a processor, based on RISC-V architecture, was implemented using VHDL language. The processor, synthesized on a FPGA, was used to execute and evaluate a set of examples of instrumented code generated by a "worst-case execution time" estimation tool. The results validate that the proposed architecture executes the instrumented code without overhead.
引用
收藏
页码:1 / 23
页数:23
相关论文
共 50 条
  • [21] Design of a 32-bit, dual pipeline superscalar RISC-V processor on FPGA
    Gokulan, T.
    Muraleedharan, Akshay
    Varghese, Kuruvilla
    2020 23RD EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2020), 2020, : 340 - 343
  • [22] A Soft RISC-V Vector Processor for Edge-AI
    Chander, V. Naveen
    Varghese, Kuruvilla
    2022 35TH INTERNATIONAL CONFERENCE ON VLSI DESIGN (VLSID 2022) HELD CONCURRENTLY WITH 2022 21ST INTERNATIONAL CONFERENCE ON EMBEDDED SYSTEMS (ES 2022), 2022, : 263 - 268
  • [23] RISC-V Barrel Processor for Deep Neural Network Acceleration
    AskariHemmat, MohammadHossein
    Bilaniuk, Olexa
    Wagner, Sean
    Savaria, Yvon
    David, Jean-Pierre
    2021 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2021,
  • [24] 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
    2022 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS 22), 2022, : 2467 - 2471
  • [25] Polynomial Formal Verification of a Processor: A RISC-V Case Study
    Weingarten, Lennart
    Mahzoon, Alireza
    Goli, Mehran
    Drechsler, Rolf
    2023 24TH INTERNATIONAL SYMPOSIUM ON QUALITY ELECTRONIC DESIGN, ISQED, 2023, : 41 - 47
  • [26] An integrated machine code monitor for a RISC-V processor on an FPGA
    Kaneko, Hiroaki
    Kanasugi, Akinori
    ARTIFICIAL LIFE AND ROBOTICS, 2020, 25 (03) : 427 - 433
  • [27] A Custom Designed RISC-V ISA Compatible Processor for SoC
    Sharat, Kavya
    Bandishte, Sumeet
    Varghese, Kuruvilla
    Bharadwaj, Amrutur
    VLSI DESIGN AND TEST, 2017, 711 : 570 - 577
  • [28] RISC-HD: Lightweight RISC-V Processor for Efficient Hyperdimensional Computing Inference
    Taheri, Farhad
    Bayat-Sarmadi, Siavash
    Hadayeghparast, Shahriar
    IEEE INTERNET OF THINGS JOURNAL, 2022, 9 (23) : 24030 - 24037
  • [29] An integrated machine code monitor for a RISC-V processor on an FPGA
    Hiroaki Kaneko
    Akinori Kanasugi
    Artificial Life and Robotics, 2020, 25 : 427 - 433
  • [30] Design and Implementation of Low-Power IoT RISC-V Processor with Hybrid Encryption Accelerator
    Yang, Sen
    Shao, Lian
    Huang, Junke
    Zou, Wanghui
    ELECTRONICS, 2023, 12 (20)