From d6d8880999114b6b35c48864c5209207a296588d Mon Sep 17 00:00:00 2001
From: Daniel van der Schuur <schuur@astron.nl>
Date: Wed, 15 Jul 2015 09:09:53 +0000
Subject: [PATCH] -Fixed WPFB output width which was 14b instead of correct 9b
 by mistake.

---
 .../src/vhdl/apertif_unb1_correlator.vhd                        | 2 +-
 1 file changed, 1 insertion(+), 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 adeff81868..bcefd3ba6c 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
@@ -178,7 +178,7 @@ ARCHITECTURE str OF apertif_unb1_correlator IS
   CONSTANT c_wpfb_nof_taps          : NATURAL := 8;                    -- = 8 nof taps n the filter
   CONSTANT c_wpfb_coef_w            : NATURAL := 18;                   --FIXME: 9b does not work; needs updated coefficient files.
   CONSTANT c_wpfb_in_dat_w          : NATURAL := 8;                    --FIXME: should be 6b at some point
-  CONSTANT c_wpfb_out_dat_w         : NATURAL := 14;                    --FIXME: Could be wider but is currently 9b to avoid the need for quantization: 9b -> mult -> 18b -> accu -> 32b at the corr output.
+  CONSTANT c_wpfb_out_dat_w         : NATURAL := 9;                    --FIXME: Could be wider but is currently 9b to avoid the need for quantization: 9b -> mult -> 18b -> accu -> 32b at the corr output.
   CONSTANT c_wpfb_use_separate      : BOOLEAN := FALSE;                -- = false for complex input, true for two real inputs
   CONSTANT c_wpfb_use_reorder       : BOOLEAN := FALSE;
 
-- 
GitLab