mirror of
https://github.com/corundum/corundum.git
synced 2025-01-30 08:32:52 +08:00
Increase flow control credit threshold for controlling the transmission of posted and non-posted requests in UltraScale shim
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
parent
6591849fe8
commit
1a4692bf17
@ -869,8 +869,8 @@ end
|
|||||||
|
|
||||||
always @(posedge clk) begin
|
always @(posedge clk) begin
|
||||||
max_payload_size_fc_reg <= 9'd8 << (max_payload_size > 5 ? 5 : max_payload_size);
|
max_payload_size_fc_reg <= 9'd8 << (max_payload_size > 5 ? 5 : max_payload_size);
|
||||||
have_p_credit_reg <= (tx_fc_ph_av > 4) && (tx_fc_pd_av > (max_payload_size_fc_reg << 1));
|
have_p_credit_reg <= (tx_fc_ph_av > 8) && (tx_fc_pd_av > (max_payload_size_fc_reg << 1));
|
||||||
have_np_credit_reg <= tx_fc_nph_av > 4;
|
have_np_credit_reg <= tx_fc_nph_av > 8;
|
||||||
|
|
||||||
frame_reg <= frame_next;
|
frame_reg <= frame_next;
|
||||||
tlp_hdr1_reg <= tlp_hdr1_next;
|
tlp_hdr1_reg <= tlp_hdr1_next;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user