Added signal to monitor HBURST and comments for each burst in busdp

This commit is contained in:
slmnemo 2022-05-26 13:35:49 -07:00
parent 80965f953c
commit ae460eccd4
2 changed files with 5 additions and 4 deletions

View File

@ -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/HRDATA
add wave -hex /testbench/dut/core/ebu/HWRITE add wave -hex /testbench/dut/core/ebu/HWRITE
add wave -hex /testbench/dut/core/ebu/HWDATA 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 -hex /testbench/dut/core/ebu/CaptureDataM
add wave -divider add wave -divider

View File

@ -70,10 +70,10 @@ module busdp #(parameter WORDSPERLINE, LINELEN, LOGWPL, CACHE_ENABLED)
always_comb begin always_comb begin
case(WORDSPERLINE) case(WORDSPERLINE)
4: LSUBurstType = 3'b010; 4: LSUBurstType = 3'b010; // WRAP4
8: LSUBurstType = 3'b100; 8: LSUBurstType = 3'b100; // WRAP8
16: LSUBurstType = 3'b110; 16: LSUBurstType = 3'b110; // WRAP16
default: LSUBurstType = 3'b000; default: LSUBurstType = 3'b000; // No Burst
endcase endcase
end end