Live data from Hacker News

Show HN: I Am Making an 8-Bit CPU in Logisim

news.ycombinator.com

1–5 of 5 posts

Show HN: I Am Making an 8-Bit CPU in Logisim

#1
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.

Re: Show HN: I Am Making an 8-Bit CPU in Logisim

#3

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.

Re: Show HN: I Am Making an 8-Bit CPU in Logisim

#4
post #3

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?

Re: Show HN: I Am Making an 8-Bit CPU in Logisim

#5
post #3

Earlier quoted context omitted.

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