RC channel backpressure fix
This commit is contained in:
parent
263bb5c670
commit
fac972bfe6
@ -687,10 +687,11 @@ always @* begin
|
|||||||
tlp_state_next = TLP_STATE_WAIT_END;
|
tlp_state_next = TLP_STATE_WAIT_END;
|
||||||
end
|
end
|
||||||
end else begin
|
end else begin
|
||||||
|
s_axis_rc_tready_next = 1'b0;
|
||||||
tlp_state_next = TLP_STATE_IDLE;
|
tlp_state_next = TLP_STATE_IDLE;
|
||||||
end
|
end
|
||||||
end else begin
|
end else begin
|
||||||
s_axis_rc_tready_next = !m_axi_awvalid || m_axi_awready;
|
s_axis_rc_tready_next = 1'b1;
|
||||||
|
|
||||||
if (s_axis_rc_tready && s_axis_rc_tvalid) begin
|
if (s_axis_rc_tready && s_axis_rc_tvalid) begin
|
||||||
// header fields
|
// header fields
|
||||||
@ -723,13 +724,15 @@ always @* begin
|
|||||||
final_cpl_next = 1'b1;
|
final_cpl_next = 1'b1;
|
||||||
end
|
end
|
||||||
|
|
||||||
s_axis_rc_tready_next = 1'b0;
|
|
||||||
if (s_axis_rc_tlast) begin
|
if (s_axis_rc_tlast) begin
|
||||||
|
s_axis_rc_tready_next = !m_axi_awvalid || m_axi_awready;
|
||||||
tlp_state_next = TLP_STATE_IDLE;
|
tlp_state_next = TLP_STATE_IDLE;
|
||||||
end else begin
|
end else begin
|
||||||
|
s_axis_rc_tready_next = 1'b0;
|
||||||
tlp_state_next = TLP_STATE_HEADER;
|
tlp_state_next = TLP_STATE_HEADER;
|
||||||
end
|
end
|
||||||
end else begin
|
end else begin
|
||||||
|
s_axis_rc_tready_next = !m_axi_awvalid || m_axi_awready;
|
||||||
tlp_state_next = TLP_STATE_IDLE;
|
tlp_state_next = TLP_STATE_IDLE;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user