Only store on valid transfer in

This commit is contained in:
Alex Forencich 2018-11-26 13:18:38 -08:00
parent 1dcc091201
commit 24f709573c

View File

@ -662,7 +662,7 @@ always @* begin
m_axi_rready_next = m_axis_cc_tready_int_early && input_active_reg;
if (m_axis_cc_tready_int_reg && ((m_axi_rready && m_axi_rvalid) || !input_active_reg)) begin
transfer_in_save = 1'b1;
transfer_in_save = m_axi_rready && m_axi_rvalid;
if (AXIS_PCIE_DATA_WIDTH == 256 && bubble_cycle_reg) begin
// bubble cycle; store input data and update input cycle count