From 4d58f673b28535624a9db714c43711f00ab9ae6c Mon Sep 17 00:00:00 2001 From: Jarred Allen Date: Wed, 14 Apr 2021 23:14:59 -0400 Subject: [PATCH] Add a comment to explain a detail --- wally-pipelined/src/ifu/icache.sv | 1 + 1 file changed, 1 insertion(+) diff --git a/wally-pipelined/src/ifu/icache.sv b/wally-pipelined/src/ifu/icache.sv index 31d16b8a9..f6440fcfb 100644 --- a/wally-pipelined/src/ifu/icache.sv +++ b/wally-pipelined/src/ifu/icache.sv @@ -68,6 +68,7 @@ module icache( rodirectmappedmem #(.LINESIZE(ICACHELINESIZE), .NUMLINES(ICACHENUMLINES), .WORDSIZE(`XLEN)) cachemem( .*, + // Stall it if the pipeline is stalled, unless we're stalling it and we're ending our stall .stall(StallF && (~ICacheStallF || ~EndFetchState)), .flush(FlushMem), .ReadUpperPAdr(ICacheMemReadUpperPAdr),