University of Cincinnati
Methods for Reverse Engineering Word-Level Models from Look-Up Table Netlists
Abstract
dc:descriptionThe rapid increase in the complexities and abilities of Field Programmable Gate Arrays (FP-GAs) and the continual improvement of High-Level Synthesis (HLS) tools to configure FPGAshas led to significant growth in the usage of modern FPGAs in the electronics industry. As a re-sult, there is a need to enhance the security measures on FPGA designs to counter compromisedFPGA bitstreams due to either Trojan insertion threats on bitstreams or malicious third-partyIP blocks.Reverse Engineering (RE) is a helpful tool to offset these security threats. FPGA reverse en-gineering can be divided into three stages: Bitstream extraction, netlist recovery, and high-levelnetlist representation. Bitstream extraction is the process of obtaining the bitstream file froman FPGA. In most cases, bitstreams are readily available to the end user, either in encryptedor unencrypted form. The process of recovering different FPGA primitives such as Look-Up-Tables (LUTs), carry modules, Digital Signal Processors (DSPs), flip-flops, and RandomAccess Memory (RAM) blocks, etc., by analyzing the obtained bitstream and then identifyingthe connectivity between these primitives to obtain the original netlist is called netlist recovery.The resulting netlist is referred to as a gate-level netlist in the rest of this thesis. The process ofidentification of high-level modules such as operators, counters, registers, and ALUs from thegate-level netlist and representing it using a Hardware Description Language at a higher levelof abstraction than the gate-level netlist is called high-level netlist representation. While thereis a significant amount of research done in the field of gate-level to Register-Transfer Level(RTL) reverse engineering of Application Specific Integrated Circuits (ASICs), there is littlework done in reverse engineering gate-level FPGA designs.This thesis presents a tool for reverse engineering gate-level FPGA designs for the iden-tification of datapath components. Datapath components include operators, ALUs, memory,counters, and other word-level modules. Since there are different ways of synthesizing differentdatapath components, there are different techniques for detection and high-level representationof each type of component. While some of the methods presented in the paper are ASIC-specific techniques that have been modified and extrapolated to accommodate FPGA netlists,the other methods are novel and completely specific to FPGA designs. An evaluation of thesetechniques on a set of real-world benchmarks shows that up to 100% of the gates in the netlistwere detected to be part of a word-level module. Together with the detection of the function-ality of the gates, the techniques also provide modular hierarchy to the gate-level netlist. Amodular hierarchy helps us understand the netlist and write an equivalent high-level RTL forfurther analysis.
Degree
thesis:*- Name thesis:degree_name
- MS
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Engineering and Applied Science: Computer Engineering
- Grantor dc:publisher
- University of Cincinnati
- Year dc:date
- 2022
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Narayanan, Ram Venkat
Subjects
dc:subject × 5Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=ucin166863616370175