arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2007.11434cs.OHeess.IVeess.SP
收藏

一种基于深度学习的FPGA功能块检测方法

A Deep Learning-Based FPGA Function Block Detection Method with Bitstream to Image Transformation

Minzhen Chen, Peng Liu

摘要:

在各种应用场景的背景下和/或为了增强现场可编程门阵列(FPGA)安全性,需要分析FPGA设计的系统功能,这可以通过系统地将FPGA的比特流划分为可管理的功能块并在其后检测其功能来实现。本文提出了一种基于深度学习的FPGA功能块检测方法,主要分为三个步骤。具体来说,我们首先分析位流的格式,以获得配置位和可配置逻辑块之间的映射关系,因为位流中的配置位对于一个元素是不连续的。为了收获基于深度学习的目标检测技术的成熟,我们的下一步是将FPGA比特流转换为图像,遵循所提出的转换方法,该方法考虑到可编程逻辑的邻接性质和配置信息的高度冗余。一旦获得图像,基于深度学习的目标检测算法被应用于这个变换后的图像,并且检测到的对象可以被反射回来以确定原始FPGA设计的功能块。用于功能块检测的深度神经网络使用特制的比特流/图像数据集进行训练和验证。实验证实了所提出的功能检测方法的高检测精度,在Xilinx Zynq-7000 SoC和Zynq UltraScale+ MPSoC上实现的YOLOv 3检测器内的10个功能块的平均平均精度(IoU=0.5)为98.11%。

英文摘要:

In the context of various application scenarios and/or for the sake of strengthening field-programmable gate array (FPGA) security, the system functions of an FPGA design need to be analyzed, which can be achieved by systematically partitioning the FPGA's bitstream into manageable functional blocks and detecting their functionalities thereafter. In this paper, we propose a novel deep learning-based FPGA function block detection method with three major steps. In specific, we first analyze the format of the bitstream to obtain the mapping relationship between the configuration bits and configurable logic blocks because of the discontinuity of the configuration bits in the bitstream for one element. In order to reap the maturity of object detection techniques based on deep learning, our next step is to convert an FPGA bitstream to an image, following the proposed transformation method that takes account of both the adjacency nature of the programmable logic and the high degree of redundancy of configuration information. Once the image is obtained, a deep learning-based object detection algorithm is applied to this transformed image, and the objects detected can be reflected back to determine the function blocks of the original FPGA design. The deep neural network used for function block detection is trained and validated with a specially crafted bitstream/image dataset. Experiments have confirmed high detection accuracy of the proposed function detection method, showing a 98.11% of mean Average Precision (IoU=0.5) for 10 function blocks within a YOLOv3 detector implemented on Xilinx Zynq-7000 SoCs and Zynq UltraScale+ MPSoCs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑