arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.14069cs.AR
收藏

论忠实舍入交换截断Booth乘法器的系统化创建

On the Systematic Creation of Faithfully Rounded Commutative Truncated Booth Multipliers

Theo Drane, Samuel Coward, Mertcan Temel, Joe Leslie-Hurd

AI总结:

针对Booth乘法器截断导致的非交换性及缺乏形式化验证问题,提出一种交换截断Booth乘法器架构,推导出忠实舍入的充要条件,并基于ACL2提供可扩展至42位的验证方法,实现面积缩减达31%。

摘要:

在许多定点乘法实例中,并不需要全精度结果。相反,返回忠实舍入的结果就足够了。忠实舍入允许机器可表示数取全精度结果正上方或正下方的数(如果后者无法精确表示)。充分利用此自由度的乘法器可以使用更少的电路面积和更低的功耗来实现。最常见的实现是在内部截断部分积阵列。然而,将截断应用于最常见的乘法器架构(即Booth架构)会导致非交换性实现。由于穷举模拟通常不可行,此类实现缺乏形式化验证,限制了工业界对截断乘法器的采用。我们提出了一种交换截断Booth乘法器架构,并推导出忠实舍入的闭式充分必要条件。我们还给出了产生最坏情况误差的位向量。我们提出了一种基于ACL2的形式化验证方法,可扩展至42位乘法器。我们合成了多种交换忠实舍入乘法器,并表明截断Booth实现比外部截断乘法器小多达31%。

英文摘要:

In many instances of fixed-point multiplication, a full precision result is not required. Instead it is sufficient to return a faithfully rounded result. Faithful rounding permits the machine representable number either immediately above or below the full precision result, if the latter is not exactly representable. Multipliers which take full advantage of this freedom can be implemented using less circuit area and consuming less power. The most common implementations internally truncate the partial product array. However, truncation applied to the most common of multiplier architectures, namely Booth architectures, results in non-commutative implementations. The industrial adoption of truncated multipliers is limited by the absence of formal verification of such implementations, since exhaustive simulation is typically infeasible. We present a commutative truncated Booth multiplier architecture and derive closed form necessary and sufficient conditions for faithful rounding. We also provide the bit-vectors giving rise to the worst-case error. We present a formal verification methodology based on ACL2 which scales up to 42 bit multipliers. We synthesize a range of commutative faithfully rounded multipliers and show that truncated booth implementations are up to 31% smaller than externally truncated multipliers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑