From 0fdbfb87ebaf79be88ee4cd3e59bc8a70117ee3c Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Mon, 5 Dec 2022 17:21:56 -0600 Subject: [PATCH] Removed commented code. --- pipelined/src/cache/cache.sv | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pipelined/src/cache/cache.sv b/pipelined/src/cache/cache.sv index c47c37da..5a2be23e 100644 --- a/pipelined/src/cache/cache.sv +++ b/pipelined/src/cache/cache.sv @@ -98,8 +98,6 @@ module cache #(parameter LINELEN, NUMLINES, NUMWAYS, LOGBWPL, WORDLEN, MUXINTE logic LRUWriteEn; logic SelFlush; logic ResetOrFlushAdr, ResetOrFlushWay; - logic [NUMWAYS-1:0] SelectedWay; - logic [NUMWAYS-1:0] SetValidWay, ClearValidWay, SetDirtyWay, ClearDirtyWay; logic [LINELEN-1:0] ReadDataLine, ReadDataLineCache; logic [$clog2(LINELEN/8) - $clog2(MUXINTERVAL/8) - 1:0] WordOffsetAddr; logic SelBusBuffer; @@ -192,17 +190,6 @@ module cache #(parameter LINELEN, NUMLINES, NUMWAYS, LOGBWPL, WORDLEN, MUXINTE if(NUMWAYS > 1) assign NextFlushWay = {FlushWay[NUMWAYS-2:0], FlushWay[NUMWAYS-1]}; else assign NextFlushWay = FlushWay[NUMWAYS-1]; - ///////////////////////////////////////////////////////////////////////////////////////////// - // Write Path: Write Enables - ///////////////////////////////////////////////////////////////////////////////////////////// -/* -----\/----- EXCLUDED -----\/----- - mux3 #(NUMWAYS) selectwaymux(HitWay, VictimWay, FlushWay, {SelFlush, SetValid}, SelectedWay); - assign SetValidWay = SetValid ? SelectedWay : '0; - assign ClearValidWay = ClearValid ? SelectedWay : '0; - assign SetDirtyWay = SetDirty ? SelectedWay : '0; - assign ClearDirtyWay = ClearDirty ? SelectedWay : '0; - -----/\----- EXCLUDED -----/\----- */ - ///////////////////////////////////////////////////////////////////////////////////////////// // Cache FSM /////////////////////////////////////////////////////////////////////////////////////////////