Hacker News new | ask | show | jobs
by thebeardisred 1089 days ago
Fully compliant to RISC-V how? Is it conforming to a specific RVI profile? The project states "By emulating a complete rv32i instruction set inside the wiring system of Terraria, we push back speeds to the early 70s era, tossing the ball firmly back into the court of silicon engineer without losing any software functionality."

So this is building a RISC-V *microcontroller* but what version of the ISA? 2.2 from 2017? Is it sucessfully passing conformance tests (https://github.com/riscv-software-src/riscv-tests)? I don't want to dunk on the project, but the title is over-selling and not scoping the context of the work. I look forward to some more updates from @misprit7!

Note: I'm the working group lead for distro-integration within the RISC-V Software Ecosystem (RISE) group.

2 comments

I'm the one who made this. It's rv32i, and yes the 2017 specs. It passes every rv32i test in the repository you sent, see the test/ folder for the riscof plugin I wrote. I also have CI in a docker to headlessly run Terraria and programmatically run all these tests whenever the world changes on the main branch.

I'm not throwing around fully compliant lightly here!

If you watch the video or check the github repo, (and you really should watch the video, it's fantastic), you'll see he has a full conformance test run in-game as part of a custom built CI/CD pipeline. In Terraria. I really enjoyed writing that.