From WikiChip
Editing karnaugh map

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 25: Line 25:
  
 
=== Map Labeling ===
 
=== Map Labeling ===
The coordinates of the cells in a K-map are the input value combinations from the [[truth table]]. There are a number of common ways to label a K-map. The two most common methods are numerically and by variables and their complements. There are advantages to both. Regardless of which way you choose, the coordinates of two adjacent cells differ by only one variable - i.e. only one 0 can switch to a 1 and vice versa between two adjacent cells. For example, consider a function with 2 variables, the order by which you list them would be <math>00, 01, 11, 10</math>. Note how 11 and 10 were switched so that only one value is different.
+
The coordinates of the cells in a K-map are the input value combinations from the [[truth table]]. There are a number of common ways to label a K-map. The two most common methods are numerically and by variables and their complements. There are advantages to both. Regardless of which way you choose, the coordinates of two adjacent ceonly one 0 can switch to a 1 and vice versa between two adjacent cells. For example, consider a function with 2 variables, the order by which you list them would be <math>00, 01, 11, 10</math>. Note how 11 and 10 were switched so that only one value is different.
  
 
{| class="wikita2ble" style="text-align: center"
 
{| class="wikita2ble" style="text-align: center"
Line 41: Line 41:
 
! colspan="2" style="height: 35px;" | 3-Variables K-map
 
! colspan="2" style="height: 35px;" | 3-Variables K-map
 
|-
 
|-
| [[File:kmap (3 vars).svg|200px]] || [[File:kmap (labels) (3 vars).svg|200px]]
+
| [[File:kmap (3 vars).s.svg|200px]]
 
|-
 
|-
 
! colspan="2" style="height: 35px;" | 4-Variables K-map
 
! colspan="2" style="height: 35px;" | 4-Variables K-map
Line 66: Line 66:
 
| 0 || 0 || 0 || <math>\bar A \bar B \bar C</math> || <math>m_0</math> || <math>A+B+C</math> || <math>M_0</math>
 
| 0 || 0 || 0 || <math>\bar A \bar B \bar C</math> || <math>m_0</math> || <math>A+B+C</math> || <math>M_0</math>
 
|-
 
|-
| 0 || 0 || 1 || <math>\bar A \bar B C</math> || <math>m_1</math> || <math>A+B+\bar C</math> || <math>M_1</math>
+
| 0 || 0 || 1 || <math>\bar A \bar B C</ C</math> || <math>M_1</math>
|-
+
bar B + C</math> || <math>M_2</math>
| 0 || 1 || 0 || <math>\bar AB \bar C</math> || <math>m_2</math> || <math>A+\bar B + C</math> || <math>M_2</math>
 
 
|-
 
|-
 
| 0 || 1 || 1 || <math>\bar A BC</math> || <math>m_3</math> || <math>A+\bar B+\bar C</math> || <math>M_3</math>
 
| 0 || 1 || 1 || <math>\bar A BC</math> || <math>m_3</math> || <math>A+\bar B+\bar C</math> || <math>M_3</math>
Line 85: Line 84:
 
! 1-Variable K-map !! 2-Variables K-map
 
! 1-Variable K-map !! 2-Variables K-map
 
|-
 
|-
| [[File:kmap (numbering) (1 var).svg|125px]] || [[File:kmap (numbering) (2 vars).svg|150px]]
+
| [[File:kmap (numbering) (1 var).svg|125px]]
|-
 
! 3-Variables K-map !! 4-Variables K-map
 
|-
 
| [[File:kmap (numbering) (3 vars).svg|200px]] || [[File:kmap (numbering) (4 vars).svg|200px]]
 
 
|}
 
|}
  
Line 111: Line 106:
 
\end{align}
 
\end{align}
 
</math>
 
</math>
Each minterm in the equation is then transferred into the K-map where each variable in the minterm represents a 1 and each complemented variable represents a 0.  
+
Each minterm in the equation is than transferred into the K-map where each variable in the minterm represents a 1 and each complemented variable represents a 0.  
 
[[File:kmap example color coded (expression).svg|400px]]
 
[[File:kmap example color coded (expression).svg|400px]]
 
=== from truth table ===
 
=== from truth table ===
Line 149: Line 144:
  
 
[[File:kmap example 2.svg|right|100px]]
 
[[File:kmap example 2.svg|right|100px]]
The Karnaugh map on the right on the other hand has two groups. One group spans both <math>B = 0</math> and <math>B = 1</math> and another that spans <math>A = 0</math> and <math>A = 1</math>. In the expression for the group that spans vertically, <math>B</math> changes yielding the expression <math>A</math>. Likewise in the expression that spans horizontally, <math>A</math> changes, yielding the expression <math>B</math>. The simplified equation for this K-map is the ORing of all the individual term - <math>f(A,B) = \sum m(1,2,3) = A+B</math>.
+
The Karnaugh map on the left on the other hand has two groups. One group spans both <math>B = 0</math> and <math>B = 1</math> and another that spans <math>A = 0</math> and <math>A = 1</math>. In the expression for the group that spans vertically, <math>B</math> changes yielding the expression <math>A</math>. Likewise in the expression that spans horizontally, <math>A</math> changes, yielding the expression <math>B</math>. The simplified equation for this K-map is the ORing of all the individual term - <math>f(A,B) = \sum m(1,2,3) = A+B</math>.
  
  

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)

This page is a member of 1 hidden category: