-
Studying schematics is useless?
Posted by
Solares
on 15 Jul, 2020 21:06
-
For the book, "Digital Design" by Nicholas Pappas (2019) the Amazon description of the book has a very interesting comment:
"To be fair, the contents of this text are only a beginning, because modern digital circuits are assemblies of thousands of logic gates where the traditional schematic is essentially useless. Consequently traditional gate level circuit design, the schematic capture method, of a thousand gate circuit is impractical"
So, are electronic engineers who study the schematic of an electronic circuit just wasting their time?
-
#1 Reply
Posted by
TimFox
on 15 Jul, 2020 21:14
-
One could state that studying the schematic of a "thousand gate circuit" is a waste of time.
However, studying the schematics of classic test equipment by Hewlett-Packard and others can be very educational, since the analog tricks are encoded in the schematic.
-
#2 Reply
Posted by
Solares
on 15 Jul, 2020 21:28
-
Ok, what do you mean by "analog tricks" Tim?
-
#3 Reply
Posted by
rstofer
on 15 Jul, 2020 21:37
-
The comment was about "digital circuits" and a simple CPU/peripherals project in an FPGA might take a couple of hundred thousand gates. At the gate level, there's too much detail so we step up to 'blocks' (components or entities) and design the entities separately and then interconnect them at a higher level.
That is the whole point of using a high level language to describe digital systems. They have reached a point where the forest is too large to examine trees.
Take a simple Arduino project. You care about what connects to the pins and you care about how the code causing those pins to change state. You do not care about the internal architecture of the CPU at the chip level. Even if you are coding directly to hardware, you have a description of the inputs and outputs but need to know almost nothing about how it is implemented.
Most other electronics will fit in a single schematic and knowing how to read one is required. Of course you need to know how a common emitter amplifier works and there is no possible way to work around electronics for very long before you run into op amp circuits. You may never need to know how the wizards built the internals but you care very much about the inputs and outputs. Those are shown on the schematic.
-
#4 Reply
Posted by
dcbrown73
on 15 Jul, 2020 21:37
-
For the book, "Digital Design" by Nicholas Pappas (2019) the Amazon description of the book has a very interesting comment:
"To be fair, the contents of this text are only a beginning, because modern digital circuits are assemblies of thousands of logic gates where the traditional schematic is essentially useless. Consequently traditional gate level circuit design, the schematic capture method, of a thousand gate circuit is impractical"
So, are electronic engineers who study the schematic of an electronic circuit just wasting their time?
I'm going to guess they mean studying IC circuits. For instance, unless you are building processors. Studying the 100 million+ logic gates on a Intel CPU is probably not going to help you.
That said, studying schematics of your radio amplifier or power supply can be extremely helpful if that is what you want to build / repair.
-
#5 Reply
Posted by
rstofer
on 15 Jul, 2020 21:56
-
Just to show how useless schematic entry is for FPGAs, Xilinx's new Vivado tool doesn't include it any longer. You used to be able to do schematic entry in the predecessor ISE but no longer.
Here I create a 16 bit Instruction Register for a CPU implemented in an FPGA
signal IR : std_logic_vector(15 downto 0);
Each bit will be a D flip-flop so 16 of those. Each D flop will probably use 4 NAND gates and an inverter so 64 NAND gates and 16 inverters. That takes a lot of space on a schematic. Imagine you have a dozen such registers in a CPU - now you're up around 768 NAND gates and I can declare them all with the same line of code above by just adding more names. Or I can declare them individually.
There's a reason digital circuits are designed in code using VHDL, Verilog or SystemVerilog for the language.
-
#6 Reply
Posted by
Circlotron
on 15 Jul, 2020 22:06
-
A schematic to an electronics person is like sheet music to a musician. You can get by without them, but only to a certain point. They are very useful if you want to communicate your ideas to someone else.
-
#7 Reply
Posted by
tszaboo
on 15 Jul, 2020 22:11
-
Yes, learning how to do a circuit with a thousand gates is near useless. Learn how to do the basic circuits, like adder or a mux. If your circuit becomes large, it is impractical to show and describe it on the logic gate level, and they will do some sort of abstraction. In which case, you will see a mux and or an adder (as an example), not gates.
-
#8 Reply
Posted by
Ian.M
on 15 Jul, 2020 22:54
-
Even gates are an abstraction, internally built of transistors, and in older technologies, diodes and/or polysilcon resistors. If it was the convention to show every IC as the transistor level schematic of its internals, there'd be lot fewer dumb NE555 projects on the WWW!
Studying IC internal schematics is useless, unless you need to dive deeper than the 'black box' abstraction level, e.g.to gain insight into observed behaviour not documented in the datasheet.
-
#9 Reply
Posted by
rstofer
on 15 Jul, 2020 22:59
-
Figure C.4 is the block diagram of a RISC processor known as the LC3. VHDL code would be written directly from this diagram in terms of entities and interconnects. The same for the other 2 languages as well.
Not a single gate is shown. Instead, big blocks like adders and multiplexers are shown with bus type connections where a single line represents a bus signal as much as 16 bits wide, some narrower. The control signals will be somewhat narrower but not necessarily just 1 bit.
The state diagram (figure C.2) translates almost exactly into a high level language like VHDL for generating the control signals.
Both diagrams together provide enough information to recreate the machine. It is probably necessary to understand the instruction set in order to get the operations correct. Nevertheless, this is a simple project once you break it down into pieces.
And not a single gate shown!
http://users.ece.utexas.edu/~patt/05f.360N/handouts/360n.appC.pdfFWIW, I implemented to entire system in about 1700 lines of code including whitespace. I'm sure that the better designers could reduce the line count significantly.
-
#10 Reply
Posted by
langwadt
on 15 Jul, 2020 23:03
-
Just to show how useless schematic entry is for FPGAs, Xilinx's new Vivado tool doesn't include it any longer. You used to be able to do schematic entry in the predecessor ISE but no longer.
Here I create a 16 bit Instruction Register for a CPU implemented in an FPGA
signal IR : std_logic_vector(15 downto 0);
Each bit will be a D flip-flop so 16 of those. Each D flop will probably use 4 NAND gates and an inverter so 64 NAND gates and 16 inverters. That takes a lot of space on a schematic. Imagine you have a dozen such registers in a CPU - now you're up around 768 NAND gates and I can declare them all with the same line of code above by just adding more names. Or I can declare them individually.
There's a reason digital circuits are designed in code using VHDL, Verilog or SystemVerilog for the language.
and why most software is written in C etc. and not assembly
-
#11 Reply
Posted by
hamster_nz
on 16 Jul, 2020 01:42
-
I find reading old arcade game schematics to be mildly interesting. It is interesting to see what hops were jumped through to make video signals and sprites out of discrete logic.
It sort of bridges the worlds of system design and low-level logic. It's all quite obsolete though.
https://www.mikesarcade.com/arcade/manuals.htmlThis is unlike 8-bit home computers which are very dry. The minimum part counts and low cost make them far less interesting.
-
-
sure, until you have to design block where the signal path has equal runlengths and you need to draw it out ...
As for xilinx dropping the schematic entry : another reason not to use them .. ALTERA is much friendlier to use.
I never liked xilinx
- initially they only supported solaris. Altera already did windows.
- They only supported 3rd party synthesizers like Synopsis. Altera had built in.
- their stuff was dongle protected
- their download cables were horrifically expensive.
The cost of playing was very high for xilinx as compared to altera.
-
#13 Reply
Posted by
langwadt
on 16 Jul, 2020 02:06
-
sure, until you have to design block where the signal path has equal runlengths and you need to draw it out ...
As for xilinx dropping the schematic entry : another reason not to use them .. ALTERA is much friendlier to use.
I never liked xilinx
- initially they only supported solaris. Altera already did windows.
- They only supported 3rd party synthesizers like Synopsis. Altera had built in.
- their stuff was dongle protected
- their download cables were horrifically expensive.
The cost of playing was very high for xilinx as compared to altera.
you still live in the 90's?
-
-
... So, are electronic engineers who study the schematic of an electronic circuit just wasting their time? :..
True. There is a goldilocks zone of truth between limited capabilities of components and bloated circuit patterns where the clarity lives. Every contemporary schematics is not a worthy subject for study. It is just a overplayed or misinterpreted story of someone trying tell an older story, origin of which is lost in history and long ago disconnected from true physics, deviated by economy of cost and has a layer of b$$$it marketing on top.
-
-
sure, until you have to design block where the signal path has equal runlengths and you need to draw it out ...
As for xilinx dropping the schematic entry : another reason not to use them .. ALTERA is much friendlier to use.
I never liked xilinx
- initially they only supported solaris. Altera already did windows.
- They only supported 3rd party synthesizers like Synopsis. Altera had built in.
- their stuff was dongle protected
- their download cables were horrifically expensive.
The cost of playing was very high for xilinx as compared to altera.
you still live in the 90's?
no , but their cables are still horribly expensive. and now dropping schematic ?
Xilinx has historically always been playing hard-to-get for the average kit.
-
#16 Reply
Posted by
E-Design
on 17 Jul, 2020 14:08
-
For the book, "Digital Design" by Nicholas Pappas (2019) the Amazon description of the book has a very interesting comment:
"To be fair, the contents of this text are only a beginning, because modern digital circuits are assemblies of thousands of logic gates where the traditional schematic is essentially useless. Consequently traditional gate level circuit design, the schematic capture method, of a thousand gate circuit is impractical"
So, are electronic engineers who study the schematic of an electronic circuit just wasting their time?
Its not a waste of time. Those books teach the fundamentals with easier to understand examples. The fact that the real world implements using FPGA's etc.. is just topic of implementation. And learning the fundamentals / basics is required if you are to be proficient in FPGA design. So how could this possibly be a waste of time?
The best FPGA designers understand logic gates, timing and hardware logic circuit concepts.
The worst FPGA designers feel that VHDL is just another programming language (it is NOT)
Which do you aspire to be?
-
#17 Reply
Posted by
SL4P
on 19 Jul, 2020 08:06
-
There’s a missing concept here...
BLOCK DIAGRAMS, use lines to connect BLOCKS.
BLOCKS may contain smaller blocks - or eventually, sub circuits - that can, and usually should be documented with SCHEMATIC circuit diagrams.
-
-
Damn, all electronics has to be digital now? And here I was working on my analog and RF circuits with a handful of transistors.
Also, while people rarely design 'digital' stuff by hand anymore (they do - high-speed stuff is still done by hand, and sometimes it's just easier to make a few flipflops by hand than to learn a digital design flow/buy the tool just to be able to set a few latches in your circuit) - someone has to come up with those gates your place-and-route tool will use. Some very common blocks of multiple gates can be done by hand as well, just to get a few ps faster propagation delay through them, which can quickly add up in a big complex chip.
People seem to often look at electronics like there are two extremes (esp when it comes to integrated circuits):
- on the one hand the full-on huge digital design, where you find people doing CPUs/GPUs/microprocessors, but also codecs and other hardware
- Or you are one of the voodoo magicians like me, spending months massaging your 20 transistors and inductors to give you just that 1 dB extra gain at 140 GHz
But there is a whole field of mixed-signal design, where you have very blury lines between digital and analog. Most would probably say digital I/O is digital - and I would probably agree with you if it is something like a 10 MHz output on an MCU. But what about a 200 MHz digital line? What about a 5 GBit/s PCIe line? What about a 112 GBit/s PAM4 output? At what point did it stop being a digital problem and start being an analog one?
Mixed signal is where the majority of interesting research and advances are being made right now. Digital design is still majorly driven by scaling - transistors get smaller and denser, how do we make better use of them for our next chip.
Analog performance in CMOS stopped really scaling around .35 or 180nm CMOS (or lower, depends where you draw the line). RF performance is optimal in CMOS around 65nm/45nm/28nm (depends on who's flavour of technology you use and what frequency you work at).
-
-
Studying IC internal schematics is useless,
Imagine the questions in the beginner section...
"Where do I get a transistor with five emitters?"
-
#20 Reply
Posted by
dmills
on 20 Jul, 2020 11:39
-
Useless is over stating things, sometimes knowing the architecture of the doings directly connected to a pin is immensely valuable.
The details of the input stage on a charge transfer ADC for example do kind of matter to getting decent performance out of the thing, same thing with the architecture of the transceivers CML driver at 25Gbit/s, not that 25Gbit/s is ever meaningfully digital.
Electronic product design is a hierarchy of abstractions, all useful to a point and all possessing their limits, eventually you get to physics, then maths....
If working at a level where HDL is a truly useful abstraction then a gate level schematic is probably not useful (It is not what is really implemented anyway), while if you are the guy doing the layout or sweating the power or signal integrity then the HDL is mostly meaningless typing, you want the schematics and gerbers for your 2.5D finite element code.
You use the tools that make sense for the level of abstraction at which you are working, while always keeping in mind what they will likely do at the next level down (And asking yourself if you would be better working at the next level up for this bit...).
-
#21 Reply
Posted by
Solares
on 20 Jul, 2020 12:13
-
Thanks. Those responses have been enlightening!
-
-
I find reading old arcade game schematics to be mildly interesting. It is interesting to see what hops were jumped through to make video signals and sprites out of discrete logic.
The Cinematronics 12-bit processor was all TTL, a really nice design.
-
#23 Reply
Posted by
magic
on 20 Jul, 2020 13:36
-
Imagine the questions in the beginner section...
"Where do I get a transistor with five emitters?"
There are such questions every now and then
-
#24 Reply
Posted by
TimFox
on 20 Jul, 2020 13:39
-
I agree with dmills above. I often needed to look at the equivalent schematic of a digital input or output to understand how to interface it to a different circuit, such as a switch, LED, discrete semiconductor, or different-construction logic device.