Search this site

  • HomeOmar Elsayed
  • AboutBackground and education
  • ProjectsFPGA design, data compression, molecular dynamics, and web projects
  • PublicationsPublications and the HADI Lab bibliography
  • CVTechnical skills and curriculum vitae
  • ServicesFPGA and digital design, tutoring, and website development
  • ContactResearch, employment, and service inquiries
  • Client previewOpen a project with your code

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

  1. 21
  2. 18
  3. 23
  4. 30
  5. 20
  6. 22
  7. 27
  8. 24
  9. 23
  10. 17
  11. 26
  12. 25
  13. 28
  14. 20
  15. 19
  16. 22
  17. 24
  18. 21
  19. 20
  20. 31
  21. 18
  22. 22
  23. 25
  24. 27
  25. 21
  26. 23
  27. 24
  28. 20
  29. 28
  30. 18
  31. 26
  32. 22

141 bits stored. Raw uses 257 bits. Packing saves 45.1% with 4-bit deltas.

Raw mode stores a mode bit and 32 values. Packed mode stores a mode bit, an 8-bit base, a 4-bit width field, and 32 deltas.