How a CPU works: Bare metal C on my RISC-V toy CPU
florian.noeding.com
How a CPU works: Bare metal C on my RISC-V toy CPU
1–10 of 39 posts
Re: How a CPU works: Bare metal C on my RISC-V toy CPU
#2Re: How a CPU works: Bare metal C on my RISC-V toy CPU
#3Side note: the articles on compilation also seem to be good and simple to understand, especially the one about code generation (which is a topic that other articles somehow always skip)
Re: How a CPU works: Bare metal C on my RISC-V toy CPU
#4Re: How a CPU works: Bare metal C on my RISC-V toy CPU
#5I 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
#6I 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.
Re: How a CPU works: Bare metal C on my RISC-V toy CPU
#7I 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
Re: How a CPU works: Bare metal C on my RISC-V toy CPU
#8Re: How a CPU works: Bare metal C on my RISC-V toy CPU
#9Re: How a CPU works: Bare metal C on my RISC-V toy CPU
#10Oh, and what was done, it would be illegal with x86_64 and arm64 as you would have to pay a license in some countries... once you want to make money out of it.