mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Updated the wally rv32 priv tests to not use sail.
This commit is contained in:
		
							parent
							
								
									f24bc52be7
								
							
						
					
					
						commit
						6110799a1e
					
				| @ -1 +1 @@ | ||||
| Subproject commit c955abf757df98cf38809e40a62d2a6b448ea507 | ||||
| Subproject commit 8a52b016dbe1e2733cc168b9d6e5c93e39059d4d | ||||
| @ -24,7 +24,7 @@ | ||||
| #include "WALLY-TEST-LIB-32.h"  | ||||
| 
 | ||||
| RVTEST_ISA("RV32I_Zicsr") | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;",csr-permission-s)
 | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;def NO_SAIL=True;",csr-permission-s)
 | ||||
| 
 | ||||
| INIT_TESTS | ||||
| 
 | ||||
| @ -195,4 +195,4 @@ WRITE_READ_CSR mhpmevent31, 0x111 | ||||
| 
 | ||||
| END_TESTS | ||||
| 
 | ||||
| TEST_STACK_AND_DATA | ||||
| TEST_STACK_AND_DATA | ||||
|  | ||||
| @ -24,7 +24,7 @@ | ||||
| #include "WALLY-TEST-LIB-32.h"  | ||||
| 
 | ||||
| RVTEST_ISA("RV32I_Zicsr") | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;",csr-permission-u)
 | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;def NO_SAIL=True;",csr-permission-u)
 | ||||
| 
 | ||||
| INIT_TESTS | ||||
| 
 | ||||
| @ -174,4 +174,4 @@ WRITE_READ_CSR mhpmevent31, 0xAAA | ||||
| 
 | ||||
| END_TESTS | ||||
| 
 | ||||
| TEST_STACK_AND_DATA | ||||
| TEST_STACK_AND_DATA | ||||
|  | ||||
| @ -24,7 +24,7 @@ | ||||
| #include "WALLY-TEST-LIB-32.h" | ||||
| 
 | ||||
| RVTEST_ISA("RV32I_Zicsr") | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;",misa)
 | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;def NO_SAIL=True;",misa)
 | ||||
| 
 | ||||
| INIT_TESTS | ||||
| 
 | ||||
|  | ||||
| @ -24,7 +24,7 @@ | ||||
| #include "WALLY-TEST-LIB-32.h"  | ||||
| 
 | ||||
| RVTEST_ISA("RV32I_Zicsr_Zifencei") | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;",mmu)
 | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;def NO_SAIL=True;",mmu)
 | ||||
| 
 | ||||
| INIT_TESTS | ||||
| 
 | ||||
|  | ||||
| @ -23,7 +23,7 @@ | ||||
| 
 | ||||
| #include "WALLY-TEST-LIB-32.h"  | ||||
| RVTEST_ISA("RV32I_Zicsr") | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True; def TEST_CASE_1=True;",satp-invalid)
 | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True; def TEST_CASE_1=True;def NO_SAIL=True;",satp-invalid)
 | ||||
| 
 | ||||
| INIT_TESTS | ||||
| 
 | ||||
|  | ||||
| @ -24,7 +24,7 @@ | ||||
| #include "WALLY-TEST-LIB-32.h" | ||||
| 
 | ||||
| RVTEST_ISA("RV32IAF_Zicsr") | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*A.*F.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;",status-fp-enabled)
 | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*A.*F.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;def NO_SAIL=True;",status-fp-enabled)
 | ||||
| 
 | ||||
| INIT_TESTS | ||||
| 
 | ||||
| @ -77,4 +77,4 @@ fmv.s ft0, ft0 // should be an illegal instruction with fs set to 00 | ||||
| 
 | ||||
| END_TESTS | ||||
| 
 | ||||
| TEST_STACK_AND_DATA | ||||
| TEST_STACK_AND_DATA | ||||
|  | ||||
| @ -24,7 +24,7 @@ | ||||
| #include "WALLY-TEST-LIB-32.h" | ||||
| 
 | ||||
| RVTEST_ISA("RV32I_Zicsr") | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;",status-mie)
 | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;def NO_SAIL=True;",status-mie)
 | ||||
| 
 | ||||
| INIT_TESTS | ||||
| 
 | ||||
|  | ||||
| @ -25,7 +25,7 @@ | ||||
| #include "WALLY-TEST-LIB-32.h" | ||||
| 
 | ||||
| RVTEST_ISA("RV32I_Zicsr") | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;", status-tvm)
 | ||||
| RVTEST_CASE(0,"//check ISA:=regex(.*32.*);check ISA:=regex(.*I.*); def Drvtest_mtrap_routine=True;def TEST_CASE_1=True;def NO_SAIL=True;", status-tvm)
 | ||||
| 
 | ||||
| INIT_TESTS | ||||
| 
 | ||||
| @ -42,4 +42,4 @@ sfence.vma x0, x0 // attempt to call sfence should cause illegal instruction wit | ||||
| 
 | ||||
| END_TESTS | ||||
| 
 | ||||
| TEST_STACK_AND_DATA | ||||
| TEST_STACK_AND_DATA | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user