diff --git a/libraries/io/eth/src/vhdl/eth.vhd b/libraries/io/eth/src/vhdl/eth.vhd index a43247081470ced371d75046778a8f5aca41d503..b9378d07df959594d9f14a6883a2d0429d99c8b8 100644 --- a/libraries/io/eth/src/vhdl/eth.vhd +++ b/libraries/io/eth/src/vhdl/eth.vhd @@ -20,7 +20,7 @@ -- ------------------------------------------------------------------------------- -LIBRARY IEEE, common_lib, dp_lib, tech_tse_lib; +LIBRARY IEEE, common_lib, dp_lib, tech_tse_lib, technology_lib; USE IEEE.std_logic_1164.ALL; USE common_lib.common_pkg.ALL; USE common_lib.common_mem_pkg.ALL; @@ -28,6 +28,7 @@ USE dp_lib.dp_stream_pkg.ALL; USE common_lib.eth_layers_pkg.ALL; USE tech_tse_lib.tech_tse_pkg.ALL; USE work.eth_pkg.ALL; +USE technology_lib.technology_select_pkg.ALL; -- Purpose: -- Provide Ethernet control access to a node and some UDP ports for streaming @@ -39,8 +40,9 @@ USE work.eth_pkg.ALL; ENTITY eth IS GENERIC ( - g_cross_clock_domain : BOOLEAN := TRUE; -- use FALSE when mm_clk and st_clk are the same, else use TRUE to cross the clock domain - g_ETH_PHY : STRING := "LVDS"; -- "LVDS" (default): uses LVDS IOs for ctrl_unb_common, "XCVR": uses tranceiver PHY + g_technology : NATURAL := c_tech_select_default; + g_cross_clock_domain : BOOLEAN := TRUE; -- use FALSE when mm_clk and st_clk are the same, else use TRUE to cross the clock domain + g_ETH_PHY : STRING := "LVDS"; -- "LVDS" (default): uses LVDS IOs for ctrl_unb_common, "XCVR": uses tranceiver PHY g_ihl20 : BOOLEAN := FALSE ); PORT ( @@ -575,8 +577,9 @@ BEGIN tse_tx_mac_in.crc_fwd <= '0'; -- when '0' then TSE MAC generates the TX CRC field - u_tse : ENTITY work.tse + u_tech_tse : ENTITY tech_tse_lib.tech_tse GENERIC MAP ( + g_technology => g_technology, g_ETH_PHY => g_ETH_PHY ) PORT MAP (