Skip to content

Commit c39b789

Browse files
committed
fix(pcie-ver): fix return value for display function in ram class
1 parent 097e521 commit c39b789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

comp/ver/pcie/ram.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class ram #(ADDR_WIDTH, MPS, MRRS) extends sv_common_pkg::Driver;
8282
end
8383
endtask
8484

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

0 commit comments

Comments
 (0)