Work

A Reconfigurable Multi-Precision Posit Multiplier with Overflow-Aware Variable-Precision Approximation

Year: 2026
Type: dissertation
Abstract: Mixed-precision arithmetic is widely used in deep learning accelerators to increase throughput and reduce energy consumption. Posits are attractive for such systems because their variable-length regime provides tapered precision and a wide dynamic range. However, posit multiplication requires leading-bit detection, variable shifting, and a fraction multiplier sized for the maximum mantissa width. Existing approximate posit multipliers are single-precision, and variable-precision truncation can underestimate the output fraction width after mantissa normalisation. This thesis presents a runtime-reconfigurable multiplier that supports Posit(8, 0), Posit(16, 1), and Posit(32, 2) within one datapath. A shared radix-4 Booth multiplier and carry-propagate adder compute four 8-bit products, two 16-bit products, or one 32-bit product. The thesis also proposes Overflow-Aware Precision Control (OAPC), which predicts mantissa overflow from the two most significant fraction bits of each operand. When the baseline precision-control unit would remove a required fraction bit, OAPC widens the retained-fraction window by one bit and prevents the resulting additional error of one unit in the last place (ulp). Combinational and five-stage pipelined implementations are verified against a bit-exact hardware reference and a SoftPosit-based software reference. The pipeline is bit-equivalent to the combinational design in all modes and control configurations, and the exact Posit(8, 0) mode matches SoftPosit for all 400,000 evaluated lane products. Relative to the baseline method, OAPC increases the proportion of bit-exact products by approximately seven percentage points, eliminates all observed errors of three ulps or more, and reduces the maximum observed error from four ulps to two. In mixed-precision CIFAR-10 inference, OAPC reduces the mean absolute deviation of output logits from the FP32 reference by 9.90 %, 9.40 %, and 14.51 % for AlexNet, ResNet-18, and MobileNetV2, respectively. Post-synthesis results in a TSMC 65 nm standard-cell flow place the mean OAPC area overhead at 0.13 %, with no loss of maximum frequency; vector-free dynamic-power estimates remain within 1.1 % across the exact, baseline, and OAPC configurations. When fixed datapath truncation is acceptable, setting the compile-time TRUNC_LSB parameter to 12 reduces area by 16.7 % and power by 12.2 % while retaining runtime selection among the three posit widths, at the cost of full-width exact round-to-nearest-even operation because the truncated product columns are no longer available.
Language: English
Open Access status: green
OpenAlex ID: W7220782540
Cites: 35
Cited by:
Related to: 10