Skip to content

19-10-2025


Action Items

[x] Install dependencies and set up env

[ ] Run all 5 tests from https://github.com/vyomasystems-lab/riscv_setup/tree/main/tests

[ ] Examine test outputs for each test run:
  - What RISC-V instructions used?
  - How are registers used?
  - What does the test verify?

[ ] Understand test framework:
  - How tests are structured?
  - What TEST_RR_OP does?
  - How RVTEST_PASS/FAIL works?

[ ] Modify existing tests and examine output

[ ] Create a simple program, run it, and examine output


After cloning the repo locally, run

cd riscv_setup
make run TEST=tests/add.S      
make run TEST=tests/branch.S     
make run TEST=tests/load.S     
make run TEST=tests/store.S    
make run TEST=tests/illegal.S 

All the tests ran without errors and 5 folders were dumped in riscv_setup/work/, one per test. Each folder contains 3 files - .disass, .dump, and .elf.