Simulated CPU-building speedrun attempt ends with a functioning processor in a mere six hours
About the same amount of time it takes me to decide what to have for lunch.
Most of us will be familiar with the concept of the speedrun, an attempt to complete a game (or levels of a game) in the fastest time possible. However, this is the first time I've seen a CPU build get the same treatment, as Hackaday writer Julian Scheffers has managed to simulate a functional CPU from scratch in Logisim over the course of a mere six hours.
The project is called Stovepipe, by virtue of the fact that it needed a name quickly, rather than reference to a popular 19th century style of top hat. Scheffers says that Stovepipe's hardware was made in under four hours, with the extra two dedicated to building the assembler afterwards.
The ISA (instruction set architecture) was created by a process of removing things that weren't strictly necessary, resulting in eight major opcodes represented over 512 bits, far less than one of Sceffers previous 8192 bit processors, the GR8CPU.
Described as "an exercise in minimalism", the end result features a mere 256 bytes of RAM, zero I/O ports, and an accumulator functioning as the only user-accessible register. Instructions are described as taking one cycle to fetch and between one and three cycles to run.
Compared to Boa³², Scheffers most recent previous build, the pared-down chip is significantly slower thanks to that chip's 32 registers. However, it did outperform GR8CPU by virtue of the fact that it only needs one cycle to load an instruction compared to GR8CPU's three. Boa³², however, looks like a Ryzen 7 9800X3D by comparison thanks to its pipelined architecture and separate address and data busses.
Still, there's the time factor to consider. Scheffers estimates that Boa³² was completed over the course of two months, while this build appears to have been thrown together in one six hour session.
While it's not quite a record holder (to its creator's knowledge) in terms of performance in relation to size, it's still a massively impressive achievement—particularly to someone like me who's eyes begin to cross simply explaining the build, rather than making one for myself.
The biggest gaming news, reviews and hardware deals
Keep up to date with the most important stories and the best deals, as picked by the PC Gamer team.
Scheffer says that if they attempt to make a Stovepipe 2 they'll record the time taken with an actual speedrun timer, but even taking their word for it, it's a pretty great example of processor design pushed to its limits. The practical usage of designing and simulating a working CPU in such a short space of time is dubious at best, but the fact that it can be done? Pretty mind-boggling, if you ask me.
Best CPU for gaming: Top chips from Intel and AMD.
Best gaming motherboard: The right boards.
Best graphics card: Your perfect pixel-pusher awaits.
Best SSD for gaming: Get into the game first.
Andy built his first gaming PC at the tender age of 12, when IDE cables were a thing and high resolution wasn't. After spending over 15 years in the production industry overseeing a variety of live and recorded projects, he started writing his own PC hardware blog in the hope that people might send him things. And they did! Now working as a hardware writer for PC Gamer, Andy's been jumping around the world attending product launches and trade shows, all the while reviewing every bit of PC hardware he can get his hands on. You name it, if it's interesting hardware he'll write words about it, with opinions and everything.
Wait, the Steam Controller 2 is in mass production? Someone grab the popcorn because nothing brought out the strong opinions like Valve's first controller
AMD rumoured to be ditching future RDNA 5 graphics architecture in favour of 'unified' UDNA tech in a possible effort to bring AI smarts to gaming ASAP