-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to RISC-V Compatibility Framework (RISCOF) #108
Conversation
mk/riscv-arch-test.mk
Outdated
endif | ||
$(Q)$(MAKE) --quiet -C $(ARCH_TEST_DIR) clean | ||
$(Q)$(MAKE) --quiet -C $(ARCH_TEST_DIR) | ||
$(Q) python3 -B $(RISCV_TARGET)/setup.py --riscv_device=$(RISCV_DEVICE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no space between $(Q)
and python3
. That is, $(Q)python3
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Append "Close #49" at the end of git commit message. In addition, summarize the test report based on the latest revision of rv32emu
.
This commit updates the version of riscv-arch-test and introduces the RISC-V Architectural Test Framework (RISCOF) into emulator. In riscv-arch-test part, the following shows the old and revised version. - Old: branch old-framework-2.x - New: branch main and commit 933dddd In RISCOF part, it uses config.ini to configure the plugins to be used — the device-under-test (DUT) and the reference model (REF). The ISA specification defines the available ISA extensions in emulator and users can modify via YAML file in DUT's folder. Besides, the file setup.py generates the config.ini automatically and modifies the ISA specification based on user's input. - DUT: rv32emu - REF: sail_cSim In the other hand, RISCOF uses riscv-gnu-toolchain to compile the tests in riscv-arch-test. Therefore, change the toolchain from riscv-none-elf-gcc-xpack to riscv-gnu-toolchain in Continuous Integration (CI). Finally, summarize the test report based on the latest revision of rv32emu. - Passed ISA in riscv-arch-test: I, M, C, Zicsr (privilege), Zifencei Close sysprog21#49
Thank @Risheng1128 for the great work! |
Migrate to RISC-V Compatibility Framework (RISCOF)
This commit updates the version of riscv-arch-test and introduces the RISC-V Architectural Test Framework (RISCOF) into emulator.
In riscv-arch-test part, the following shows the old and revised version.
In RISCOF part, it uses config.ini to configure the plugins to be used — the device-under-test (DUT) and the reference model (REF). The ISA specification defines the available ISA extensions in emulator and users can modify via YAML file in DUT's folder. The file setup.py generates the config.ini automatically and modifies the ISA specification based on user's input.