From 80fc716cd72ad82f8969b9dde7576b001a1ba0f8 Mon Sep 17 00:00:00 2001 From: slmnemo Date: Thu, 26 May 2022 13:35:49 -0700 Subject: [PATCH] Added signal to monitor HBURST and comments for each burst in busdp --- pipelined/regression/wave-dos/ahb-muldiv.do | 1 + pipelined/src/lsu/busdp.sv | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pipelined/regression/wave-dos/ahb-muldiv.do b/pipelined/regression/wave-dos/ahb-muldiv.do index 98df30a7..bd212f77 100644 --- a/pipelined/regression/wave-dos/ahb-muldiv.do +++ b/pipelined/regression/wave-dos/ahb-muldiv.do @@ -67,6 +67,7 @@ add wave -hex /testbench/dut/core/ebu/HTRANS add wave -hex /testbench/dut/core/ebu/HRDATA add wave -hex /testbench/dut/core/ebu/HWRITE add wave -hex /testbench/dut/core/ebu/HWDATA +add wave -hex /testbench/dut/core/ebu/HBURST add wave -hex /testbench/dut/core/ebu/CaptureDataM add wave -divider diff --git a/pipelined/src/lsu/busdp.sv b/pipelined/src/lsu/busdp.sv index c64131e3..7b837cea 100644 --- a/pipelined/src/lsu/busdp.sv +++ b/pipelined/src/lsu/busdp.sv @@ -70,10 +70,10 @@ module busdp #(parameter WORDSPERLINE, LINELEN, LOGWPL, CACHE_ENABLED) always_comb begin case(WORDSPERLINE) - 4: LSUBurstType = 3'b010; - 8: LSUBurstType = 3'b100; - 16: LSUBurstType = 3'b110; - default: LSUBurstType = 3'b000; + 4: LSUBurstType = 3'b010; // WRAP4 + 8: LSUBurstType = 3'b100; // WRAP8 + 16: LSUBurstType = 3'b110; // WRAP16 + default: LSUBurstType = 3'b000; // No Burst endcase end