mirror of
				https://github.com/openhwgroup/cvw
				synced 2025-02-11 06:05:49 +00:00 
			
		
		
		
	Fix icache for jumping into misaligned instructions
This commit is contained in:
		
							parent
							
								
									2d2092e8ab
								
							
						
					
					
						commit
						a82aa23399
					
				| @ -51,7 +51,7 @@ module icache( | ||||
|     flopr   #(1)  flushDLastCycleFlop(clk, reset, FlushD | (FlushDLastCycle & StallF), FlushDLastCycle); | ||||
|     flopenr #(1)  delayDFlop(clk, reset, ~StallF, DelayF, DelayD); | ||||
|     flopenr #(1)  delaySideDFlop(clk, reset, ~StallF, DelaySideF, DelaySideD); | ||||
|     flopenr #(1)  delayStateFlop(clk, reset, ~StallF, DelayF & ~DelaySideF, DelaySideF); | ||||
|     flopenrc#(1)  delayStateFlop(clk, reset, FlushD, ~StallF, DelayF & ~DelaySideF, DelaySideF); | ||||
|     flopenr #(16) halfInstrFlop(clk, reset, DelayF & ~StallF, MisalignedHalfInstrF, MisalignedHalfInstrD); | ||||
| 
 | ||||
|     // This flop is here to simulate pulling data out of the cache, which is edge-triggered
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user