SWATI: Synthesizing Wordlengths Automatically Using Testing and Induction
Susmit Jha, Sanjit A. Seshia

TL;DR
This paper introduces SWATI, an automated method combining testing and induction to synthesize optimal fixed-point implementations of numerical routines, balancing accuracy and implementation cost.
Contribution
The paper presents a novel technique that automatically generates fixed-point code from floating-point designs, optimizing for accuracy and cost using testing and induction.
Findings
Effectively synthesizes fixed-point implementations with minimal word-width.
Balances accuracy requirements with implementation cost.
Demonstrated on control, robotics, and signal processing examples.
Abstract
In this paper, we present an automated technique SWATI: Synthesizing Wordlengths Automatically Using Testing and Induction, which uses a combination of Nelder-Mead optimization based testing, and induction from examples to automatically synthesize optimal fixedpoint implementation of numerical routines. The design of numerical software is commonly done using floating-point arithmetic in design-environments such as Matlab. However, these designs are often implemented using fixed-point arithmetic for speed and efficiency reasons especially in embedded systems. The fixed-point implementation reduces implementation cost, provides better performance, and reduces power consumption. The conversion from floating-point designs to fixed-point code is subject to two opposing constraints: (i) the word-width of fixed-point types must be minimized, and (ii) the outputs of the fixed-point program must…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical Methods and Algorithms · Algorithms and Data Compression · Digital Filter Design and Implementation
