bitstream-re
CommunitySilicon-validated FPGA bitstream reverse engineering
Software Engineering#fpga#quartus#bitstream reverse engineering#cram mapping#routing codec#silicon validation#crc patching
Author14sea
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you reverse-engineer FPGA configuration bitstreams by mapping which CRAM bits control specific functionality, so you can reliably read, modify, and regenerate behavior without relying on proprietary assumptions.
Core Features & Use Cases
- Pair-diff CRAM discovery: isolates configuration bits by XOR-diffing RBFs from minimally different designs instead of trying to parse RBF structures directly.
- Routing and codec modeling: builds models for both CRAM geometry and routing behavior, then applies switch/LUT updates via a codec while maintaining XOR-delta semantics.
- Hardware safety and verification workflow: includes guardrails like CRC recomputation and a mandatory end-to-end hardware validation loop to prevent unsafe or non-functional bitstreams.
- SKU/jailbreak probing: tests whether “smaller” SKUs are enabled/disabled primarily by fitter whitelists and verifies physical legality before expanding models.
Quick Start
Use the bitstream-re skill to compute CRAM offsets and routing models for an EP4CE6 by running staged pair-diffs on Quartus-generated RBFs, then codec-replaying the results into an identical silicon-validated bitstream with CRC patched before flashing.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bitstream-re Download link: https://github.com/14sea/Cyclone_CRAM_Mapper/archive/main.zip#bitstream-re Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.