mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Fixed minor performance bug with CBOZ.
This commit is contained in:
		
							parent
							
								
									c114d3a07d
								
							
						
					
					
						commit
						284ff0ab0b
					
				
							
								
								
									
										3
									
								
								src/cache/cachefsm.sv
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								src/cache/cachefsm.sv
									
									
									
									
										vendored
									
									
								
							@ -172,7 +172,8 @@ module cachefsm import cvw::*; #(parameter cvw_t P,
 | 
				
			|||||||
  assign ClearValid = P.ZICBOM_SUPPORTED & ((CurrState == STATE_READY & CMOp[0] & CacheHit) |
 | 
					  assign ClearValid = P.ZICBOM_SUPPORTED & ((CurrState == STATE_READY & CMOp[0] & CacheHit) |
 | 
				
			||||||
                      (CurrState == STATE_CMO_WRITEBACK & CMOp[2] & CacheBusAck));
 | 
					                      (CurrState == STATE_CMO_WRITEBACK & CMOp[2] & CacheBusAck));
 | 
				
			||||||
  // coverage off -item e 1 -fecexprrow 8
 | 
					  // coverage off -item e 1 -fecexprrow 8
 | 
				
			||||||
  assign LRUWriteEn = (CurrState == STATE_READY & AnyHit) |
 | 
					  assign LRUWriteEn = (CurrState == STATE_READY & (AnyHit | CMOZeroNoEviction)) |
 | 
				
			||||||
 | 
					                      (P.ZICBOZ_SUPPORTED & CurrState == STATE_WRITEBACK & CMOp[3] & CacheBusAck) | 
 | 
				
			||||||
                      (CurrState == STATE_WRITE_LINE) & ~FlushStage;
 | 
					                      (CurrState == STATE_WRITE_LINE) & ~FlushStage;
 | 
				
			||||||
  // exclusion-tag-start: icache flushdirtycontrols
 | 
					  // exclusion-tag-start: icache flushdirtycontrols
 | 
				
			||||||
  assign SetDirty = (CurrState == STATE_READY & (AnyUpdateHit | CMOZeroNoEviction)) |         // exclusion-tag: icache SetDirty  
 | 
					  assign SetDirty = (CurrState == STATE_READY & (AnyUpdateHit | CMOZeroNoEviction)) |         // exclusion-tag: icache SetDirty  
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user