forked from Github_Repos/cvw
		
	I think this version of csri matches what is required in the spec. ExtIntS should not be written into the SEIP register bit.
This commit is contained in:
		
							parent
							
								
									4ba0d1d662
								
							
						
					
					
						commit
						61c714ebe6
					
				@ -58,7 +58,7 @@ module csri #(parameter
 | 
			
		||||
  always_comb begin
 | 
			
		||||
    IntInM     = 0; 
 | 
			
		||||
    IntInM[11] = ExtIntM;                               // MEIP
 | 
			
		||||
    IntInM[9]  = ExtIntS | (ExtIntM & MIDELEG_REGW[9]); // SEIP
 | 
			
		||||
    IntInM[9]  = (ExtIntM & MIDELEG_REGW[9]);           // SEIP
 | 
			
		||||
    IntInM[7]  = TimerIntM;                             // MTIP
 | 
			
		||||
    IntInM[5]  = TimerIntM &  MIDELEG_REGW[5];          // STIP
 | 
			
		||||
    IntInM[3]  = SwIntM;                                // MSIP
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user