Académique Documents
Professionnel Documents
Culture Documents
9
9
9
9
9
9
9
9
9
9
9
9 000x
9
9 00x0
9
9 0x00
9 x000
9
9 00x1
9 x001
9
9 001x
9
9 0x10
9
x010
9
9 01x0
9 x100
9 100x
9 10x0
9 1x00
9 x011
9 10x1
9 101x
Les impliquants premiers sont : 0xx0, xx00, x0xx
0xx0
xx00
x0xx
0000
*
*
*
0000
0001
0010
0100
1000
0011
0110
1001
1010
1100
1011
0001
0010
*
(*)
0100
*
*
1000
0011
*
*
(*)
1/13
00xx
x00x
0xx0
x0x0
xx00
x0x1
x01x
10xx
0110
(*)
x0xx
1001
1010
(*)
(*)
1100
1011
(*)
(*)
01xx
9 010x
x1x1
9 01x0
x11x
9 01x1
9 x101
9 011x
9 x110
9 x111
9 11x1
9 111x
Les impliquants premiers sont : 1000, 01xx, x1x1, x11x
0100
1000
01xx
x1x1
x11x
1000
(*)
0101
0110
0111
1101
*
*
*
*
*
(*)
(*)
1110
1111
(*)
*
*
0000
9 000x
0001
9 00x0
0010
9 00x1
0011
9 001x
1010
9 x010
1100
9 x011
9 1011
9 101x
Les impliquants premiers sont : 1100, 00xx, x01x
1100
00xx
x01x
0000
0001
0010
0011
1010
(*)
(*)
*
*
*
*
(*)
2/13
00xx
x01x
1100
(*)
1011
(*)
4) f (x1, x2, x3, x4) = M(0, 2, 4, 5, 10, 11, 12, 13, 14, 15)
00x1
9 0001
1000
x001
9
100x
9 0011
0110
0x11
9
011x
9 1001
9 0111
Les impliquants premiers sont : 00x1, x001, 100x, 0x11, 011x
00x1
x001
100x
0x11
011x
0001
*
*
1000
0011
*
0110
1001
0111
*
*
(*)
*
*
*
(*)
Question 2 :
Pour chacune des fonctions de la question (1), trouver, au moyen de la mthode QuineMcCluskey, les impliqus premiers essentiels.
1) f (x1, x2, x3, x4) = m(0, 1, 2, 3, 4, 6, 8, 9, 10, 11, 12)
9 0101
9 01x1
9 0111
9 x101
9 1101
9 x111
1110
9
9 11x1
111x
9 1111
Les impliqus premiers sont : 111x, x1x1
111x
x1x1
0101
0111
1101
(*)
(*)
(*)
3/13
x1x1
1110
(*)
1111
*
*
00xx
9 000x
x0x1
9 00x0
x01x
9 00x1
9 x001
9 001x
9 x010
9 x011
9 10x1
9 101x
Les impliqus premiers sont : 1100, 00xx, x0x1, x01x
0000
0001
0010
0011
1001
1010
1100
9 1011
0000
0001
0010
0011
1001
(*)
*
*
*
*
*
(*)
1100
00xx
x0x1
x01x
1010
1100
(*)
1011
*
*
(*)
01xx
9 010x
x1x1
9 01x0
100x
x11x
9 01x1
9 x101
9 011x
9 x110
1x01
9 x111
9 11x1
9 111x
Les impliqus premiers sont : 100x, 1x01, 01xx, x1x1, x11x
0100
100x
1x01
01xx
x1x1
x11x
(*)
0100
1000
0101
0110
1001
0111
1101
1110
1111
1000
(*)
0101
*
*
0110
1001
*
*
0111
*
*
4/13
1101
1110
1111
(*)
*
*
*
*
*
*
4) f (x1, x2, x3, x4) = M(0, 2, 4, 5, 10, 11, 12, 13, 14, 15)
9
9
9
9
9
9
9
9
9
9
00x0
x10x
0x00
1x1x
x010
11xx
9 010x
9 x100
9 x101
9 101x
9 1x10
9 110x
9 11x0
9 1x11
9 11x1
9 111x
Les impliqus premiers sont : 00x0, 0x00, x010, x10x, 1x1x, 11xx
00x0
0x00
x010
x10x
1x1x
11xx
0000
*
*
0000
0010
0100
0101
1010
1100
1011
1101
1110
1111
0010
*
0100
0101
1010
1100
1011
1110
1111
*
*
*
*
*
*
*
*
(*)
*
*
*
(*)
Simplification
Question 3
1) f (x1, x2, x3, x4) = m(0, 1, 4, 8)
000x
9 0000
0x00
9 0001
x000
9 0100
9 1000
Les impliquants premiers sont : 000x, 0x00, x000
000x
0x00
x000
0000
*
*
*
0001
(*)
0100
1000
(*)
1101
(*)
9 000x
9 00x0
9 0x00
9 x000
9 x001
9 0x10
9 x010
9 01x0
9 100x
9 10x0
Les impliquants premiers sont : x00x, 0xx0, x0x0
0000
0001
0010
0100
1000
0110
1001
1010
0000
*
*
*
x00x
0xx0
x0x0
0001
(*)
0010
0100
*
*
(*)
x00x
0xx0
x0x0
1000
*
0110
1001
(*)
1010
(*)
*
(*)
9
9
9
9
9
9
9
9
9
000x
00xx
00x0
x0x0
x000
1xx0
00x1
001x
x010
10x0
1x00
1x10
110x
9 11x0
Les impliqus premiers sont : 110x, 00xx, x0x0, 1xx0
110x
00xx
x0x0
1xx0
0000
0001
0010
1000
0011
1010
1100
1101
1110
0000
0001
0010
*
*
(*)
*
*
1000
0011
1010
1100
*
1101
(*)
1110
(*)
*
*
*
*
(*)
Les impliqus premiers essentiels sont 110x, 00xx et 1xx0 et suffisent dcrire la fonction.
f (x1, x2, x3, x4) = (x1+x2)( x1 +x4)( x1 + x2 +x3)
6/13
9 000x
9 0x00
9 x000
9 0x01
9 x001
9 010x
9 100x
Les impliquants premiers sont : 0x0x, x00x
0000
0001
0100
1000
0101
1001
0x0x
x00x
0000
*
*
0x0x
x00x
0001
*
*
0100
(*)
1000
(*)
Les impliquants premiers essentiels sont 0x0x et x00x et suffisent dcrire la fonction
f (x1, x2, x3, x4) = x1 x3 + x2 x3
2) f (x1, x2, x3, x4) = m(0, 1, 2, 4, 6, 8, 9, 10) + facultatifs (3,5,15)
9
9
9
9
9
9
9
9
9
9
00xx
9 000x
0x0x
9 00x0
x00x
9 0x00
0xx0
9 x000
x0x0
9 00x1
9 0x01
9 x001
9 001x
9 0x10
9 x010
9 010x
1111
9 01x0
9 100x
9 10x0
Les impliquants premiers sont : 1111, 00xx, 0x0x, x00x, 0xx0, x0x0
1111
00xx
0x0x
x00x
0xx0
x0x0
0000
0001
0010
0100
1000
0011
0101
0110
1001
1010
0000
0001
0010
*
*
*
*
*
*
*
*
0100
1000
0110
1001
1010
*
*
*
*
(*)
(*)
(*)
Les impliquants premiers essentiels sont x00x, 0xx0, x0x0 et suffisent dcrire la fonction
7/13
9
9
9
9
9
9
9
9
9
0000
0001
0010
1000
0011
1010
1100
1101
1110
000x
00x0
x000
00x1
001x
x010
10x0
1x00
1x10
110x
9 11x0
00xx
x0x0
1xx0
0001
*
*
(*)
110x
00xx
x0x0
1xx0
1000
0011
1010
1100
*
1110
(*)
(*)
*
*
*
*
Les impliquants premiers essentiels sont 00xx et 1xx0 et suffisent dcrire la fonction
f (x1, x2, x3, x4) = x1 x2 +x1 x4
4) f (x1, x2, x3, x4) = M(4, 5, 10, 11, 12, 13, 14, 15) + facultatifs(0,2)
9
9
9
9
9
9
9
9
9 000x
9 00x0
9 x000
9 00x1
9 x001
9 001x
9 0x10
9 100x
9 0x11
Les impliquants premiers sont : 00xx, x00x, 0x1x
0000
0001
0010
1000
0011
0110
1001
0111
00xx
x00x
0x1x
0001
*
*
1000
0011
*
00xx
x00x
0x1x
0110
(*)
1001
0111
(*)
*
(*)
(*)
Les impliquants premiers essentiels sont x00x et 0x1x et suffisent dcrire la fonction
f (x1, x2, x3, x4) = x2 x3 + x1 x3
8/13
Mthode de Petrick
Question 5 :
En partant des tableaux suivants, utiliser la mthode de Petrick pour trouver les impliquants
premiers permettant de rduire le cot de limplmentation du circuit associ. Donner ce
cot bas sur la somme du cot des lignes considres.
1)
c1
r1
r2
r3
r4
r5
*
*
c2
*
c3
*
*
*
c4
c5
*
*
*
*
*
*
c6
*
c7
Cot
3
4
5
3
3
c1
*
*
*
c2
*
*
*
c3
c4
*
c5
c6
*
*
*
*
*
*
*
Cot
3
5
5
3
3
c1
*
c2
*
*
c3
*
*
c4
c5
c6
*
*
*
*
*
Cot
3
3
4
4
4
Question 6 :
Utiliser la mthode Quine-McCluskey pour simplifier la fonction suivante. Utiliser la
mthode de Petrick pour le choix des impliquants premiers. Donner le cot de votre
implmentation.
f (A,B,C,D) = m(3, 6, 9, 10, 12) + facultatifs(1, 2, 4, 7, 8, 11, 13, 14, 15)
9
9
9
9
9
9
9
9
9
9
9
9
9
9
x0x1
9 00x1
9 x001
9 0x1x
9 001x
9 xx10
9 0x10
9 x01x
x1x0
9 x010
01x0
10xx
9
9
9 x100
9 1x0x
9 100x
9 1xx0
9 10x0
9 xx11
9 1x00
9 x11x
9 0x11
9 1xx1
9 x011
9 1x1x
011x
9
9 11xx
9 x110
9 10x1
9 1x01
9 101x
9 1x10
9 110x
9 11x0
9 x111
9 1x11
9 11x1
9 111x
Les impliquants premiers sont : x0x1, x1x0, xx1x, 1xxx
0001
0010
0100
1000
0011
0110
1001
1010
1100
0111
1011
1101
1110
1111
r1
r2
r3
r4
x0x1
x1x0
xx1x
1xxx
0011
*
*
0110
1001
*
*
*
xx1x
1xxx
1010
1100
*
*
*
Il ny a pas dimpliquant premier essentiel. Nous allons procder par la mthode de Petrick.
P= (r1+r3) (r2+r3) (r1+r4) (r3+r4) (r2+r4)
P= (r1r2+r3) (r1r3+r4)(r2+r4) = (r1r2+r3)(r1r2r3+r4)
P= r1r2r3+r1r2r4+r1r2r3+r3r4 = r1r2r3+r1r2r4+r3r4
Le cot associ chacune des options est, respectivement, 2(2+1)+(3+1)=10,
2(2+1)+(3+1)=10, 2+1=3. Nous choisissons la dernire option :
f (x1, x2, x3, x4) = x1+ x3
10/13
Question 7:
Reprendre la question (6) de sorte obtenir une expression conjonctive.
f (A,B,C,D) = m(3, 6, 9, 10, 12) + facultatifs(1, 2, 4, 7, 8, 11, 13, 14, 15)
9
9
9
9
9
9
9
9
9
9
9
0x0x
9 000x
00x0
x1x1
9 0x00
x000
9 0x01
9 010x
9 01x1
9 x101
9 x111
1x11
9 11x1
111x
Les impliqus premiers sont : 00x0, x000, 1x11, 111x, 0x0x, x1x1
0000
0001
0010
0100
1000
0101
0111
1011
1101
1110
1111
r1
r2
r3
r4
r5
r6
00x0
x000
1x11
111x
0x0x
x1x1
0000
*
*
0101
*
*
Il ny a pas dimpliquant premier essentiel. Nous allons procder par la mthode de Petrick.
P= (r1+r2+r5) (r5+r6)
P= r1r5+r2r5+r5+ r1r6+r2r6+r5r6 = r5+ r1r6+r2r6
Le cot associ chacune des options est, respectivement, 2(2+1)=3, 2(2+1)+(3+1)=10,
2(2+1)+(3+1)=10. Nous choisissons la premire option :
f (x1, x2, x3, x4) = x1+ x3
Rduction de tableau
Question 8:
Reprendre la question (5) en utilisant la rduction de tableau si cela est possible.
1)
c1
r1
r2
r3
r4
r5
11/13
*
*
c2
*
c3
*
*
*
*
*
c4
*
*
*
c5
*
*
*
c6
*
c7
*
*
Cot
3
4
5
3
3
c6
*
c7
Cot
r1
3
r2
*
4
r3
*
5
r4
*
3
r5
3
La lignes R5 peut tre efface puisquelle ne couvent aucune colonne :
c1
c6
*
c7
c1
c6
*
c7
Cot
r1
3
r2
*
4
r3
*
5
r4
*
3
Les lignes R2, R3 squivalent. On efface R3 parce quelle cot plus cher :
r1
r2
r4
Cot
3
4
3
*
*
Le tableau ne peut plus tre rduit. La solution trouve est donc r1r2r4 dont le cot estim est
(3+4+3) 10
2)
r1
r2
r3
r4
r5
c1
*
*
*
c2
*
*
*
c3
c4
*
c5
*
*
*
c6
*
*
c4
*
c5
c6
*
*
Cot
3
5
5
3
3
c4
*
c5
*
c6
*
Cot
5
3
Cot
3
5
5
3
3
Le tableau ne peut plus tre rduit. La solution trouve est donc r3r4 dont le cot estim est
(5+3) 8.
3)
r1
r2
r3
r4
r5
c1
*
c2
*
*
c3
*
*
c4
c5
c6
*
*
*
*
*
13/13
Cot
3
3
4
4
4