Re:How a CPU works: Bare metal C on my RISC-V toy CPU
by bogomipz on Thursday January 26, 2023 @09:36PM
(#34541776)
>"But maybe that's fine."
Oh I think it's more than fine :)
Your goal wasn't to write a C++ or Python app it's was to create almost everything from first principles. I also don't think anyone would doubt your abilities after reading this post. You could link to the article in the repo. I think it's speaks for itself. My first thought when I read the article was "Wow, this is great." I've read it twice now. Thank you for sharing.
Re:How a CPU works: Bare metal C on my RISC-V toy CPU
by codepoet on Thursday January 26, 2023 @11:54PM
(#34542617)
You are right :)
Here's the repo: https://github.com/fnoeding/fpga-experiments
I'll update the post with it too.
I'll think about sharing the code. Large code parts - while working - did not pass my quality bar, since I did not have enough time to clean and refactor while learning. But maybe that's fine. Hmm.