minor update

This commit is contained in:
Blaise Tine
2021-02-22 04:04:13 -08:00
parent f63ef8110c
commit 1346d64ba9
2 changed files with 3 additions and 3 deletions

View File

@@ -4,9 +4,9 @@
`include "VX_define.vh" `include "VX_define.vh"
task print_ex_type ( task print_ex_type (
input [`EX_BITS-1:0] ex input [`EX_BITS-1:0] ex_type
); );
case (ex) case (ex_type)
`EX_ALU: $write("ALU"); `EX_ALU: $write("ALU");
`EX_LSU: $write("LSU"); `EX_LSU: $write("LSU");
`EX_CSR: $write("CSR"); `EX_CSR: $write("CSR");

View File

@@ -222,7 +222,7 @@ module VX_shared_mem #(
`ifdef DBG_PRINT_CACHE_BANK `ifdef DBG_PRINT_CACHE_BANK
always @(posedge clk) begin always @(posedge clk) begin
if (crsq_full) begin if (!crsq_in_ready) begin
$display("%t: cache%0d pipeline-stall", $time, CACHE_ID); $display("%t: cache%0d pipeline-stall", $time, CACHE_ID);
end end
if (creq_pop) begin if (creq_pop) begin