A low error add and shift-based efficient implementation of base-2 logarithm

Pervaiz Kareem, S. R. Naqvi, C. Kyung
{"title":"A low error add and shift-based efficient implementation of base-2 logarithm","authors":"Pervaiz Kareem, S. R. Naqvi, C. Kyung","doi":"10.1109/ICEE.2017.7893425","DOIUrl":null,"url":null,"abstract":"A real-time and area-efficient hardware implementation of base-2 logarithm (log2) finds many applications. In this paper, we analyze previous shift and add-based approximations of logarithm. Based on the analysis we present a new two region add and shift-based method to approximate log2 in hardware. The proposed approach results in 81.55% less percentage error and 42.85% less average error compared to previously reported best two region based approximation approaches with comparable area cost and latency. The proposed method uses most significant four bits of fractional part of shift and add-based method with different weights to approximate fractional part of log2. Weights to these bits are assigned by simple addition, logical OR and logical AND operation to make hardware implementation more efficient.","PeriodicalId":416187,"journal":{"name":"2017 International Conference on Electrical Engineering (ICEE)","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 International Conference on Electrical Engineering (ICEE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEE.2017.7893425","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

A real-time and area-efficient hardware implementation of base-2 logarithm (log2) finds many applications. In this paper, we analyze previous shift and add-based approximations of logarithm. Based on the analysis we present a new two region add and shift-based method to approximate log2 in hardware. The proposed approach results in 81.55% less percentage error and 42.85% less average error compared to previously reported best two region based approximation approaches with comparable area cost and latency. The proposed method uses most significant four bits of fractional part of shift and add-based method with different weights to approximate fractional part of log2. Weights to these bits are assigned by simple addition, logical OR and logical AND operation to make hardware implementation more efficient.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于低误差加和移位的以2为基数对数的高效实现
以2为基数的对数(log2)的实时和面积有效的硬件实现有许多应用。在本文中,我们分析了以往的基于移位和加法的对数近似。在此基础上,提出了一种新的基于两区域相加和移位的硬件近似方法。与之前报道的两种基于区域的最佳近似方法相比,该方法的百分比误差减少了81.55%,平均误差减少了42.85%,并且具有相当的面积成本和延迟。该方法利用shift的小数部分的最有效四位和不同权重的基于加法的方法来近似log2的小数部分。通过简单的加法、逻辑或运算和逻辑与运算来分配这些位的权重,使硬件实现更加高效。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Copyright page Implementation and performance evaluation of three reconfigurable FFT cores for application in software defined radio system Optimal planning and design of hybrid energy system for UET Taxila Global stability properties for a delayed virus dynamics model with humoral immunity response and absorption effect Battlefield surveillance formalism using WSANs
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1