Skip to content

Enable VeeR-EL2 test #4

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

Merged
merged 2 commits into from
Feb 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion submodules/Cores-VeeR-EL2
Submodule Cores-VeeR-EL2 updated 231 files
22 changes: 21 additions & 1 deletion t/t_cores_veer_el2_cmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,26 @@

import vltest_bootstrap

test.skip("cores-VeeR-EL2 has unfixed mason dependency")
test.scenarios('vlt')

test.setenv('RV_ROOT',
os.path.abspath(test.t_dir + "/../submodules/Cores-VeeR-EL2"))
test.setenv('VERILATOR', os.environ["VERILATOR_ROOT"] + "/bin/verilator")


test.run(
cmd=[
"make -j4 -C " + test.obj_dir + " -f " + os.environ["RV_ROOT"] +
"/tools/Makefile",
("VERILATOR='" + os.environ["VERILATOR"] +
" --debug-check -Wno-IMPLICITSTATIC --stats --timing " +
' '.join(test.driver_verilator_flags) + "'"),
"CONF_PARAMS=-iccm_enable=1",
"GCC_PREFIX=none TEST=cmark_iccm",
"VERILATOR_MAKE_FLAGS=VM_PARALLEL_BUILDS=1 verilator CFG_CXXFLAGS_WEXTRA=-Wextra"
],
logfile=test.obj_dir + "/sim.log")

test.file_grep(test.obj_dir + "/sim.log", r'\nTEST_PASSED\n')

test.passes()