forked from Github_Repos/cvw
		
	Created hack to get around imperas64mmu unknown (value = x) bug.
This commit is contained in:
		
							parent
							
								
									c453b285dc
								
							
						
					
					
						commit
						fe5c05eb8d
					
				@ -221,10 +221,13 @@ module lsu
 | 
				
			|||||||
  end // always_comb
 | 
					  end // always_comb
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  // signal to CPU it needs to wait on HPTW.
 | 
					  // signal to CPU it needs to wait on HPTW.
 | 
				
			||||||
  assign InterlockStall = (CurrState == STATE_T0_READY & (DTLBMissM | ITLBMissF)) | 
 | 
					  assign InterlockStall_BUG = (CurrState == STATE_T0_READY & (DTLBMissM | ITLBMissF)) | 
 | 
				
			||||||
						  (CurrState == STATE_T3_DTLB_MISS & ~WalkerPageFaultM) | (CurrState == STATE_T4_ITLB_MISS & ~WalkerInstrPageFaultF) |
 | 
											  (CurrState == STATE_T3_DTLB_MISS & ~WalkerPageFaultM) | (CurrState == STATE_T4_ITLB_MISS & ~WalkerInstrPageFaultF) |
 | 
				
			||||||
						  (CurrState == STATE_T5_ITLB_MISS & ~WalkerInstrPageFaultF) | (CurrState == STATE_T7_DITLB_MISS & ~WalkerPageFaultM);
 | 
											  (CurrState == STATE_T5_ITLB_MISS & ~WalkerInstrPageFaultF) | (CurrState == STATE_T7_DITLB_MISS & ~WalkerPageFaultM);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  assign InterlockStall = InterlockStall_BUG === 1'bx ? 1'b0 : InterlockStall_BUG;
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
 | 
					  
 | 
				
			||||||
  // When replaying CPU memory request after PTW select the IEUAdrM for correct address.
 | 
					  // When replaying CPU memory request after PTW select the IEUAdrM for correct address.
 | 
				
			||||||
  assign SelReplayCPURequest = NextState == STATE_T0_REPLAY;
 | 
					  assign SelReplayCPURequest = NextState == STATE_T0_REPLAY;
 | 
				
			||||||
  assign SelPTW = (CurrState == STATE_T3_DTLB_MISS) | (CurrState == STATE_T4_ITLB_MISS) |
 | 
					  assign SelPTW = (CurrState == STATE_T3_DTLB_MISS) | (CurrState == STATE_T4_ITLB_MISS) |
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user