DOI QR코드

DOI QR Code

빈도수 기반 주 내포 항 선택과 삭제 알고리즘을 적용한 회로 최소화

A Selection-Deletion of Prime Implicants Algorithm Based on Frequency for Circuit Minimization

  • 이상운 (강릉원주대학교 멀티미디어공학과)
  • Lee, Sang-Un (Dept. of Multimedia Eng., Gangneung-Wonju National University)
  • 투고 : 2015.01.21
  • 심사 : 2015.03.30
  • 발행 : 2015.04.30

초록

본 논문은 회로 최소화 문제를 간단하게 풀 수 있는 알고리즘을 제안하였다. 회로 최소화 문제는 수기식 방법인 카르노 맵과 전산화가 가능한 휴리스틱 방법인 Quine-McCluskey 알고리즘이 있다. 그러나 Quine-McCluskey 알고리즘은 변수 개수 n이 증가하면 $3^n/n$의 메모리와 수행횟수가 요구되는 단점을 갖고 있다. 제안된 방법은 빈도수에 기반하여 내포 항 표를 이용하여 주어진 부울 함수의 최소 항을 포함하는 주 내포 항을 빠르게 추출하는 방법을 적용하였다. 추출된 주 내포 항들 중에서 중복 선택된 여분의 주 내포 항을 빈도수를 적용하여 제거하는 방법을 제안하였다. 제안된 알고리즘은 비록 변수 개수 n이 증가하여도 다항시간으로 회로를 최소화시킬 수 있는 해를 구할수 있는 장점을 갖고 있다. 제안된 알고리즘을 3-변수와 4-변수의 다양한 사례들에 적용한 결과 해를 빠르고 정확하게 구할 수 있었다.

This paper proposes a simple algorithm for circuit minimization. There are currently two effective heuristics for circuit minimization, namely manual Karnaugh maps and computable Quine-McCluskey algorithm. The latter, however, has a major defect: the runtime and memory required grow $3^n/n$ times for every increase in the number of variables n. The proposed algorithm, however, extracts the prime implicants (PI) that cover minterms of a given Boolean function by deriving an implicants table based on frequency. From a set of the extracted prime implicants, the algorithm then eliminates redundant PIs again based on frequency. The proposed algorithm is therefore capable of minimizing circuits polynomial time when faced with an increase in n. When applied to various 3-variable and 4-variable cases, it has proved to swiftly and accurately obtain the optimal solutions.

키워드

참고문헌

  1. V. Kabanets and J. Y. Cai, "Circuit Minimization Problem," Proceedings of 32nd Symposiumon Theory of Computing, Portland, Oregon, USA, pp. 73-79, Jun. 2000.
  2. M. Karnaugh, "The Map Method for Synthesis of Combinational Logic Circuits," Transactions of the American Institute of Electrical Engineers, part I, Vol. 72, No. 9, pp. 593-599, Nov. 1953.
  3. N. Sarkar, K. Petrus, and H. Hossain, "Software Implementation of theQuine-McCluskey Algorithmfor Logic GateMinimisation," Proceedings of the NACCQ, pp. 375-378, Napier, New Zealand, Jul, 2001.
  4. R. K. Brayton, G. D.Hachtel, C.McMullen, andA. L. Sangiovanni-Vincentelli, "LogicMinimizationAlgorithms for VLSI Synthesis," Springer, 1984.
  5. N. V. Vinodchandran, "Nondeterministic Circuit Minimization Problemand Derandomizing Arthur-MerlinGames," International Journal of Foundations of Computer Science, Vol. 16, No. 6, pp.1297-1308, Dec. 2005. https://doi.org/10.1142/S0129054105003819
  6. R. Siggh, A. Arora, G. Singh, and J.Malhotra, "Circuit Minimization in VLSI Using PSO&GA Algorithms," International Journal of Engineering Trends and Technology, Vol. 3, No. 1, pp. 43-46, Feb. 2012.
  7. M. Morrison and N. Ranganathan, "A Novel Optimization Method for Reversible Logic Circuit Minimization," IEEE Computer Society Annual Symposiumon VLSI (ISVLSI), pp. 182-187, Aug. 2013.
  8. S. R. Petrick, "ADirect Termination of the Irredundant Forms of a Boolean Function fromthe Set of Prime Implicants," Technical Report AFCRC-TR-56-110, Air Force Cambridge Res. Center, Cambridge, MA, USA, 1956.
  9. T.H. Cormen, C. E. Leiserson, R. L. Rivest, L. Ronald, andC. Stein, "Introduction toAlgorithms,"McGraw-Hill, pp. 1033-1038, 2001.
  10. S. U. Lee, "An ImprovedQuine-McCluskey Algorithm for CircuitMinimization," Journal of KSCI, Vol. 19, No. 3, pp. 109-117, Mar. 2014.