Skip to content

Commit

Permalink
fix(pcie-ver): fix return value for display function in ram class
Browse files Browse the repository at this point in the history
  • Loading branch information
radek-isa committed Feb 4, 2025
1 parent 097e521 commit c39b789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comp/ver/pcie/ram.sv
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class ram #(ADDR_WIDTH, MPS, MRRS) extends sv_common_pkg::Driver;
end
endtask

function data_display(string dir, byte unsigned data[], logic [ADDR_WIDTH-1:0] addr, int unsigned tag);
function void data_display(string dir, byte unsigned data[], logic [ADDR_WIDTH-1:0] addr, int unsigned tag);
$timeformat(-9, 3, " ns", 8);
$write("Time: %t: ", $time);
$write("PCIe %s %s : %6d B <= %x (tag %x)\n", inst, dir, data.size(), addr, tag);
Expand Down

0 comments on commit c39b789

Please sign in to comment.