From 549e60bdd1c48d93bfe6a924a6e0df1db61e1d77 Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Fri, 22 Jul 2022 23:00:09 -0700 Subject: [PATCH] Only use avst_empty at end of frame Signed-off-by: Alex Forencich --- fpga/common/rtl/avst2axis.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpga/common/rtl/avst2axis.v b/fpga/common/rtl/avst2axis.v index eb0b6d273..a8727a45c 100644 --- a/fpga/common/rtl/avst2axis.v +++ b/fpga/common/rtl/avst2axis.v @@ -76,7 +76,7 @@ end endgenerate -assign axis_tkeep = KEEP_ENABLE ? {KEEP_WIDTH{1'b1}} >> avst_empty : 0; +assign axis_tkeep = (KEEP_ENABLE && avst_endofpacket) ? ({KEEP_WIDTH{1'b1}} >> avst_empty) : {KEEP_WIDTH{1'b1}}; assign axis_tvalid = avst_valid; assign axis_tlast = avst_endofpacket;