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

Unconditional increment length

This commit is contained in:
Alex Forencich 2015-10-20 16:04:47 -07:00
parent 2a59c7db1c
commit 475f897a31

View File

@ -355,6 +355,8 @@ always @* begin
update_crc = 1;
input_axis_tready_next = 1;
frame_ptr_next = frame_ptr_reg + 8;
xgmii_txd_next = input_tdata_reg;
xgmii_txc_next = 8'b00000000;
@ -362,7 +364,6 @@ always @* begin
input_tkeep_next = input_axis_tkeep;
if (input_axis_tvalid) begin
frame_ptr_next = frame_ptr_reg + 8;
if (input_axis_tlast) begin
frame_ptr_next = frame_ptr_reg + keep2count(input_axis_tkeep);
input_axis_tready_next = 0;