@@ -384,17 +384,17 @@ def _generate_mcounter_inc_inaccessible_tests(test_data: TestData) -> list[str]:
384384 lines .extend (
385385 [
386386 test_data .add_testcase ("S" , coverpoint , covergroup ),
387- f"CSRR( x{ old_reg } , instret) " ,
387+ f"csrr x{ old_reg } , instret" ,
388388 "# make counter inaccessible in S mode" ,
389- "CSRW( mcounteren, zero) " ,
389+ "csrw mcounteren, zero" ,
390390 "RVTEST_GOTO_LOWER_MODE Smode" ,
391391 "nop" ,
392392 "RVTEST_GOTO_MMODE" ,
393393 "# make counter accessible in S mode" ,
394394 f" LI(x{ read_reg } , -1)" ,
395- f"CSRW( mcounteren, x{ read_reg } ) " ,
395+ f"csrw mcounteren, x{ read_reg } " ,
396396 "RVTEST_GOTO_LOWER_MODE Smode" ,
397- f"CSRR( x{ read_reg } , instret) " ,
397+ f"csrr x{ read_reg } , instret" ,
398398 f"sub x{ read_reg } , x{ read_reg } , x{ old_reg } " ,
399399 "# SIGUPD the difference in instret" ,
400400 write_sigupd (read_reg , test_data ),
@@ -415,11 +415,11 @@ def make_zicntrs(test_data: TestData) -> list[TestChunk]:
415415 test_chunks : list [TestChunk ] = []
416416 tc = test_data .begin_test_chunk ()
417417
418- tc .code .extend (_generate_mcounteren_access_s_tests (test_data ))
419- tc .code .extend (_generate_scounteren_access_s_tests (test_data ))
420- tc .code .extend (_generate_scounteren_access_m_tests (test_data ))
421- tc .code .extend (_generate_scounteren_access_u_tests (test_data ))
422- tc .code .extend (_generate_mscounteren_access_u_tests (test_data ))
418+ # tc.code.extend(_generate_mcounteren_access_s_tests(test_data))
419+ # tc.code.extend(_generate_scounteren_access_s_tests(test_data))
420+ # tc.code.extend(_generate_scounteren_access_m_tests(test_data))
421+ # tc.code.extend(_generate_scounteren_access_u_tests(test_data))
422+ # tc.code.extend(_generate_mscounteren_access_u_tests(test_data))
423423 tc .code .extend (_generate_mcounter_inc_inaccessible_tests (test_data ))
424424 test_chunks .append (test_data .end_test_chunk ())
425425 return test_chunks
0 commit comments