Research Article

Combinational Equivalence Checking on AIGs

Lehua Tang*
Shenzhen Middle School, Luohu District, Shenzhen, Guangdong, China

* Corresponding author: [email protected]

Abstract

Combinational Equivalence Checking (CEC) is a critical process in digital circuit design, ensuring that two versions of a circuit are functionally equivalent. Functionally Reduced And-Inverter Graphs (FRAIGs) are a data structure extensively used in CEC, representing Boolean functions as directed acyclic graphs with AND gates and inverters. The main advantage of FRAIGs is their ability to integrate structural hashing with functional reduction, allowing for the elimination of functionally equivalent nodes during graph construction. However, conventional FRAIG approaches face challenges with scalability in complex circuits. To overcome these limitations, we propose three novel methods: improved sampling techniques that refine random simulation and SAT-based methods for early identification of equivalent nodes; advanced graph partitioning strategies that enable parallel processing and localized equivalence checking to accelerate computation; and support node analysis combined with probability distribution modeling to reduce unnecessary checks. Extensive experiments show the effectiveness and efficiency of our proposed methods

Keywords: Logic Synthesis; And-Inverter Graphs; Combinational Equivalence Checking; Graph Partition
Published: January 15, 2025
DOI: 10.54254/2753-8818/2025.20336
Volume: TNS Vol.87
pp. 91-102
Download PDF

References

  1. L. Amar´u, F. Marranghello, E. Testa, C. Casares, V. Possani, J. Luo, P. Vuillod, A. Mishchenko, and G. De Micheli. Sat-sweeping enhanced for logic synthesis. In 2020 57th ACM/IEEE Design Automation Conference (DAC), pages 1–6. IEEE, 2020.
  2. M. Backes, J. M. Matos, R. Ribas, and A. Reis. Reviewing aig equivalence checking approaches. In Proceedings of the ACM Microelectronics Student Forum, pages 1–4, 2014.
  3. S. Chatterjee and N. Een. Improvements to combinational equivalence checking.
  4. A. Mishchenko, S. Chatterjee, R. Brayton, and N. Een. Improvements to combinational equivalence checking. In Proceedings of the 2006 IEEE/ACM international conference on Computer-aided design, pages 836–843, 2006.
  5. Q. Zhu, N. Kitchen, A. Kuehlmann, and A. Sangiovanni-Vincentelli. Sat sweeping with local observability don’t-cares. In Proceedings of the 43rd Annual Design Automation Conference, pages 229–234, 2006.
  6. A. Mishchenko, S. Chatterjee, R. Jiang, and R. K. Brayton. Fraigs: A unifying representation for logic synthesis and verification. Technical report, ERL Technical Report, 2005.
  7. C. Yu, M. Ciesielski, and A. Mishchenko. Fast algebraic rewriting based on and-inverter graphs. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 37(9):1907–1911, 2017.
  8. N. E´en and N. S¨orensson. An extensible sat-solver. In International conference on theory and applications of satisfiability testing, pages 502–518. Springer, 2003.
  9. W. Gong and X. Zhou. A survey of sat solver. In AIP Conference Proceedings, volume 1836. AIP Publishing, 2017.
  10. Y. Hamadi, S. Jabbour, and L. Sais. Manysat: a parallelsat solver. Journal on Satisfiability, Boolean Modeling and Computation, 6(4):245–262, 2010.
  11. R. Brayton and A. Mishchenko. Abc: An academic industrial-strength verification tool. In International Conference on Computer Aided Verification, pages 24–40, 2010.
  12. L. Amar´u, P.-E. Gaillardon, and G. De Micheli. The epfl combinational benchmark suite. In Proceedings of the 24th International Workshop on Logic & Synthesis (IWLS), 2015.