Live data from Hacker News

How a CPU works: Bare metal C on my RISC-V toy CPU

florian.noeding.com

1–10 of 39 posts

Re: How a CPU works: Bare metal C on my RISC-V toy CPU

#5
Nice that you support multi-cycle memory instead of essentially using a big register file like https://nandgame.com/ uses.

I recently came across https://makerchip.com/, and the TL-Verilog language it supports looks useful for when you want to make a pipelined design later.

Re: How a CPU works: Bare metal C on my RISC-V toy CPU

#7
post #6
post #2

I always wanted to understand how a CPU works, how it transitions from one instruction to the next and makes a computer work. So I thought: let's implement one and run a C program on it.

Check out some videos by Ben Eater on Youtube

+1 to Ben Eater! His videos helped me so much during university, it was like finding real gold between fool's gold.
Post reply on HN