From cb2c0fe027a4c7f2db18ca7c15e1edce50a4d89c Mon Sep 17 00:00:00 2001 From: David Harris Date: Thu, 25 Aug 2022 04:28:25 -0700 Subject: [PATCH] Minor name cleanups --- pipelined/src/lsu/busdp.sv | 4 +--- pipelined/src/lsu/busfsm.sv | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pipelined/src/lsu/busdp.sv b/pipelined/src/lsu/busdp.sv index d06ba89b..e8b182b2 100644 --- a/pipelined/src/lsu/busdp.sv +++ b/pipelined/src/lsu/busdp.sv @@ -73,9 +73,7 @@ module busdp #(parameter WORDSPERLINE, LINELEN, LOGWPL, CACHE_ENABLED) logic [LOGWPL-1:0] WordCountDelayed; logic BufferCaptureEn; - // *** implement flops as an array if feasbile; DLSUBusBuffer might be a problem - // *** better name than DLSUBusBuffer - genvar index; + genvar index; for (index = 0; index < WORDSPERLINE; index++) begin:fetchbuffer logic [WORDSPERLINE-1:0] CaptureWord; assign CaptureWord[index] = BufferCaptureEn & (index == WordCountDelayed); diff --git a/pipelined/src/lsu/busfsm.sv b/pipelined/src/lsu/busfsm.sv index 7b0c63f6..ceae87ab 100644 --- a/pipelined/src/lsu/busfsm.sv +++ b/pipelined/src/lsu/busfsm.sv @@ -153,8 +153,7 @@ module busfsm #(parameter integer WordCountThreshold, endcase end - // Would these be better as always_comb statements or muxes? - assign LSUBurstType = (UnCachedRW) ? 3'b0 : LocalBurstType; // Don't want to use burst when doing an Uncached Access. + assign LSUBurstType = (UnCachedRW) ? 3'b0 : LocalBurstType; // Don't want to use burst when doing an Uncached Access. assign LSUTransComplete = (UnCachedRW) ? LSUBusAck : WordCountFlag & LSUBusAck; // Use SEQ if not doing first word, NONSEQ if doing the first read/write, and IDLE if finishing up. assign LSUTransType = (|WordCount) & ~UnCachedRW ? AHB_SEQ : (LSUBusRead | LSUBusWrite) & (~LSUTransComplete) ? AHB_NONSEQ : AHB_IDLE;