2. Select additional blocks of marked squares that are as large as pos dịch - 2. Select additional blocks of marked squares that are as large as pos Việt làm thế nào để nói

2. Select additional blocks of mark

2. Select additional blocks of marked squares that are as large as possible and
as few in number as possible, but include every marked square at least once.
The results may not be unique in some cases. For example, if a marked square
combines with exactly two other squares, and there is no fourth marked square
to complete a larger group, then there is a choice to be made as two which of
the two groupings to choose. When you are circling groups, you are allowed to
use the same 1 value more than once.
3. Continue to draw loops around single marked squares, or pairs of adjacent
marked squares, or groups of four, eight, and so on in such a way that every
marked square belongs to at least one loop; then use as few of these blocks as
possible to include all marked squares.
Figure 11.9a, based on Table 11.3, illustrates the simplification process. If any
isolated 1s remain after the groupings, then each of these is circled as a group of 1s.
Finally, before going from the map to a simplified Boolean expression, any group of
1s that is completely overlapped by other groups can be eliminated. This is shown in
Figure 11.9b. In this case, the horizontal group is redundant and may be ignored in
creating the Boolean expression.
One additional feature of Karnaugh maps needs to be mentioned. In some
cases, certain combinations of values of variables never occur, and therefore the
corresponding output never occurs. These are referred to as “don’t care” conditions.
For each such condition, the letter “d” is entered into the corresponding
square of the map. In doing the grouping and simplification, each “d” can be treated
as a 1 or 0, whichever leads to the simplest expression.
An example, presented in [HAYE98], illustrates the points we have been discussing.
We would like to develop the Boolean expressions for a circuit that adds
1 to a packed decimal digit. For packed decimal, each decimal digit is represented
by a 4-bit code, in the obvious way. Thus, 0 = 0000, 1 = 0001, c, 8 = 1000, and
9 = 1001. The remaining 4-bit values, from 1010 to 1111, are not used. This code is
also referred to as Binary Coded Decimal (BCD).
Table 11.4 shows the truth table for producing a 4-bit result that is one
more than a 4-bit BCD input. The addition is modulo 10. Thus, 9 + 1 = 0. Also,
note that six of the input codes produce “don’t care” results, because those are
not valid BCD inputs. Figure 11.10 shows the resulting Karnaugh maps for each
of the output variables. The d squares are used to achieve the best possible
groupings.
THE QUINE–MCCLUSKEY METHOD For more than four variables, the Karnaugh
map method becomes increasingly cumbersome. With five variables, two 16 * 16
maps are needed, with one map considered to be on top of the other in three
dimensions to achieve adjacency. Six variables require the use of four 16 * 16
tables in four dimensions! An alternative approach is a tabular technique, referred
to as the Quine–McCluskey method. The method is suitable for programming on a
computer to give an automatic tool for producing minimized Boolean expressions.
The method is best explained by means of an example. Consider the following
expression:
ABCD + ABCD + ABC D + ABCD + ABCD + ABCD + ABCD + A B CD
Let us assume that this expression was derived from a truth table. We would
like to produce a minimal expression suitable for implementation with gates.
The first step is to construct a table in which each row corresponds to one
of the product terms of the expression. The terms are grouped according to the
number of complemented variables. That is, we start with the term with no complements,
if it exists, then all terms with one complement, and so on. Table 11.5 shows
the list for our example expression, with horizontal lines used to indicate the grouping.
For clarity, each term is represented by a 1 for each uncomplemented variable
and a 0 for each complemented variable. Thus, we group terms according to the
number of 1s they contain. The index column is simply the decimal equivalent and
is useful in what follows.
The next step is to find all pairs of terms that differ in only one variable, that is,
all pairs of terms that are the same except that one variable is 0 in one of the terms
and 1 in the other. Because of the way in which we have grouped the terms, we can
do this by starting with the first group and comparing each term of the first group
with every term of the second group. Then compare each term of the second group
with all of the terms of the third group, and so on. Whenever a match is found, place
a check next to each term, combine the pair by eliminating the variable that differs
in the two terms, and add that to a new list. Thus, for example, the terms ABCD and
ABCD are combined to produce ABC. This process continues until the entire original
table has been examined. The result is a new table with the following entries:
A CD ABC ABD 
BCD ACD
ABC BCD 
ABD
Table 11.5 First Stage of Quine–McCluskey Method
(for F = ABCD + ABCD + ABC D + ABCD + ABCD + ABCD + ABCD + A B CD)
The new table is organized into groups, as indicated, in the same fashion as the
first table. The second table is then processed in the same manner as the first. That is,
terms that differ in only one variable are checked and a new term produced for a third
table. In this example, the third table that is produced contains only one term: BD.
In general, the process would proceed through successive tables until a table
with no matches was produced. In this case, this has involved three tables.
Once the process just described is completed, we have eliminated many of
the possible terms of the expression. Those terms that have not been eliminated
are used to construct a matrix, as illustrated in Table 11.6. Each row of the matrix
corresponds to one of the terms that have not been eliminated (has no check) in
any of the tables used so far. Each column corresponds to one of the terms in the
original expression. An X is placed at each intersection of a row and a column such
that the row element is “compatible” with the column element. That is, the variables
present in the row element have the same value as the variables present in the
column element. Next, circle each X that is alone in a column. Then place a square
around each X in any row in which there is a circled X. If every column now has
either a squared or a circled X, then we are done, and those row elements whose
Xs have been marked constitute the minimal expression. Thus, in our example, the
final expression is
ABC + ACD + ABC + A CD
In cases in which some columns have neither a circle nor a square, additional
processing is required. Essentially, we keep adding row elements until all columns
are covered.
Let us summarize the Quine–McCluskey method to try to justify intuitively
why it works. The first phase of the operation is reasonably straightforward. The
process eliminates unneeded variables in product terms. Thus, the expression
ABC + ABC is equivalent to AB, because
ABC + ABC = AB(C + C) = AB
After the elimination of variables, we are left with an expression that is clearly
equivalent to the original expression. However, there may be redundant terms
in this expression, just as we found redundant groupings in Karnaugh maps. The
matrix layout assures that each term in the original expression is covered and does
so in a way that minimizes the number of terms in the final expression.
Table 11.6 Last Stage of Quine–McCluskey Method
(for F = ABCD + ABCD + ABC D + ABCD + ABCD + ABCD + ABCD + A B CD)
NAND AND NOR IMPLEMENTATIONS Another consideration in the
implementation of Boolean functions concerns the types of gates used. It is sometimes
desirable to implement a Boolean function solely with NAND gates or solely with
NOR gates. Although this may not be the minimum-gate implementation, it has the
advantage of regularity, which can simplify the manufacturing process. Consider
again Equation (11.3):
F = B(A + C)
Because the complement of the complement of a value is just the original value,
F = B(A + C) = (AB + (BC)
Applying DeMorgan’s theorem,
F = (AB)•(BC)
which has three NAND forms, as illustrated in Figure 11.11.
Multiplexers
The multiplexer connects multiple inputs to a single output. At any time, one of the
inputs is selected to be passed to the output. A general block diagram representation
is shown in Figure 11.12. This represents a 4-to-1 multiplexer. There are four input
lines, labeled D0, D1, D2, and D3. One of these lines is selected to provide the
A
B
B
C
F
Figure 11.11 NAND Implementation of
output signal F. To select one of the four possible inputs, a 2-bit selection code is
needed, and this is implemented as two select lines labeled S1 and S2.
An example 4-to-1 multiplexer is defined by the truth table in Table 11.7. This
is a simplified form of a truth table. Instead of showing all possible combinations of
input variables, it shows the output as data from line D0, D1, D2, or D3. Figure 11.13
shows an implementation using AND, OR, and NOT gates. S1 and S2 are connected
to the AND gates in such a way that, for any combination of S1 and S2, three of the
AND gates will output 0. The fourth AND gate will output the value of the selected
line, which is either 0 or 1. Thus, three of the inputs to the OR gate are always 0,
and the output of the OR gate will equal the value of the selected input gate. Using
this regular organization, it is easy to construct multiplexers of size 8-to-1, 16-to-1,
and so on.
Multiplexers are used in digital circuits to control signal and data routing. An
example is the loading of the program counter (PC). The value to be loaded into the
program counter may come from one of several different sources:
• A binary counter, if the PC is to be incremented for the next instruction
• The instruction register, if a branch instruction using a direct address has just
been executed
• The output of the ALU, if the branch instruction specifies the address using a
0/5000
Từ: -
Sang: -
Kết quả (Việt) 1: [Sao chép]
Sao chép!
2. chọn bổ sung khối của hình vuông được đánh dấu là lớn nhất có thể vàsố tại càng ít càng tốt, nhưng bao gồm mỗi hình vuông được đánh dấu ít nhất một lần.Kết quả có thể không phải là duy nhất trong một số trường hợp. Ví dụ, nếu một hình vuông được đánh dấukết hợp với chính xác hai ô vuông khác, và không có quảng trường được đánh dấu thứ tưđể hoàn thành một nhóm lớn hơn, sau đó có một sự lựa chọn được thực hiện là hai trong sốhai nhóm để lựa chọn. Khi bạn xoay quanh nhóm, bạn được phépsử dụng cùng một giá trị 1 nhiều hơn một lần.3. tiếp tục để vẽ vòng quanh duy nhất hình vuông được đánh dấu, hoặc cặp liền kềđánh dấu ô vuông, hoặc nhóm của bốn, tám, và như vậy trong một cách mà mỗiđánh dấu square thuộc ít nhất một vòng lặp; sau đó sử dụng như là vài trong số các khối nhưcó thể bao gồm đánh dấu tất cả các hình vuông.Con số 11.9a, dựa trên bảng 11.3, minh hoạ đơn giản hóa quá trình. Nếu bất kỳbị cô lập 1s vẫn còn sau khi nhóm, sau đó mỗi trong số này được bao quanh là một nhóm 1s.Cuối cùng, trước khi đi từ bản đồ một biểu thức Boolean đơn giản, bất kỳ nhóm nào của1s mà hoàn toàn chồng chéo bởi các nhóm khác có thể được loại bỏ. Điều này được thể hiện trongCon số 11.9b. Trong trường hợp này, nhóm ngang là dư thừa và có thể được bỏ qua trongviệc tạo ra các biểu thức Boolean.Một tính năng bổ sung của Karnaugh bản đồ cần phải được đề cập. Trong một sốtrường hợp, một số kết hợp của các giá trị của các biến không bao giờ xảy ra, và do đó cácđầu ra tương ứng không bao giờ xảy ra. Đây được gọi là "không quan tâm" điều kiện.Cho mỗi điều kiện như vậy, chữ "d" được nhập vào tương ứnghình vuông của bản đồ. Bằng cách nhóm và đơn giản hóa, mỗi "d" có thể được điều trịnhư 1 hoặc 0, tùy theo cái nào dẫn đến biểu thức đơn giản nhất.Ví dụ, trình bày trong [HAYE98], minh họa các điểm chúng tôi đã thảo luận.Chúng tôi mong muốn phát triển các biểu thức Boolean đối với một vi mạch cho biết thêm rằng1 để một chữ số thập phân đóng gói. Đối với bữa thập phân, mỗi chữ số thập phân được đại diệntheo một mã 4-bit, trong cách rõ ràng. Vì vậy, 0 = 0000, 1 = 0001, c, 8 = 1000, và9 = 1001. Giá trị 4-bit còn lại, từ 1010 đến 1111, không được sử dụng. Mã này làcũng được gọi là nhị phân mã hóa thập phân (BCD).Cho thấy bảng 11,4 để sản xuất một kết quả 4-bit là một bảng chân trịnhiều hơn một BCD 4-bit đầu vào. Việc bổ sung là theo modulo 10. Vì vậy, 9 + 1 = 0. Ngoài ra,lưu ý rằng sáu mã đầu vào sản xuất kết quả "không quan tâm", bởi vì đó làkhông hợp lệ BCD đầu vào. Con số 11,10 cho thấy các kết quả Karnaugh bản đồ cho mỗicủa biến đầu ra. Các ô vuông d được sử dụng để đạt được tốt nhất có thểNhóm.Các QUINE-MCCLUSKEY phương pháp cho nhiều hơn bốn biến, Karnaughbản đồ phương pháp trở nên ngày càng rườm rà. Với năm biến, hai 16 * 16bản đồ là cần thiết, với một bản đồ được coi là trên đầu trang của nhau trong baKích thước để đạt được kề. Sáu biến yêu cầu việc sử dụng bốn 16 * 16bảng trong không gian bốn chiều! Một cách tiếp cận khác là một kỹ thuật bảng, được gọito as the Quine–McCluskey method. The method is suitable for programming on acomputer to give an automatic tool for producing minimized Boolean expressions.The method is best explained by means of an example. Consider the followingexpression:ABCD + ABCD + ABC D + ABCD + ABCD + ABCD + ABCD + A B CDLet us assume that this expression was derived from a truth table. We wouldlike to produce a minimal expression suitable for implementation with gates.The first step is to construct a table in which each row corresponds to oneof the product terms of the expression. The terms are grouped according to thenumber of complemented variables. That is, we start with the term with no complements,if it exists, then all terms with one complement, and so on. Table 11.5 showsthe list for our example expression, with horizontal lines used to indicate the grouping.For clarity, each term is represented by a 1 for each uncomplemented variableand a 0 for each complemented variable. Thus, we group terms according to thenumber of 1s they contain. The index column is simply the decimal equivalent andis useful in what follows.The next step is to find all pairs of terms that differ in only one variable, that is,all pairs of terms that are the same except that one variable is 0 in one of the termsand 1 in the other. Because of the way in which we have grouped the terms, we cando this by starting with the first group and comparing each term of the first groupwith every term of the second group. Then compare each term of the second groupwith all of the terms of the third group, and so on. Whenever a match is found, placea check next to each term, combine the pair by eliminating the variable that differsin the two terms, and add that to a new list. Thus, for example, the terms ABCD andABCD are combined to produce ABC. This process continues until the entire originaltable has been examined. The result is a new table with the following entries:A CD ABC ABD BCD ACDABC BCD ABDTable 11.5 First Stage of Quine–McCluskey Method(for F = ABCD + ABCD + ABC D + ABCD + ABCD + ABCD + ABCD + A B CD)The new table is organized into groups, as indicated, in the same fashion as thefirst table. The second table is then processed in the same manner as the first. That is,terms that differ in only one variable are checked and a new term produced for a thirdtable. In this example, the third table that is produced contains only one term: BD.In general, the process would proceed through successive tables until a tablewith no matches was produced. In this case, this has involved three tables.Once the process just described is completed, we have eliminated many ofthe possible terms of the expression. Those terms that have not been eliminatedare used to construct a matrix, as illustrated in Table 11.6. Each row of the matrixcorresponds to one of the terms that have not been eliminated (has no check) inany of the tables used so far. Each column corresponds to one of the terms in the
original expression. An X is placed at each intersection of a row and a column such
that the row element is “compatible” with the column element. That is, the variables
present in the row element have the same value as the variables present in the
column element. Next, circle each X that is alone in a column. Then place a square
around each X in any row in which there is a circled X. If every column now has
either a squared or a circled X, then we are done, and those row elements whose
Xs have been marked constitute the minimal expression. Thus, in our example, the
final expression is
ABC + ACD + ABC + A CD
In cases in which some columns have neither a circle nor a square, additional
processing is required. Essentially, we keep adding row elements until all columns
are covered.
Let us summarize the Quine–McCluskey method to try to justify intuitively
why it works. The first phase of the operation is reasonably straightforward. The
process eliminates unneeded variables in product terms. Thus, the expression
ABC + ABC is equivalent to AB, because
ABC + ABC = AB(C + C) = AB
After the elimination of variables, we are left with an expression that is clearly
equivalent to the original expression. However, there may be redundant terms
in this expression, just as we found redundant groupings in Karnaugh maps. The
matrix layout assures that each term in the original expression is covered and does
so in a way that minimizes the number of terms in the final expression.
Table 11.6 Last Stage of Quine–McCluskey Method
(for F = ABCD + ABCD + ABC D + ABCD + ABCD + ABCD + ABCD + A B CD)
NAND AND NOR IMPLEMENTATIONS Another consideration in the
implementation of Boolean functions concerns the types of gates used. It is sometimes
desirable to implement a Boolean function solely with NAND gates or solely with
NOR gates. Although this may not be the minimum-gate implementation, it has the
advantage of regularity, which can simplify the manufacturing process. Consider
again Equation (11.3):
F = B(A + C)
Because the complement of the complement of a value is just the original value,
F = B(A + C) = (AB + (BC)
Applying DeMorgan’s theorem,
F = (AB)•(BC)
which has three NAND forms, as illustrated in Figure 11.11.
Multiplexers
The multiplexer connects multiple inputs to a single output. At any time, one of the
inputs is selected to be passed to the output. A general block diagram representation
is shown in Figure 11.12. This represents a 4-to-1 multiplexer. There are four input
lines, labeled D0, D1, D2, and D3. One of these lines is selected to provide the
A
B
B
C
F
Figure 11.11 NAND Implementation of
output signal F. To select one of the four possible inputs, a 2-bit selection code is
needed, and this is implemented as two select lines labeled S1 and S2.
An example 4-to-1 multiplexer is defined by the truth table in Table 11.7. This
is a simplified form of a truth table. Instead of showing all possible combinations of
input variables, it shows the output as data from line D0, D1, D2, or D3. Figure 11.13
shows an implementation using AND, OR, and NOT gates. S1 and S2 are connected
to the AND gates in such a way that, for any combination of S1 and S2, three of the
AND gates will output 0. The fourth AND gate will output the value of the selected
line, which is either 0 or 1. Thus, three of the inputs to the OR gate are always 0,
and the output of the OR gate will equal the value of the selected input gate. Using
this regular organization, it is easy to construct multiplexers of size 8-to-1, 16-to-1,
and so on.
Multiplexers are used in digital circuits to control signal and data routing. An
example is the loading of the program counter (PC). The value to be loaded into the
program counter may come from one of several different sources:
• A binary counter, if the PC is to be incremented for the next instruction
• The instruction register, if a branch instruction using a direct address has just
been executed
• The output of the ALU, if the branch instruction specifies the address using a
đang được dịch, vui lòng đợi..
Kết quả (Việt) 2:[Sao chép]
Sao chép!
2. Chọn khối bổ sung của hình vuông được đánh dấu đó là càng lớn càng tốt và
càng ít trong số càng tốt, nhưng bao gồm tất cả các đánh dấu hình vuông ít nhất một lần.
Các kết quả có thể không là duy nhất trong một số trường hợp. Ví dụ, nếu một hình vuông được đánh dấu
một cách chính xác kết hợp với hai hình vuông khác, và không có hình vuông được đánh dấu thứ tư
để hoàn thành một nhóm lớn hơn, sau đó có một sự lựa chọn được thực hiện như hai mà của
hai nhóm để lựa chọn. Khi bạn được bao quanh nhóm, bạn được phép
sử dụng cùng một giá trị 1 nhiều hơn một lần.
3. Tiếp tục để vẽ vòng xung quanh hình vuông được đánh dấu duy nhất, hoặc cặp liền kề
ô vuông đánh dấu, hoặc nhóm bốn, tám, và như vậy trong một cách mà mỗi
hình vuông được đánh dấu thuộc về ít nhất một vòng lặp; sau đó sử dụng như là vài trong số các khối như
có thể bao gồm tất cả các hình vuông được đánh dấu.
Hình 11.9a, dựa trên Bảng 11.3, minh họa quá trình đơn giản hóa. Nếu bất kỳ
1s bị cô lập còn lại sau khi các nhóm, sau đó mỗi người trong số những được bao bọc như một nhóm các 1s.
Cuối cùng, trước khi đi từ bản đồ để một biểu thức Boolean đơn giản, bất kỳ nhóm các
1s sẽ hoàn toàn được chồng chéo bởi các nhóm khác có thể được loại bỏ. Điều này được thể hiện trong
hình 11.9b. Trong trường hợp này, nhóm ngang là không cần thiết và có thể được bỏ qua trong
việc tạo ra các biểu thức Boolean.
Một tính năng bổ sung của Karnaugh bản đồ cần phải được đề cập. Trong một số
trường hợp, kết hợp một số các giá trị của các biến không bao giờ xảy ra, và do đó
sản lượng tương ứng không bao giờ xảy ra. Đây được gọi là điều kiện "không quan tâm".
Đối với mỗi điều kiện như vậy, chữ "d" được nhập vào tương ứng
vuông của bản đồ. Trong khi làm việc nhóm và đơn giản, mỗi "d" có thể được coi
như là một 1 hoặc 0, nào dẫn đến các biểu hiện đơn giản nhất.
Một ví dụ, trình bày trong [HAYE98], minh họa điểm chúng ta đang thảo luận.
Chúng tôi muốn phát triển biểu thức Boolean cho một mạch có thêm
1 đến một chữ số thập phân đóng gói. Đối với số thập phân đóng gói, mỗi chữ số thập phân được đại diện
bởi một mã 4-bit, trong một cách rõ ràng. Vì vậy, 0 = 0000, 1 = 0001, c, 8 = 1000, và
9 = 1001. Các giá trị 4-bit còn lại, 1010-1111, không được sử dụng. Mã này
cũng được gọi là Binary Coded Decimal (BCD).
Bảng 11.4 cho thấy bảng sự thật để sản xuất một kết quả 4-bit đó là một trong
hơn một đầu vào BCD 4-bit. Việc bổ sung là modulo 10. Như vậy, 9 + 1 = 0. Ngoài ra,
lưu ý rằng sáu trong số các mã đầu vào sản xuất "không quan tâm" kết quả, bởi vì đó là
không phải đầu vào BCD hợp lệ. Hình 11.10 cho thấy các bản đồ Karnaugh kết quả cho mỗi
của các biến đầu ra. Các d vuông được sử dụng để đạt được tốt nhất có thể
nhóm.
PHƯƠNG PHÁP Quine-McCluskey Trong hơn bốn biến, các Karnaugh
bản đồ phương pháp ngày càng trở nên cồng kềnh. Với năm biến, hai 16 * 16
bản đồ là cần thiết, với một bản đồ được coi là trên đầu khác trong ba
kích thước để đạt được kề. Sáu biến đòi hỏi việc sử dụng bốn 16 * 16
bàn trong bốn kích thước! Một phương pháp khác là một kỹ thuật bảng, được gọi
là phương pháp Quine-McCluskey. Phương pháp này thích hợp cho lập trình trên một
máy tính để cung cấp cho một công cụ tự động để sản xuất các biểu thức Boolean giảm thiểu.
Phương pháp này được giải thích bằng một ví dụ. Xem xét sau đây
biểu hiện:
ABCD ABCD + ABC + D + ABCD ABCD + + + ABCD ABCD + AB CD
Chúng ta giả sử rằng biểu hiện này được bắt nguồn từ một bảng sự thật. Chúng tôi
muốn tạo ra một biểu hiện tối thiểu phù hợp để thực hiện với cửa.
Bước đầu tiên là xây dựng một bảng, trong đó mỗi hàng tương ứng với một trong
các điều khoản sản phẩm của biểu thức. Các điều khoản được nhóm lại theo
số lượng các biến bổ sung. Đó là, chúng ta bắt đầu với thời hạn không có bổ sung,
nếu nó tồn tại, sau đó tất cả các điều khoản với một bổ sung, và như vậy. Bảng 11.5 cho thấy
danh sách các biểu hiện ví dụ của chúng tôi, với các đường ngang sử dụng để chỉ các nhóm.
Để rõ ràng, mỗi học kỳ được đại diện bởi một 1 cho mỗi biến uncomplemented
và 0 cho mỗi biến bổ sung. Vì vậy, chúng tôi điều kiện nhóm theo
số lượng 1s chúng chứa. Cột chỉ số chỉ đơn giản là tương đương với số thập phân và
rất hữu ích trong những gì sau.
Bước tiếp theo là tìm tất cả các cặp từ ngữ khác nhau về chỉ có một biến, có nghĩa là,
tất cả các cặp từ ngữ đó là như nhau ngoại trừ một biến là 0 trong một trong các điều khoản
và 1 trong khác. Bởi vì cách thức mà chúng tôi đã nhóm lại các điều khoản, chúng ta có thể
làm điều này bằng cách bắt đầu với nhóm đầu tiên và so sánh từng kỳ hạn của nhóm đầu tiên
với mỗi hạn, trong nhóm thứ hai. Sau đó so sánh từng kỳ hạn của nhóm thứ hai
với tất cả các điều khoản của các nhóm thứ ba, và như vậy. Bất cứ khi nào một trận đấu được tìm thấy, đặt
một kiểm bên cạnh mỗi học kỳ, kết hợp các cặp bằng cách loại bỏ các biến khác nhau
trong hai nhiệm kỳ, và thêm rằng một danh sách mới. Vì vậy, ví dụ, các điều khoản và ABCD
ABCD được kết hợp để sản xuất ABC. Quá trình này tiếp tục cho đến khi toàn bộ ban đầu
bảng đã được kiểm tra. Kết quả là một bảng mới với các mục sau đây:
Một CD ABC ABD?
BCD? ACD
ABC BCD?
ABD?
Bảng 11.5 Giai đoạn đầu tiên của Quine-McCluskey Phương pháp
(cho F = ABCD ABCD + ABC + D + ABCD ABCD + + + ABCD ABCD + AB CD)
Bảng mới được tổ chức thành các nhóm, như được chỉ ra, trong cùng thời trang là
bảng đầu tiên. Bảng thứ hai sau đó được xử lý theo cách tương tự như lần đầu tiên. Đó là,
các điều khoản khác nhau về chỉ có một biến được kiểm tra và một thuật ngữ mới được sản xuất cho một phần ba
bảng. Trong ví dụ này, bảng thứ ba được sản xuất chỉ chứa một hạn:. BD
Nói chung, quá trình này sẽ tiến hành thông qua bảng kế tiếp cho đến khi một bảng
không có trận đấu được sản xuất. Trong trường hợp này, điều này đã tham gia ba bảng.
Một khi quá trình vừa mô tả được hoàn tất, chúng tôi đã loại bỏ nhiều
điều khoản có thể có của biểu thức. Những điều khoản chưa được loại bỏ
được sử dụng để xây dựng một ma trận, như minh họa trong Bảng 11.6. Mỗi hàng của ma trận
tương ứng với một trong các điều khoản chưa được loại bỏ (không có kiểm tra) trong
bất kỳ các bảng sử dụng cho đến nay. Mỗi cột tương ứng với một trong các điều khoản trong các
biểu hiện ban đầu. X được đặt ở mỗi ngã tư của một hàng và một cột như
rằng các phần tử liên tiếp là "tương thích" với các phần tử cột. Đó là, các biến
hiện nay trong các yếu tố hàng có giá trị như các biến hiện nay trong các
yếu tố cột. Tiếp theo, khoanh tròn mỗi X là một mình trong một cột. Sau đó, đặt một hình vuông
xung quanh mỗi X trong bất kỳ hàng trong đó có một vòng tròn X. Nếu mỗi cột hiện có
hoặc là một phương hoặc một X vòng tròn, sau đó chúng tôi được thực hiện, và những yếu tố hàng mà
XX đã được đánh dấu thành các biểu hiện tối thiểu. Vì vậy, trong ví dụ của chúng tôi,
biểu hiện cuối cùng là
ABC + ACD + ABC + Một đĩa CD
Trong những trường hợp trong đó một số cột có không phải là một vòng tròn hay hình vuông, thêm
xử lý là cần thiết. Về cơ bản, chúng tôi tiếp tục thêm các yếu tố liên tiếp cho đến khi tất cả các cột
được bảo hiểm.
Chúng ta hãy tóm tắt các phương pháp Quine-McCluskey để cố gắng biện minh cho trực giác
lý do tại sao nó hoạt động. Giai đoạn đầu của hoạt động này là hợp lý đơn giản. Các
quá trình loại bỏ các biến không cần thiết về sản phẩm. Như vậy, khái niệm
ABC + ABC là tương đương với AB, bởi vì
ABC + ABC = AB (C + C) = AB
Sau khi loại bỏ các biến, chúng tôi là trái với một biểu hiện rõ ràng là
tương đương với các biểu hiện ban đầu. Tuy nhiên, có thể có các điều khoản dư thừa
trong biểu thức này, cũng giống như chúng tôi thấy nhóm dư thừa trong Karnaugh bản đồ. Các
bố trí ma trận đảm bảo rằng mỗi học kỳ trong các biểu hiện ban đầu được bao phủ và làm
như vậy trong một cách giảm thiểu số lượng các điều khoản trong biểu thức.
Bảng 11.6 cuối giai đoạn của Quine-McCluskey Phương pháp
(cho F = ABCD ABCD + ABC + D + ABCD ABCD + + + ABCD ABCD + AB CD)
NAND và NOR Một xem xét việc triển khai trong
thực hiện chức năng Boolean liên quan đến các loại cửa được sử dụng. Đó là đôi khi
mong muốn để thực hiện một chức năng Boolean chỉ với cổng NAND hoặc pha duy nhất với
NOR cửa. Mặc dù điều này có thể không được thực hiện tối thiểu khẩu, nó có
lợi thế đều đặn, có thể đơn giản hóa quá trình sản xuất. Hãy xem xét
lại phương trình (11.3):
F = B (A + C)
Bởi vì phần bù của phần bù của một giá trị chỉ là giá trị ban đầu,
F = B (A + C) = (AB + (BC)
Áp dụng định lý DeMorgan của,
F = (AB) • (BC)
trong đó có ba hình thức NAND, như minh họa trong Hình 11.11.
Multiplexers
Các kênh kết nối nhiều đầu vào một đầu ra duy nhất. Bất cứ lúc nào, một trong những
đầu vào được lựa chọn sẽ được thông qua vào đầu ra. Một chung sơ đồ khối đại diện
được thể hiện trong hình 11.12. Đây là một bộ đa 4-to-1. Có bốn đầu vào
dòng, nhãn D0, D1, D2, D3. Một trong những dòng được chọn để cung cấp các
A
B
B
C
F
Hình 11,11 NAND thực hiện của
tín hiệu đầu ra F. Để chọn một trong bốn yếu tố đầu vào có thể, một mã lựa chọn 2-bit là
cần thiết, và điều này được thực hiện như hai dòng chọn nhãn S1 và S2.
Một ví dụ 4-to-1 đa được xác định bởi bảng sự thật trong Bảng 11.7. Đây
là một hình thức đơn giản của một bảng sự thật. Thay vì hiển thị tất cả các kết hợp có thể có của
các biến đầu vào, nó cho thấy đầu ra như dòng dữ liệu từ D0, D1, D2, D3 hoặc. Hình 11.13
cho thấy một thực hiện sử dụng AND, OR, và NOT cửa. S1 và S2 được kết nối
với cổng AND trong một cách như vậy mà, đối với bất kỳ sự kết hợp của S1 và S2, ba trong số các
cổng AND sẽ ra 0. thứ tư và cửa sẽ ra giá trị của lựa chọn
dòng này, mà là 0 hoặc 1. Như vậy, ba của các đầu vào đến cổng OR luôn 0,
và đầu ra của cổng OR sẽ tương đương với giá trị của cổng đầu vào được lựa chọn. Sử dụng
thường xuyên tổ chức này, nó rất dễ dàng để xây dựng Multiplexers kích thước 8-to-1, 16-to-1,
và như vậy.
Multiplexers được sử dụng trong các mạch kỹ thuật số để kiểm soát tín hiệu và định tuyến dữ liệu. Một
ví dụ là việc tải các chương trình truy cập (PC). Các giá trị được nạp vào các
chương trình truy cập có thể đến từ một trong nhiều nguồn khác nhau:
• Một truy cập nhị phân, nếu máy tính là để được tăng lên để được hướng dẫn tiếp theo
• Các hướng dẫn đăng ký, nếu một chỉ dẫn chi nhánh sử dụng một địa chỉ trực tiếp vừa
được thực hiện
• Đầu ra của ALU, nếu các chỉ dẫn chi nhánh xác định địa chỉ bằng cách sử dụng một
đang được dịch, vui lòng đợi..
 
Các ngôn ngữ khác
Hỗ trợ công cụ dịch thuật: Albania, Amharic, Anh, Armenia, Azerbaijan, Ba Lan, Ba Tư, Bantu, Basque, Belarus, Bengal, Bosnia, Bulgaria, Bồ Đào Nha, Catalan, Cebuano, Chichewa, Corsi, Creole (Haiti), Croatia, Do Thái, Estonia, Filipino, Frisia, Gael Scotland, Galicia, George, Gujarat, Hausa, Hawaii, Hindi, Hmong, Hungary, Hy Lạp, Hà Lan, Hà Lan (Nam Phi), Hàn, Iceland, Igbo, Ireland, Java, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Kurd, Kyrgyz, Latinh, Latvia, Litva, Luxembourg, Lào, Macedonia, Malagasy, Malayalam, Malta, Maori, Marathi, Myanmar, Mã Lai, Mông Cổ, Na Uy, Nepal, Nga, Nhật, Odia (Oriya), Pashto, Pháp, Phát hiện ngôn ngữ, Phần Lan, Punjab, Quốc tế ngữ, Rumani, Samoa, Serbia, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenia, Somali, Sunda, Swahili, Séc, Tajik, Tamil, Tatar, Telugu, Thái, Thổ Nhĩ Kỳ, Thụy Điển, Tiếng Indonesia, Tiếng Ý, Trung, Trung (Phồn thể), Turkmen, Tây Ban Nha, Ukraina, Urdu, Uyghur, Uzbek, Việt, Xứ Wales, Yiddish, Yoruba, Zulu, Đan Mạch, Đức, Ả Rập, dịch ngôn ngữ.

Copyright ©2025 I Love Translation. All reserved.

E-mail: