Maximum PC

Design Your Own Microprocessor

YOU’LL NEED THIS

INTERNET BROWSER www.falstad.com/circuit

LOGISIM www.church.com/logisim

MOST LIKELY, the processor in your PC has upwards of a billion transistors. Trying to get your head around the workings of such a complicated electronic circuit might, therefore, seems a daunting task. Yet helping you to understand what goes on inside a CPU is the task we’ve set ourselves here. The latest chips are complicated by many bells and whistles doing way more than straight “processing”, so we should think of a very basic chip and take it on trust that the principles here can indeed be scaled up.

In 1971, the very first microprocessor—the 4-bit Intel 4004—still had 2,250 transistors on board. While that might be a whole lot more manageable than a couple of billion, it might still seem to be no mean feat to understand how that worked from an electronics viewpoint.

But that this isn’t nearly as difficult to understand as you might fear. The fact is that logic circuitry is created in a so-called bottom-up approach. Transistors—the fundamental electronic building block—are used to create logic gates, which are the fundamental logic building blocks. From this point on, we can forget about transistors and see how logic gates can, in turn, be used to create more complicated logic building blocks such as decoders and multiplexers. In the next stage, these are used to create even more complicated logic elements, and this continues until we finally end up with a complete CPU. Nowhere in this process will we see more than a handful of transistors or a similar number of logic gates—what could be easier?

1 LOGIC GATES

The bottom-up approach might make it easier to understand complicated logic circuitry, but learning about it with real hardware would still be a major undertaking. After all, since each transistor has three leads, and because components other than transistors are also needed, building even

You’re reading a preview, subscribe to read more.

More from Maximum PC

Maximum PC2 min read
Rabbit R1 vs Humane AI Pin
presents: iFixit is a global community of tinkerers dedicated to helping people fix things through free online repair manuals and teardowns. iFixit believes that everyone has the right to maintain and repair their own products. To learn more, visit w
Maximum PC3 min read
Editor’s Pick: Eufy L60 Robot Vacuum & Self-Emptying Station
AS YOU MAY know from my many ramblings on these pages, I now work as a barista during the day for a local coffee shop, and as a freelance journalist in the evening and on days off (terrible work-life balance, would not recommend). When I started doin
Maximum PC1 min read
BEST FREE SOFTWARE To Stay 100% Private Online
Privacy is such an important aspect of our online lives that it’s often exploited to promote software that’s not private. ‘Keep your privacy under control’, says the download page for Chrome, despite Google being court-ordered to destroy user data it

Related