Design and Implementation of FP32 MAC for DNN
The growing need for high-speed computation in deep neural networks (DNNs) has emphasized the necessity of high-performance hardware accelerators. While there are multiple MAC (Multiply-Accumulate) units available, several of them incur trade-offs involving precision, computation speed, and FPGA resource consumption. In this paper, we introduce a pipelined 32-bit floating-point (FP32) MAC unit optimized using a Dadda multiplier in mantissa multiplication, a Kogge-Stone adder for speedy accumulation, and IEEE-754-compliant normalization logic. In contrast to conventional implementations that are either fixed-point precise or have limited pipelining, our design provides a balanced architecture with full FP32 support at low latency and high throughput. The MAC unit is embedded in a RISC-V processor core and synthesized on the Xilinx Nexys A7-100T FPGA using Vivado, with Virtual I/O (VIO) employed to reduce external I/O dependencies. This project was preferred over current MAC designs based on its ability to natively support deep learning workloads without sacrificing IEEE-754 compatibility and needing huge FPGA resources. Our solution also facilitates simpler integration into general-purpose RISC-V cores, making our approach suitable for the future of embedded AI systems. Experimental results demonstrate enhanced performance per watt and accelerated execution of matrix multiplications prevalent in DNN inference.
Authors
- Jayaraj U Kidav (ORCID: https://orcid.org/0000-0001-7266-3813)
- Saurabh Kesari
- Rajneesh Kumar Joshi (ORCID: https://orcid.org/0000-0001-6275-7269)
- Ravi Ranjan (ORCID: https://orcid.org/0000-0002-9524-0503)
- Naman Anand (ORCID: https://orcid.org/0000-0001-5000-6572)
- Shashank Kumar Singh (ORCID: https://orcid.org/0009-0004-6419-5991)
Institutions
- Jawaharlal Nehru Medical College (IN)
- Institute of Electronics (CN)
Publication Details
- Published
- 2025-06-17
- DOI
- https://doi.org/10.1109/icicv64824.2025.11085483
- Primary Topic
- Wireless Body Area Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00