Skip to content
GitLab
Explore
Sign in
Register
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
e9b00721
Commit
e9b00721
authored
1 year ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Move overloaded func_reorder_transpose() to more logical place.
parent
ae00769e
No related branches found
Branches containing commit
No related tags found
1 merge request
!350
Add debug constant c_transpose_indices_inv and swap transpose order in...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/base/reorder/src/vhdl/reorder_pkg.vhd
+17
-17
17 additions, 17 deletions
libraries/base/reorder/src/vhdl/reorder_pkg.vhd
with
17 additions
and
17 deletions
libraries/base/reorder/src/vhdl/reorder_pkg.vhd
+
17
−
17
View file @
e9b00721
...
...
@@ -136,6 +136,12 @@ package reorder_pkg is
transpose
:
t_reorder_transpose
)
return
t_reorder_transpose
;
-- Variant with nof_words_per_data = 1
function
func_reorder_transpose
(
nof_blocks_per_packet
:
natural
;
nof_data_per_block
:
natural
;
transpose
:
t_reorder_transpose
)
return
t_reorder_transpose
;
-- Alternative implementation using a look up list:
-- func_reorder_transpose_look_up() = func_reorder_transpose()
function
func_reorder_transpose_look_up
(
nof_blocks_per_packet
:
natural
;
...
...
@@ -144,12 +150,6 @@ package reorder_pkg is
transpose
:
t_reorder_transpose
)
return
t_reorder_transpose
;
-- Variant with nof_words_per_data = 1
function
func_reorder_transpose
(
nof_blocks_per_packet
:
natural
;
nof_data_per_block
:
natural
;
transpose
:
t_reorder_transpose
)
return
t_reorder_transpose
;
-----------------------------------------------------------------------------
-- Reorder identity
-- . so no reordering, same out as in, but delayed due to dual page
...
...
@@ -358,6 +358,17 @@ package body reorder_pkg is
return
v
;
end
;
function
func_reorder_transpose
(
nof_blocks_per_packet
:
natural
;
nof_data_per_block
:
natural
;
transpose
:
t_reorder_transpose
)
return
t_reorder_transpose
is
begin
return
func_reorder_transpose
(
nof_blocks_per_packet
,
nof_data_per_block
,
1
,
transpose
);
end
;
function
func_reorder_transpose_look_up
(
nof_blocks_per_packet
:
natural
;
nof_data_per_block
:
natural
;
nof_words_per_data
:
natural
;
...
...
@@ -388,17 +399,6 @@ package body reorder_pkg is
return
v
;
end
;
function
func_reorder_transpose
(
nof_blocks_per_packet
:
natural
;
nof_data_per_block
:
natural
;
transpose
:
t_reorder_transpose
)
return
t_reorder_transpose
is
begin
return
func_reorder_transpose
(
nof_blocks_per_packet
,
nof_data_per_block
,
1
,
transpose
);
end
;
function
func_reorder_identity
(
nof_ch_per_packet
:
natural
;
identity
:
t_reorder_identity
)
return
t_reorder_identity
is
...
...
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