基于区间分裂和BRAM实例化的FPGA高效表基函数逼近
Efficient Table-based Function Approximation on FPGAs using Interval Splitting and BRAM Instantiation
摘要:
本文提出了一种新的方法,用于产生基于表的FPGA的存储器有效的函数逼近电路。给定要在给定区间[x0,x0+a]中近似的函数f(x)和最大近似误差Ea,目标是确定具有最小化存储器占用的函数表实现,即,需要存储的条目数。而不是通过所谓的断点对给定间隔进行均匀采样并使用两个相邻断点之间的线性插值来确定最大误差界的f(x)的最先进的工作,首先,我们提出了三个间隔分裂算法,以根据在低梯度的子间隔中的观察来大幅减少所需的内存占用,可以假设较粗糙的采样网格满足最大内插误差界限。在初等数学函数上的实验表明,该方法可以节省大量的内存占用。其次,介绍了一种实现子间隔选择、断点查找和插值的硬件结构,其延迟仅为9个时钟周期。第三,在每个生成的电路设计内,BRAM被自动实例化,而不是使用LUT原语来合成减小的占用面积函数表,从而提供额外程度的资源效率。
英文摘要:
This paper proposes a novel approach for the generation of memory-efficient table-based function approximation circuits for FPGAs. Given a function f(x) to be approximated in a given interval [x0,x0+a] and a maximum approximation error Ea, the goal is to determine a function table implementation with a minimized memory footprint, i.e., number of entries that need to be stored. Rather than state-of-the-art work performing an even sampling of the given interval by so-called breakpoints and using linear interpolation between two adjacent breakpoints to determine f(x) at the maximum error bound, first, we propose three interval-splitting algorithms to reduce the required memory footprint drastically based on the observation that in sub-intervals of low gradient, a coarser sampling grid may be assumed to satisfy the maximum interpolation error bound. Experiments on elementary mathematical functions show that a large fraction in memory footprint may be saved. Second, a hardware architecture implementing the sub-interval selection, breakpoint lookup and interpolation at a latency of just 9 clock cycles is introduced. Third, within each generated circuit design, BRAMs are automatically instantiated rather than synthesizing the reduced footprint function table using LUT primitives providing an additional degree of resource efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。