Need explanation-circuit design & Boolean

  • Thread starter Thread starter math&science
  • Start date Start date
  • Tags Tags
    Design
Click For Summary

Discussion Overview

The discussion revolves around understanding the derivation of a Boolean expression from a circuit design, specifically in the context of creating a truth table and using Karnaugh maps for simplification. Participants explore how to identify outputs based on input combinations, particularly focusing on conditions for divisibility by three.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Homework-related
  • Mathematical reasoning

Main Points Raised

  • One participant seeks clarification on how to derive the Boolean expression necessary for constructing a Karnaugh map.
  • Another participant explains that the initial term involves XOR operations that expand into multiple minterms, suggesting that the isolated K-map may not facilitate simplification effectively.
  • A participant proposes using a truth table to identify when the output is high based on the divisibility of the binary input by three, emphasizing the need to focus on high output cases.
  • There is confusion expressed regarding the relationship between truth tables and the equations needed to derive outputs, with a participant questioning how to determine the correct equation without prior knowledge of the schematic.
  • One participant clarifies that the truth table for the circuit indicates outputs based on divisibility by three, providing examples of binary inputs that yield high outputs.
  • Another participant notes that for simpler problems, one can directly use the K-map without constructing a truth table, provided they are comfortable with K-map techniques.

Areas of Agreement / Disagreement

Participants express varying levels of understanding regarding the relationship between truth tables, Boolean expressions, and Karnaugh maps. There is no consensus on a single method for deriving the Boolean expression, and multiple approaches are discussed.

Contextual Notes

Some participants highlight the complexity of the function when determining outputs based on divisibility, indicating that the truth table may be necessary for more complicated scenarios. There is also uncertainty about general rules for creating circuits that indicate divisibility by a number.

math&science
Messages
24
Reaction score
0
Please refer to attached. Can someone please explain to me how they got the Boolean expression. I understand how to use Karnaugh maps but how did they come up with the equation in order to make the Karnaugh map? Thanks!
 

Attachments

Engineering news on Phys.org
They have combined terms to get the first combination XOR thing. The initial term with the two XORs ANDed expands out into four minterms, so the first thing gives you four and the last two minterms gives you the total of six. The ones in the K-map are isolated, so the map doesn't help you to combine them. To expand the XORs, remember that A XOR B = AB'+A'B.

BTW, when you see an isolated K-map like that without any good way to combine 1's, look to see if you can do a more effective job by combining 0's instead, and use the inverted form of the expression...
 
Can someone please explain to me how they got the Boolean expression.

Using a Truth Table:

The circuit has 4 inputs, making the highest binary number 1111. Your first step is to make a truth table for the all possble states for the 4 inputs. Then the output x, would only be high when the input is divisible by three. The only case you care about is when the output is high, ignore when it is low. Your next step is to write the equation for the high output then put all of them together.

EDIT: Just saw berkeman's reply
 
Last edited:
Thanks Berkeman and Ranger. I guess I'm still a bit confused. When you make the truth table for all possible states, are you just multiplying ABCD to find the output. Aren't there a whole bunch of ways like A+B+C+D, etc. to get an output so how am I supposed to know which one to use to find the output to begin with. I mean usually when I make a truth table, I need to know the equation first or at least know the schematic diagram to find the equation. Then I can make the Karnaugh map and combine terms to find the equation. And is there a general rule for making circuits that tell you when an n-bit number is divisible by x? Thanks!
 
Hi Math. In this case, the function that you are asked to implement with the logic is a divisible by 3 output indicator. The truth table is the 16 lines, starting with ABCD=0000 and ending with ABCD=1111. Read each biniary number, and the output of the truth table is 1 if the binary number is divisible by 3, and 0 otherwise. Like, ABCD=0000 and ABCD = 0011 and ABCD = 1001 are all evenly divisible by 3, but ABCD=0001 is not.

In the case of this problem, you can go straight from the problem statement to the K-map, as long as you are comfortable with working with K-maps. The truth table is needed in times where the function is complicated. The K-map is usually the best way to get a simplified output logic expression, especially if there are groups of 1's that you can combine visually on the map.
 
Thanks Berkeman. I get it now:)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
4
Views
6K
Replies
7
Views
7K
Replies
2
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
0
Views
2K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K