{"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.