Skip to content

Commit

Permalink
Update S10 and P-tile models based on RX completion buffer size test …
Browse files Browse the repository at this point in the history
…results

Signed-off-by: Alex Forencich <[email protected]>
  • Loading branch information
alexforencich committed Jun 22, 2023
1 parent d2a20a0 commit c5d5405
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cocotbext/pcie/intel/ptile/ptile_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,8 @@ def __init__(self,
self.rx_queue = Queue()

if port_num == 0:
# UG lists 1144 CPLH and 1444 "256 bit" CPLD
# Tests confirm >=1024 CPLH and >=2888 CPLD
self.rx_buf_cplh_fc_limit = 1144
self.rx_buf_cpld_fc_limit = 1444 * 2
elif port_num == 1:
Expand Down
4 changes: 3 additions & 1 deletion cocotbext/pcie/intel/s10/s10_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,10 @@ def __init__(self,

self.rx_queue = Queue()

# UG lists 770 CPLH and 2500 CPLD
# Tests confirm ~770 CPLH and ~2432 CPLD
self.rx_buf_cplh_fc_limit = 770
self.rx_buf_cpld_fc_limit = 2500
self.rx_buf_cpld_fc_limit = 2432
self.rx_buf_cplh_fc_count = 0
self.rx_buf_cpld_fc_count = 0

Expand Down

0 comments on commit c5d5405

Please sign in to comment.