From 5c7237fb407cfccaee205980d97e40ce10768c2a Mon Sep 17 00:00:00 2001 From: Andrew Moch Date: Thu, 19 Mar 2020 19:55:53 +0100 Subject: fpga: Fix errors found by linting with vsim --- fpga/usrp3/lib/sim/axi/axis_width_conv/axis_width_conv_tb.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpga/usrp3/lib/sim/axi/axis_width_conv') diff --git a/fpga/usrp3/lib/sim/axi/axis_width_conv/axis_width_conv_tb.sv b/fpga/usrp3/lib/sim/axi/axis_width_conv/axis_width_conv_tb.sv index 0b1f4414c..7b1310e9c 100644 --- a/fpga/usrp3/lib/sim/axi/axis_width_conv/axis_width_conv_tb.sv +++ b/fpga/usrp3/lib/sim/axi/axis_width_conv/axis_width_conv_tb.sv @@ -172,7 +172,7 @@ module axis_width_conv_tb(); // - words: The size of the packet in words // - inst: The instance number of the module to send to // - gaps: If 1 then insert bubble cycles randomly in the stream - task push_test_pkt(input integer words, input integer inst, input logic gaps); + task automatic push_test_pkt(input integer words, input integer inst, input logic gaps); begin logic [(MAX_IN_WORDS*WORD_W)-1:0] data = 0; logic [MAX_IN_WORDS-1:0] keep = 0; @@ -217,7 +217,7 @@ module axis_width_conv_tb(); // - inst: The instance number of the module to send to // - gaps: If 1 then insert bubble cycles randomly in the stream // - ok: If 1 then all sanity checks have passed - task pull_test_pkt(input integer words, input integer inst, input logic gaps, output logic ok); + task automatic pull_test_pkt(input integer words, input integer inst, input logic gaps, output logic ok); begin logic [(MAX_OUT_WORDS*WORD_W)-1:0] pull_data = 0; logic [MAX_OUT_WORDS-1:0] pull_keep = 0; -- cgit v1.2.3