UFO-MAC: A Unified Framework for Optimization of High-Performance Multipliers and Multiply-Accumulators

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zuo, Dongsheng, Zhu, Jiadong, Li, Chenglin, Ma, Yuzhe
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910564812324864
author Zuo, Dongsheng
Zhu, Jiadong
Li, Chenglin
Ma, Yuzhe
author_facet Zuo, Dongsheng
Zhu, Jiadong
Li, Chenglin
Ma, Yuzhe
contents Multipliers and multiply-accumulators (MACs) are critical arithmetic circuit components in the modern era. As essential components of AI accelerators, they significantly influence the area and performance of compute-intensive circuits. This paper presents UFO-MAC, a unified framework for the optimization of multipliers and MACs. Specifically, UFO-MAC employs an optimal compressor tree structure and utilizes integer linear programming (ILP) to refine the stage assignment and interconnection of the compressors. Additionally, it explicitly exploits the non-uniform arrival time profile of the carry propagate adder (CPA) within multipliers to achieve targeted optimization. Moreover, the framework also supports the optimization of fused MAC architectures. Experimental results demonstrate that multipliers and MACs optimized by UFO-MAC Pareto-dominate state-of-the-art baselines and commercial IP libraries. The performance gain of UFO-MAC is further validated through the implementation of multipliers and MACs within functional modules, underlining its efficacy in real scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2408_06935
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle UFO-MAC: A Unified Framework for Optimization of High-Performance Multipliers and Multiply-Accumulators
Zuo, Dongsheng
Zhu, Jiadong
Li, Chenglin
Ma, Yuzhe
Hardware Architecture
Multipliers and multiply-accumulators (MACs) are critical arithmetic circuit components in the modern era. As essential components of AI accelerators, they significantly influence the area and performance of compute-intensive circuits. This paper presents UFO-MAC, a unified framework for the optimization of multipliers and MACs. Specifically, UFO-MAC employs an optimal compressor tree structure and utilizes integer linear programming (ILP) to refine the stage assignment and interconnection of the compressors. Additionally, it explicitly exploits the non-uniform arrival time profile of the carry propagate adder (CPA) within multipliers to achieve targeted optimization. Moreover, the framework also supports the optimization of fused MAC architectures. Experimental results demonstrate that multipliers and MACs optimized by UFO-MAC Pareto-dominate state-of-the-art baselines and commercial IP libraries. The performance gain of UFO-MAC is further validated through the implementation of multipliers and MACs within functional modules, underlining its efficacy in real scenarios.
title UFO-MAC: A Unified Framework for Optimization of High-Performance Multipliers and Multiply-Accumulators
topic Hardware Architecture
url https://arxiv.org/abs/2408.06935