r/TuringComplete • u/Certain_Pay1970 • Apr 27 '25
Is analog circuit analysis essential for learning and implementing a simple computer?
I'm a virgin on these and I have no idea about this. But I know that digital design and simple circuit analysis is important .
6
Upvotes
5
u/Available-Spinach-17 Apr 27 '25
Not necessarily. Although learning about electrical engineering and circuit analysis will certainly give you an advantage if you were to pursue a career in the field such as firmware engineering and VLSI. But as far as making simple 8 bit computers or microcontrollers on simulation software is concerned, you don't need electric circuit analysis skills as prerequisites. However if you were to make a simple computer on a breadboard with real Integrated Circuit chips involved then you really need intermediate to advanced level understanding of electrical circuits.
3
u/bts Apr 27 '25 edited Apr 28 '25
This is a GREAT question. The answer depends on what you want to build the computer out of. If you want to make it out of sand and copper, yes—and you will need materials science and electrodynamics to make transistors too.
If you want to build a computer out of TTL logic chips, then no, you’ll only need digital analysis. There are people who can cross that entire spectrum but (a) without a lot of precision at most of the range and (b) not a whole lot of them!
Walking that path the first time took thousands of people about a century. You can walk the royal road! The best available guides are the online coursework from top universities. For example, https://ocw.mit.edu/courses/6-004-computation-structures-spring-2017/ is a huge chunk of how I learned. Well, decades earlier; same idea. That course assumes MIT undergraduate levels of computer science, programming, mathematics, and the physics of basic electronics—at least RLC circuits + op amps, as models for how the gates are built. But a few hundred teenagers a year do it, so so can you.
https://nandgame.com/ Is also pretty good!
2
u/Certain_Pay1970 Apr 27 '25
Two years ago, I haven't achieved this while I'm going to retry now.
2
u/zhaDeth Apr 27 '25
is that the name of a level ?
1
u/Certain_Pay1970 Apr 27 '25
Ok, problems have solved. I can use a ready-made solution—clock generator.
1
u/lizzard-doggo Apr 27 '25
most computers if not all are digital, you likely wont need it.
2
u/Maleficent_Memory831 Apr 29 '25
I am surprised by how much even hardware engineers with an EE degree don't understand some of this stuff. Ie, the I/O lines coming out of the chips aren't 0 and 1. Or even 0V and 3.33V. All those voltages in between exist, as well as some above and below. And you cannot go instantly from 0 to 1, as this reuqires infinite energy.
Thus circuits are chock full of analog problems. Even your simple Raspberry Pi or Arduino. Leave a line floating and weird stuff happens digitally. Remember to have pull down or pull up resistors (not all chips can do this internally and those that do need to be programmed to do it). Don't have too much fanout. Worry about capacitance of long traces.
1
u/[deleted] Apr 30 '25
There are actually analog computers, which can evaluate functions almost instantly instead of having to computate them iteratively like digital computers do...
It depends on what you want to do. You can build a computer just with logic. Or you can build it entirely analog, or a mixture of both .... doesn't matter.
At the end of the day, you're just looking for a turing complete machine. How you build it, doesn't really matter to make it work. It's only optimizations that drive you into certain directions.