Empirical Comparison of Multi-Output Boolean Function Minimization Algorithms using Ternary-Indexed Prime Implicants

Authors

  • Zaid Al-Wardi Electrical Engineering Department, Mustansiriyah University, Baghdad, Iraq Author

DOI:

https://doi.org/10.31272/ajece.44

Keywords:

Simplification, recursive computation, cube indexing, prime-implicants, PLA tables

Abstract

Prime implicant computation is a fundamental step in minimizing the two-level sum-of-products representation of Boolean function – the form used in programmable logic arrays and throughout classical digital system design. Ternary indexing offers an elegant algebraic framework for representing the prime implicants of binary Boolean functions and can, in principle, improve the efficiency of the computation. It has received little empirical attention to date. This paper resents the first systematic experimental comparison of three algorithms for prime implicant computation of multi-output Boolean functions: a ternary-indexed iterative algorithm, a ternary-indexed recursive algorithm, and the classical Quine-McCluskey Phase 1 method, which serves here as a correctness reference. No prior empirical evaluation of the two ternary-indexed approaches has appeared in the literature. All three algorithms are verified correct on a suite of 16 benchmark circuits using a three-check functional coverage protocol. The experiment quantifies the memory-time trade-off between the two ternary approaches: the recursive algorithm reduces memory consumption by a factor of 704 relative to the iterative algorithm at every tested input size, at the cost of higher runtime. It also strictly larger produces a cross-group prime implicants that per-output-group methods cannot reach. These results provide the first experimental foundation for the theoretical claims of both ternary approaches and clarify the conditions under which each is most advantageous.

References

O. Coudert and T. Sasao, "Two-level logic minimization," in Logic Synthesis and Verification, Springer, 2002, pp. 1--28.

E. Zaitseva, V. Levashenko, I. Lukyanchuk, M. Kvassay, J. Rabcan and P. Rusnak, "Application of Generalised Reed-Muller Expansion in Development of Programmable Logic Array," in IDAACS, 2019.

E. Zaitseva, V. Levashenko, I. Lukyanchuk, J. Rabcan, M. Kvassay and P. Rusnak, "Application of Generalized Reed–Muller Expression for Development of Non-Binary Circuits," Electronics,, vol. 9, no. 1, p. 12, 2020.

C. Umans, T. Villa and A. Sangiovanni-Vincentelli, "Complexity of Two-Level Logic Minimization," IEEE Trans. Computer-Aided Design of Integrated Circuits and Systems, vol. 25, no. 7, p. 1230–1246, 2006.

E. McCluskey, "Minimization of Boolean Functions," Bell System Technical Journal, vol. 35, no. 6, p. 1417–1444, 1956.

R. Brayton, G. Hachtel, C. McMullen and A. Sangiovanni-Vincentelli, Logic Minimization Algorithms for VLSI Synthesis, vol. 2, Springer Science & Bussiness Media, 1984.

O. Coudert and J. Madre, A New Implicit Graph-Based Prime and Essential Prime Computation Technique, Kluwer Academic Publishers,, 1992.

V. M. Manquinho, P. F. Flores, J. P. M. Silva and A. L. Oliveira, "Prime Implicant Computation using Satisfiability Algorithms," in Proceedings Ninth IEEE International Conference on Tools with Artificial Intelligence, 1997.

A. Duşa, "A mathematical approach to the boolean minimization problem," Quality & Quantity, vol. 44, pp. 99-113, 2010.

S. Akshay, S. Chakraborty, A. K. John and S. Shah, "Towards parallel Boolean functional synthesis," in International Conference on Tools and Algorithms for the Construction and Analysis of Systems, Uppsa;a, Sweden, 2017.

S. Akshay, S. Chakraborty and S. Shah, "Tractable representations for Boolean functional synthesis," Annals of Mathematics and Artificial Intelligence, vol. 92, no. 5, pp. 1051-1096, 2024.

S.-Y. Lee, S. Kim and S. Kang, "Ternary logic synthesis with modified Quine-McCluskey algorithm," in IEEE 49th International Symposium on Multiple-Valued Logic (ISMVL), 2019.

Z. Al-Wardi, "Radix-p MVL Function Simplification using Higher Radix Representation," in Journal of Physics: Conference Series, 2021.

Z. Al-Wardi and O. Al-Wardi, "RECURSIVE TERNARY-BASED ALGORITHM FOR COMPUTING PRIME IMPLICANTS OF MULTI-OUTPUT BOOLEAN FUNCTIONS," Journal of Engineering and Sustainable Development, vol. 27, no. 3, pp. 308-316, 2023.

S. Yang, "Logic Synthesis and Optimization Benchmarks User Guide Version 3.0," Microelectronics Center of North Carolina (MCNC), 1991.

D. S. Warren, "Memoing for logic programs," Commun. ACM, vol. 35, no. 3, p. 93–111, 1992.

Downloads

Published

2026-08-30