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

Building a Compact, Powerful Mechanical Keyboard for Travel

Most people are content to leave their keyboard on the desk where it belongs, but I have a different set of requirements.

Buying a Pre-Built Gaming PC Is Now Smarter Than Building Your Own

With component prices skyrocketing, you may actually be further ahead to purchase a pre-built gaming computer even if it's not exactly what you want.

How to Build a PC in 2018: Choosing the Right Components

Everything you always wanted to know about building a PC, but were afraid to ask.

Windows 10 Build 17093: Multi-GPU controls, Fewer Passwords, HDR Calibration

Microsoft's new Windows 10 Build 17093 shows the company still stuffing features into the upcoming Spring Creators Update. There's some good stuff here.