aboutsummaryrefslogtreecommitdiffstats
path: root/fpga/usrp3/lib
diff options
context:
space:
mode:
authorWade Fife <wade.fife@ettus.com>2020-10-13 14:11:20 -0500
committerWade Fife <wade.fife@ettus.com>2020-10-20 21:10:16 -0500
commita51ccbba88d6a3f3012b84a1eed55725d41c7fd7 (patch)
tree61c32525f541b7c18f819262a088c881bdfe2d8c /fpga/usrp3/lib
parentd5a1259526ad4b729b19bc885ddfc09228087788 (diff)
downloaduhd-a51ccbba88d6a3f3012b84a1eed55725d41c7fd7.tar.gz
uhd-a51ccbba88d6a3f3012b84a1eed55725d41c7fd7.tar.bz2
uhd-a51ccbba88d6a3f3012b84a1eed55725d41c7fd7.zip
fpga: lib: Fix axis_strm_monitor parameters
Diffstat (limited to 'fpga/usrp3/lib')
-rw-r--r--fpga/usrp3/lib/fifo/axis_strm_monitor.v4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpga/usrp3/lib/fifo/axis_strm_monitor.v b/fpga/usrp3/lib/fifo/axis_strm_monitor.v
index 68e4cf5bf..2bd239d64 100644
--- a/fpga/usrp3/lib/fifo/axis_strm_monitor.v
+++ b/fpga/usrp3/lib/fifo/axis_strm_monitor.v
@@ -57,7 +57,7 @@ module axis_strm_monitor #(
end
end
- generate if (PKT_LENGTH_EN == 0) begin
+ generate if (PKT_LENGTH_EN) begin
// Count the number of lines (transfers) in a packet
always @(posedge clk) begin
if (reset | eop) begin
@@ -71,7 +71,7 @@ module axis_strm_monitor #(
always @(*) pkt_length <= 16'd0;
end endgenerate
- generate if (PKT_LENGTH_EN == 0) begin
+ generate if (PKT_CHKSUM_EN) begin
// Compute the XOR checksum of the lines in a packet
reg [WIDTH-1:0] chksum_prev = {WIDTH{1'b0}};
always @(posedge clk) begin