Bitstream Interpretation Library (BIL)  0.1
Overview

Application data flow overview

BIL consists of two distinct toolchains:

bildatagen.png
Toolchain for FPGA analysis
The FPGA analysis toolchain is used to initially analyze a specific FPGA type, thus enabling subsequent bitstream reversals. As input the FPGA's XDLRC description, a bitstream targeting this device, and the XDL version of the bitstream is needed. The results will be written into several files used by the bitstream reversal toolchain.
bilreverse.png
Toolchain for bitstream reversal
The bitstream reversal toolchain takes a bitstream and reverses it to XDL. At the moment only inter-tile PIPs will be recovered; intra-tile PIPs and configuration options of the primitive sites are still missing. Though technically possible, no net reconstruction is performed due to the missing intra-tile PIPs.

Directory structure overview

The directory structure of the whole library is as followed:

The source code folder is further subdivided into the various modules of BIL: