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
SUMMARY

The discussion centers around the use of Karnaugh maps (K-maps) for simplifying Boolean expressions related to prime number circuits with four inputs: A, B, C, and D. The user initially derived a Boolean expression with five terms but faced confusion regarding the correct simplification. After feedback, they realized the importance of proper looping in K-maps and confirmed that the correct expression should contain four terms, each encompassing three variables. The final expression discussed is 'A'BC + 'ACD + 'ABD + B'CD + A'BCD.

PREREQUISITES
  • Karnaugh map (K-map) simplification techniques
  • Boolean algebra fundamentals
  • Understanding of prime number circuits
  • Experience with MAX PLUS II software for circuit design
NEXT STEPS
  • Study advanced K-map techniques for multi-variable expressions
  • Learn about Boolean algebra simplification methods
  • Explore circuit design using MAX PLUS II
  • Research the implementation of prime number detection circuits
USEFUL FOR

Electronics students, circuit designers, and anyone involved in digital logic design who seeks to understand K-map simplification and Boolean expression optimization.

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
2K
  • · Replies 29 ·
Replies
29
Views
4K
  • · Replies 4 ·
Replies
4
Views
6K
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 12 ·
Replies
12
Views
4K