PDG-CORDIC: A Posit-Decode-Guided Low-Latency CORDIC for Activation Function
Abstract
In edge-AI accelerators, nonlinear activation functions such as tanh, sigmoid, and softmax are key latency and cost contributors in post-accumulation datapaths. CORDIC-based designs provide an efficient hardware approach to these activation functions, and recent work has replaced IEEE 754 with the Posit format to improve accuracy at low bit widths. However, existing Posit-CORDIC designs still rely on fixed iteration schedules. Posit decoding is used mainly for format conversion, while the decoded regime, exponent, and fraction fields remain underutilized for computation control. This paper presents PDG-CORDIC, a low-latency Posit-decode-guided CORDIC algorithm that uses decoded Posit fields to guide hyperbolic and linear CORDIC iterations. The proposed method supports input-scale-aware scheduling, bypass selection, and adaptive termination while maintaining bounded numerical error. Based on PDG-CORDIC, we develop a parallel tanh architecture and extend it to sigmoid and softmax units. PDG-CORDIC reduces the critical path delay by 41.7 to 45.2 percent for 12-bit tanh, 37.8 to 42.1 percent for sigmoid, and 20.2 to 30.9 percent for softmax within a 28 nm TSMC physical-synthesis evaluation.
Create a lesson
Metadata
- Comments
- Accepted at the 32nd Asia and South Pacific Design Automation Conference (ASP-DAC 2027). 8 pages
Related papers
Gradus: Reaching Hard-to-Hit Functional Coverage Targets via Contract-Guided Waypoints
Shared title terminologycs.ARNanbing Li, Yansong Xu, Yun Liang
Rogue: A Streaming CGRA With Versatile ISA for Integer Approximation of Activation Functions
Shared title terminologycs.ARAlessio Naclerio, David Mallasén, Davide Schiavone et al.
SiblingAttention: Efficient Prefill-Decode Attention Parallelism via Tensor-Vector Specialization
Shared title terminologycs.ARJianxing Xu, Yuanbo Wen, Yihan Wang et al.
LOON: Efficient Self-Speculative Decoding for Looped Language Models on Mobile NPUs
Shared title terminologycs.ARZhe Dong, Guanyu Cai, Jiliang Wang
EMLUT: A Programmable Nonlinear Function Accelerator for Edge AI
Shared title terminologycs.ARInho Nam, Jaeseok Lee, Hyunseok Kwak et al.
No Lease, No Function: ECC-Embedded Hardware Runtime Authorization for Shared IPs
Shared title terminologycs.ARMohammed Nabeel, Akashdeep Saha, Armin Darjani et al.