Skip to content

PDG-CORDIC: A Posit-Decode-Guided Low-Latency CORDIC for Activation Function

Yibo Rui, Jiajun Zhang

cs.AR

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