Why digital electronics section start with analysis of inverter?

Click For Summary

Discussion Overview

The discussion centers on the rationale behind starting the digital electronics section of textbooks with the analysis of an inverter, despite NAND and NOR gates being universal gates. Participants explore the implications of this choice in terms of teaching fundamental concepts such as noise margins, power analysis, and the characteristics of different logic families like TTL and CMOS.

Discussion Character

  • Exploratory
  • Debate/contested
  • Technical explanation

Main Points Raised

  • Some participants argue that the inverter is simpler to analyze and serves as a foundational element for understanding more complex gates like NAND and NOR.
  • Others suggest that starting with the inverter allows for a clearer introduction to concepts such as noise margins and power analysis, which are critical in digital electronics.
  • A few participants note that while NAND and NOR gates are universal, they are not as fundamental as the inverter in the context of teaching.
  • Some contributions emphasize the importance of understanding the inverter's characteristics before moving on to more complex configurations, such as those involving multiple transistors.
  • There are differing views on whether the focus should be on gates or functions, with some advocating for a functional perspective in teaching digital electronics.
  • One participant highlights that the choice of starting with CMOS inverters in textbooks may be due to their simplicity and relevance in modern applications.

Areas of Agreement / Disagreement

Participants express a mix of agreement and disagreement regarding the appropriateness of starting with an inverter. While some see it as a logical choice for foundational learning, others question whether NAND and NOR gates should also be emphasized early in the discussion. The conversation remains unresolved on the best approach to teaching these concepts.

Contextual Notes

Some participants mention the historical context of TTL and CMOS technologies, noting that the evolution of these technologies may influence how they are presented in educational materials. There is also mention of the complexity introduced by additional components in NAND and NOR gates compared to the inverter.

Who May Find This Useful

This discussion may be of interest to educators in electronics, students beginning their studies in digital logic design, and professionals seeking to understand the pedagogical approaches in teaching digital electronics concepts.

PainterGuy
Messages
938
Reaction score
73
Hi,

Both NAND and NOR are considered to be universal gates. For example, NAND gates can be used in combination to perform the AND, OR, and inverter operations. The same could be said of NOR gate.

Then, why the digital electronics section of electronics textbooks almost always start with the analysis of an inverter. All the fundamental concepts such as noise margins, W/L, power analysis, etc., are explained in the context of an inverter. If NAND and NOR gates are universal, then, IMHO, those should be used.

What's the reason that the treatment of digital electronics start with an inverter? Is the reason being that the inverter circuit is easier to analyze? Could you please help me with it?
 
Engineering news on Phys.org
PainterGuy said:
All the fundamental concepts such as noise margins, W/L, power analysis, etc., are explained in the context of an inverter
The inputs of NAND and NOR gates have the same charcteristics as the input of an inverter. The logic functions are internal to the circuit.
 
  • Like
Likes   Reactions: PainterGuy
Start simple. The simplest gate to teach and model is the inverter.
It is easy to later change an inverter into a NAND or NOR gate.
NAND and NOR may be universal, but they are not ever-present, nor fundamental.

If you work with TTL logic, you will think in NAND. If you work with CMOS logic, you will think in NOR. If you work with I²L, you will think in terms of inverters with one input and multiple outputs, where the logic is determined by the way the outputs are connected together. https://en.wikipedia.org/wiki/Integrated_injection_logic
If you understand the generalised inverter, you can understand your speciality.
 
  • Like
Likes   Reactions: pbuk, PainterGuy and Klystron
Which came first? The chicken or the egg? Stop thinking about gates and think about functions. A NAND gate is made of an AND gate with a NOT gate on the output. The basics functions are AND, OR, and NOT. The basic functions are what should be and are taught first.
 
  • Like
Likes   Reactions: Tom.G and PainterGuy
Baluncore said:
If you work with CMOS logic, you will think in NOR.
Could you please elaborate on your statement? Thanks!
 
Averagesupernova said:
A NAND gate is made of an AND gate with a NOT gate on the output.
Maybe in logic but not in electronics.

Averagesupernova said:
The basics functions are AND, OR, and NOT.
Maybe in logic but not in electronics.

Averagesupernova said:
The basic functions are what should be and are taught first.
Yes. The basic TTL gate is an inverter (NOT). This is easily converted to a NAND from which all other gates are derived.
 
  • Like
Likes   Reactions: vela
PainterGuy said:
Then, why the digital electronics section of electronics textbooks almost always start with the analysis of an inverter. All the fundamental concepts such as noise margins, W/L, power analysis, etc., are explained in the context of an inverter.
Yes, and in the next chapter you will see that by adding one transistor you convert your (TTL) inverter into a NAND gate with the same noise margins etc.
 
  • Like
Likes   Reactions: PainterGuy
PainterGuy said:
Could you please elaborate on your statement? Thanks!
Ask a difficult question, and I will have to answer it backwards.
Basically, a TTL output sinks current when low. High signals are most economic. The more high inputs, the less the signal power. A rarely used reset input will idle high to save power, so you must pull it momentarily low to reset the device, which is a form of negative logic. The most economic TTL gate then has most inputs high, which makes it a NAND gate. Once you get over the fact that conventional current flows out of a TTL input, it becomes obvious.

CMOS is a positive logic. A reset pin will stay low until it goes momentarily high to activate the function. To get a high output from an inverting gate, all inputs must be low which makes it a NOR gate.

pbuk said:
Yes, and in the next chapter you will see that by adding one transistor you convert your (TTL) inverter into a NAND gate with the same noise margins etc.
Not quite. To make more TTL NAND gate inputs, you only need to add another emitter to the one input transistor. It may come as a surprise that you can have such a thing as a multiple emitter transistor, or that emitters would be the input to the gate.
 
  • Like
Likes   Reactions: PainterGuy
Baluncore said:
Not quite. To make more TTL NAND gate inputs, you only need to add another emitter to the one input transistor.
Good point. Which makes it even more relevant to study first the single emitter case i.e. the inverter.

My advice to the OP is that if he spent less time complaining about what the book is trying to teach him and more time learning then he will make more progress.
 
  • Like
Likes   Reactions: hutchphd and anorlunda
  • #10
@pbuk I did say stop thinking about gates and think about functions didn't I? I suppose I should have said the NAND FUNCTION is made from AND with NOT hanging on the output. My point still stands. If you want to argue that AND is a NAND with NOT hanging on the output I won't stoop to that level if nonsense. Gates are about function. The practical application is certainly important but it doesn't come first.
 
  • Like
Likes   Reactions: Tom.G
  • #11
pbuk said:
My advice to the OP is that if he spent less time complaining about what the book is trying to teach him and more time learning then he will make more progress.

I wasn't complaining about it anything. Was just trying to know if there was any particular reason for introducing an inverter at the beginning.

Baluncore said:
CMOS is a positive logic. A reset pin will stay low until it goes momentarily high to activate the function. To get a high output from an inverting gate, all inputs must be low which makes it a NOR gate.

I should have mentioned it in my first post. In most books, TTL logic is only introduced toward the end and I think the reason could be that it's not that widespread anymore.

My question was about CMOS logic. In most books they start digital electronics with CMOS inverter.
 
  • #12
PainterGuy said:
In most books they start digital electronics with CMOS inverter.
Which they should. I can't think of anything simpler. One input, one output.
 
  • #13
Averagesupernova said:
Which they should. I can't think of anything simpler. One input, one output.
They should start with a single transistor inverter, so that the delay due to miller capacitance can be understood. A CMOS inverter requires a minimum of two transistors, with twice the miller capacitance.
It took over 20 years for the speed of CMOS to match that of TTL. Many textbooks were written before CMOS matured to the point where it was fast enough to be useful.
 
  • Informative
  • Like
Likes   Reactions: PainterGuy and berkeman
  • #14
PainterGuy said:
I wasn't complaining about it anything.
That's how it came across, particularly
PainterGuy said:
If NAND and NOR gates are universal, then, IMHO, those should be used.

Have you found before that something you have said has been interpreted as arrogant?
 
  • Like
Likes   Reactions: Averagesupernova
  • #15
For the area of a rectangle: Would you recommend teaching integrals to second to third graders instead of showing them simple base times height?
 
  • Like
Likes   Reactions: Averagesupernova
  • #16
PainterGuy said:
All the fundamental concepts such as noise margins, W/L, power analysis, etc., are explained in the context of an inverter. If NAND and NOR gates are universal, then, IMHO, those should be used.
Note that these concepts are about the electronic characteristics of the gate, not the logical function of the gate, so the fact that a boolean expression can be logically implemented using just NAND gates or just NOR gates is irrelevant.

PainterGuy said:
What's the reason that the treatment of digital electronics start with an inverter? Is the reason being that the inverter circuit is easier to analyze?
Yes, that's the reason. Start with the simplest and add on complications later. (You can also think of an inverter as a single-input NAND or NOR gate.)
 
  • Like
Likes   Reactions: PainterGuy, berkeman and pbuk
  • #17
Good replies and answers from all. Thank you.

This is a good time to tie off the thread, IMO. :smile:
 
  • Like
Likes   Reactions: Averagesupernova

Similar threads

  • · Replies 13 ·
Replies
13
Views
6K
Replies
7
Views
4K
Replies
1
Views
6K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
5K
Replies
17
Views
6K
  • · Replies 5 ·
Replies
5
Views
5K
  • Sticky
  • · Replies 13 ·
Replies
13
Views
8K