mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Fixed missing assign when SSTC is not supported
This commit is contained in:
		
							parent
							
								
									8895114152
								
							
						
					
					
						commit
						fe161f6bde
					
				| @ -107,7 +107,7 @@ module csrs #(parameter | |||||||
|       flopenr #(`XLEN) STIMECMPreg(clk, reset, WriteSTIMECMPM, CSRWriteValM, STIMECMP_REGW[31:0]); |       flopenr #(`XLEN) STIMECMPreg(clk, reset, WriteSTIMECMPM, CSRWriteValM, STIMECMP_REGW[31:0]); | ||||||
|       flopenr #(`XLEN) STIMECMPHreg(clk, reset, WriteSTIMECMPHM, CSRWriteValM, STIMECMP_REGW[63:32]); |       flopenr #(`XLEN) STIMECMPHreg(clk, reset, WriteSTIMECMPHM, CSRWriteValM, STIMECMP_REGW[63:32]); | ||||||
|     end |     end | ||||||
|   end else STIMECMP_REGW = 0; |   end else assign STIMECMP_REGW = 0; | ||||||
| 
 | 
 | ||||||
|   // Supervisor timer interrupt logic
 |   // Supervisor timer interrupt logic
 | ||||||
|   // Spec is a bit peculiar - Machine timer interrupts are produced in CLINT, while Supervisor timer interrupts are in CSRs
 |   // Spec is a bit peculiar - Machine timer interrupts are produced in CLINT, while Supervisor timer interrupts are in CSRs
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user