From c39b78903cc3a36ec96720bf148e30034c7ed603 Mon Sep 17 00:00:00 2001 From: Radek Isa Date: Fri, 31 Jan 2025 16:34:00 +0100 Subject: [PATCH] fix(pcie-ver): fix return value for display function in ram class --- comp/ver/pcie/ram.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comp/ver/pcie/ram.sv b/comp/ver/pcie/ram.sv index 83b1991b6..4acff4c00 100644 --- a/comp/ver/pcie/ram.sv +++ b/comp/ver/pcie/ram.sv @@ -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);