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

Must instantiate the IP as components instead of as entities.

parent 9e9a62c4
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ BEGIN ...@@ -135,7 +135,7 @@ BEGIN
gen_tr : IF g_tx = TRUE AND g_rx = TRUE GENERATE --Generate duplex transceivers gen_tr : IF g_tx = TRUE AND g_rx = TRUE GENERATE --Generate duplex transceivers
gen_32b : IF g_data_w = 32 GENERATE gen_32b : IF g_data_w = 32 GENERATE
u_gx: ENTITY ip_stratixiv_lib.ip_stratixiv_hssi_gx_32b_generic u_gx: ip_stratixiv_hssi_gx_32b_generic
GENERIC MAP ( GENERIC MAP (
g_mbps => g_mbps, g_mbps => g_mbps,
starting_channel_number => i*4 --Starting channel numbers must be 0,4,8,12 etc for individual ALTGX instances starting_channel_number => i*4 --Starting channel numbers must be 0,4,8,12 etc for individual ALTGX instances
...@@ -181,7 +181,7 @@ BEGIN ...@@ -181,7 +181,7 @@ BEGIN
END GENERATE; END GENERATE;
gen_16b : IF g_data_w = 16 GENERATE gen_16b : IF g_data_w = 16 GENERATE
u_gx: ENTITY ip_stratixiv_lib.ip_stratixiv_hssi_gx_16b u_gx: ip_stratixiv_hssi_gx_16b
GENERIC MAP ( GENERIC MAP (
starting_channel_number => i*4 --Starting channel numbers must be 0,4,8,12 etc for individual ALTGX instances starting_channel_number => i*4 --Starting channel numbers must be 0,4,8,12 etc for individual ALTGX instances
) --Reconfig megawizard: regenerate with 'number of channels' = 4*nof_gx ) --Reconfig megawizard: regenerate with 'number of channels' = 4*nof_gx
...@@ -225,7 +225,7 @@ BEGIN ...@@ -225,7 +225,7 @@ BEGIN
gen_rx : IF g_tx = FALSE AND g_rx = TRUE GENERATE --Generate receivers only gen_rx : IF g_tx = FALSE AND g_rx = TRUE GENERATE --Generate receivers only
gen_32b : IF g_data_w = 32 GENERATE gen_32b : IF g_data_w = 32 GENERATE
u_rx: ENTITY ip_stratixiv_lib.ip_stratixiv_hssi_rx_32b_generic u_rx: ip_stratixiv_hssi_rx_32b_generic
GENERIC MAP ( GENERIC MAP (
g_mbps => g_mbps, g_mbps => g_mbps,
starting_channel_number => i*4 --Starting channel numbers must be 0,4,8,12 etc for individual ALTGX instances starting_channel_number => i*4 --Starting channel numbers must be 0,4,8,12 etc for individual ALTGX instances
...@@ -251,7 +251,7 @@ BEGIN ...@@ -251,7 +251,7 @@ BEGIN
END GENERATE; END GENERATE;
gen_16b : IF g_data_w = 16 GENERATE gen_16b : IF g_data_w = 16 GENERATE
u_rx: ENTITY ip_stratixiv_lib.ip_stratixiv_hssi_rx_16b u_rx: ip_stratixiv_hssi_rx_16b
GENERIC MAP ( GENERIC MAP (
starting_channel_number => i*4 --Starting channel numbers must be 0,4,8,12 etc for individual ALTGX instances starting_channel_number => i*4 --Starting channel numbers must be 0,4,8,12 etc for individual ALTGX instances
) --Reconfig megawizard: regenerate with 'number of channels' = 4*nof_gx ) --Reconfig megawizard: regenerate with 'number of channels' = 4*nof_gx
...@@ -289,7 +289,7 @@ BEGIN ...@@ -289,7 +289,7 @@ BEGIN
gen_tx : IF g_tx = TRUE AND g_rx = FALSE GENERATE gen_tx : IF g_tx = TRUE AND g_rx = FALSE GENERATE
gen_32b : IF g_data_w = 32 GENERATE gen_32b : IF g_data_w = 32 GENERATE
u_tx: ENTITY ip_stratixiv_lib.ip_stratixiv_hssi_tx_32b_generic u_tx: ip_stratixiv_hssi_tx_32b_generic
GENERIC MAP ( GENERIC MAP (
g_mbps => g_mbps g_mbps => g_mbps
) )
...@@ -308,7 +308,7 @@ BEGIN ...@@ -308,7 +308,7 @@ BEGIN
END GENERATE; END GENERATE;
gen_16b : IF g_data_w = 16 GENERATE gen_16b : IF g_data_w = 16 GENERATE
u_tx: ENTITY ip_stratixiv_lib.ip_stratixiv_hssi_tx_16b u_tx: ip_stratixiv_hssi_tx_16b
PORT MAP ( PORT MAP (
-- Clocks, in -- Clocks, in
pll_inclk => tr_clk, pll_inclk => tr_clk,
...@@ -486,7 +486,7 @@ BEGIN ...@@ -486,7 +486,7 @@ BEGIN
-- ALTGX_RECONFIG Megafunction -- ALTGX_RECONFIG Megafunction
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
u_gxb_reconfig : ENTITY ip_stratixiv_lib.ip_stratixiv_gxb_reconfig -- Create one gxb_reconfig module for all ALTGX instances u_gxb_reconfig : ip_stratixiv_gxb_reconfig -- Create one gxb_reconfig module for all ALTGX instances
GENERIC MAP ( GENERIC MAP (
g_nof_gx => g_nof_gx, g_nof_gx => g_nof_gx,
g_fromgxb_bus_w => c_reconf_fromgxb_bus_w, -- = 17 g_fromgxb_bus_w => c_reconf_fromgxb_bus_w, -- = 17
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment