Abstract

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.

Highlights

  • Field-programmable gate arrays (FPGAs) are gaining prominence in a wide array of fields, such as communication, deep learning, and digital signal processing, due to their distinct features and advantages of configurability, fast development cycle, and availability of abundant logic/storage resources

  • The function block detection result of a bitstream file, which implements the encryption algorithm used for PDF-R2 on ZC702 FPGA, is shown in Fig. 7, as an example

  • In this paper, we have proposed an FPGA bitstream function block detection method built upon the deep learning techniques

Read more

Summary

INTRODUCTION

Field-programmable gate arrays (FPGAs) are gaining prominence in a wide array of fields, such as communication, deep learning, and digital signal processing, due to their distinct features and advantages of configurability, fast development cycle, and availability of abundant logic/storage resources. One approach to defining the function blocks of an FPGA design is through circuit partitioning with the circuit represented directly by its bitstreams or netlists, after which the content of the partitioned circuits will be compared against the existing designs [3], [4] One drawback of such an approach is attributed to the time-consuming. The bitstream-to-image transformation suitable for deep learning processing is proposed by analyzing the mapping relationship between the configuration bits and CLB elements. A dataset, in which the images are transformed from bitstream files containing 10 kinds of cryptographic operators, is generated for deep learning without manual annotation, which means there is no need to label the data by humans.

RELATED WORKS
DATASET DESCRIPTION
CONCLUSION
Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call