Random access to compressed FPGA memory
FPGA & RTL · PhD research
Reading and updating individual bytes in compressed on-chip memory.
Encoding a block with fewer bits saves space, but it can make individual bytes harder to access. Updating one byte can also change the size of the encoded block.
I study memory layouts that let an FPGA read and update individual bytes in a compressed store. I account for the space used by metadata and the logic and latency needed to handle updates.
Research focus
- Find and recover an individual byte on a read.
- Handle writes that change the size of a compressed block.
- Measure storage and access costs against an uncompressed memory.
BRAM packing example
32 signed 8-bit values
- 21
- 18
- 23
- 30
- 20
- 22
- 27
- 24
- 23
- 17
- 26
- 25
- 28
- 20
- 19
- 22
- 24
- 21
- 20
- 31
- 18
- 22
- 25
- 27
- 21
- 23
- 24
- 20
- 28
- 18
- 26
- 22
141 bits stored. Raw uses 257 bits. Packing saves 45.1% with 4-bit deltas.