Logic Gates with XOR gate need to verify solution

Click For Summary

Discussion Overview

The discussion revolves around verifying a solution involving logic gates, specifically focusing on the use of an XOR gate and the implications of various signal values in a logic circuit. Participants are examining the correctness of a function, labeled as F, and addressing specific clauses related to the values of inputs and outputs in the context of a homework problem.

Discussion Character

  • Homework-related
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant seeks confirmation on their function F and the values of signals P and Q based on given inputs.
  • Several participants inquire about the value of "p" and its relevance to the overall formula.
  • There is a contention regarding the correctness of the expressions for signals p and q, with some arguing that the formula provided is incorrect.
  • One participant asserts that the actual values of signals p and q do not matter if one of them is known to be one, while another counters that the values are dependent on inputs and cannot be disregarded.
  • Another participant points out that a misunderstanding exists regarding the nature of the gate labeled Z, which is identified as NAND instead of NOR.
  • Participants discuss the implications of using DeMorgan's Law in their calculations, with some providing detailed steps for their logic gate evaluations.
  • There is acknowledgment of missed posts and a request for clarification on previous contributions, indicating ongoing engagement with the topic.

Areas of Agreement / Disagreement

Participants express differing views on the relevance of signal values and the correctness of the formulas used. There is no consensus on the accuracy of the expressions for p and q, and the discussion remains unresolved regarding the implications of these values in the context of the homework problem.

Contextual Notes

Some participants highlight potential misunderstandings regarding the labeling of gates and the application of logical operations, indicating that assumptions about gate types and signal relevance may affect the conclusions drawn.

Femme_physics
Gold Member
Messages
2,548
Reaction score
1

Homework Statement



Basically and most importantly... I wanted to see if I got my F function correct. That's at clause 2.

At clause 3 I'm told

a = b = 1
c = d = 0

and to calculate

At clause 4 I'm asked if the logic value of P is 1, if the logic value of Q matters...

The Attempt at a Solution



http://img528.imageshack.us/img528/4162/annnnswer.jpg
 
Last edited by a moderator:
Physics news on Phys.org
What did you get for "p"?
 
Hey ILS

I like Serena said:
What did you get for "p"?

To what question? Only in the last question they refer to "P", and I wrote my answer in this scanned paper.
 
Femme_physics said:
Hey ILS

Hi :shy:

To what question? Only in the last question they refer to "P", and I wrote my answer in this scanned paper.

In your diagram a point is marked with the letter "p".
The corresponding part in your formula seems a little off.
 
In your diagram a point is marked with the letter "p".
The corresponding part in your formula seems a little off.

It's just a point in the diagram, it has no relevance to the formula
 
Femme_physics said:
It's just a point in the diagram, it has no relevance to the formula

Your formula contains ##\overline{b}cd + \overline{d}##.
This corresponds to the result of the OR gate "P" on the signals at p and at q, which is ##p+q##.

This means that effectively you have ##p=\overline{b}cd## and ##q=\overline{d}## in your formula.
The expression for q is correct, but the expression for p is not.
 
N=Logic NOR
 
I like Serena said:
Your formula contains ##\overline{b}cd + \overline{d}##.
This corresponds to the result of the OR gate "P" on the signals at p and at q, which is ##p+q##.

This means that effectively you have ##p=\overline{b}cd## and ##q=\overline{d}## in your formula.
The expression for q is correct, but the expression for p is not.

Sorry I must've missed this post.

Is there any other posts I've missed for over a week?

To reply: I don't think the actual signals in q and p matter at all. Only if they are one or zero. if we know one of them is one, then the other's irrelevant. Doesn't it make sense?
 
In part (2) you have not recognized that Z is an inverting gate, it's NAND.
 
  • #11
Femme_physics said:
I don't think the actual signals in q and p matter at all. Only if they are one or zero. if we know one of them is one, then the other's irrelevant. Doesn't it make sense?

but we don't know what they are, as they are dependent on the input, so we can't write either one off as irrelevant. whether or not you care about what the signal is, in order to state that the output of P = /bcd + /d, as you have done in your answer to clause 2, you need to be sure that those equations are correct.
(which they are not, and that has caused you to answer part 3 incorrectly)

(note P the gate ≠ p the signal)

edit: just realized you may be talking about clause 4, in which case you are correct, however I Like Serena was pointing out a mistake in clase 2.
the labels p and q are the signal inputs to the gate P.
 
  • #12
edit: just realized you may be talking about clause 4, in which case you are correct, however I Like Serena was pointing out a mistake in clase 2.
the labels p and q are the signal inputs to the gate P.

Ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh!

NOW I understand :)

So let me get back to the first reply :P
I like Serena said:
What did you get for "p"?

That would be
http://img442.imageshack.us/img442/9803/peepee.jpg Ahh...I see :) I forgot a big tag over everything. *smacks forehead*

And now to correct the next question based on that:

http://img855.imageshack.us/img855/1918/abc800.jpg
I like Serena said:
Thanks, I'll get on it :)
 
Last edited by a moderator:
  • #13
Femme_physics said:
Ohhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh!

NOW I understand :)

So let me get back to the first reply :P

Ahh...I see :) I forgot a big tag over everything. *smacks forehead*

And now to correct the next question based on that:

All good now.


Thanks, I'll get on it :)

You still seem to have missed the last one!
 
  • #14
All good now.

You rock!
You still seem to have missed the last one!
Heh, on yea...that.. as soon as I fix my hair :) Thank you
 
  • #15
In X we get b' = 0
In Y we get a.b = 1.1 =1
In Z we get (b'.(c.d))'=b+(c.d)'=b+c'+d'=1+1+1=1 DeMorgan's Law (a.b)'=a'+b'
In N we get (d.d)'=d'=1
In P we get b+c'+d'+d'=b+c'+d'=1+1+1=1
In R we get 1+1 , now since inputs are even in number , XORing gives result 0 , i-e f=0
Hope it helps you ...
 
  • #16
Note here you mentioned N here to be NAND , its NOR but for this case the answere will come the same ...
In N we get (d+d)'=d'=1
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
Replies
10
Views
3K
Replies
4
Views
6K
  • · Replies 7 ·
Replies
7
Views
8K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
9
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
6K
Replies
2
Views
2K