
















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















































QM 간소화 알고리즘
QM 간소화 알고리즘
QM 간소화 알고리즘 Lets first find all PIs 12,13 can be grouped in two ways, generating 2 PIs more
QM 간소화 알고리즘
All the 1s in the PI: 12- 13 - 15 - 14 PI: 12- 13 - 8 - 9 are covered by other PIs, so they are non EPI
Quine-McCluskey 방법 ❶ 진리표에서 최소항을 모두 찾는다. Find all the minterms from the truth table. ❷ 최소항 중에서 입력변수에 1 이 나타나는 개수에 따라서 인덱스(index)를 매겨 그룹 을 만든다. Group the minterms by indexing them according to the number of 1s in their input variables. ❸ 각 그룹내의 항들을 모두 비교하여 한 비트만 다른 항들을 찾아서 간소화하 고, 간소화에 사용된 항들을 표시한다. Compare all terms within each group to find and simplify those that differ by only one bit, and mark the terms used in the simplification. ❹ 3 의 과정을 반복하여 더 이상 간소화 되지 않을 때까지 계속한다. Repeat step ❸ until no further simplification is possible. ❺ 간소화 과정이 끝나고 표시되지 않은 항들이 PI(prime implicants, 주항)가 된 다. After simplification, the unmarked terms become the prime implicants (PI) ❻ 중복된 PI를 찾기 위하여 차트를 만들고, EPI(essential prime implicants, 필수 주항)를 찾 는다. Create a chart to identify duplicate PIs and find the essential prime implicants (EPI) ❼ EPI에 포함되는 PI들을 제거한다. Eliminate the PIs that are covered by the EPIs. ❽ EPI에 포함되지 않은 항들에 대해서 최소 개 수의 SOP 식을 찾는다. For the terms not covered by the EPIs, find the minimum number of SOP expressions. 단계 1 단계^2 단계^3
❑ QM 방법을 이용한 간소화 과정
두 자리 이상 다르면 결합할 (combine) 수 없다. 한 자리만 다르면 결합할(combine) 수 있다. Quine-McCluskey 방법
(Distributive + complement laws)
13
minterm 10 진^2 진^ index ( 0 ) 0 0 0 0 ( 1 ) 0 0 1 1 ( 4 ) 1 0 0 1 ( 5 ) 1 0 1 2
표 1 Group index Minterm decimal A B C 0 (0) 0 0 0 1 (1) (4) 0 0 1 1 0 0 2 (5) 1 0 1 ( , , ) (0,1, 4,5) (000, 001,100,101) F A B C ABC ABC ABC ABC m m = + + + = = QM 방법을 이용한 간소화
표 1 index decimal A B C 0 (0) 0 0 0 ✓ 1 (1) (4) 0 0 1 1 0 0 ✓ ✓ 2 (5) 1 0 1 ✓ 표 2 index decimal A B C 0 (0,1) (0,4) 0 0 -
1 1 1 A BC 00 01 11 10 0 1 1 QM 방법을 이용한 간소화
𝐹(𝐴, 𝐵, 𝐶) = 𝑚( 0 , 1 , 4 , 5 )
16
표 1 index decimal A B C D 0 (0) 0 0 0 0 1 (1) (2) (8) 0 0 0 1 0 0 1 0 1 0 0 0 2 (3) (5) (10) (12) 0 0 1 1 0 1 0 1 1 0 1 0 1 1 0 0 3 (7) (13) 0 1 1 1 1 1 0 1 4 (15) 1 1 1 1
표 1 index decimal A B C D 0 (0) 0 0 0 0 ✓ 1 (1) (2) (8) 0 0 0 1 0 0 1 0 1 0 0 0 ✓ ✓ ✓ 2 (3) (5) (10) (12) 0 0 1 1 0 1 0 1 1 0 1 0 1 1 0 0 ✓ ✓ ✓ ✓ 3 (7) (13) 0 1 1 1 1 1 0 1 ✓ ✓ 4 (15) 1 1 1 1 ✓ 표 2 index decimal A B C D 0 (0,1) (0,2) (0,8) 0 0 0 - 0 0 - 0
Column 1 index decimal A B C D 0 (0) 0 0 0 0 ✓ 1 (1) (2) (8) 0 0 0 1 0 0 1 0 1 0 0 0 ✓ ✓ ✓ 2 (3) (5) (10) (12) 0 0 1 1 0 1 0 1 1 0 1 0 1 1 0 0 ✓ ✓ ✓ ✓ 3 (7) (13) 0 1 1 1 1 1 0 1 ✓ ✓ 4 (15) 1 1 1 1 ✓ Column 2 index decimal A B C D 0 (0,1) (0,2) (0,8) 0 0 0 - 0 0 - 0
- 1 - (^1)
IMPLICANTS 0 1 2 3 5 7 8 10 12 13 15 Decimal (^) A B C D (0,1,2,3) 0 0 - - (0,2,8,10) - 0 - 0 (1,3,5,7) 0 - - 1 (5,7,13,15) - 1 - 1 (8,12) 1 – 0 0 (12,13) 1 1 0 - AB BD AD BD ACD ABC
F A B C D ( , , , ) = AB + BD + AD + BD + ACD + ABC QM^ 방법을^ 이용한^ 간소화 F A B C D ( , , , ) = (^) m (0, 1, 2, 3,5,7,8,10,12,13,15)