Scaling Program Synthesis Based Technology Mapping with Equality Saturation
Authors:
- Gus Henry SmithGSGus Henry Smith
- Colin KnizekCKColin Knizek
- Daniel PetriskoDPDaniel Petrisko
- Zachary TatlockZTZachary Tatlock
- Jonathan BalkindJBJonathan Balkind
- Gilbert Louis BernsteinGBGilbert Louis Bernstein
- Haobin NiHNHaobin Ni
- Chandrakana NandiCNChandrakana Nandi
Preprint
Abstract
State-of-the-art hardware compilers for FPGAs often fail to find efficient mappings of high-level designs to low-level primitives, especially complex programmable primitives like digital signal processors (DSPs). New approaches apply sketch-guided program synthesis to more optimally map designs. However, this approach has two primary drawbacks. First, sketch-guided program synthesis requires the user to provide sketches, which are challenging to write and require domain expertise. Second, the open-source SMT solvers which power sketch-guided program synthesis struggle with the sorts of operations common in hardware -- namely multiplication. In this paper, we address both of these challenges using an equality saturation (eqsat) framework. By combining eqsat and an existing state-of-the-art program-synthesis-based tool, we produce Churchroad, a technology mapper which handles larger and more complex designs than the program-synthesis-based tool alone, while eliminating the need for a user to provide sketches.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- PolySAT: Word-level Bit-vector Reasoning in Z32025
- Loop Rerolling for Hardware DecompilationProceedings of the ACM on Programming Languages, 2023
- Better Together: Unifying Datalog and Equality SaturationProceedings of the ACM on Programming Languages, 2023
- egg: Fast and extensible equality saturationProceedings of the ACM on Programming Languages, 2021
- The essence of Bluespec: a core language for rule-based hardware design2020
- VeriSketch2019
- Kami: a platform for high-level parametric hardware specification and its modular verificationProceedings of the ACM on Programming Languages, 2017
- Formal Verification of Arithmetic Circuits by Function ExtractionIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2016
- Odin II - An Open-Source Verilog HDL Synthesis Tool for CAD Research2010
- Equality saturationACM SIGPLAN Notices, 2009