Show HN: Homebrew 16bit CPU from 74HC logic with C compiler and Unix-like OS
sol-1.org
sol-1.org
But then something like this comes along and reminds me that there is no reason you can't just fire up a 16 bit machine with a paper thin OS if you wanted. Not everything has to be a smartphone or modern system. My hat is off to the author for going a step further and building a minicomputer from scratch.
==> lifetime elite nerd union card for the author.
Amazing stuff. The dedication needed to carry something like that through is unimaginable to me.
What was your workflow for the design like? On your github I see you used verilog. I have never used it. Do you use software that converts the verilog to a list of 74HC ICs and how to connect them?
Some fun historical context: the 74181 chip (part of the 74HC series) was one of the key technologies behind the Xerox Alto. It was the first complete ALU on a single chip using a medium-scale integration (MSI) design. This was what enabled the Alto to be much smaller than minicomputers like the PDP-8, which used small-scale integration (SSI) that spread the processor over many individual logic gate chips and circuit boards.
Be sure to check out the photos and videos.
How fast is it? Do you plan on using this for real or just as a hobby project?
That’s funny, I started working on a 16bit CPU for a stack computer a couple of months ago, and ended up naming it "sola".
You just earned yourself a GitHub follower! (me!)
I would follow you on Twitter/X as well -- but you don't seem to have a Twitter/X account (which I would argue is yet more proof of your intelligence! :-) <g> :-) )
Anyway, great job!
Amazing and well done!
I didn't see in the written artifacts: what's the effective instructions per second?
I wouldn't expect more than 1 MIPS, which is what the DEC VAX 11/780 was doing around 1980.
(Awesome one-man project, if that's the case.)
anyway, this is just hardcore engineering, hat off to the guy behind all these.
* tcpip stack in the OS
* nic and driver
* homebrew web server assuming the OS doesn't have the compatible APIs to support those open source ones
The page mentions gcc nor clang, so chances are high the “Full C compiler” is home-grown.
If so, there probably is work to do to built a Rust compiler for it.
As a kid, I would see magazine photos of S-100 systems and various minis. What’s been built here would fit right in. Wow!