-- Reload the accumlators with 0 or with the valid sample after the sync
nxt_acc_load<=in_sync;
-- Accumulate per symbol stream in the in_data
-- Accumulate per symbol stream in the in_data
gen_acc:FORIIN0TOg_nof_symbols_per_data-1GENERATE
gen_acc:FORIIN0TOg_nof_symbols_per_data-1GENERATE
symbol_arr(I)<=in_data((g_nof_symbols_per_data-I)*g_symbol_w-1DOWNTO(g_nof_symbols_per_data-I-1)*g_symbol_w);-- put big endian MS part t0 at array index 0
symbol_arr(I)<=in_data((g_nof_symbols_per_data-I)*g_symbol_w-1DOWNTO(g_nof_symbols_per_data-I-1)*g_symbol_w);-- put big endian MS part t0 at array index 0
...
@@ -106,7 +101,7 @@ BEGIN
...
@@ -106,7 +101,7 @@ BEGIN
PORTMAP(
PORTMAP(
rst=>rst,
rst=>rst,
clk=>clk,
clk=>clk,
sload=>acc_load,
sload=>in_sync,-- Reload the accumlators with 0 at the sync or with the valid sample after the sync
in_val=>in_val,
in_val=>in_val,
in_dat=>symbol_arr(I),
in_dat=>symbol_arr(I),
out_dat=>acc_arr(I)
out_dat=>acc_arr(I)
...
@@ -117,10 +112,8 @@ BEGIN
...
@@ -117,10 +112,8 @@ BEGIN
no_tree:IFg_nof_symbols_per_data=1GENERATE
no_tree:IFg_nof_symbols_per_data=1GENERATE
-- Capture the current accumulator values at the reload
-- Capture the current accumulator values at the reload