diff --git a/libraries/base/reorder/src/vhdl/reorder_transpose.vhd b/libraries/base/reorder/src/vhdl/reorder_transpose.vhd index 49ebf79a7a20627e1d286391374150277e69e960..198f6bcf4461aed1fbad84e2f07efe42779317de 100644 --- a/libraries/base/reorder/src/vhdl/reorder_transpose.vhd +++ b/libraries/base/reorder/src/vhdl/reorder_transpose.vhd @@ -58,8 +58,8 @@ -- SYNC Period -- The SYNC period (the number of blocks per sync interval) is monitored with a counter. -- In case the number of blocks within a syncperiod is not equal to the specified --- g_nof_blk_per_sync the sequencer will reset and start again when the number of --- received blocksdoes match the g_nof_blk_per_sync. +-- g_reorder_seq.nof_blocks the sequencer will reset and start again when the number of +-- received blocksdoes match the g_reorder_seq.nof_blocks. -- -- Remarks: @@ -75,17 +75,16 @@ USE work.reorder_pkg.ALL; ENTITY reorder_transpose IS GENERIC( - g_sim : BOOLEAN := FALSE; - g_tech_ddr : t_c_tech_ddr; - g_nof_streams : NATURAL := 4; - g_in_dat_w : NATURAL := 8; - g_frame_size_in : NATURAL := 256; - g_frame_size_out : NATURAL := 256; - g_nof_blk_per_sync : NATURAL := 16; - g_use_complex : BOOLEAN := TRUE; - g_ena_pre_transp : BOOLEAN := TRUE; - g_reorder_seq : t_reorder_seq := c_reorder_seq; - g_select_file : STRING := "UNUSED" + g_sim : BOOLEAN := FALSE; + g_tech_ddr : t_c_tech_ddr; + g_nof_streams : NATURAL := 4; + g_in_dat_w : NATURAL := 8; + g_frame_size_in : NATURAL := 256; + g_frame_size_out : NATURAL := 256; + g_use_complex : BOOLEAN := TRUE; + g_ena_pre_transp : BOOLEAN := TRUE; + g_reorder_seq : t_reorder_seq := c_reorder_seq; + g_select_file : STRING := "UNUSED" ); PORT ( mm_rst : IN STD_LOGIC; -- reset synchronous with mm_clk @@ -192,7 +191,7 @@ BEGIN u_sync_check_and_restore : ENTITY dp_lib.dp_sync_checker GENERIC MAP ( - g_nof_blk_per_sync => g_nof_blk_per_sync + g_nof_blk_per_sync => g_reorder_seq.nof_blocks ) PORT MAP ( mm_rst => mm_rst, @@ -354,7 +353,7 @@ BEGIN GENERIC MAP( g_use_src_in => FALSE, g_nof_data => g_frame_size_out, - g_nof_blk_per_sync => g_nof_blk_per_sync, + g_nof_blk_per_sync => g_reorder_seq.nof_blocks, g_empty => 0, g_channel => 0, g_error => 0