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

Fix cmac_pad frame truncation bug

This commit is contained in:
Alex Forencich 2020-04-22 23:23:34 -07:00
parent 6588d71d64
commit 31cec8d0c1

View File

@ -95,7 +95,7 @@ generate
end
endgenerate
assign m_axis_tkeep = frame_reg ? s_axis_tkeep : {60{1'b1}};
assign m_axis_tkeep = (frame_reg ? {KEEP_WIDTH{1'b0}} : {60{1'b1}}) | s_axis_tkeep;
assign m_axis_tvalid = s_axis_tvalid;
assign s_axis_tready = m_axis_tready;
assign m_axis_tlast = s_axis_tlast;