Karnaugh map for state table.

In summary, to derive the circuit that implements the state table in the provided link, you can use a Karnaugh map with 3 inputs and w=0/1. Each output can be constructed using 4 columns and 4 rows, and the inputs can be varied across rows or columns as long as each column/row is only different by 1 bit from its neighbor.
  • #1
snoggerT
186
0
Derive the circuit that implements the state table
http://silvercurvemedia.com/alex/flyers/state%20table.jpg


The Attempt at a Solution



I know you can get your equations for the circuit from either the table itself or through a Karnaugh map, but I prefer using a karnaugh map. How exactly would you set one up with a table like this? The only examples we've seen have had only 2 inputs (y1,y2), so they were 4 columns and 2 rows (w= 0 and 1). Not sure how to set up a karnaugh map with 3 inputs and w=0/1.
 
Physics news on Phys.org
  • #2
since Y3, Y2 and Y1 depend on w, that makes w an input. You can construct a k-map for each output using 4 columns and 4 rows, so whatever you did to construct that 4 column 2 row kmap, apply the 4 column idea to the rows to get 4 rows. It doesn't really matter which inputs you vary across rows or columns as long as each column/row is only different by 1 bit from its neighbor.

Hope I made sense.
 
  • #3


To set up a Karnaugh map for a state table with 3 inputs and w=0/1, you would first need to list out all the possible combinations of inputs in binary form. In this case, there would be 8 combinations (2^3) since there are 3 inputs.

Next, you would need to label the Karnaugh map with the binary values of the inputs. For example, if the inputs are labeled as x, y, and z, the Karnaugh map would have rows labeled as 00, 01, 10, and 11 (representing the combinations of x and y) and columns labeled as 0 and 1 (representing the values of z).

Once the Karnaugh map is set up, you can then fill in the corresponding output values from the state table in each cell of the map. This will help you identify any patterns or groups of cells that have the same output values, which can then be used to simplify the circuit.

From the simplified Karnaugh map, you can then derive the circuit by identifying the necessary logic gates and their connections based on the simplified expressions. This circuit will implement the state table and provide the desired outputs for each input combination.
 

1. What is a Karnaugh map used for in state table analysis?

A Karnaugh map is a graphical method used to simplify Boolean expressions and analyze state tables. It helps identify patterns and reduce the number of inputs needed for a given output in a state table.

2. How do you create a Karnaugh map for a state table?

To create a Karnaugh map for a state table, first, list out all the inputs and outputs in a table. Then, group the states with the same output in the map and fill in the corresponding binary values. Finally, use the map to identify the simplified Boolean expression for the state table.

3. Can a Karnaugh map be used for state tables with more than two inputs?

Yes, a Karnaugh map can be used for state tables with any number of inputs. However, the map becomes more complex with each additional input, so it is recommended to use a computer program or software for larger state tables.

4. What are the advantages of using a Karnaugh map in state table analysis?

One of the main advantages of using a Karnaugh map is that it provides a visual representation of the state table, making it easier to identify patterns and simplify Boolean expressions. It also helps reduce the number of inputs needed, making the overall state table more efficient and easier to understand.

5. Are there any limitations or disadvantages to using a Karnaugh map for state table analysis?

While Karnaugh maps are a useful tool for state table analysis, they can become complex and time-consuming for larger state tables with multiple inputs. In addition, they may not always provide the most optimized solution as they rely on human interpretation. As such, it is recommended to use software or other methods in conjunction with Karnaugh maps for more complex state tables.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
14
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
8
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
13
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
20
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
2
Views
8K
Back
Top