[Paper Review] High Throughput 2D Spatial Image Filters on FPGAs
This paper presents a high-throughput, FPGA-based 2D spatial image filter architecture that leverages modern DSP blocks for maximum performance while supporting runtime coefficient reconfiguration. By exploiting DSP block parallelism and a lean border management scheme, the design achieves over 190 frames per second for Full HD (1920×1080) video, outperforming HLS-generated filters by 1.7× in pixel processing rate with full runtime flexibility.
FPGAs are well established in the signal processing domain, where their fine-grained programmable nature allows the inherent parallelism in these applications to be exploited for enhanced performance. As architectures have evolved, FPGA vendors have added more heterogeneous resources to allow often-used functions to be implemented with higher performance, at lower power and using less area. DSP blocks, for example, have evolved from basic multipliers to support the multiply-accumulate operations that are the core of many signal processing tasks. While more features were added to DSP blocks, their structure and connectivity has been optimised primarily for one-dimensional signal processing. Basic operations in image processing are similar, but performed in a two-dimensional structure, and hence, many of the optimisations in newer DSP blocks are not exploited when mapping image processing algorithms to them. We present a detailed study of two-dimensional spatial filter implementation on FPGAs, showing how to maximise performance through exploitation of DSP block capabilities, while also presenting a lean border pixel management policy.
Motivation & Objective
- Address the performance bottleneck in real-time vision systems caused by inefficient 2D spatial filtering.
- Overcome the underutilization of modern FPGA DSP blocks, which are optimized for 1D signal processing but not fully exploited in 2D image filtering.
- Enable runtime coefficient reconfiguration for flexible, multi-purpose image processing in smart vision systems.
- Minimize area and latency overhead through efficient border pixel handling and pipelined architecture design.
- Achieve near-theoretical maximum throughput on modern FPGAs while maintaining low resource usage and high clock frequency.
Proposed method
- Design a direct-form 2D spatial filter using a streaming dataflow with raster-scan input and a row buffer to store w−1 previous rows.
- Implement the filter function using DSP blocks for parallel multiplication of input pixels with configurable coefficients, enabling runtime coefficient updates.
- Integrate a state machine control unit to manage priming, flushing, activation, and deactivation of the filter pipeline.
- Apply an overlapped priming and flushing scheme from prior work to minimize border processing overhead without full frame buffering.
- Compare multiple adder tree designs (DSP-based, logic-only, and hybrid) to optimize latency and resource usage in the accumulation stage.
- Use Xilinx Zynq FPGA as the target platform, leveraging its DSP blocks and high-bandwidth interconnect between processing and reconfigurable logic.
Experimental results
Research questions
- RQ1Can modern FPGA DSP blocks be effectively utilized to achieve high-throughput 2D spatial filtering, despite their original design for 1D signal processing?
- RQ2How does runtime coefficient reconfiguration impact area, latency, and performance in FPGA-based image filters?
- RQ3What is the performance overhead of border pixel management, and can it be minimized without sacrificing throughput?
- RQ4How do different adder tree implementations (DSP vs. logic-based) compare in terms of throughput, latency, and resource utilization?
- RQ5How does the proposed architecture compare to high-level synthesis (HLS) tools like Vivado HLS in terms of performance and flexibility?
Key findings
- The proposed DSP-based design achieves a maximum clock frequency of 462 MHz, enabling over 190 frames per second for Full HD (1920×1080) video streams.
- The logic-only implementation uses 2833 slice registers and 3101 LUTs, while the DSP-based version uses only 49 DSP blocks and 3444 slice registers, showing superior area efficiency.
- The filter with border management using the [15] scheme increases logic usage to 552 slice registers and 484 LUTs, but maintains high throughput with only a 1.5% latency increase compared to the no-border case.
- The proposed design achieves 1.7× higher pixel processing rate than a Vivado HLS-generated filter (369 MHz vs. 214 MHz), despite the HLS tool being optimized for fixed coefficients.
- The architecture supports runtime coefficient updates, enabling dynamic switching between different image processing functions (e.g., blur, sharpen, edge detection) without reprogramming.
- The direct form filter with a DSP-based adder tree achieves a latency of 3874 cycles for a 640×480 image, with a throughput close to the theoretical maximum for the FPGA architecture.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.