SRAM-based FPGAs can accelerate image processing by configuring logic to exploit parallel operations, but their configuration memory can be vulnerable to radiation-induced single event upsets (SEUs). For spaceborne imaging systems, an SEU can alter the configured design and disrupt the processing of incoming pixels. FPGA SEU protection is therefore important where image data must continue to move through a pipeline despite configuration errors.
Line-buffer pipelines are a practical way to apply local filters to a streamed image without storing an entire frame for repeated access. But their registers, buffers, logic and routing can all be affected by a configuration memory error. A protection method must detect corrupted processing and, ideally, help identify where the fault occurred so that recovery can target the affected portion of the design.
Why local image filters use line buffers
A local filter calculates an output pixel from a neighborhood of input pixels. For example, a 3 × 3 window uses the values of nine neighboring pixels to produce a filtered value for the center of that window. Median and rank filters are examples of operations that work on local neighborhoods.
As the window moves across an image, pixels are reused in multiple positions. A line-buffer-based pipeline takes advantage of that reuse: FIFO line buffers and registers temporarily retain the pixel stream, making the rows needed for the current window available to the filter. This lets the image be processed as it arrives rather than requiring the whole frame to be held for subsequent reads.
Two common arrangements connect the buffers in series or in parallel. Both can provide the pixel values needed for a local operation, though their internal paths differ. Border handling is a separate design consideration: in the basic structures described here, the end of one row can be followed by the beginning of the next, so border pixels may be invalid. Applications can use approaches such as duplication or mirroring when border values need to be handled.
FPGA SEU protection for line-buffer pipelines
An SEU can change an SRAM cell that holds FPGA configuration data. Unlike a transient error in a pixel value, a configuration memory error can change the implemented design until the affected configuration is rewritten through partial or complete reconfiguration. Detecting a problem is useful, but knowing which pipeline section may be damaged can also support more targeted recovery.
The proposed protection method adds two 8-bit detection registers, a counter and a three-input comparator to the pipeline. The detection registers temporarily capture pixels at selected points. The comparator checks the values of three output signals at scheduled times, allowing the system to identify whether a pixel changed as it moved through the pipeline. The counter controls when the detection registers read and write.
The comparison timing accounts for the pipeline’s storage and delay. In the reported 128 × 128-pixel example, one pixel is checked every 259 clock cycles. The method is based on the expectation that a configuration error affecting the pipeline will persist, so later pixels are likely to reveal a mismatch after the design has been damaged.
Detection can help locate the affected section
Where the detection signals are connected depends on the pipeline arrangement. In a series pipeline, checks are placed at the beginning, middle and end of the delay path. In a parallel pipeline, signals are taken from the ends of the branches. Comparing the three results can indicate which portion of the pipeline may be affected.
This localization matters for recovery. Rather than automatically reloading the entire FPGA, a system may be able to partially reconfigure the implicated pipeline components and their related routing configuration. The counter must also be included among the possible affected components. Partial reconfiguration can change selected configuration frames while the FPGA is operating; measuring its time and power benefits was outside the reported evaluation.
Resource use and detection results
The method was compared with an XOR-based signature scheme. That approach combines pixel values to create signatures before and after the pipeline, then detects a mismatch between them. The comparison was implemented on a Xilinx Zynq-7000 FPGA and evaluated through configuration-bit fault injection.
In the reported resource results, the proposed method used fewer flip-flops than the XOR scheme in both pipeline arrangements. For the series design, it added 28.3% in flip-flops and 25.3% in look-up tables (LUTs), compared with 50.5% and 23.1% respectively for the XOR scheme. For the parallel design, the proposed method added 9.3% in flip-flops and 26% in LUTs, compared with 71% and 63% for XOR signatures. The parallel XOR implementation required three signature modules, contributing to its higher resource overhead.
Fault-injection results showed similar detection rates for the two protection methods: approximately 92% of corrupted images were detected in both series and parallel tests. The proposed method also produced fewer false positives in the reported campaigns. False positives occur when the protection circuitry signals an error even though the pipeline output is correct; they can lead to unnecessary recovery actions.
These results are specific to the evaluated designs and fault-injection setup. They indicate a favorable resource and false-positive tradeoff for the proposed method in those tests, not a guarantee of identical performance across FPGA devices, image formats or pipeline implementations.
Practical implications for system designers
When assessing FPGA SEU protection for image processing, engineers should consider more than whether a design detects errors. The protection logic itself consumes FPGA resources and can also be affected by configuration errors. Designers should evaluate:
- Pipeline structure: Series and parallel arrangements require different monitoring points.
- Recovery strategy: Detection signals are most useful when they can guide a defined partial or complete reconfiguration procedure.
- Resource overhead: LUT and flip-flop costs should be assessed against the available capacity and the rest of the design.
- False alarms: Unnecessary recovery can affect system availability, so false-positive behavior matters alongside detection coverage.
Conclusion
Line buffers enable local image filters to process streamed pixels efficiently, but configuration memory errors can compromise the FPGA logic that supports them. The evaluated register-based protection method compares pixels at selected pipeline points, offers clues about the affected section and, in the reported tests, achieves detection rates similar to an XOR signature scheme with lower resource use in most measured categories and fewer false positives. For system integrators and designers, the key is to plan error detection together with a practical recovery path, including whether partial reconfiguration can be used for the application.