References & Citations
Computer Science > Data Structures and Algorithms
Title: An Efficient NPN Boolean Matching Algorithm Based on Structural Signature and Shannon Expansion
(Submitted on 11 Aug 2017 (v1), last revised 9 Nov 2017 (this version, v2))
Abstract: An efficient pairwise Boolean matching algorithm to solve the problem of matching single-output specified Boolean functions under input negation and/or input permutation and/or output negation (NPN) is proposed in this paper. We present the Structural Signature (SS) vector, which is composed of a 1st signature value, two symmetry marks, and a group mark. As a necessary condition for NPN Boolean matching, the structural signature is more effective than is the traditional signature. Two Boolean functions, f and g, may be equivalent when they have the same SS vector. The symmetry mark can distinguish symmetric variables and asymmetric variables and search multiple variable mappings in a single variable-mapping search operation, which reduces the search space significantly. Updating the SS vector using Shannon decomposition provides benefits in distinguishing unidentified variables, and the group mark and the phase collision check discover incorrect variable mappings quickly, which also speeds up the NPN Boolean matching process. Using the algorithm proposed in this paper, we tested both equivalent and non-equivalent matching peeds on the MCNC benchmark circuit sets and the random circuit sets. In the experiment, our algorithm is two times faster than competitors when testing equivalent circuits and averages at least one hundred times faster when testing non-equivalent circuits. The experimental results show that our approach is highly effective in solving the NPN Boolean matching problem.
Submission history
From: Juling Zhang [view email][v1] Fri, 11 Aug 2017 05:30:48 GMT (247kb,D)
[v2] Thu, 9 Nov 2017 06:06:16 GMT (78kb,D)
Link back to: arXiv, form interface, contact.