mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Possible fix to AHB burst eviction bug. If HREADY went low during a burst seq the next data phase would only last 1 cycle.
This commit is contained in:
		
							parent
							
								
									4115087b30
								
							
						
					
					
						commit
						3e540a3ca3
					
				| @ -274,7 +274,7 @@ module lsu ( | ||||
|       mux2 #(`XLEN) LSUHWDATAMux(.d0(ReadDataWordM[`XLEN-1:0]), .d1(LSUWriteDataM[`XLEN-1:0]), | ||||
|         .s(SelUncachedAdr), .y(LSUHWDATA_noDELAY)); | ||||
| 
 | ||||
|       flop #(`XLEN) wdreg(clk, LSUHWDATA_noDELAY, LSUHWDATA); // delay HWDATA by 1 cycle per spec; *** assumes AHBW = XLEN
 | ||||
|       flopen #(`XLEN) wdreg(clk, LSUHREADY, LSUHWDATA_noDELAY, LSUHWDATA); // delay HWDATA by 1 cycle per spec; *** assumes AHBW = XLEN
 | ||||
| 
 | ||||
|       // *** bummer need a second byte mask for bus as it is XLEN rather than LLEN.
 | ||||
|       // probably can merge by muxing LSUPAdrM's LLEN/8-1 index bit based on HTRANS being != 0.
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user