Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3670474.3685962acmconferencesArticle/Chapter ViewAbstractPublication PagesmlcadConference Proceedingsconference-collections
research-article
Open access

MinBLoG: Minimization of Boolean Logic Functions using Graph Attention Network

Published: 09 September 2024 Publication History

Abstract

The initial steps of logic synthesis of digital designs involve finding minimized representations of Boolean logic functions. Existing optimization methods rely on iterative minimization operations that can result in a rapid increase in the runtime when the number of variables and terms of the Boolean functions increase. We propose a graph attention network (GAT) based logic minimization approach called MinBLoG, to narrow down the solution search space for Boolean functions. Our approach achieves more than 96% accuracy in identifying implicants that are a part of the minimized solution and ensures functional equivalency through correctness checking procedures. Experiments show that MinBLoG delivers minimization results for a wide range of Boolean functions significantly faster than well-known existing methods.

References

[1]
Luca Amarú, Pierre-Emmanuel Gaillardon, and Giovanni De Micheli. 2016. Majority-Inverter Graph: A New Paradigm for Logic Optimization. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 35, 5 (2016), 806--819. https://doi.org/10.1109/TCAD.2015.2488484
[2]
Robert King Brayton, Alberto L. Sangiovanni-Vincentelli, Curtis T. McMullen, and Gary D. Hachtel. 1984. Logic Minimization Algorithms for VLSI Synthesis. Kluwer Academic Publishers, USA.
[3]
Randal E Bryant. 1992. Symbolic boolean manipulation with ordered binary-decision diagrams. ACM Computing Surveys (CSUR) 24, 3 (1992), 293--318.
[4]
Ashok K. Chandra and George Markowsky. 1978. On the number of prime implicants. Discrete Mathematics 24, 1 (1978), 7--11. https://doi.org/10.1016/0012-365X(78)90168-1
[5]
Olivier Coudert. 1994. Two-level logic minimization: an overview. Integration 17, 2 (1994), 97--140.
[6]
Stéphane d'Ascoli, Samy Bengio, Josh Susskind, and Emmanuel Abbé. 2023. Boolformer: Symbolic Regression of Logic Functions with Transformers. arXiv preprint arXiv:2309.12207 (2023).
[7]
Petr Fiser and Hana Kubátová. 2006. Flexible two-level Boolean minimizer BOOM-II and its applications. In 9th EUROMICRO Conference on Digital System Design (DSD'06). IEEE, 369--376.
[8]
Petr Fiser and David Toman. 2009. A Fast SOP Minimizer for Logic Funcions Described by Many Product Terms. In 2009 12th Euromicro Conference on Digital System Design, Architectures, Methods and Tools. IEEE, 757--764.
[9]
Fabrizio Frasca, Emanuele Rossi, Davide Eynard, Ben Chamberlain, Michael Bronstein, and Federico Monti. 2020. SIGN: Scalable Inception Graph Neural Networks. arXiv:2004.11198 [cs.LG]
[10]
S. J. Hong, R. G. Cain, and D. L. Ostapko. 1974. MINI: A Heuristic Approach for Logic Minimization. IBM Journal of Research and Development 18, 5 (1974), 443--458. https://doi.org/10.1147/rd.185.0443
[11]
Jiangbo Huang. 2014. Programing implementation of the Quine-McCluskey method for minimization of Boolean expression. arXiv:1410.1059 [cs.OH]
[12]
Min Li, Sadaf Khan, Zhengyuan Shi, Naixing Wang, Huang Yu, and Qiang Xu. 2022. DeepGate: Learning Neural Representations of Logic Gates. In Proceedings of the 59th ACM/IEEE Design Automation Conference (San Francisco, California) (DAC '22). Association for Computing Machinery, New York, NY, USA, 667--672. https://doi.org/10.1145/3489517.3530497
[13]
Yingjie Li, Mingju Liu, Alan Mishchenko, and Cunxi Yu. 2023. Invited Paper: Verilog-to-PyG - A Framework for Graph Learning and Augmentation on RTL Designs. In 2023 IEEE/ACM International Conference on Computer Aided Design (ICCAD). 1--4. https://doi.org/10.1109/ICCAD57390.2023.10323741
[14]
Giovanni De Micheli. 1994. Synthesis and Optimization of Digital Circuits (1st ed.). McGraw-Hill Higher Education.
[15]
Alan Mishchenko et al. 2007. ABC: A system for sequential synthesis and verification. URL http://www.eecs.berkeley.edu/alanmi/abc 17 (2007).
[16]
Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. 2018. Graph Attention Networks. arXiv:1710.10903 [stat.ML]
[17]
Nan Wu, Yingjie Li, Cong Hao, Steve Dai, Cunxi Yu, and Yuan Xie. 2023. Gamora: Graph Learning based Symbolic Reasoning for Large-Scale Boolean Networks. arXiv preprint arXiv:2303.08256 (2023).
[18]
Cunxi Yu, Maciej Ciesielski, and Alan Mishchenko. 2017. Fast algebraic rewriting based on and-inverter graphs. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 37, 9 (2017), 1907--1911.
[19]
Keren Zhu, Mingjie Liu, Hao Chen, Zheng Zhao, and David Z Pan. 2020. Exploring logic optimizations with reinforcement learning and graph convolutional network. In Proceedings of the 2020 ACM/IEEE Workshop on Machine Learning for CAD. 145--150.

Index Terms

  1. MinBLoG: Minimization of Boolean Logic Functions using Graph Attention Network

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    MLCAD '24: Proceedings of the 2024 ACM/IEEE International Symposium on Machine Learning for CAD
    September 2024
    321 pages
    ISBN:9798400706998
    DOI:10.1145/3670474
    This work is licensed under a Creative Commons Attribution-NonCommercial International 4.0 License.

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 09 September 2024

    Check for updates

    Badges

    Author Tags

    1. Boolean Logic Minimization
    2. Graph Attention Network
    3. Machine Learning

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Funding Sources

    Conference

    MLCAD '24
    Sponsor:

    Acceptance Rates

    MLCAD '24 Paper Acceptance Rate 35 of 83 submissions, 42%;
    Overall Acceptance Rate 35 of 83 submissions, 42%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 152
      Total Downloads
    • Downloads (Last 12 months)152
    • Downloads (Last 6 weeks)95
    Reflects downloads up to 09 Nov 2024

    Other Metrics

    Citations

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Get Access

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media