Basic Questions over the function of Logic Gates

Click For Summary

Discussion Overview

The discussion revolves around the functioning of various logic gates, including AND, OR, NOT, NAND, NOR, XOR, and XNOR gates. Participants explore the basic principles of these gates, their inputs and outputs, and the terminology used to describe their operations. The conversation includes personal project inquiries and clarifications about the symbols used in logic gate representations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Conceptual clarification

Main Points Raised

  • One participant suggests that for an AND gate, both inputs must be active for an output, while for an OR gate, only one input needs to be active.
  • Another participant questions the use of "energy" terminology, proposing that logic gates should be discussed in terms of truth values rather than energy levels.
  • A participant clarifies that the inputs of a gate are control terminals and that the output derives from a separate power source, challenging the initial assumptions about energy flow through the gates.
  • There is a discussion about the historical context of logic gate symbols, with some participants noting that symbols have changed over the decades.
  • A participant expresses curiosity about whether a branching tree of gates could control a single output, suggesting that multiple inputs could logically combine to produce one output.
  • Another participant mentions the use of ripple-through logic as a method of machine control, indicating its relevance in the context of the discussion.

Areas of Agreement / Disagreement

Participants generally express differing views on the terminology and conceptual understanding of logic gates. There is no consensus on the best way to describe the functioning of these gates, particularly regarding the use of "energy" versus "voltage" and the implications of gate inputs and outputs.

Contextual Notes

Some participants highlight the importance of distinguishing between energy and voltage when discussing logic gates, indicating that assumptions about power sources and control mechanisms may vary. There are also references to the evolution of logic gate symbols, suggesting a lack of uniformity in their representation over time.

Who May Find This Useful

This discussion may be useful for individuals interested in digital electronics, logic design, or those working on personal projects involving logic gates and circuit design.

perd1t1on
Messages
2
Reaction score
0
Hello, this is not homework. I am working on a personal project and had I think a fairly simple set of questions. They really are all the same, so answering one as true probably means the others are true as well, but if not please point out where and how I'm wrong.

I have a very basic idea of how logic gates may work but I need to know if I am correct:

For an And gate:
100px-AND_ANSI.svg.png

is the basic meaning that in order for the one right wire to output energy, both left wires must input energy?

For an Or gate:
100px-OR_ANSI.svg.png

to output, one of the left must input?

For a Not gate:
100px-NOT_ANSI.svg.png

input from the left is 'stopped' and there is no output on the right? (and so the circuit may continue to an And gate with one that does have output and the And gate would then not output energy either?)

For a Nand gate:
100px-NAND_ANSI.svg.png

Only if there is energy input from both on the left, there will be no energy output on the right?

For a Nor gate:
100px-NOR_ANSI.svg.png

Only if there is no energy input on the left, there will be energy output on the right?

For a Xor gate:
100px-XOR_ANSI.svg.png

Only if the input on the left differs from each other (one inputs, the other doesn't), there will be energy output on the right?

For a Xnor gate:
100px-XNOR_ANSI.svg.png

Only if the input on the left is the same for each (either both no energy, or both energy), there will be energy output on the right?

I only need to know if I have the right idea, it doesn't matter weather 'energy' is not the right word, or if I need to have a source. Though I do need to know if what controls the circuit is that 'buttons' act as switches between going through no gate and going through a Not gate.
 
Engineering news on Phys.org
Hi
The subject heading for your query should be "Boolean Truth Tables", or "Logical Truth Tables".
Rather than talking about energy, these tables are written in terms of Truth and Falsehood. A decent explanation can be found at http://www.bbc.co.uk/dna/h2g2/A1325251, and another take on the same subject is at http://archive.chipcenter.com/circuitcellar/august99/c89cd2.htm
Hope this is what you wanted.
I remember showing my fellow techs a circuit designed using those logic symbols 25 years ago, and nobody had seen them.
 
Last edited by a moderator:
Hi
The subject heading for your query should be "Boolean Truth Tables", or "Logical Truth Tables".
Rather than talking about energy, these tables are written in terms of Truth and Falsehood. A decent explanation can be found at http://www.bbc.co.uk/dna/h2g2/A1325251, and another take on the same subject is at http://archive.chipcenter.com/circuitcellar/august99/c89cd2.htm
Hope this is what you wanted.

...and you are about on the right track.

BTW I remember showing my fellow techs a circuit designed using the logic symbols you have used 25 years ago, and nobody would admit they had seen them. Those symbols are now outdated!
 
Last edited by a moderator:
Don't worry the bureaucrats have been trying to change the symbols for years, but useful symbols like these remain alive and well. Each generation of bureacrats invents a new set of symbols that gets lost in the mists of...

However on a more important note you have a fundamental misconception about gates.

The output energy source is not via the gate inputs as your post implies.

The gate inputs are control terminals. The input and output have their own power sources. These may be from a common battery or supply but they are still considered separate.

The implications of this are seen most clearly in the not or negation function. Thus a double Nand or Nor gate will give an output for no input. This can only happen if the output derives from a separate supply.

In general the energy levels of the inputs are much lower than the energy levels of the outputs, or there would be little point in the circuitry.

We normally talk about voltage rather than energy. The inputs and outputs are defined in terms of specific voltage (or in some rare cases current) levels, not specific energy levels.

Hope this helps.
 
Thanks, well I found a simulator site and it has cleared things up:
http://richardbowles.tripod.com/dig_elec/tools/sim/sim.htm
it's kind of fun to play with.

My only other question has also been answered above I guess, and that is: if this a widely known symbol system or is there other new symbols that are more well known?
 
Last edited by a moderator:
Also, one other question: If a SINGLE destination (a light) was made and a BRANCHING TREE of gates (2 per previous 1 wire) went out and at the end there were a switch per wire, would you be able to turn the light on with only 2 switches? I have a feeling this is the case but am unsure.
 
You seem to be asking whether lots of inputs can be logically combined to give a single output.
The answer to that question is "Yes"'.
Ripple-through logic is an important method of machine control, though it has largely been superceded by microprocessors.
 
Given that I'm still using the CMOS logic data book I got from Nat'lSemi in 1980...

Err...when did "they" (try to) change the logic gate symbols?
 
schip666! said:
Given that I'm still using the CMOS logic data book I got from Nat'lSemi in 1980...

Err...when did "they" (try to) change the logic gate symbols?

Err...1960, 1970, 1980, 1990, 2000

I think most decades have had their moments.
 

Similar threads

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