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 条
  • [1] Design and Verification Environment for RISC-V Processor Cores
    Oleksiak, Adrian
    Cieslak, Sebastian
    Marcinek, Krzysztof
    Pleskacz, Witold A.
    PROCEEDINGS OF THE 2019 26TH INTERNATIONAL CONFERENCE MIXED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS (MIXDES 2019), 2019, : 206 - 209
  • [2] IndiRA: Design and Implementation of a Pipelined RISC-V Processor
    Tiwari, Ankita
    Guha, Prithwijit
    Trivedi, Gaurav
    Gupta, Nitesh
    Jayaraj, Navneeth
    Pidanic, Jan
    2023 33RD INTERNATIONAL CONFERENCE RADIOELEKTRONIKA, RADIOELEKTRONIKA, 2023,
  • [3] Maxpool operator for RISC-V processor
    Nevezi-Strango, David
    Rotar, Danut
    Valcan, Sorin
    Gaianu, Mihail
    2023 25TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING, SYNASC 2023, 2023, : 246 - 250
  • [4] RISC-V2: A Scalable RISC-V Vector Processor
    Patsidis, Kariofyllis
    Nicopoulos, Chrysostomos
    Sirakoulis, Georgios Ch
    Dimitrakopoulos, Giorgos
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [5] Design and Implementation of a Smart Home System Based on the RISC-V Processor
    Lu, Liangliang
    Zhang, Ming
    He, Dingxin
    PROCEEDINGS OF 2020 IEEE 2ND INTERNATIONAL CONFERENCE ON CIVIL AVIATION SAFETY AND INFORMATION TECHNOLOGY (ICCASIT), 2020, : 300 - 304
  • [6] Teaching Out-of-Order Processor Design with the RISC-V ISA
    Zekany, Stephen A.
    Tan, Jielun
    Connolly, James A.
    Dreslinski, Ronald G.
    2021 ACM/IEEE WORKSHOP ON COMPUTER ARCHITECTURE EDUCATION (WCAE), 2021,
  • [7] RISC-V Barrel Processor for Accelerator Control
    AskariHemmat, MohammadHossein
    Bilaniuk, Olexa
    Wagner, Sean
    Savaria, Yvon
    David, Jean-Pierre
    28TH IEEE INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2020, : 212 - 212
  • [8] A RISC-V ISA Compatible Processor IP
    Birari, Akshay
    Birla, Piyush
    Varghese, Kuruvilla
    Bharadwaj, Amrutur
    2020 24TH INTERNATIONAL SYMPOSIUM ON VLSI DESIGN AND TEST (VDAT), 2020,
  • [9] THE DESIGN OF THE PIPELINED RISC-V PROCESSOR WITH THE HARDWARE COPROCESSOR OF DIGITAL SIGNAL PROCESSING
    Vavruk, Y. Y.
    Makhrov, V. V.
    Hedeon, H. O.
    RADIO ELECTRONICS COMPUTER SCIENCE CONTROL, 2024, (01) : 197 - 207
  • [10] A RISC-V Instruction Set Processor-Micro-architecture Design and Analysis
    Raveendran, Aneesh
    Patil, Vinayak Baramu
    Selvakumar, David
    Desalphine, Vivian
    2016 INTERNATIONAL CONFERENCE ON VLSI SYSTEMS, ARCHITECTURES, TECHNOLOGY AND APPLICATIONS (VLSI-SATA), 2016,