Back to search

University of Cincinnati

Methods for Reverse Engineering RTL Models of DSP Slices and BlockRAMs fromLUT-Level Netlists

Abstract

dc:description

Field Programmable Gate Arrays (FPGAs) have become increasingly popular in recent years,thanks to advances in High-Level Synthesis (HLS) tools, design libraries, and pre-built IP cores.These developments have made working with FPGAs more straightforward and affordable.Their reprogrammable nature makes them versatile, allowing various industries to adapt FPGAbasedsolutions to changing needs. Modern FPGAs also offer impressive performance andenergy efficiency, which has fueled their adoption in growing fields such as Machine Learning(ML), Artificial Intelligence (AI), and the Internet of Things (IoT).Hence, it is essential to secure FPGA designs, protect against compromised bitstreams ormalicious third-party IP blocks, and recover legacy designs when needed. Reverse Engineering(RE) helps tackle these challenges and is especially useful for retrieving functional models oflost legacy designs. FPGA reverse engineering starts with a binary bitstream and ends withhuman-readable high-level HDL model. FPGA reverse engineering can be divided into threestages: Bitstream extraction, Netlist recovery and High-level netlist representation. The processof obtaining bitstream from FPGA designs is called Bitstream extraction. Netlist recovery is theprocess of obtaining original netlist by analyzing various primitives on FPGA such as Look-Up Tables (LUTs), Carry modules, Digital Signal Processors (DSPs), Flip-Flops (FFs) andBlock RAMs, and their connectivity from the bitstream. The resulting netlist is referred to as aLUT-level netlist in the rest of this thesis.This thesis presents a tool flow to extract high-level RTL models from DSP primitives andBlock RAM by identifying and grouping primitives in flattened LUT-level FPGA designs. Thetool is named DBRET (DSP and BRAM Reverse Engineering Tool). A DSP slice consists ofoptional pipeline registers, a multiplier, an ALU, and a pattern detector. All these componentsare managed by configuration pins. A BRAM block is a typical dual-port memory block withoptional pipeline registers and two independent ports. Both of these primitives exist in standaloneor cascade structures. The main goal of the proposed work is to add DSP and BRAMsupport to an existing toolchain. Multiple DSP slices in static or dynamic configurations instandalone or chained structures have been used for experimental evaluation. In the case ofBRAM blocks, blocks in single port, simple dual port, and true dual port configurations have been analyzed. Variables and operators mapped to DSP primitives are extracted with 100%accuracy. Address bus and IO of the memory, including enable signals, have been successfullyrepresented in high-level RTL. However, for reverse engineering of other FPGA elements suchas carry elements, LUTs, and flip-flops, an existing toolchain needs to be used.

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
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Kota, Avinash Hegde
Chair dc:contributor.committeechair
  • Vemuri, Ranganadha

Subjects

dc:subject × 7

Rights

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.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Kota, Avinash Hegde. Methods for Reverse Engineering RTL Models of DSP Slices and BlockRAMs fromLUT-Level Netlists. masters thesis, University of Cincinnati, 2025. http://rave.ohiolink.edu/etdc/view?acc_num=ucin1746699217339337