From 136fd6416531ef7d19e4ceb7493f5ab9ce5dc761 Mon Sep 17 00:00:00 2001
From: Pepping <pepping>
Date: Thu, 1 Dec 2016 08:42:34 +0000
Subject: [PATCH] Changed index of chip_id arrange

---
 .../src/vhdl/apertif_unb1_correlator_vis_offload.vhd            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator_vis_offload.vhd b/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator_vis_offload.vhd
index 8060edc42f..f81eb94a53 100644
--- a/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator_vis_offload.vhd
+++ b/applications/apertif/designs/apertif_unb1_correlator/src/vhdl/apertif_unb1_correlator_vis_offload.vhd
@@ -220,7 +220,7 @@ BEGIN
     -- ..
     -- unb 15, FN 0 : 16384,16386,16388
     -- unb 15, BN 3 : 17153,17155,17157 
-    hdr_fields_in_arr(i)(field_hi(c_hdr_field_arr, "id_beamlet_index"   ) DOWNTO field_lo(c_hdr_field_arr, "id_beamlet_index"  )) <= "00" & id_backplane(3 DOWNTO 0) & id_chip(1 DOWNTO 0) & snk_in.channel(12 DOWNTO 6) & id_chip(0);
+    hdr_fields_in_arr(i)(field_hi(c_hdr_field_arr, "id_beamlet_index"   ) DOWNTO field_lo(c_hdr_field_arr, "id_beamlet_index"  )) <= "00" & id_backplane(3 DOWNTO 0) & id_chip(2 DOWNTO 1) & snk_in.channel(12 DOWNTO 6) & id_chip(0);
 
 
     -- channel index: We're connecting the CHANNEL FIELD IN REVERSE (using flip())to compensate for the FFT not reordering its output channels.
-- 
GitLab