aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib/sim/packet_proc
diff options
context:
space:
mode:
authorAndrew Moch <Andrew.Moch@ni.com>2020-03-19 19:55:53 +0100
committerWade Fife <wade.fife@ettus.com>2020-03-23 08:23:51 -0500
commit5c7237fb407cfccaee205980d97e40ce10768c2a (patch)
treedbdba3dcefff2d3cdeab27fa371c203b3398aa81 /fpga/usrp3/lib/sim/packet_proc
parentb721621237c0cd4150e9310cf443d4fb3a735388 (diff)
downloaduhd-5c7237fb407cfccaee205980d97e40ce10768c2a.tar.gz
uhd-5c7237fb407cfccaee205980d97e40ce10768c2a.tar.bz2
uhd-5c7237fb407cfccaee205980d97e40ce10768c2a.zip
fpga: Fix errors found by linting with vsim
Diffstat (limited to 'fpga/usrp3/lib/sim/packet_proc')
-rw-r--r--fpga/usrp3/lib/sim/packet_proc/chdr_dechunker/chdr_dechunker_tb.sv21
1 files changed, 11 insertions, 10 deletions
diff --git a/fpga/usrp3/lib/sim/packet_proc/chdr_dechunker/chdr_dechunker_tb.sv b/fpga/usrp3/lib/sim/packet_proc/chdr_dechunker/chdr_dechunker_tb.sv
index 38664c20f..f209820df 100644
--- a/fpga/usrp3/lib/sim/packet_proc/chdr_dechunker/chdr_dechunker_tb.sv
+++ b/fpga/usrp3/lib/sim/packet_proc/chdr_dechunker/chdr_dechunker_tb.sv
@@ -29,7 +29,17 @@ module chdr_dechunker_tb();
reg [31:0] o_xfer_count = 0, i_xfer_count = 0;
reg [63:0] o_last_tdata = 0;
-
+ reg [63:0] i_tdata;
+ reg i_tlast;
+ reg i_tvalid;
+ wire i_tready;
+
+ wire [63:0] o_tdata;
+ wire o_tlast, o_tvalid, o_tready;
+
+ reg result;
+
+
always #10 clk = ~clk;
initial $dumpfile("chdr_dechunker_tb.vcd");
@@ -106,15 +116,6 @@ module chdr_dechunker_tb();
#100 reset = 0;
end
- reg [63:0] i_tdata;
- reg i_tlast;
- reg i_tvalid;
- wire i_tready;
-
- wire [63:0] o_tdata;
- wire o_tlast, o_tvalid, o_tready;
-
- reg result;
initial begin
quantum <= 8;
i_tvalid <= 0;