Yiqi Zhou, Junhao Lu, Jiale Yu, Zhuo Xu, Yang He, Yue Yuan, Shan Shen, Daying Sun
5 min
Digital Compute-in-Memory (DCiM) reduces data movement and has become a promising solution for energy-efficient edge AI. However, most existing DCiM frameworks still primarily target integer or fixed-point arithmetic, and provide limited support for compiler-integrated and accuracy-configurable floating-point computation. Directly integrating conventional IEEE 754 floating-point units into dense SRAM-based DCiM arrays, however, incurs high area and power overhead. To address this challenge, this work presents an accuracy-configurable floating-point multiplier integrated into the OpenACM framework for SRAM-based DCiM. An exact IEEE~754-compliant multiplier is first implemented as a baseline, and a mantissa-segmentation-based approximate multiplier is then proposed to reduce hardware cost while preserving numerical fidelity. Post-layout results show up to 69% logic area reduction and 72% power savings over exact floating-point designs without delay overhead. Evaluations on image processing tasks and ResNet-18 inference further demonstrate negligible accuracy degradation. These results indicate that compiler-integrated approximate floating-point multiplication is a practical approach for enabling efficient and configurable floating-point support in SRAM-based DCiM systems. The Floating-Point Multiplier is available on https://github.com/ShenShan123/OpenACM
As edge AI demands grow, SRAM-based Compute-in-Memory (DCiM) has become a popular solution to overcome the von Neumann bottleneck. However, most existing DCiM frameworks are limited to integer or fixed-point arithmetic. While floating-point support is desirable for neural network inference, integrating standard IEEE 754 floating-point units into dense memory arrays is prohibitively expensive in terms of area and power. This paper addresses this gap by integrating accuracy-configurable floating-point multipliers into the OpenACM framework.
The researchers implement an exact IEEE 754-compliant multiplier as a baseline and propose an approximate floating-point multiplier (AFPM) based on mantissa segmentation. The mantissa is divided into high-significance and low-significance segments. The high-significance segment is computed exactly, while the low-significance segments are conditionally executed or omitted to save hardware resources. The design includes a lightweight shift-based compensation mechanism to mitigate the numerical error introduced by these approximations. This multiplier is fully integrated into the OpenACM compiler flow, allowing designers to treat floating-point precision as a configurable optimization knob.
Post-layout results demonstrate that the proposed approximate multipliers significantly outperform exact IEEE 754 designs. Specifically, the approximate configurations achieve up to 69% reduction in logic area and 72% power savings. Because the critical path in these SRAM-based systems is dominated by memory access rather than the multiplier logic, these savings are achieved without increasing the overall system delay. Evaluations on image processing tasks and ResNet-18 inference show that these hardware optimizations result in negligible accuracy degradation, validating the approach for practical edge AI applications.
This work bridges the gap between arithmetic-level approximate computing and system-level DCiM compilation. By exposing floating-point precision as a compiler-integrated parameter, the authors enable systematic hardware-software co-optimization. This flexibility is critical for deploying energy-efficient, high-performance AI models on resource-constrained edge devices where area and power budgets are extremely tight.