mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	updated tests to reflect non-writeable bits of deleg
This commit is contained in:
		
							parent
							
								
									491ef14b71
								
							
						
					
					
						commit
						2e151b6b08
					
				| @ -108,8 +108,8 @@ | |||||||
| 00000000 | 00000000 | ||||||
| 00001880 # masked out mstatus.MPP = 11, mstatus.MPIE = 1, and mstatus.MIE = 0 | 00001880 # masked out mstatus.MPP = 11, mstatus.MPIE = 1, and mstatus.MIE = 0 | ||||||
| 00000000 | 00000000 | ||||||
| fffff7ff # medeleg after attempted write of all 1's (only some bits are writeable) | 0000b3ff # medeleg after attempted write of all 1's (only some bits are writeable) | ||||||
| ffffffff | 00000000 | ||||||
| 00000222 # mideleg after attempted write of all 1's (only some bits are writeable) | 00000222 # mideleg after attempted write of all 1's (only some bits are writeable) | ||||||
| 00000000 # skipping instruction address fault since they're impossible with compressed instrs enabled | 00000000 # skipping instruction address fault since they're impossible with compressed instrs enabled | ||||||
| 00000001 # mcause from an instruction access fault | 00000001 # mcause from an instruction access fault | ||||||
|  | |||||||
| @ -98,8 +98,8 @@ | |||||||
| 00000000 | 00000000 | ||||||
| 00000800 # masked out mstatus.mpp = 1, mstatus.MPIE = 0, and mstatus.MIE = 0 | 00000800 # masked out mstatus.mpp = 1, mstatus.MPIE = 0, and mstatus.MIE = 0 | ||||||
| 00000000 | 00000000 | ||||||
| fffff7ff # medeleg after attempted write of all 1's (only some bits are writeable) | 0000b3ff # medeleg after attempted write of all 1's (only some bits are writeable) | ||||||
| ffffffff | 00000000 | ||||||
| 00000222 # mideleg after attempted write of all 1's (only some bits are writeable) | 00000222 # mideleg after attempted write of all 1's (only some bits are writeable) | ||||||
| 00000000 | 00000000 | ||||||
| 0000000b # scause from M mode ecall  | 0000000b # scause from M mode ecall  | ||||||
|  | |||||||
| @ -92,8 +92,8 @@ | |||||||
| 00000000 | 00000000 | ||||||
| 00000000 # masked out mstatus.mpp = 0, mstatus.MPIE = 0, and mstatus.MIE = 0 | 00000000 # masked out mstatus.mpp = 0, mstatus.MPIE = 0, and mstatus.MIE = 0 | ||||||
| 00000000 | 00000000 | ||||||
| fffff7ff # medeleg after attempted write of all 1's (only some bits are writeable) | 0000b3ff # medeleg after attempted write of all 1's (only some bits are writeable) | ||||||
| ffffffff | 00000000 | ||||||
| 00000222 # mideleg after attempted write of all 1's (only some bits are writeable) | 00000222 # mideleg after attempted write of all 1's (only some bits are writeable) | ||||||
| 00000000 | 00000000 | ||||||
| 0000000b # scause from M mode ecall  | 0000000b # scause from M mode ecall  | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user