Karnaugh Map for 4-bit Multiplication: How to Determine Values for Clusters?

  • Thread starter mmmboh
  • Start date
  • Tags
    Map
In summary, to make a circuit to multiply two 2-bit numbers, you first construct a truth table to represent all states of the inputs and the corresponding outputs. You then make a Karnaugh map for each output bit. Finally, you design a logic circuit for each output bit to perform the multiplication.
  • #1
mmmboh
407
0
Make a circuit to multiply two 2-bit numbers
AB and CD together to produce a 4-bit output.
(a) construct a truth table to represent all states of the inputs and
the corresponding outputs.
(b) make a Karnaugh map for each output bit. Write down the Boolean algebraic expressions that describe the clusters in each map.
(c) design a logic circuit for each output bit to perform the multiplication.

Ok well I am on part b, I have done the truth table already, but I have one problem when making the Karnaugh map, how do I know when to put a 0 or 1 in a place, like if they output is 0000, I guess I put a 0, but if it's something like 0110, do I put a 0 or a 1? I don't understand how I am suppose to know which numbers are high and low, can someone help please? thanks!

For example the truth table here, http://en.wikipedia.org/wiki/Karnaugh_map#Truth_table", how do they know what f(A,B,C,D) is?

Truth table:

A(1) A(0) B(1) B(0) C(3) C(2) C(1) C(0)

0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 0 0 0 0 0
0 1 0 1 0 0 0 1
0 1 1 0 0 0 1 0
0 1 1 1 0 0 1 1
1 0 0 0 0 0 0 0
1 0 0 1 0 0 1 0
1 0 1 0 0 1 0 0
1 0 1 1 0 1 1 0
1 1 0 0 0 0 0 0
1 1 0 1 0 0 1 1
1 1 1 0 0 1 1 0
1 1 1 1 1 0 0 1
 
Last edited by a moderator:
Physics news on Phys.org
  • #2
mmmboh said:
Make a circuit to multiply two 2-bit numbers
AB and CD together to produce a 4-bit output.
(a) construct a truth table to represent all states of the inputs and
the corresponding outputs.
(b) make a Karnaugh map for each output bit. Write down the Boolean algebraic expressions that describe the clusters in each map.
(c) design a logic circuit for each output bit to perform the multiplication.

Ok well I am on part b, I have done the truth table already, but I have one problem when making the Karnaugh map, how do I know when to put a 0 or 1 in a place, like if they output is 0000, I guess I put a 0, but if it's something like 0110, do I put a 0 or a 1? I don't understand how I am suppose to know which numbers are high and low, can someone help please? thanks!

For example the truth table here, http://en.wikipedia.org/wiki/Karnaugh_map#Truth_table", how do they know what f(A,B,C,D) is?

Truth table:

A(1) A(0) B(1) B(0) C(3) C(2) C(1) C(0)

0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 0
0 0 1 0 0 0 0 0
0 0 1 1 0 0 0 0
0 1 0 0 0 0 0 0
0 1 0 1 0 0 0 1
0 1 1 0 0 0 1 0
0 1 1 1 0 0 1 1
1 0 0 0 0 0 0 0
1 0 0 1 0 0 1 0
1 0 1 0 0 1 0 0
1 0 1 1 0 1 1 0
1 1 0 0 0 0 0 0
1 1 0 1 0 0 1 1
1 1 1 0 0 1 1 0
1 1 1 1 1 0 0 1

You make a K-map for each of the 4 output bits, and use the 4 input bits to label the rows and columns. Then for each entry, you use the output bit value to fill in the square that corresponds to the input code.
 
Last edited by a moderator:
  • #3
BTW, one tip for putting tables in your posts is to use the "code" tags. That makes the forum use non-proportional font, so things stay lined up in the columns you typed them in.
 

FAQ: Karnaugh Map for 4-bit Multiplication: How to Determine Values for Clusters?

What is a Quick Karnaugh Map?

A Quick Karnaugh Map, also known as a K-Map, is a graphical method used to simplify Boolean algebra expressions. It is a visual representation of a truth table that allows for a more efficient way of simplifying Boolean expressions.

How do I create a Quick Karnaugh Map?

To create a Quick Karnaugh Map, first identify the variables in the Boolean expression and list them in a table. Then, fill in the table with the corresponding truth values. Next, group together adjacent cells that contain 1s in the map. Finally, write the simplified expression using the grouped cells.

When should I use a Quick Karnaugh Map?

A Quick Karnaugh Map is useful when simplifying Boolean expressions with 3 or more variables. It is also helpful when there are multiple terms in the expression, as it allows for easier visualization and comparison of terms.

What are the benefits of using a Quick Karnaugh Map?

Using a Quick Karnaugh Map can save time and reduce errors when simplifying Boolean expressions. It also allows for a better understanding of the relationship between the variables in the expression.

Are there any limitations to using a Quick Karnaugh Map?

One limitation of using a Quick Karnaugh Map is that it can only be used for simplifying expressions with 3 or more variables. It also may not work well for complex expressions with many terms. Additionally, human error in grouping the cells can lead to incorrect simplification.

Similar threads

Replies
3
Views
2K
Replies
4
Views
4K
Replies
14
Views
4K
Replies
5
Views
2K
Replies
7
Views
2K
Replies
10
Views
2K
Replies
3
Views
3K
Back
Top