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
a03df53f
Commit
a03df53f
authored
6 years ago
by
Reinier van der Walle
Browse files
Options
Downloads
Patches
Plain Diff
tr_xaui_mdio is now instantiated as component to fix compile errors when
compiling for unb2
parent
4cb207f6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd
+31
-1
31 additions, 1 deletion
libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd
with
31 additions
and
1 deletion
libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd
+
31
−
1
View file @
a03df53f
...
...
@@ -159,6 +159,36 @@ ARCHITECTURE str OF tr_10GbE IS
SIGNAL
dp_fifo_dc_rx_src_out_arr
:
t_dp_sosi_arr
(
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
dp_fifo_dc_rx_src_in_arr
:
t_dp_siso_arr
(
g_nof_macs
-1
DOWNTO
0
);
COMPONENT
tr_xaui_mdio
IS
GENERIC
(
g_sim
:
BOOLEAN
:
=
FALSE
;
g_nof_xaui
:
NATURAL
:
=
1
;
-- Up to 3 (hard XAUI only) supported
g_mdio_epcs_dis
:
BOOLEAN
:
=
FALSE
-- TRUE disables EPCS on init; e.g. to target a 10GbE card in PC that does not support it
);
PORT
(
-- Transceiver PLL reference clock
tr_clk
:
IN
STD_LOGIC
;
tr_rst
:
IN
STD_LOGIC
;
-- MM clock for register of optional MDIO master
mm_clk
:
IN
STD_LOGIC
:
=
'0'
;
mm_rst
:
IN
STD_LOGIC
:
=
'0'
;
-- MDIO master = mm slave
mdio_mosi_arr
:
IN
t_mem_mosi_arr
(
g_nof_xaui
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
c_mem_mosi_rst
);
mdio_miso_arr
:
OUT
t_mem_miso_arr
(
g_nof_xaui
-1
DOWNTO
0
);
-- MDIO External clock and serial data.
mdio_rst
:
OUT
STD_LOGIC
;
mdio_mdc_arr
:
OUT
STD_LOGIC_VECTOR
(
g_nof_xaui
-1
DOWNTO
0
);
mdio_mdat_in_arr
:
IN
STD_LOGIC_VECTOR
(
g_nof_xaui
-1
DOWNTO
0
)
:
=
(
OTHERS
=>
'0'
);
mdio_mdat_oen_arr
:
OUT
STD_LOGIC_VECTOR
(
g_nof_xaui
-1
DOWNTO
0
)
);
END
COMPONENT
;
BEGIN
---------------------------------------------------------------------------------------
...
...
@@ -297,7 +327,7 @@ BEGIN
-- MDIO
---------------------------------------------------------------------------
gen_mdio
:
IF
g_use_mdio
=
TRUE
GENERATE
u_tr_xaui_mdio
:
ENTITY
tr_xaui_lib
.
tr_xaui_mdio
u_tr_xaui_mdio
:
tr_xaui_mdio
--
ENTITY tr_xaui_lib.tr_xaui_mdio
GENERIC
MAP
(
g_sim
=>
g_sim
,
g_nof_xaui
=>
g_nof_macs
,
...
...
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