Skip to content
Snippets Groups Projects
Commit d64bde36 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Added g_pfs_bypass option as generic.

parent f2f846fb
No related branches found
No related tags found
2 merge requests!100Removed text for XSub that is now written in Confluence Subband correlator...,!68Resolve L2SDP-162
......@@ -37,23 +37,25 @@ USE pft2_lib.pft_pkg.ALL;
ENTITY pfb2_unit IS
GENERIC (
g_nof_streams : NATURAL := 1; -- number of pfb2 instances, 1 pfb2 per stream
g_nof_points : NATURAL := 1024;
g_nof_streams : NATURAL := 1; -- number of pfb2 instances, 1 pfb2 per stream
g_nof_points : NATURAL := 1024;
-- pfs
g_pfs_nof_taps : NATURAL := 16;
g_pfs_in_dat_w : NATURAL := 12;
g_pfs_out_dat_w : NATURAL := 18;
g_pfs_coef_dat_w : NATURAL := 16;
g_pfs_bypass : BOOLEAN := FALSE;
g_pfs_nof_taps : NATURAL := 16;
g_pfs_in_dat_w : NATURAL := 12;
g_pfs_out_dat_w : NATURAL := 18;
g_pfs_coef_dat_w : NATURAL := 16;
-- pft2
g_pft_mode : PFT_MODE_TYPE := PFT_MODE_REAL2;
g_pft_switch_en : STD_LOGIC := '1';
g_pft_out_dat_w : NATURAL := 18;
g_pft_mode : PFT_MODE_TYPE := PFT_MODE_REAL2;
g_pft_switch_en : STD_LOGIC := '1';
g_pft_stage_dat_w : NATURAL := c_pft_stage_dat_w; -- c_pft_stage_dat_w = 20 in pft_pkg.vhd
g_pft_out_dat_w : NATURAL := 18;
-- sst
g_sst_data_w : NATURAL := 64; -- nof bits for the SST power values
g_sst_data_sz : NATURAL := 2 -- nof MM 32b words to fit g_sst_data_w
g_sst_data_w : NATURAL := 64; -- nof bits for the SST power values
g_sst_data_sz : NATURAL := 2 -- nof MM 32b words to fit g_sst_data_w
);
PORT (
dp_rst : IN STD_LOGIC;
......@@ -85,18 +87,20 @@ BEGIN
gen_pfb2: FOR I IN 0 TO g_nof_streams-1 GENERATE
u_pfb2 : ENTITY work.pfb2
GENERIC MAP (
g_nof_points => g_nof_points,
g_nof_points => g_nof_points,
-- pfs
g_pfs_nof_taps => g_pfs_nof_taps,
g_pfs_in_dat_w => g_pfs_in_dat_w,
g_pfs_out_dat_w => g_pfs_out_dat_w,
g_pfs_coef_dat_w => g_pfs_coef_dat_w,
g_pfs_bypass => g_pfs_bypass,
g_pfs_nof_taps => g_pfs_nof_taps,
g_pfs_in_dat_w => g_pfs_in_dat_w,
g_pfs_out_dat_w => g_pfs_out_dat_w,
g_pfs_coef_dat_w => g_pfs_coef_dat_w,
-- pft2
g_pft_mode => g_pft_mode,
g_pft_switch_en => g_pft_switch_en,
g_pft_out_dat_w => g_pft_out_dat_w
g_pft_mode => g_pft_mode,
g_pft_switch_en => g_pft_switch_en,
g_pft_stage_dat_w => g_pft_stage_dat_w,
g_pft_out_dat_w => g_pft_out_dat_w
)
PORT MAP (
dp_rst => dp_rst,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment