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

Added g_technology.

parent e9c1ecd8
No related branches found
No related tags found
No related merge requests found
......@@ -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 (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment