A CORDIC-Based Architecture with Adjustable Precision and Flexible Scalability to Implement Sigmoid and Tanh Functions

被引:0
|
作者
Chen, Hui [1 ]
Jiang, Lin [1 ]
Luo, Yuanyong [1 ]
Lu, Zhonghai [2 ]
Fu, Yuxiang [1 ]
Li, Li [1 ]
Yu, Zongguang [1 ]
机构
[1] Nanjing Univ, Sch Elect Sci & Engn, Nanjing, Peoples R China
[2] KTH Royal Inst Technol, Stockholm, Sweden
关键词
CORDIC; tanh; sigmoid; adjustable precision; flexible scalability;
D O I
暂无
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
In the artificial neural networks, tanh (hyperbolic tangent) and sigmoid functions are widely used as activation functions. Past methods to compute them may have shortcomings such as low precision or inflexible architecture that is difficult to expand, so we propose a CORDIC-based architecture to implement sigmoid and tanh functions, which has adjustable precision and flexible scalability. It just needs shift-add-or-subtract operations to compute high-accuracy results and is easy to expand the input range through scaling the negative iterations of CORDIC without changing the original architecture. We adopt the control variable method to explore the accuracy distribution through software simulation. A specific case (ARCH:(1, 15, 18), RMSE: 10(-6)) is designed and synthesized under the TSMC 40nm CMOS technology, the report shows that it has the area of 36512.78 mu m(2) and power of 12.35mW at the frequency of 1GHz. The maximum work frequency can reach 1.5GHz, which is better than the state-of-the-art methods.
引用
收藏
页数:5
相关论文
共 48 条
  • [41] Interval sine and cosine functions computation based on variable-precision CORDIC algorithm
    Hormigo, J
    Villalba, J
    Zapata, EL
    14TH IEEE SYMPOSIUM ON COMPUTER ARITHMETIC, PROCEEDINGS, 1999, : 186 - 193
  • [42] Interval sine and cosine functions computation based on variable-precision CORDIC algorithm
    Hormigo, J.
    Villalba, J.
    Zapata, E.L.
    Proceedings - Symposium on Computer Arithmetic, 1999, : 186 - 193
  • [43] Design of a variable precision CORDIC coprocessor for RISC-V architecture based on FinFET process
    Zhao, Bo
    Yin, Minghui
    Zhang, Weihua
    Liu, Hongwei
    Li, Zhiqiang
    IEICE ELECTRONICS EXPRESS, 2023, 20 (19):
  • [44] Programmable Tanh-, ELU-, Sigmoid-, and Sin-Based Nonlinear Activation Functions for Neuromorphic Photonics
    Pappas, Christos
    Kovaios, Stefanos
    Moralis-Pegios, Miltiadis
    Tsakyridis, Apostolos
    Giamougiannis, George
    Kirtas, Manos
    Van Kerrebrouck, Joris
    Coudyzer, Gertjan
    Yin, Xin
    Passalis, Nikolaos
    Tefas, Anastasios
    Pleros, Nikos
    IEEE JOURNAL OF SELECTED TOPICS IN QUANTUM ELECTRONICS, 2023, 29 (06)
  • [45] Flash-Based Computing-in-Memory Architecture to Implement High-Precision Sparse Coding
    Qi, Yueran
    Feng, Yang
    Wang, Hai
    Wang, Chengcheng
    Bai, Maoying
    Liu, Jing
    Zhan, Xuepeng
    Wu, Jixuan
    Wang, Qianwen
    Chen, Jiezhi
    MICROMACHINES, 2023, 14 (12)
  • [46] A High-Precision Flexible Symmetry-Aware Architecture for Element-Wise Activation Functions
    Feng, Xuan
    Li, Yue
    Qian, Yu
    Gao, Jingbo
    Cao, Wei
    Wang, Lingli
    2021 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (ICFPT), 2021, : 282 - 285
  • [47] Low-Latency Hardware Implementation of High-Precision Hyperbolic Functions Sinhx and Coshx Based on Improved CORDIC Algorithm
    Fu, Wenjia
    Xia, Jincheng
    Lin, Xu
    Liu, Ming
    Wang, Mingjiang
    ELECTRONICS, 2021, 10 (20)
  • [48] Generating flexible convex hyper-polygon validity regions via sigmoid-based membership functions in TS modeling
    Kalhor, Ahmad
    Araabi, Babak N.
    Lucas, Caro
    APPLIED SOFT COMPUTING, 2015, 28 : 589 - 598