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

Corrected g_nof_gx GENERATE ranges.

parent 6f7ea6ef
Branches
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ END ip_stratixiv_gxb_reconfig_v101;
ARCHITECTURE str OF ip_stratixiv_gxb_reconfig_v101 IS
BEGIN
gen_gx_reconfig_4 : IF g_nof_gx = 4 GENERATE
gen_gx_reconfig_4 : IF g_nof_gx <= 4 GENERATE
u_gx_reconfig_4 : ENTITY work.ip_stratixiv_gxb_reconfig_v101_4
PORT MAP (
reconfig_clk => reconfig_clk,
......@@ -55,7 +55,7 @@ BEGIN
);
END GENERATE;
gen_gx_reconfig_8 : IF g_nof_gx = 8 GENERATE
gen_gx_reconfig_8 : IF g_nof_gx > 4 AND g_nof_gx <= 8 GENERATE
u_gx_reconfig_8 : ENTITY work.ip_stratixiv_gxb_reconfig_v101_8
PORT MAP (
reconfig_clk => reconfig_clk,
......@@ -65,7 +65,7 @@ BEGIN
);
END GENERATE;
gen_gx_reconfig_12 : IF g_nof_gx = 12 GENERATE
gen_gx_reconfig_12 : IF g_nof_gx > 8 AND g_nof_gx <= 12 GENERATE
u_gx_reconfig_12 : ENTITY work.ip_stratixiv_gxb_reconfig_v101_12
PORT MAP (
reconfig_clk => reconfig_clk,
......
......@@ -46,7 +46,7 @@ END ip_stratixiv_gxb_reconfig_v111;
ARCHITECTURE str OF ip_stratixiv_gxb_reconfig_v111 IS
BEGIN
gen_gxb_reconfig_4 : IF g_nof_gx = 4 AND g_soft = FALSE GENERATE
gen_gxb_reconfig_4 : IF g_nof_gx <= 4 AND g_soft = FALSE GENERATE
u_gxb_reconfig_4 : ENTITY work.ip_stratixiv_gxb_reconfig_v111_4
PORT MAP (
reconfig_clk => reconfig_clk,
......@@ -56,7 +56,7 @@ BEGIN
);
END GENERATE;
gen_gxb_reconfig_soft_4 : IF g_nof_gx = 4 AND g_soft = TRUE GENERATE
gen_gxb_reconfig_soft_4 : IF g_nof_gx <= 4 AND g_soft = TRUE GENERATE
u_gxb_reconfig_soft_4 : ENTITY work.ip_stratixiv_gxb_reconfig_v111_soft_4
PORT MAP (
reconfig_clk => reconfig_clk,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment