Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
b6b76b9a
Commit
b6b76b9a
authored
1 year ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Rename first_destination into first_destinations.
parent
b2b32bd3
No related branches found
Branches containing commit
No related tags found
1 merge request
!359
Clarify g_nof_destinations_max design revision parameter and package constants...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/libraries/sdp/src/vhdl/sdp_bdo_pkg.vhd
+10
-10
10 additions, 10 deletions
applications/lofar2/libraries/sdp/src/vhdl/sdp_bdo_pkg.vhd
with
10 additions
and
10 deletions
applications/lofar2/libraries/sdp/src/vhdl/sdp_bdo_pkg.vhd
+
10
−
10
View file @
b6b76b9a
...
@@ -52,7 +52,7 @@ package sdp_bdo_pkg is
...
@@ -52,7 +52,7 @@ package sdp_bdo_pkg is
-- blocks represent beamlet time samples that have to be kept together per
-- blocks represent beamlet time samples that have to be kept together per
-- destination. The beamlets are distributed to the different destinations
-- destination. The beamlets are distributed to the different destinations
-- based on their beamlet index as defined by
-- based on their beamlet index as defined by
-- func_sdp_bdo_nof_beamlets_per_block_first_destination_look_up_table().
-- func_sdp_bdo_nof_beamlets_per_block_first_destination
s
_look_up_table().
-- The minimum value is c_sdp_cep_nof_blocks_per_packet = 4 to fill a jumbo
-- The minimum value is c_sdp_cep_nof_blocks_per_packet = 4 to fill a jumbo
-- frame when nof_destinations = 1.
-- frame when nof_destinations = 1.
-- The maximum value is a balance between having sufficiently large packets
-- The maximum value is a balance between having sufficiently large packets
...
@@ -97,9 +97,9 @@ package sdp_bdo_pkg is
...
@@ -97,9 +97,9 @@ package sdp_bdo_pkg is
-- . Look up table arrays for: t_natural_arr(1 to c_nof_destinations_max)
-- . Look up table arrays for: t_natural_arr(1 to c_nof_destinations_max)
function
func_sdp_bdo_reorder_nof_blocks_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_reorder_nof_blocks_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_reorder_nof_ch_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_reorder_nof_ch_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_nof_beamlets_per_block_first_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_nof_beamlets_per_block_first_destination
s
_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_nof_beamlets_per_block_last_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_nof_beamlets_per_block_last_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_nof_ch_per_packet_first_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_nof_ch_per_packet_first_destination
s
_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_nof_ch_per_packet_last_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
function
func_sdp_bdo_nof_ch_per_packet_last_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
;
-- Look up table matrix for:
-- Look up table matrix for:
...
@@ -160,7 +160,7 @@ package body sdp_bdo_pkg is
...
@@ -160,7 +160,7 @@ package body sdp_bdo_pkg is
return
v_arr
;
return
v_arr
;
end
func_sdp_bdo_reorder_nof_ch_look_up_table
;
end
func_sdp_bdo_reorder_nof_ch_look_up_table
;
function
func_sdp_bdo_nof_beamlets_per_block_first_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
is
function
func_sdp_bdo_nof_beamlets_per_block_first_destination
s
_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
is
variable
v_first_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
);
variable
v_first_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
);
begin
begin
-- Determine nof_beamlets_per_block for the first 1:DN-1 destinations, as
-- Determine nof_beamlets_per_block for the first 1:DN-1 destinations, as
...
@@ -173,11 +173,11 @@ package body sdp_bdo_pkg is
...
@@ -173,11 +173,11 @@ package body sdp_bdo_pkg is
v_first_arr
(
DN
)
:
=
ceil_div
(
c_sdp_S_sub_bf
,
DN
);
v_first_arr
(
DN
)
:
=
ceil_div
(
c_sdp_S_sub_bf
,
DN
);
end
loop
;
end
loop
;
return
v_first_arr
;
return
v_first_arr
;
end
func_sdp_bdo_nof_beamlets_per_block_first_destination_look_up_table
;
end
func_sdp_bdo_nof_beamlets_per_block_first_destination
s
_look_up_table
;
function
func_sdp_bdo_nof_beamlets_per_block_last_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
is
function
func_sdp_bdo_nof_beamlets_per_block_last_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
is
variable
v_first_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
variable
v_first_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
func_sdp_bdo_nof_beamlets_per_block_first_destination_look_up_table
(
c_nof_destinations_max
);
func_sdp_bdo_nof_beamlets_per_block_first_destination
s
_look_up_table
(
c_nof_destinations_max
);
variable
v_last_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
);
variable
v_last_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
);
begin
begin
-- Determine remaining nof_beamlets_per_block for the last destination
-- Determine remaining nof_beamlets_per_block for the last destination
...
@@ -203,11 +203,11 @@ package body sdp_bdo_pkg is
...
@@ -203,11 +203,11 @@ package body sdp_bdo_pkg is
return
v_last_arr
;
return
v_last_arr
;
end
func_sdp_bdo_nof_beamlets_per_block_last_destination_look_up_table
;
end
func_sdp_bdo_nof_beamlets_per_block_last_destination_look_up_table
;
function
func_sdp_bdo_nof_ch_per_packet_first_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
is
function
func_sdp_bdo_nof_ch_per_packet_first_destination
s
_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
is
constant
c_nof_blocks_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
constant
c_nof_blocks_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
func_sdp_bdo_reorder_nof_blocks_look_up_table
(
c_nof_destinations_max
);
func_sdp_bdo_reorder_nof_blocks_look_up_table
(
c_nof_destinations_max
);
constant
c_nof_beamlets_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
constant
c_nof_beamlets_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
func_sdp_bdo_nof_beamlets_per_block_first_destination_look_up_table
(
c_nof_destinations_max
);
func_sdp_bdo_nof_beamlets_per_block_first_destination
s
_look_up_table
(
c_nof_destinations_max
);
variable
v_len_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
);
variable
v_len_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
);
begin
begin
-- Determine nof_ch per packet for the first 1:DN-1 destinations, as
-- Determine nof_ch per packet for the first 1:DN-1 destinations, as
...
@@ -221,7 +221,7 @@ package body sdp_bdo_pkg is
...
@@ -221,7 +221,7 @@ package body sdp_bdo_pkg is
v_len_arr
(
DN
)
:
=
c_nof_blocks_arr
(
DN
)
*
c_nof_beamlets_arr
(
DN
);
v_len_arr
(
DN
)
:
=
c_nof_blocks_arr
(
DN
)
*
c_nof_beamlets_arr
(
DN
);
end
loop
;
end
loop
;
return
v_len_arr
;
return
v_len_arr
;
end
func_sdp_bdo_nof_ch_per_packet_first_destination_look_up_table
;
end
func_sdp_bdo_nof_ch_per_packet_first_destination
s
_look_up_table
;
function
func_sdp_bdo_nof_ch_per_packet_last_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
is
function
func_sdp_bdo_nof_ch_per_packet_last_destination_look_up_table
(
c_nof_destinations_max
:
natural
)
return
t_natural_arr
is
constant
c_nof_blocks_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
constant
c_nof_blocks_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
...
@@ -245,7 +245,7 @@ package body sdp_bdo_pkg is
...
@@ -245,7 +245,7 @@ package body sdp_bdo_pkg is
function
func_sdp_bdo_beamlet_index_per_destination_look_up_matrix
(
c_nof_destinations_max
:
natural
)
return
t_natural_matrix
is
function
func_sdp_bdo_beamlet_index_per_destination_look_up_matrix
(
c_nof_destinations_max
:
natural
)
return
t_natural_matrix
is
constant
c_len_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
constant
c_len_arr
:
t_natural_arr
(
1
to
c_nof_destinations_max
)
:
=
func_sdp_bdo_nof_beamlets_per_block_first_destination_look_up_table
(
c_nof_destinations_max
);
func_sdp_bdo_nof_beamlets_per_block_first_destination
s
_look_up_table
(
c_nof_destinations_max
);
variable
v_index_mat
:
t_natural_matrix
(
1
to
c_nof_destinations_max
,
variable
v_index_mat
:
t_natural_matrix
(
1
to
c_nof_destinations_max
,
0
to
c_nof_destinations_max
-
1
);
0
to
c_nof_destinations_max
-
1
);
variable
v_beamlet_index
:
natural
;
variable
v_beamlet_index
:
natural
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment