mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Fixed interger divide so it can be interrupted.
This commit is contained in:
		
							parent
							
								
									e06fb923a1
								
							
						
					
					
						commit
						f870b8b3d3
					
				@ -62,7 +62,7 @@ module hazard(
 | 
			
		||||
 | 
			
		||||
  assign StallFCause = CSRWritePendingDEM & ~(TrapM | RetM | BPPredWrongE);
 | 
			
		||||
  assign StallDCause = (LoadStallD | StoreStallD | MDUStallD | CSRRdStallD | FPUStallD | FStallD) & ~(TrapM | RetM | BPPredWrongE);    // stall in decode if instruction is a load/mul/csr dependent on previous
 | 
			
		||||
  assign StallECause = DivBusyE | FDivBusyE;
 | 
			
		||||
  assign StallECause = (DivBusyE | FDivBusyE) & ~(TrapM);
 | 
			
		||||
  assign StallMCause = 0; 
 | 
			
		||||
  assign StallWCause = LSUStall | IFUStallF;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user