From the course: Getting Started with RISC-V
Unlock the full course today
Join today to access over 24,600 courses taught by industry experts.
The Venus simulator - Raspberry Pi Tutorial
From the course: Getting Started with RISC-V
The Venus simulator
- [Instructor] To learn about the venus simulator, you can visit its GitHub page and scroll down to the read me file. Here we have a link to its functional online version. However, we will use the VS code extension version. Then we have a list of features. The most relevant to us is that it only supports the RV32IM ISA. I know this seems limited, but it's more than enough for basic programs. At the bottom, we have the resources section with the user guide. Let's see it. This guide has several sections you may want to skim through. Now, in order to communicate with the outside world, most simulators rely on the environment call mechanism. This is a way to ask the underlying runtime environment or operating system to perform some tasks for you. So let me show you the supported environment calls. To use an environment call, you need to specify its number in register a0 and send any arguments in the remaining a registers.…