mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Cover write to TIME CSR
This commit is contained in:
		
							parent
							
								
									78a9edd40a
								
							
						
					
					
						commit
						85404bbc5b
					
				| @ -38,6 +38,9 @@ main: | ||||
|     csrrw t1, menvcfg, t0 | ||||
|     csrrw t2, senvcfg, t0 | ||||
| 
 | ||||
|     # Test writing to TIME CSR | ||||
|     csrw time, zero | ||||
| 
 | ||||
|     # testing FIOM with different privilege modes | ||||
|     # setting environment config (to both 1 and 0) in each privilege mode | ||||
|     csrsi menvcfg, 1 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user