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

Use g_nof_10pmm. Unifortunately the test fails for g_nof_10ppm /= 0.

parent 9e7864f0
No related branches found
No related tags found
No related merge requests found
......@@ -25,8 +25,10 @@
-- tr_ref_clk_644.
-- The tb is self checking based on that tb_tech_eth_10g is self checking
-- and both tb_tech_eth_10g instances send the same and expect the same.
-- Remarks:
-- . For c_tech_arria10 the test fails when g_nof_10ppm /= 0 (erko, 21 nov 2014)
-- Usage:
-- > as 14
-- > as 16
-- > run -all
LIBRARY IEEE, technology_lib, tech_pll_lib, tech_mac_10g_lib;
......@@ -38,7 +40,8 @@ USE tech_pll_lib.tech_pll_component_pkg.ALL;
ENTITY tb_tech_eth_10g_ppm IS
-- Test bench control parameters
GENERIC (
g_technology : NATURAL := c_tech_select_default
g_technology : NATURAL := c_tech_select_default;
g_nof_10ppm : INTEGER := 1 -- use /= 0 to verify XO ppm offset between two devices
);
END tb_tech_eth_10g_ppm;
......@@ -52,9 +55,9 @@ BEGIN
u_tb_tech_eth_10g_0 : ENTITY work.tb_tech_eth_10g
GENERIC MAP (
g_technology => g_technology,
g_tech_pll_clk_644_period => tech_pll_clk_644_period - tech_pll_clk_644_10ppm,
g_tech_pll_clk_644_period => tech_pll_clk_644_period,
g_verify_link_recovery => FALSE,
g_link_status_check => "01",
g_link_status_check => "11",
g_use_rx_serial_in => TRUE
)
PORT MAP (
......@@ -65,9 +68,9 @@ BEGIN
u_tb_tech_eth_10g_1 : ENTITY work.tb_tech_eth_10g
GENERIC MAP (
g_technology => g_technology,
g_tech_pll_clk_644_period => tech_pll_clk_644_period + tech_pll_clk_644_10ppm,
g_tech_pll_clk_644_period => tech_pll_clk_644_period + tech_pll_clk_644_10ppm * g_nof_10ppm,
g_verify_link_recovery => FALSE,
g_link_status_check => "01",
g_link_status_check => "11",
g_use_rx_serial_in => TRUE
)
PORT MAP (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment