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 条
  • [41] A Low Power Branch Prediction for Deep Learning on RISC-V Processor
    Sun, Mingjian
    Li, Yuan
    Chen, Song
    Kang, Yi
    2021 IEEE 32ND INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS (ASAP 2021), 2021, : 203 - 206
  • [42] Research on the Secure RISC-V Processor Against a Power Analysis Attack
    Liu Q.
    Liu B.
    Lu S.
    Sai B.
    Tianjin Daxue Xuebao (Ziran Kexue yu Gongcheng Jishu Ban)/Journal of Tianjin University Science and Technology, 2021, 54 (08): : 868 - 874
  • [43] Investigation of RISC-V
    Frolov, V. A.
    Galaktionov, V. A.
    Sanzharov, V. V.
    PROGRAMMING AND COMPUTER SOFTWARE, 2021, 47 (07) : 493 - 504
  • [44] Instruction Extension of a RISC-V Processor Modeled with IP-XACT
    Payvar, Saman
    Pekkarinen, Esko
    Stahl, Rafael
    Mueller-Gritschneder, Daniel
    Hamalainen, Timo D.
    2019 IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE (NORCAS) - NORCHIP AND INTERNATIONAL SYMPOSIUM OF SYSTEM-ON-CHIP (SOC), 2019,
  • [45] RISC-V Based Processor Architecture for an Embedded Visible Light Spectrophotometer
    Soulard, Guillaume
    Lachance, Gabriel P.
    Boisselier, Elodie
    Boukadoum, Mounir
    Miled, Amine
    2022 IEEE CANADIAN CONFERENCE ON ELECTRICAL AND COMPUTER ENGINEERING (CCECE), 2022, : 360 - 363
  • [46] RISC-V Processor Trace Encoder with Multiple Instructions Retirement Support
    Kukner, Halil
    Kaplayan, Gokhan
    Efe, Ahmet
    Gulden, Mehmet Ali
    PROCEEDINGS OF THE 2022 IFIP/IEEE 30TH INTERNATIONAL CONFERENCE ON VERY LARGE SCALE INTEGRATION (VLSI-SOC), 2022,
  • [47] Implementation of Hardware Trace Buffer Module for RISC-V Processor Core
    Shveida, Bohdan
    Marcinek, Krzysztof
    Pleskacz, Witold A.
    2024 31ST INTERNATIONAL CONFERENCE ON MIXED DESIGN OF INTEGRATED CIRCUITS AND SYSTEM, MIXDES 2024, 2024, : 110 - 113
  • [48] Performance Evaluation of Various RISC Processor Systems: A Case Study on ARM, MIPS and RISC-V
    Liu, Yu
    Ye, Kejiang
    Xu, Cheng-Zhong
    CLOUD COMPUTING, CLOUD 2021, 2022, 12989 : 61 - 74
  • [49] Design Exploration of SHA-3 ASIP for IoT on a 32-bit RISC-V Processor
    Rao, Jinli
    Ao, Tianyong
    Xu, Shu
    Dai, Kui
    Zou, Xuecheng
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2018, E101D (11): : 2698 - 2705
  • [50] Towards Transparent Dynamic Binary Translation from RISC-V to a CGRA
    Wirsch, Ramon
    Hochberger, Christian
    ARCHITECTURE OF COMPUTING SYSTEMS (ARCS 2021), 2021, 12800 : 118 - 132