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

Explained g_link_status_check and g_pre_header_padding.

parent 71914bb4
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,23 @@ ...@@ -56,6 +56,23 @@
-- | -- |
-- mac_mm -- mac_mm
-- --
--
-- . g_link_status_check:
-- A link fault eg. due to rx disconnect is detected by the link fault status:
-- 0 = OK
-- 1 = local fault
-- 2 = remote fault
--
-- From google search:
-- Link fault Operation
-- 1) Device B detects loss of signal. Local fault is signaled by PHY of Device B to Device B.
-- 2) Device B ceases transmission of MAC frames and transmits remote fault to Device A.
-- 3) Device A receives remote fault from Device B.
-- 4) Device A stops sending frames, continuously generates Idle.
--
-- . g_pre_header_padding:
-- See tech_mac10g.vhd
--
LIBRARY IEEE, common_lib, dp_lib, technology_lib, tech_mac_10g_lib; LIBRARY IEEE, common_lib, dp_lib, technology_lib, tech_mac_10g_lib;
USE IEEE.STD_LOGIC_1164.ALL; USE IEEE.STD_LOGIC_1164.ALL;
...@@ -73,7 +90,7 @@ ENTITY tech_eth_10g IS ...@@ -73,7 +90,7 @@ ENTITY tech_eth_10g IS
g_sim : BOOLEAN := FALSE; g_sim : BOOLEAN := FALSE;
g_sim_level : NATURAL := 0; -- 0 = use IP; 1 = use fast serdes model g_sim_level : NATURAL := 0; -- 0 = use IP; 1 = use fast serdes model
g_nof_channels : NATURAL := 1; g_nof_channels : NATURAL := 1;
g_link_status_check : STD_LOGIC_VECTOR(c_tech_mac_10g_link_status_w-1 DOWNTO 0) := "11"; g_link_status_check : STD_LOGIC_VECTOR(c_tech_mac_10g_link_status_w-1 DOWNTO 0) := "11"; -- check remote fault & check local fault
g_pre_header_padding : BOOLEAN := FALSE g_pre_header_padding : BOOLEAN := FALSE
); );
PORT ( PORT (
......
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