Abstract: To overcome the limitations of conventional floating-point number formats, an interval arithmetic and variable-width storage format called universal number (unum) has been recently introduced. This paper presents the first silicon implementation measurements of an application-specific integrated circuit (ASIC) for unum floating-point arithmetic. The designed chip includes a 128-bit wide unum arithmetic unit to execute additions and subtractions, while also supporting lossless (for intermediate results) and lossy (for external data movements) compression units to exploit the memory usage reduction potential of the unum format. Our chip, fabricated in a 65 nm CMOS process, achieves a maximum clock frequency of 413 MHz at 1.2 V with an average measured power of 210 uW/MHz.
Introduction
For decades, the IEEE 754 standard has dominated floating-point arithmetic. However, it faces two primary challenges: rigid bit allocation and silent rounding errors. IEEE 754 uses a fixed number of bits for the exponent and mantissa regardless of precision requirements, and it rounds results that cannot be represented exactly, leading to accumulated errors that often go untracked.
The Universal Number (unum) format, proposed by John L. Gustafson, addresses these issues. Unums utilize a variable-width format and include a "ubit"—a single bit indicating whether a number is exact or represents an interval between two exact values. This enables hardware-level interval arithmetic, explicitly tracking the uncertainty of calculations.
Architecture and Methods
The researchers designed and fabricated a 128-bit wide ALU specifically for the unum-{4,5} environment, supporting up to 16 exponent bits and 32 fraction bits. To maintain high-speed operation, the ALU "unpacks" variable-width unums into a fixed 64-bit internal format within the register file.
Key architectural features include:
- Ubound Support: The ALU handles "ubounds"—intervals defined by two unums—performing parallel additions and subtractions on these intervals.
- Compression Units: A lossless "Optimize" unit shrinks unums to the smallest bit-width that retains value, while a lossy "Unify" unit merges a ubound into a single unum to save storage space.
Evaluation and Results
The ALU was evaluated using an AXPY (a*x + y) kernel, comparing the unum implementation against IEEE 754 float16 and float32 formats. The test utilized input coefficients of increasing complexity to observe how bit-size and error bounds evolved.
In these tests, "Unified" unums used 7% less memory than float32 with comparable accuracy. Standard unums used 45% more memory but provided significantly higher precision and explicit error bounds. The chip reached a maximum clock frequency of 413 MHz at 1.2V, achieving 826 MOPS for additions and subtractions with a power efficiency of 210 μW/MHz.
Discussion and Conclusion
While unums offer superior error tracking and potential memory savings, the hardware required for their variable-width nature is significant. A basic unum adder is only 27% larger than an IEEE 754 counterpart, but the infrastructure for expansion and compression increases the total area by more than 3.5x (occupying 0.07 mm² or ~50 kGE).
This work proves the viability of unum ASICs but highlights a critical trade-off: the savings in data movement must be substantial enough to offset the area overhead of the ALU's compression logic. Future research will focus on integrating this ALU into full Systems-on-Chip (SoC) and developing more efficient hardware for multiplication and division operations.
Summary updated