Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
6a100b57
Commit
6a100b57
authored
9 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/technology/eth_10g/tech_eth_10g.vhd
+18
-1
18 additions, 1 deletion
libraries/technology/eth_10g/tech_eth_10g.vhd
with
18 additions
and
1 deletion
libraries/technology/eth_10g/tech_eth_10g.vhd
+
18
−
1
View file @
6a100b57
...
@@ -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
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment