Hacker News new | ask | show | jobs
Show HN: I Am Making an 8-Bit CPU in Logisim
5 points by _lsjg 3391 days ago
Hey HN, I am making an 8-Bit CPU in Logisim and blogging about it.t's nothing fancy, really simple, unoptimized dumb CPU for sake of learning. I am no electrical engineer, I am just a self-taught dude who has programming as a hobby and wanted to dive deeper into abstractions.

So here it is, so far I wrote 2 parts:

[links redacted]

I welcome any and all critique and feedback, as I can be wrong about everything for sure.

1 comments

Looks like a good project, a nice change from doing everything in HDL.

Isn't the circuit layout going to get quite large however? How are you going to organize it? E.g. does Logisim have hierarchical views or sub-components?

Yes, it does have custom components. It gets slow with complex examples like a CPU, but not so much to become useless.
Good plan. Have you thought much about the instruction set yet? Any interesting features from existing commercial 8 bit processors you're going to re-implement?
I plan to KISS it as much as possible. The goal is to learn the basics. Maybe after that do more cool stuff in some HDL. Maybe even buy a FPGA :)

I am a further into the development of the CPU then I show in the blog, as such I do have ISA already, but it's constantly changing. The control bus though, is final I think.

https://i.imgur.com/1Sh1cSh.png