From a21d731834951fab4b2c4344453d7a255892a38f Mon Sep 17 00:00:00 2001 From: slmnemo Date: Mon, 13 Jun 2022 12:26:08 -0700 Subject: [PATCH] Added more comments --- pipelined/src/lsu/busfsm.sv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipelined/src/lsu/busfsm.sv b/pipelined/src/lsu/busfsm.sv index 7207d0e8c..225f2de6d 100644 --- a/pipelined/src/lsu/busfsm.sv +++ b/pipelined/src/lsu/busfsm.sv @@ -136,7 +136,7 @@ module busfsm #(parameter integer WordCountThreshold, always_comb begin case(WordCountThreshold) - 1: LocalBurstType = 3'b000; + 0: LocalBurstType = 3'b000; 3: LocalBurstType = 3'b011; // INCR4 7: LocalBurstType = 3'b101; // INCR8 15: LocalBurstType = 3'b111; // INCR16 @@ -144,6 +144,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 LSUTransComplete = (UnCachedRW) ? LSUBusAck : WordCountFlag & LSUBusAck; // Use SEQ if not doing first word, NONSEQ if doing the first read/write, and IDLE if finishing up.