Software methods introduced for automated design of approximate implementations of arithmetic circuits rely on fast and accurate evaluation of approximate candidate implementations. To accelerate the evaluation of circuit error, we propose four novel algorithms for the exact worst-case and mean absolute error analysis based on Binary Decision Diagrams. As these algorithms do not compute any absolute values in the characteristic function, which basically compares a candidate approximate circuit with a golden circuit, the error evaluation is significantly faster than the standard BDD-based error analysis. On average, the proposed algorithms are three times faster (in some cases, 30 times faster) than the baseline for 8- to 32-bit approximate adders. These results were obtained from more than 49 thousand runs with different configurations of the method. The proposed error evaluation algorithms are available as an open-source software https://github.com/ehw-fit/bdd-evaluation.
翻译:为自动设计算术电路近似应用软件而采用的软件方法依赖于对近似候选性实施过程的快速和准确评价。为了加速评估电路误差,我们提议了四种新算法,用于基于二进制决定图的准确最坏的情况和平均绝对误差分析。由于这些算法没有计算特征功能中的任何绝对值,基本上将候选近似电路与黄金电路进行比较,误差评价大大快于标准的BDD误差分析。平均而言,提议的算法比8-32位近似添加器的基准速度快三倍(在某些情况下,快30倍),这些结果来自49 000多支运行,且方法配置不同。提议的误差评价算法可以作为一种开源软件https://github.com/ehwfit/bdd-valevation提供。