Man Builds Custom 8-Bit CPU From Scratch

Man Builds Custom 8-Bit CPU From Scratch

Some of the most interesting projects in computing are the “Just for fun,” builds that individuals dream up. A year and a half ago, we met the Megaprocessor, a room-scale CPU implementation with each and every component visible, clocked at a blistering 20KHz. Now we’ve got another from-scratch CPU implementation on a smaller scale, and its own unique window into the history of CPU design.

Paulo Constantino has built himself an 8-bit CPU implemented on breadboard, with a veritable explosion of wires running across the hardware to connect everything together.

All programming is done via DIP switches, and the CPU can perform tasks like counting from 0-255, or playing an off-key-but-recognizable-variant of the Mario theme. No shade for the wrong notes; I can’t even play the Mario theme on a piano, much less program something else to play it for me.

Part of what’s interesting about projects like this, and the earlier Megaprocessor, is the way they demonstrate previous state of the art technology. Breadboards have all but replaced earlier methods of prototyping hardware, like wire-wrapping, but there was a time when this kind of CPU design process represented a cutting-edge hardware implementation. We take modern-day PCB manufacturing and printed circuit boards for granted, but these technologies had to be invented.

Image courtesy of Wikipedia
Image courtesy of Wikipedia

The image above shows the wire-wrapped backplane of a Zilog Z80 system, circa 1977. The Z80 was an 8-bit CPU developed by Federico Faggin, who also led the development of the first single-chip microprocessor (the Intel 4004), as well as several later Intel CPUs, the 8008, 4040, and 8080. The Z80 was a major improvement over the 8080, retained software compatibility with it, and is still in production today. You can see a distinct similarity between the wire-wrapping technology we were using in the late 1970s and the modern solderless breadboard approach used today.

In this case, looking at the tangle of wires required for a simple 8-bit CPU illustrates how more complex chips, with wider buses and more functions, required the creation of new mounting technologies. It eventually became impractical to wire-wrap a prototype. Increasing clock speeds and larger buses meant trace lengths needed to be controlled more rigorously. The Megaprocessor similarly showcases a time when reducing the distance between function units and increasing component integration cut costs, reduced power consumption, and led to long-term performance gains. Sometimes it’s as interesting to see where computing used to be as where it’s headed today. As for Constantino, Motherboard reports that his next goal is to integrate a keyboard, making his homemade CPU a bit easier to program.

Continue reading

Samsung, Stanford Built a 10,000 PPI Display That Could Revolutionize VR, AR
Samsung, Stanford Built a 10,000 PPI Display That Could Revolutionize VR, AR

Ask anyone who has spent more than a few minutes inside a VR headset, and they'll mention the screen door effect. This could eliminate it for good.

How to Build a Face Mask Detector With a Jetson Nano 2GB and AlwaysAI
How to Build a Face Mask Detector With a Jetson Nano 2GB and AlwaysAI

Nvidia continues to make AI at the edge more affordable and easier to deploy. So instead of simply running through the benchmarks to review the new Jetson Nano 2GB, I decided to tackle the DIY project of building my own face mask detector.

This Is a Bad Time to Build a High-End Gaming PC
This Is a Bad Time to Build a High-End Gaming PC

We're not going to say it's the worst time to build a high-end gaming PC, but if you'll need to get lucky with some orders if you want to pull it off this year.

Apple Is Building Its Own 5G Modem
Apple Is Building Its Own 5G Modem

What was rumored is now official — Apple is building its own 5G modem.