SPRUJB6B November 2024 ā May 2025 AM2612
BCH codes are implemented to detect errors (bit-flips) in all sequential elements including all the registers, MAU and MCG ROMs, SRAM and Scratchpad for PKE. A distance ādā BCH code can detect up to (d-1) errors and correct up to ā(šā1)/2ā errors. However, error correction is not implemented, only error detection is.
PKE FIA configuration supports distance-4 BCH code which means we can detect up to 3-bit faults with 100% probability. >3-bit faults injected into the PKE design are detected with very high probability (>90%) in most cases.
SRAM and Scratchpad, which are external to the PKE core, have their write and read data ports widened to accommodate extra parity bits for BCH codes. These parity bits are computed on both data and address signals so any fault injected into address and/or data bus will be detected.