Skip to content
Snippets Groups Projects

Add debug constant c_transpose_indices_inv and swap transpose order in...

Merged Eric Kooistra requested to merge L2SDP-961b into master
1 file
+ 17
17
Compare changes
  • Side-by-side
  • Inline
@@ -136,6 +136,12 @@ package reorder_pkg is
@@ -136,6 +136,12 @@ package reorder_pkg is
transpose : t_reorder_transpose)
transpose : t_reorder_transpose)
return 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:
-- Alternative implementation using a look up list:
-- func_reorder_transpose_look_up() = func_reorder_transpose()
-- func_reorder_transpose_look_up() = func_reorder_transpose()
function func_reorder_transpose_look_up(nof_blocks_per_packet : natural;
function func_reorder_transpose_look_up(nof_blocks_per_packet : natural;
@@ -144,12 +150,6 @@ package reorder_pkg is
@@ -144,12 +150,6 @@ package reorder_pkg is
transpose : t_reorder_transpose)
transpose : t_reorder_transpose)
return 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
-- Reorder identity
-- . so no reordering, same out as in, but delayed due to dual page
-- . so no reordering, same out as in, but delayed due to dual page
@@ -358,6 +358,17 @@ package body reorder_pkg is
@@ -358,6 +358,17 @@ package body reorder_pkg is
return v;
return v;
end;
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;
function func_reorder_transpose_look_up(nof_blocks_per_packet : natural;
nof_data_per_block : natural;
nof_data_per_block : natural;
nof_words_per_data : natural;
nof_words_per_data : natural;
@@ -388,17 +399,6 @@ package body reorder_pkg is
@@ -388,17 +399,6 @@ package body reorder_pkg is
return v;
return v;
end;
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;
function func_reorder_identity(nof_ch_per_packet : natural;
identity : t_reorder_identity)
identity : t_reorder_identity)
return t_reorder_identity is
return t_reorder_identity is
Loading