diff --git a/submodules/Cores-VeeR-EL2 b/submodules/Cores-VeeR-EL2 index 9218ff0..630b215 160000 --- a/submodules/Cores-VeeR-EL2 +++ b/submodules/Cores-VeeR-EL2 @@ -1 +1 @@ -Subproject commit 9218ff0f5f00140774a650ee4d0f3a9cdc9553bc +Subproject commit 630b215d5de9b0b182ba3a9549d7cb6dd00320c8 diff --git a/t/t_cores_veer_el2_cmark.py b/t/t_cores_veer_el2_cmark.py index 726735f..068b2d0 100755 --- a/t/t_cores_veer_el2_cmark.py +++ b/t/t_cores_veer_el2_cmark.py @@ -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()