From 89a30e7e37bba78b303e0c6253ed98e9b8ddf55c Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Fri, 16 Dec 2022 16:37:45 -0600 Subject: [PATCH] Further cleanfsm cleanup. --- pipelined/src/cache/cachefsm.sv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pipelined/src/cache/cachefsm.sv b/pipelined/src/cache/cachefsm.sv index 77246d27..3fc6c4c1 100644 --- a/pipelined/src/cache/cachefsm.sv +++ b/pipelined/src/cache/cachefsm.sv @@ -178,8 +178,7 @@ module cachefsm (CurrState == STATE_MISS_EVICT_DIRTY & ~CacheBusAck) | (CurrState == STATE_FLUSH_WRITE_BACK & ~CacheBusAck); // **** can this be simplified? - assign SelAdr = (CurrState == STATE_READY & ((StoreAMO) & CacheHit)) | // changes if store delay hazard removed - (CurrState == STATE_READY & (AnyMiss)) | + assign SelAdr = (CurrState == STATE_READY & (StoreAMO | AnyMiss)) | // changes if store delay hazard removed (CurrState == STATE_MISS_FETCH_WDV) | (CurrState == STATE_MISS_EVICT_DIRTY) | (CurrState == STATE_MISS_WRITE_CACHE_LINE) |