Skip to content

Commit c710d3d

Browse files
committed
Assign default out_id value within task.
1 parent 97a1dd2 commit c710d3d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

test/golden_memory.sv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,9 @@ package golden_model_pkg;
336336
input logic [AXI_ADDR_WIDTH-1:0] addr,
337337
input logic [2:0] size,
338338
input logic [RES_ID_WIDTH-1:0] id,
339-
inout logic [RES_ID_WIDTH-1:0] out_id=default_id
339+
inout logic [RES_ID_WIDTH-1:0] out_id
340340
);
341+
out_id=default_id;
341342
if (out_id) begin
342343
// Wait for a transaction to be through the memory controller's buffers and return its ID
343344
forever begin

0 commit comments

Comments
 (0)