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 条
  • [31] Systematic RISC-V based Firmware Design
    Herdt, Vladimir
    Grosse, Daniel
    Drechsler, Rolf
    Gerum, Christoph
    Jung, Alexander
    Benz, Joscha-Joel
    Bringmann, Oliver
    Schwarz, Michael
    Stoffel, Dominik
    Kunz, Wolfgang
    PROCEEDINGS OF THE 2019 FORUM ON SPECIFICATION AND DESIGN LANGUAGES (FDL), 2019,
  • [32] Design and Implementation of Floating-Point Transcendental Function Processor Based on RISC-V Architecture
    Qin, Bochen
    Cai, Gang
    Huang, Zhihong
    2024 13TH INTERNATIONAL CONFERENCE ON COMMUNICATIONS, CIRCUITS AND SYSTEMS, ICCCAS 2024, 2024, : 59 - 63
  • [33] Performance-Optimised Design of the RISC-V Five-Stage Pipelined Processor NRP
    Li, Hongkui
    Jing, Chaoxia
    Liu, Jie
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2024, 15 (02) : 276 - 281
  • [34] Design and Implementation of a Secure RISC-V Microprocessor
    Stangherlin, Kleber
    Sachdev, Manoj
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2022, 30 (11) : 1705 - 1715
  • [35] Second International workshop on RISC-V for HPC (RISC-V HPC)
    Brown, Nick
    Davis, John
    Leidel, John
    Wong, Michael
    ACM International Conference Proceeding Series, 2023, : 1521 - 1522
  • [36] An Efficient Instruction Fetch Architecture for a RISC-V Soft Processor on an FPGA
    Miyazaki, Hiromu
    Miura, Junya
    Kise, Kenji
    PROCEEDINGS OF THE 10TH INTERNATIONAL SYMPOSIUM ON HIGHLY EFFICIENT ACCELERATORS AND RECONFIGURABLE TECHNOLOGIES (HEART), 2019,
  • [37] An Implementation of a World Grid Square Codes Generator on a RISC-V Processor
    Watanabe, Rei
    Tada, Jubee
    Sato, Keiichi
    Proceedings - 2021 9th International Symposium on Computing and Networking Workshops, CANDARW 2021, 2021, : 309 - 312
  • [38] Complete and Efficient Verification for a RISC-V Processor using Formal Verification
    Weingarten, Lennart
    Datta, Kamalika
    Kole, Abhoy
    Drechsler, Rolf
    2024 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2024,
  • [39] Assessment of RISC-V Processor Suitability for Satellite Applications Invited Paper
    Vacca, Eleonora
    Cora, Giorgio
    Azimi, Sarah
    Sterpone, Luca
    PROCEEDINGS OF THE 21ST ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS 2024-WORKSHOPS AND SPECIAL SESSIONS, CF 2024 COMPANION, 2024, : 116 - 121
  • [40] CPROC, a RISC-V processor demonstrator for monitoring and data processing in HEP
    El Berni, A.
    Callier, S.
    Dinaucourt, P.
    Dulucq, F.
    Madariaga, Q.
    Sylla, R.
    Thienpont, D.
    JOURNAL OF INSTRUMENTATION, 2025, 20 (02):