Towards High-Performance Network Coding: FPGA Acceleration With Bounded-value Generators

Jiaxin Qing, Philip H. W. Leong, Kin-Hong Lee, Raymond W. YeungarXiv 2025 · DOI

Introduction

Network coding significantly enhances throughput and robustness in lossy network environments, such as 5G and satellite links, by allowing intermediate nodes to combine and restructure data packets. Among these, Batched Sparse (BATS) codes are particularly effective as they are capacity-achieving. However, the intense finite field operations required by BATS codes pose a significant computational challenge. While 5G networks demand peak data rates of 20 Gbps, standard software implementations on high-end CPUs often fail to exceed 100 Mbps. Previous FPGA-based solutions have reached approximately 1.2 Gbps but remain bottlenecked by random memory access patterns and complex hardware logic.

BATS coding process: (a) bipartite graph, (b) matrix representation, and (c) coded batch generation.

Algorithm-Hardware Co-Design

To bridge the performance gap, this work introduces an algorithm-hardware co-design approach centered on three key innovations:

Cyclic-Shift BATS (CS-BATS)

Traditional BATS codes rely on random packet selection, which results in inefficient, non-contiguous memory access. CS-BATS introduces a structured, periodic pattern for packet access. This modification enables the FPGA to perform burst memory reads from High Bandwidth Memory (HBM), significantly improving I/O efficiency without sacrificing the code's mathematical optimality.

Bounded-value Generators (BVG)

Finite field multiplication in $GF(2^n)$ is typically resource-intensive. The authors propose Bounded-value Generators, which restrict the values in the generator matrix to a small subset (e.g., the first 2 or 4 bits). This optimization simplifies the $n \times n$ multiplier into a much smaller $n \times s$ circuit. Empirical results demonstrate that this restriction has a negligible impact on data recovery performance while reducing the size of finite field multipliers by up to 70%.

Scalable Hardware Architecture

The proposed system is implemented on an AMD Alveo U50 FPGA, utilizing its HBM2 memory to handle high-speed data streams.

Proposed FPGA architecture: (a) system-level view, (b) matrix multiplication tiling, and (c) HBM memory mapping.

The architecture features a systolic array of processing elements (PEs) designed for parallel finite field operations. A "Load Balance Scheduler" manages the varying computational degrees of different batches by pairing high-workload tasks with low-workload ones, ensuring high utilization of the FPGA cores. To mitigate HBM contention, input data is replicated across multiple HBM pseudo-channels, allowing multiple Compute Units (CUs) to operate independently with zero communication overhead.

Key Results

The FPGA accelerator achieves a massive throughput of 27 Gbps, representing a 300x speedup over an optimized C++ baseline on an Intel i7-10700 CPU. This performance comfortably meets the 20 Gbps requirement for 5G networks.

Beyond throughput, the BVG approach yields significant resource savings:

  • 70% reduction in finite field multiplier size.
  • 13% reduction in Look-Up Tables (LUTs).
  • 18% reduction in Flip-Flops (FFs).
  • 36% reduction in Block RAM (BRAM).

The design also exhibits near-linear scalability, with throughput increasing proportionally as more Compute Units are added to the FPGA.

Conclusion

By redesigning the BATS algorithm for hardware compatibility, this work demonstrates that high-performance network coding is achievable at 5G line rates. The combination of CS-BATS and Bounded-value Generators provides a blueprint for efficient finite field arithmetic in hardware. Future work will address the acceleration of the decoding process, which involves solving complex systems of linear equations, to provide a complete end-to-end high-speed network coding solution.

Summary updated

BibTeX
@misc{qing2025towards,
  author = {Jiaxin Qing and Philip H. W. Leong and Kin-Hong Lee and Raymond W. Yeung},
  title = {{Towards High-Performance Network Coding: FPGA Acceleration With Bounded-value Generators}},
  year = {2025},
  eprint = {2501.05033},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.05033},
}
Figure