main update: support cyclesim, rtlsim, gvm backend......#8
Open
Humber-186 wants to merge 33 commits intomainfrom
Open
main update: support cyclesim, rtlsim, gvm backend......#8Humber-186 wants to merge 33 commits intomainfrom
Humber-186 wants to merge 33 commits intomainfrom
Conversation
* remove verilating devices (use ventus-gpgpu/sim-verilator)
* do not use ENV to find spike/rtlsim/cyclesim any more. Find the libs from ${VENTUS_INSTALL_PREFIX}, find spike header files from ${SPIKE_SRC_DIR}. Need to pass these cmake variables from cmake config cli interface
* add INSTALL_RPATH ($ORIGIN)
* For not-implemented-yet functions of ventus.h, add a empty implement (return 0)
it will select real simulation backend depending on ENV{VENTUS_BACKEND}
for examle:
VENTUS_BACKEND=spike ./matadd
VENTUS_BACKEND=rtlsim ./matadd
VENTUS_BACKEND=cyclesim ./matadd
symbolic link to spike or auto_select
auto_select driver: support VENTUS_BACKEND=XXX more backend name alias cyclesim driver: add more logs
and passing it to simulation device
简单描述driver功能与支持的环境变量 配合修改源码符合文档,相比于旧有支持的环境变量更加容易让用户理解
对于b+tree这样的有多个ELF的测例,第一次upload ELF中的.text段所在地址后没有内存释放,导致第二个ELF无法获取到指定的地址 解决:第二次upload ELF时前释放第一次ELF的内存
TODO: 部分VT_CAPS_*尚未支持,后续添加
reoLantern
previously approved these changes
Oct 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
批量发起Ventus相关的各个仓库的开发分支到main分支的PR
此次将在ventus-env main分支当前最新提交上运行OpenCL CTS测试
已经核实过ventus-env中当前子仓库的commit号即为本PR中包含的最新commit号