How to Draw Logic Gate Graphs for NOR and XOR Gates

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
15 replies · 9K views
Femme_physics
Gold Member
Messages
2,548
Reaction score
1

Homework Statement



Graphs A and B are entries to a NOR gate with 2 inputs. Draw the output C.

Graphs X and are entries to a XOR gate. Draw the output Z.

Homework Equations



abxy.jpg



The Attempt at a Solution


NOR.jpg



XOR.jpg
 
Physics news on Phys.org
I like Serena said:
I'm afraid you've slipped at ##\overline{x} \cdot y##.

Tip: XOR means "either the one, or the other (but not both)".

I'm confused...if XOR mean either this or that, how can u draw it on a single graph?

EDIT: nevermind, I think I figured it out
 
Last edited:
You are making heavy work of this, Femme_physics. Would you like to start again?

All you need are 3 graphs: x and y, and a blank one for your answer. https://www.physicsforums.com/images/icons/icon3.gif

Now graph the answer following this EXCLUSIVE-OR rule: where x differs from y, draw
logic level 1. (And if x equals y, draw level 0.)

That's all there is to it. Too easy! :smile:

I'm not sure why your output trails off to the right at logic 1, where x and y are both at 0 https://www.physicsforums.com/images/icons/icon5.gif
 
Last edited by a moderator:
I'm not sure why your output trails off to the right at logic 1, where x and y are both at 0

Oops, you're right, but I think this is my only mistake right?

As far as "heavy work" -- well, I think it has an added value, being more thorough allows you to see the whole picture and revise the issue better.
 
Femme_physics said:
Oops, you're right, but I think this is my only mistake right?
You have made another careless mistake, which will reveal itself.
As far as "heavy work" -- well, I think it has an added value, being more thorough allows you to see the whole picture and revise the issue better.
Exactly right, there is much to be gained by doing it the rigorous way, if only to confirm that the formula jives with the common sense approach. Unfortunately, the more steps you go through, the greater the opportunity to make mistakes. If this were an exam question, I'm sure the time allocation would be for the simple route. It is good to know how to do the task both ways.

If you solve a problem two ways, agreement of answers usually confirms you as being correct. Disagreement can often highlight the error.
 
You have made another careless mistake, which will reveal itself.

Oh yes, I forgot to include that little block in the middle. Thank you :smile:

Exactly right, there is much to be gained by doing it the rigorous way, if only to confirm that the formula jives with the common sense approach. Unfortunately, the more steps you go through, the greater the opportunity to make mistakes. If this were an exam question, I'm sure the time allocation would be for the simple route. It is good to know how to do the task both ways.

If you solve a problem two ways, agreement of answers usually confirms you as being correct. Disagreement can often highlight the error.

Completely agree :approve:
 
Last edited by a moderator:
Thanks :)
 
Last edited by a moderator:
Femme_physics said:
Trying to get more practice.
Good idea. Don't forget exclusive-OR, too. :cool:
Here A and B are Or Gates, with C being the outcome

X and Y are AND Gates, with Z being the outcome

I drew the graphs of the outcome.

Looks good?
yes​
 
Last edited by a moderator:
Thanks NascentOx :)