Skip to content
Snippets Groups Projects
Commit 8dcf412e authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

added comment

parent 4b472bf5
Branches
No related tags found
1 merge request!152Resolve L2SDP-423
...@@ -249,6 +249,7 @@ BEGIN ...@@ -249,6 +249,7 @@ BEGIN
-- Use done to start next packets -- Use done to start next packets
IF r.block_count < c_nof_packets-1 THEN IF r.block_count < c_nof_packets-1 THEN
IF g_statistics_type /= "XST" OR r.crosslet_count < r.nof_crosslets-1 THEN IF g_statistics_type /= "XST" OR r.crosslet_count < r.nof_crosslets-1 THEN
-- For SST, BST and for XST nof_crosslets do:
IF r.block_count MOD c_nof_data_per_step = 0 THEN IF r.block_count MOD c_nof_data_per_step = 0 THEN
v.start_address := r.block_count / c_nof_data_per_step * c_block_size; -- jump to first packet in next block v.start_address := r.block_count / c_nof_data_per_step * c_block_size; -- jump to first packet in next block
ELSE ELSE
...@@ -258,6 +259,7 @@ BEGIN ...@@ -258,6 +259,7 @@ BEGIN
v.block_count := r.block_count + 1; v.block_count := r.block_count + 1;
v.crosslet_count := r.crosslet_count + 1; v.crosslet_count := r.crosslet_count + 1;
ELSE ELSE
-- For XST after nof_crosslets do:
v.crosslet_count := 0; v.crosslet_count := 0;
-- skip block indices for unused XST blocks in this P_sq iteration by setting the block count to the next multiple of N_crosslets_max i.e. 7, 14, 21, etc. -- skip block indices for unused XST blocks in this P_sq iteration by setting the block count to the next multiple of N_crosslets_max i.e. 7, 14, 21, etc.
v.block_count := r.block_count + 1 + (c_sdp_N_crosslets_max - r.nof_crosslets); v.block_count := r.block_count + 1 + (c_sdp_N_crosslets_max - r.nof_crosslets);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment