I put this into a k-map and it has 5 terms is somthing wrong?

  • Thread starter Thread starter mr_coffee
  • Start date Start date
  • Tags Tags
    Terms
Click For Summary

Discussion Overview

The discussion revolves around the use of Karnaugh maps (K-maps) for simplifying a boolean expression related to a circuit that outputs 1 for prime numbers represented by four binary inputs (A, B, C, D). Participants are analyzing their K-map results and comparing the number of terms derived from their respective simplifications.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant presents a boolean expression derived from a truth table and K-map, claiming it results in five terms.
  • Another participant reports obtaining four terms from the K-map, suggesting a potential discrepancy in the first participant's results.
  • A third participant questions the looping process in the K-map simplification, indicating that certain terms may have been overlooked.
  • One participant acknowledges mistakes in their K-map and provides an alternative expression, but it remains unclear if this is correct.
  • A later reply suggests the use of negation notation for clarity and proposes organizing variables in a specific order for easier K-map construction.

Areas of Agreement / Disagreement

Participants express differing results from their K-map simplifications, with no consensus reached on the correct number of terms or the accuracy of the boolean expressions. The discussion remains unresolved regarding the correct simplification process.

Contextual Notes

There are indications of confusion regarding the K-map looping process and the representation of terms, which may affect the results. Some participants mention the need for clearer notation and organization in their K-map approaches.

mr_coffee
Messages
1,613
Reaction score
1
Okay i have 4 inputs, A,B,C,D, and when i put it into a K-map i got 5 terms, its a prime number circuit. It will output 1 if the number is prime, example...
2,3,5,7,11,13. So 1101 == 13 would output a 1.
A = 1, B = 1, C = 0, D = 1; Output = 1
From suming up the min terms on my truth table i got the following boolean expression:
Note: 'A means A complemented

'A'BC'D + 'A'BCD + 'AB'CD + 'ABCD + A'BCD + AB'CD

I put it into a K-map and got the following:
'A'BC'D + 'ACD + 'ABD + 'BCD + B'CD

Does that look right to you? I already wasted an hour implemented the wrong diagram because i screwed up the k-map and i want to make sure i didn't screw it up again. Thanks.
 
Physics news on Phys.org
Thanks for the responce...but ]shouldn't u loop some more? Here is what I got...but it still isn't right because when i create a circuit out of it using MAX PLUS II, it says A is not needed! which makes no sense to me...
Here is my k-map...
http://img137.imageshack.us/img137/5189/lastscan6nq.jpg
 
Last edited by a moderator:
Ah yes. I see where I forgot to loop.
I think you make some mistakes in the k-map
Code:
'A'BC'D + 'ACD + 'ABD + 'BCD + B'CD
Thats what you have. I'm look at the k-map and I can't see 'A'BC'D in the k-map. I see A'BCD. Why is it that you put the upper right most 1 by itself. Just looping it with the 1 to the left of it is good enough. Looking at the last row I see that you have 'BCD. How did you end up with that?
Here is what I got
Code:
'A'BC + 'ACD + 'ABD + B'CD + A'BCD
I'm also taking this course right now, I know how confusing this topic can get.
 
Last edited:
That is wrong, but thanks! I figured it out finally!
 
For whatever it is worth, there are four terms, each of three variables. In other words, each loop encompasses two cells.

I have a couple of suggestions (in real life - - - if your instructor does it the other way, you are stuck with it in class). First, try using the apostrophe after the variable to show a "negation", this is a bit more familiar to most of us. (It is unfortunate that most of our typing program packages don't provide for an "overline".) Second, make "A" your low-order variable. Then, A'B'CD' would be "0100". This makes it a little easier to put it into an ordered K-Map (I keep preaching the use of ordered maps - - - but most still don't bother.) Third, try to learn and use the ordered K-Map somewhere down the line. It makes the operation far more automatic and gives more capability.

KM
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
6K
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K