1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-30 08:32:52 +08:00

Only use avst_empty at end of frame

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich 2022-07-22 23:00:09 -07:00
parent 62bec0fe56
commit 549e60bdd1

View File

@ -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;