A PCI Express Based Data Acquisition System for the Monitoring of Code Traces of RISC-V Microprocessors

In the digital world cyberattacks represent a serious threat that can compromise vulnerable systems. Microprocessors, in particular, are exposed to a wide number of cyberattacks, such as Spectre and Meltdown based attacks, as well as Code-Reuse Attacks. In this paper, a PCI express (PCIe) based data acquisition (DAQ) system was developed to acquire the code traces of a RISC-V microprocessor. The code traces dataset will be used to design a machine learning based system on FPGA for on-line detection of cyberattacks in RISC-V microprocessors. The DAQ system was designed in Verilog HDL for Xilinx FPGA platforms and interfaced with a PC running Linux to acquire the code traces and to save them on the hard disk. In the current stage of development, the DAQ system performance was evaluated by generating controlled code traces of 512 bit with frequency 50 MHz using an ad-hoc developed digital circuit. Tests were carried out on two different FPGA platforms and for three different sizes of the SRAM memory buffer (64 kB, 512 kB and 4 MB). The results have shown that the latency introduced by the PC operating system can seriously impact the data transfer rate, and the maximum achieved data throughput was found 577.17 MB/s in the case of SRAM memory size of 4 MB.

Authors

Institutions

Publication Details

Published
2024-11-20
DOI
https://doi.org/10.1109/icsrs63046.2024.10927509
Primary Topic
Embedded Systems Design Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A PCI Express Based Data Acquisition System for the Monitoring of Code Traces of RISC-V Microprocessors

Cecilia Metra, Emanuele Parisi, M. Omaña, Andrea Acquaviva et al.
Embedded Systems Design Techniques
article

A PCI Express Based Data Acquisition System for the Monitoring of Code Traces of RISC-V Microprocessors

Cecilia Metra, Emanuele Parisi, M. Omaña, Andrea Acquaviva, Marco Grossi, Simone Manoni, F. Alfonsi, Alessandro Gabrielli
article en

Abstract

In the digital world cyberattacks represent a serious threat that can compromise vulnerable systems. Microprocessors, in particular, are exposed to a wide number of cyberattacks, such as Spectre and Meltdown based attacks, as well as Code-Reuse Attacks. In this paper, a PCI express (PCIe) based data acquisition (DAQ) system was developed to acquire the code traces of a RISC-V microprocessor. The code traces dataset will be used to design a machine learning based system on FPGA for on-line detection of cyberattacks in RISC-V microprocessors. The DAQ system was designed in Verilog HDL for Xilinx FPGA platforms and interfaced with a PC running Linux to acquire the code traces and to save them on the hard disk. In the current stage of development, the DAQ system performance was evaluated by generating controlled code traces of 512 bit with frequency 50 MHz using an ad-hoc developed digital circuit. Tests were carried out on two different FPGA platforms and for three different sizes of the SRAM memory buffer (64 kB, 512 kB and 4 MB). The results have shown that the latency introduced by the PC operating system can seriously impact the data transfer rate, and the maximum achieved data throughput was found 577.17 MB/s in the case of SRAM memory size of 4 MB.

Istituto Nazionale di Fisica Nucleare (IT), Istituto Nazionale di Fisica Nucleare, Sezione di Bologna (IT), University of Bologna (IT)
Affordable and clean energy
Openalex Percentile: Top 68%
Embedded Systems Design Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.