mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Fixed bug with DAPageFault being wrong when HPTW writes not supported.
This commit is contained in:
		
							parent
							
								
									6f53f7943f
								
							
						
					
					
						commit
						730fdb029a
					
				| @ -66,7 +66,7 @@ module spillsupport ( | |||||||
|   mux2 #(`XLEN) pcspillmux(.d0(PCF), .d1(PCPlus2F), .s(SelSpillF), .y(PCFSpill)); |   mux2 #(`XLEN) pcspillmux(.d0(PCF), .d1(PCPlus2F), .s(SelSpillF), .y(PCFSpill)); | ||||||
|    |    | ||||||
|   assign SpillF = &PCF[$clog2(SPILLTHRESHOLD)+1:1]; |   assign SpillF = &PCF[$clog2(SPILLTHRESHOLD)+1:1]; | ||||||
|   assign TakeSpillF = SpillF & ~IFUCacheBusStallF & ~(ITLBMissF | InstrDAPageFaultF); |   assign TakeSpillF = SpillF & ~IFUCacheBusStallF & ~(ITLBMissF | (`HPTW_WRITES_SUPPORTED & InstrDAPageFaultF)); | ||||||
|    |    | ||||||
|   always_ff @(posedge clk) |   always_ff @(posedge clk) | ||||||
|     if (reset)    CurrState <= #1 STATE_READY; |     if (reset)    CurrState <= #1 STATE_READY; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user