Gennaro Di Meo;Gerardo Saggese;Antonio G. M. Strollo;Davide De Caro
{"title":"近似MAC单位使用静态分割","authors":"Gennaro Di Meo;Gerardo Saggese;Antonio G. M. Strollo;Davide De Caro","doi":"10.1109/TETC.2023.3315301","DOIUrl":null,"url":null,"abstract":"In this paper we investigate a novel approximate multiply-and-accumulate (MAC) unit, that computes \n<italic>Y</i>\n = \n<italic>A</i>\n × \n<italic>B</i>\n + \n<italic>C</i>\n using static segmentation. The proposed architecture uses a unique carry-propagate adder and performs segmentation on the three operands \n<italic>A</i>\n, \n<italic>B</i>\n, and \n<italic>C</i>\n, to reduce hardware cost. The circuit can be configured at design-time by two parameters. The first one controls the segmentation on \n<italic>A</i>\n and \n<italic>B</i>\n, while the second one controls the segmentation on \n<italic>C</i>\n and the adder length. An error compensation technique is also employed, to reduce the approximation error. Error analysis and implementation results in 28nm CMOS for 8-bits multiplier with 20-bits and 24-bits addition are presented. The proposed approximate MACs outperform the state of the art, showing the largest power saving when the mean relative error distance (\n<italic>MRED</i>\n) is larger than 2 × 10\n<sup>−3</sup>\n and 4 × 10\n<sup>−5</sup>\n for 20 and 24-bits addition, respectively. For \n<italic>MRED</i>\n of about 6 × 10\n<sup>−3</sup>\n the proposed approximate MAC with 20-bits addition exhibits a power reduction larger than 60% compared to the exact MAC and larger than 27% compared to the state-of-the-art approximate MACs. Application examples to image filtering and template matching show that proposed approximate circuits are good candidates in applications where their error performances are acceptable.","PeriodicalId":13156,"journal":{"name":"IEEE Transactions on Emerging Topics in Computing","volume":"12 4","pages":"968-979"},"PeriodicalIF":5.1000,"publicationDate":"2023-09-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10258016","citationCount":"0","resultStr":"{\"title\":\"Approximate MAC Unit Using Static Segmentation\",\"authors\":\"Gennaro Di Meo;Gerardo Saggese;Antonio G. M. Strollo;Davide De Caro\",\"doi\":\"10.1109/TETC.2023.3315301\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper we investigate a novel approximate multiply-and-accumulate (MAC) unit, that computes \\n<italic>Y</i>\\n = \\n<italic>A</i>\\n × \\n<italic>B</i>\\n + \\n<italic>C</i>\\n using static segmentation. The proposed architecture uses a unique carry-propagate adder and performs segmentation on the three operands \\n<italic>A</i>\\n, \\n<italic>B</i>\\n, and \\n<italic>C</i>\\n, to reduce hardware cost. The circuit can be configured at design-time by two parameters. The first one controls the segmentation on \\n<italic>A</i>\\n and \\n<italic>B</i>\\n, while the second one controls the segmentation on \\n<italic>C</i>\\n and the adder length. An error compensation technique is also employed, to reduce the approximation error. Error analysis and implementation results in 28nm CMOS for 8-bits multiplier with 20-bits and 24-bits addition are presented. The proposed approximate MACs outperform the state of the art, showing the largest power saving when the mean relative error distance (\\n<italic>MRED</i>\\n) is larger than 2 × 10\\n<sup>−3</sup>\\n and 4 × 10\\n<sup>−5</sup>\\n for 20 and 24-bits addition, respectively. For \\n<italic>MRED</i>\\n of about 6 × 10\\n<sup>−3</sup>\\n the proposed approximate MAC with 20-bits addition exhibits a power reduction larger than 60% compared to the exact MAC and larger than 27% compared to the state-of-the-art approximate MACs. Application examples to image filtering and template matching show that proposed approximate circuits are good candidates in applications where their error performances are acceptable.\",\"PeriodicalId\":13156,\"journal\":{\"name\":\"IEEE Transactions on Emerging Topics in Computing\",\"volume\":\"12 4\",\"pages\":\"968-979\"},\"PeriodicalIF\":5.1000,\"publicationDate\":\"2023-09-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10258016\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on Emerging Topics in Computing\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10258016/\",\"RegionNum\":2,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INFORMATION SYSTEMS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on Emerging Topics in Computing","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10258016/","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
摘要
本文研究了一种新的近似乘累加(MAC)单元,它使用静态分割计算Y = a × B + C。该架构采用唯一的进位传播加法器,并对a、B和C三个操作数进行分割,以降低硬件成本。电路可以在设计时通过两个参数进行配置。第一个控制A和B上的分割,第二个控制C上的分割和加法器长度。为了减小逼近误差,采用了误差补偿技术。给出了8位乘法器的误差分析和在28nm CMOS上的实现结果。所提出的近似mac性能优于目前的技术水平,当平均相对误差距离(MRED)分别大于2 × 10−3和4 × 10−5时,对20位和24位的加法显示最大的省电。对于MRED约为6 × 10−3的近似MAC,与精确MAC相比,所提出的带有20位加法的近似MAC的功耗降低大于60%,与最先进的近似MAC相比,功耗降低大于27%。在图像滤波和模板匹配中的应用实例表明,所提出的近似电路在误差性能可接受的情况下是很好的候选电路。
In this paper we investigate a novel approximate multiply-and-accumulate (MAC) unit, that computes
Y
=
A
×
B
+
C
using static segmentation. The proposed architecture uses a unique carry-propagate adder and performs segmentation on the three operands
A
,
B
, and
C
, to reduce hardware cost. The circuit can be configured at design-time by two parameters. The first one controls the segmentation on
A
and
B
, while the second one controls the segmentation on
C
and the adder length. An error compensation technique is also employed, to reduce the approximation error. Error analysis and implementation results in 28nm CMOS for 8-bits multiplier with 20-bits and 24-bits addition are presented. The proposed approximate MACs outperform the state of the art, showing the largest power saving when the mean relative error distance (
MRED
) is larger than 2 × 10
−3
and 4 × 10
−5
for 20 and 24-bits addition, respectively. For
MRED
of about 6 × 10
−3
the proposed approximate MAC with 20-bits addition exhibits a power reduction larger than 60% compared to the exact MAC and larger than 27% compared to the state-of-the-art approximate MACs. Application examples to image filtering and template matching show that proposed approximate circuits are good candidates in applications where their error performances are acceptable.
期刊介绍:
IEEE Transactions on Emerging Topics in Computing publishes papers on emerging aspects of computer science, computing technology, and computing applications not currently covered by other IEEE Computer Society Transactions. Some examples of emerging topics in computing include: IT for Green, Synthetic and organic computing structures and systems, Advanced analytics, Social/occupational computing, Location-based/client computer systems, Morphic computer design, Electronic game systems, & Health-care IT.