Unlock instant, AI-driven research and patent intelligence for your innovation.

Bit stream imaging method of field programmable logic gate array device

A programming logic and bitstream technology, which is applied in the field of imaging and automatic labeling of configurable resource parts of bitstream programming logic, can solve the problems of insufficient mapping relationship between images and devices, slow running speed, and excessive bit stream.

Active Publication Date: 2019-10-15
ZHEJIANG UNIV
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

One is that the size of the picture is too large; the other is that the mapping relationship between the image and the device is insufficient, that is, the correlation with the structure of the FPGA device cannot be shown
The reason for problem 1 is that the bit stream configured by the FPGA is too large. The size of the bit stream generated by the same series of FPGAs is fixed. For example, the fixed size of the bit stream generated by XilinxZYNQ-7000 702FPGA is 3.85M bytes. (ie 3,951K bytes)
All these data are used to generate images without loss, which will cause the image pixel size to reach more than 2000×2000 orders of magnitude, which will lead to extremely slow running speed during machine learning training; The content of the logic block (CLB) only accounts for 60% of the total data volume, and the resources used by the actual FPGA implementation algorithm are even less, so there are a large amount of data in the bit stream that has nothing to do with resource configuration, resulting in The image size is too large
As for the second problem, on the one hand, it is due to the influence of the above-mentioned large amount of irrelevant data, and on the other hand, due to the lack of a reasonable image algorithm that fully combines the bit stream structure and the distribution of FPGA physical resources, it is impossible to convert the bit stream into a picture. Intuitive and clear image

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Bit stream imaging method of field programmable logic gate array device
  • Bit stream imaging method of field programmable logic gate array device
  • Bit stream imaging method of field programmable logic gate array device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0064] Embodiment 1, realize bit stream reverse engineering image target recognition work under Xilinx ZYNQ-7000ZC702 evaluation platform:

[0065] Such as figure 1 Shown are the two words 0x30004000, 0x500F6C78 at the end of the bitstream file header. The previous word represents writing data to the register with address 00010, that is, writing data to the FDRI register. The latter word indicates that the length of the written data is 0x0F6C78 (decimal notation: 1010808) words. From this, the data of the FDRI part can be extracted (such as figure 1 content in the dashed box).

[0066] Such as figure 2 Shown is the bitstream file structure, and its FDRI part includes the contents of 6 clock domains, figure 2 The starting frame of each clock domain and the starting frame of each CLB column in clock domain 1 are marked in , and each CLB column includes 50 CLBs. FDRI completes the configuration of a column of CLBs before configuring the next column of CLBs.

[0067] Such...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a bit stream imaging method of a field programmable gate array device. The bit stream imaging method comprises imaging and automatic labeling. The imaging step includes: (1.1)removing irrelevant information, specifically, locking data in a CLB part in a logic part of FPGA programmable logic, and abandoning other information in the bit stream imaging process without consideration; 1.2) performing image restoration on the single CLB, and splicing the single CLB restoration images according to the two-dimensional array arrangement line number in the Device image to form awhole bit stream restoration image. The automatic labeling step includes: specifying a resource region range and a bit stream output file name used in the implementation process. The invention provides a brand-new algorithm for converting information used for describing configurable resources in a bit stream into a two-dimensional image with a relatively strong mapping relationship in combinationwith two-dimensional physical distribution of FPGA logic resources, and automatic labeling of module functions is realized.

Description

technical field [0001] The present invention relates to the field of field programmable logic gate array (FPGA, Field Programmable Gate Array) bit stream imaging field, and specifically proposes a bit stream programming logic configurable resource part imaging and automatic labeling combined with FPGA resource two-dimensional structure technology. Background technique [0002] Field programmable logic gate arrays have become one of the most widely used advanced digital systems over the past two decades. The big reason lies in the flexibility of FPGA products, mainly because FPGA can use the bit stream to reconfigure the internal logic. [0003] The FPGA bitstream configures the internal configurable resources of the FPGA, including the Configurable Logic Block (CLB), the Input / Output Block (IOB), the block memory (BRAM), etc. Property, IP) to update or add a new IP core, so as to achieve quick replacement. Obtaining information from the FPGA bit stream is generally divide...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T9/00G06F17/50
CPCG06T9/00G06F30/30
Inventor 刘鹏魏宁杰王明钊吴东陈敏珍郭俊谢向辉
Owner ZHEJIANG UNIV