Z-ENG: FPGA-Based PUF Response Correction Using Hamming Codes

2026-2027 ősz

Hardver (és szoftver firmware)

Téma leírása

Design and implement a standalone FPGA-based error correction system for improving the reliability of Physical Unclonable Function (PUF) response data using Hamming error-correcting codes. The system will work with 128-bit PUF responses provided as input data and does not require the design or integration of the PUF itself.

The system should include an enrollment stage in which a reference response from each FPGA device is used to generate device-specific helper data. During later operation, a newly measured 128-bit response from the same FPGA may contain flipped bits at different positions. The stored helper data and Hamming decoding should be used to detect and correct errors within the supported correction capability and reconstruct the enrolled response.

Project Objective:

To design and implement a standalone FPGA-based error-correction system that uses Hamming codes and device specific helper data to detect and correct variations in 128-bit PUF responses and experimentally evaluate its correction capability, reliability improvement, and hardware implementation cost.

Main Requirements of the project:

1- PUF Response Data Handling

  • Accept 128-bit PUF responses as input data
  • Work independently from the PUF generation hardware
  • Support response data obtained from multiple FPGA devices
  • Divide the 128-bit response into suitable blocks for Hamming-code processing
  • Support loading reference and repeated response data for testing and evaluation


2- Enrollment and Helper Data Generation

  • Implement an enrollment stage using a reference 128-bit response
  • Generate the required ECC-based helper data from the reference response
  • Store the helper data instead of requiring direct storage of the complete reference response for comparison
  • Generate separate helper data for each FPGA device, since each FPGA has its own PUF response
  • Allow the stored helper data to be reused for later responses obtained from the same FPGA

3- Hamming Error Detection and Correction

  • Implement a suitable Hamming-code architecture in VHDL or Verilog, such as extended Hamming (8,4)
  • Implement encoding, syndrome calculation, error detection, and decoding
  • Use the stored helper data together with a newly received 128-bit response to reconstruct the enrolled response
  • Correct single-bit errors within each protected Hamming block
  • Detect error conditions that exceed the correction capability of the selected Hamming code where applicable
  • Support errors occurring at different bit positions in different measurements

4- Error Injection and Response Reconstruction

  • Implement a controllable error-injection mechanism for experimental testing
  • Introduce errors at selected or varying positions within the 128-bit response
  • Test different numbers and distributions of flipped bits
  • Reconstruct the enrolled response after applying error correction
  • Indicate successfully corrected errors and uncorrectable error conditions
  • Compare the noisy input response with the reconstructed output


5- Testing & Evaluation

  • Test the system using 128-bit PUF response datasets from one or more FPGA devices
  • Perform separate enrollment for each FPGA device used in the evaluation
  • Evaluate repeated responses containing errors at different bit locations
  • Measure the number and percentage of successfully corrected responses
  • Measure the bit-error rate before and after error correction
  • Evaluate the successful response reconstruction rate
  • Evaluate FPGA resource utilization, including LUTs and flip-flops
  • Measure the processing latency or number of clock cycles required for error correction
  • Evaluate the limitations of the selected Hamming code when multiple errors occur within the same protected block


The project is considered complete if it delivers the following outcome:

  1. A standalone FPGA-based system capable of processing 128-bit PUF response data
  2. A working enrollment and device-specific helper-data generation mechanism
  3. Working Hamming encoding, syndrome calculation, error detection, decoding, and correction hardware
  4. A functional response-reconstruction system capable of correcting supported bit errors occurring at different locations
  5. A controllable error-injection mechanism for experimental verification
  6. Quantitative evaluation of response reliability before and after error correction, together with FPGA resource utilization and processing-performance results

Maximális létszám: 1 fő