From 70878b2efb5a3e6ad3d02ccae878bd22170d2bd0 Mon Sep 17 00:00:00 2001 From: Pepping <pepping> Date: Thu, 26 Feb 2015 17:34:51 +0000 Subject: [PATCH] Added comments --- .../src/vhdl/apertif_unb1_correlator.vhd | 36 ++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator.vhd b/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator.vhd index e6c4e722de..1ce9301ebc 100644 --- a/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator.vhd +++ b/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator.vhd @@ -490,7 +490,7 @@ BEGIN ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -- Rewire: for each input stream, extract the 4 concatenated BF output streams - -- and assign to its own _2arr dimension + -- and assign them to the interleaved array. ----------------------------------------------------------------------------- p_extract_bf_streams : PROCESS(dp_bsn_align_src_out_arr) BEGIN @@ -524,6 +524,40 @@ BEGIN ); END GENERATE; + --------------------------------------------------------------------------------------- + -- The reorder and interleaving results in the following cross: + -- + -- from BG to + -- or 10GbE filterbank + -- + -- interleaved_arr deinterleaved_arr reinterleaved_in_arr reinterleaved_in_arr + -- + -- 0,1 0 0 0,8 + -- 2,3 1 8 16,1 + -- 4,5 2 16 9,17 + -- 6,7 3 1 2,10 + -- 8,9 4 9 18,3 + -- 10,11 5 17 11,19 + -- 12,13 6 2 4,12 + -- 14,15 7 10 20,5 + -- 16,17 8 18 13,21 + -- 18,19 9 3 6,14 + -- 20,21 10 11 22,7 + -- 22,23 11 19 15,23 + -- 12 4 + -- 13 12 + -- 14 20 + -- 15 5 + -- 16 13 + -- 17 21 + -- 18 6 + -- 19 14 + -- 20 22 + -- 21 7 + -- 22 15 + -- 23 23 + --------------------------------------------------------------------------------------- + p_reorder_array : PROCESS(deinterleaved_arr) BEGIN FOR i IN 0 TO 2*c_nof_bf_modules-1 LOOP -- GitLab