Skip to content
GitLab
Explore
Sign in
Register
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
c1548bf6
Commit
c1548bf6
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetic: Added description. Use XGMII constants. Clarified line rate.
parent
e6d5ce7b
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/xaui/sim_xaui.vhd
+11
-3
11 additions, 3 deletions
libraries/technology/xaui/sim_xaui.vhd
with
11 additions
and
3 deletions
libraries/technology/xaui/sim_xaui.vhd
+
11
−
3
View file @
c1548bf6
...
@@ -20,6 +20,14 @@
...
@@ -20,6 +20,14 @@
--
--
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Purpose : Fast simulation model for 10G XGMII over 4 lanes XAUI
-- Description :
-- Remark :
-- . The sim_xaui has the same entity ports and generics as tech_xaui
-- so that it can directly be mapped in tech_xaui.
-- . The model uses 10/8 overhead to transport the control signalling. All 4
-- XAUI lanes are used. Therefore the line rate per lane is 3.125 Mbps.
LIBRARY
IEEE
,
common_lib
,
tech_transceiver_lib
;
LIBRARY
IEEE
,
common_lib
,
tech_transceiver_lib
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
common_lib
.
common_pkg
.
ALL
;
USE
common_lib
.
common_pkg
.
ALL
;
...
@@ -68,9 +76,9 @@ END sim_xaui;
...
@@ -68,9 +76,9 @@ END sim_xaui;
ARCHITECTURE
wrap
OF
sim_xaui
IS
ARCHITECTURE
wrap
OF
sim_xaui
IS
CONSTANT
c_xaui_serdes_data_w
:
NATURAL
:
=
16
;
CONSTANT
c_xaui_serdes_data_w
:
NATURAL
:
=
c_xgmii_data_w
/
c_nof_xaui_lanes
;
-- = 16b = 64 b / 4
CONSTANT
c_xaui_serdes_ctrl_w
:
NATURAL
:
=
c_x
aui_serdes_data_w
/
c_byte_w
;
CONSTANT
c_xaui_serdes_ctrl_w
:
NATURAL
:
=
c_x
gmii_ctrl_w
/
c_nof_xaui_lanes
;
-- = 2b = 8 b / 4
CONSTANT
c_xaui_serdes_line_rate
:
NATURAL
:
=
3125
;
CONSTANT
c_xaui_serdes_line_rate
:
NATURAL
:
=
3125
;
-- Mbps = 156.25 MHz * 10/8 (encoding) * 64b (data width) / 4 (XAUI lanes)
-- XGMII control bits (one for each XGMII lane):
-- XGMII control bits (one for each XGMII lane):
SIGNAL
xgmii_tx_c_arr
:
t_xgmii_c_arr
(
g_nof_xaui
-1
DOWNTO
0
);
SIGNAL
xgmii_tx_c_arr
:
t_xgmii_c_arr
(
g_nof_xaui
-1
DOWNTO
0
);
...
...
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