NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An 826 MOPS, 210uW/MHz Unum ALU in 65 nm

Florian Glaser, Stefan Mach, Abbas Rahimi, Frank K. Gürkaynak, Qiuting Huang, Luca Benini

Abstract

This paper presents the world’s first silicon implementation of an Application-Specific Integrated Circuit (ASIC) designed for universal number (unum) arithmetic. Fabricated in a 65 nm CMOS process, the 128-bit ALU demonstrates the feasibility of hardware-level interval arithmetic and variable-width storage. While achieving a peak performance of 826 MOPS at 413 MHz with a power efficiency of 210 μW/MHz, the design reveals significant hardware overheads associated with the dynamic nature of unums. This work provides a foundational baseline for alternative numerical formats and highlights the trade-offs between mathematical precision and hardware complexity.

Introduction

For decades, the IEEE 754 floating-point standard has served as the bedrock of scientific computing. Despite its ubiquity, the standard suffers from two "silent" flaws: invisible rounding errors and rigid bit allocation. Rounding errors occur when a calculation result falls between two representable numbers; these errors accumulate over long simulations, potentially leading to inaccurate results without warning. Furthermore, standard formats like Float32 or Float64 use a fixed number of bits regardless of the precision required, leading to inefficiencies in memory and energy consumption.

The universal number (unum) format, proposed by John L. Gustafson, attempts to resolve these issues through interval arithmetic and a variable-width storage format. Central to the unum is the "ubit," a flag indicating whether a number is exact or represents an open interval between two points. While mathematically elegant, unums present significant hardware challenges because their bit-width changes dynamically during computation. This paper details the architecture and performance of the first physical chip designed to handle these complexities.

Hardware Architecture and Methodology

The authors designed and fabricated a 128-bit wide unum arithmetic unit (ALU) using a 65 nm CMOS process. To manage the variable-width nature of the format, the ALU utilizes a 128-bit internal register file capable of storing either a single unum or a "ubound"—a pair of unums representing the start and end of a numerical interval.

Specialized Functional Units

The architecture includes several specialized units to handle the unique requirements of unum arithmetic:

  • UboundAdder: This unit performs parallel additions and subtractions on the upper and lower bounds of an interval simultaneously.
  • Optimize Unit: This logic performs lossless compression by stripping away unnecessary trailing zeros in the fraction and exponent fields.
  • Unify Unit: This unit performs lossy compression by merging a ubound (interval) into the smallest possible single unum that contains it.
  • Unpacking Logic: Because unums are stored in a "packed" format in memory to save space, the ALU includes dedicated hardware to expand them into a standard internal format for high-speed processing.

Evaluation Benchmarks

The ALU was evaluated using numerical benchmarks, specifically iterative AXPY ($a \cdot x + y$) calculations. The authors compared Unum {3,4} and {4,5} environments against IEEE 754 Float16 and Float32 standards. A double-precision (Float64) reference was used to measure how the unum's interval width (representing uncertainty) grew relative to the silent rounding errors inherent in standard floating-point formats.

Key Insights

The Ubit as a Hardware Guarantee

The most critical architectural insight is the hardware's ability to detect and propagate the ubit. If a calculation is not exact, the hardware automatically sets the ubit, transforming a point value into an interval. This ensures that error bounds are a hardware-level guarantee rather than a software-level estimation, providing a transparent view of numerical uncertainty.

The Complexity of Flexibility

Variable-width formats represent a significant trade-off. While they offer memory savings, the hardware required to manage them—specifically the expand and optimize units—is substantial. The authors found that incorporating these units increased the area of the adder by more than 3.5x compared to a basic unum adder without compression logic.

Strategic Unification

The study highlights that "unify" operations (lossy compression) must be used judiciously. Performing unification after every operation causes error bounds to expand rapidly. The optimal strategy identified is to maintain high precision within the ALU and only perform unification immediately before moving data to main memory.

Results and Performance

The fabricated chip demonstrated robust performance metrics for a first-of-its-kind implementation:

  • Clock Frequency: Maximum of 413 MHz at 1.2 V.
  • Throughput: 826 MOPS for addition and subtraction, enabled by the 128-bit datapath processing both interval bounds in parallel.
  • Power Efficiency: Measured at 210 μW/MHz.
  • Physical Footprint: The ALU occupies 0.07 $mm^2$ (approximately 50 kGE).
  • Memory Efficiency: In AXPY tests, "Unified" unums provided a 7% memory saving over Float32 while maintaining a wider dynamic range than Float16 and providing explicit error bounds.

Limitations and Future Directions

Despite the successful implementation, several hurdles remain for widespread unum adoption. The complexity of the compression and decompression logic results in a significantly larger area overhead compared to IEEE 754 counterparts. Furthermore, while the ALU is efficient, a full-scale system would require a sophisticated memory controller to manage variable-width data in DRAM, which remains a significant engineering challenge.

This implementation was limited to addition and subtraction; future iterations would need to integrate multiplication and division, which are considerably more complex in interval arithmetic. Finally, since the publication of this work, the unum concept has evolved into newer formats such as "Posits" and "Valids," which address some of the hardware overheads identified in this 65 nm study. This work remains a foundational baseline for the hardware realization of next-generation numerical formats.

Summary updated

BibTeX
@inproceedings{glaser2018mops,
  author = {Florian Glaser and Stefan Mach and Abbas Rahimi and Frank K. Gürkaynak and Qiuting Huang and Luca Benini},
  title = {{An 826 MOPS, 210uW/MHz Unum ALU in 65 nm}},
  booktitle = {ISCAS},
  year = {2018},
  doi = {10.1109/iscas.2018.8351546},
}
Figure