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
4feea4dc
Commit
4feea4dc
authored
10 years ago
by
Jonathan Hargreaves
Browse files
Options
Downloads
Patches
Plain Diff
fixed bugs with connections to arria10 IP
parent
3e8ff048
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
+13
-5
13 additions, 5 deletions
libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd
with
13 additions
and
5 deletions
libraries/io/tr_10GbE/src/vhdl/tr_10GbE.vhd
+
13
−
5
View file @
4feea4dc
...
@@ -28,6 +28,7 @@ USE dp_lib.dp_stream_pkg.ALL;
...
@@ -28,6 +28,7 @@ USE dp_lib.dp_stream_pkg.ALL;
USE
common_lib
.
common_mem_pkg
.
ALL
;
USE
common_lib
.
common_mem_pkg
.
ALL
;
USE
tr_xaui_lib
.
tr_xaui_pkg
.
ALL
;
USE
tr_xaui_lib
.
tr_xaui_pkg
.
ALL
;
USE
technology_lib
.
technology_select_pkg
.
ALL
;
USE
technology_lib
.
technology_select_pkg
.
ALL
;
USE
technology_lib
.
technology_pkg
.
ALL
;
ENTITY
tr_10GbE
IS
ENTITY
tr_10GbE
IS
GENERIC
(
GENERIC
(
...
@@ -189,6 +190,9 @@ ARCHITECTURE str OF tr_10GbE IS
...
@@ -189,6 +190,9 @@ ARCHITECTURE str OF tr_10GbE IS
SIGNAL
xaui_rx_arr
:
t_xaui_arr
(
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
xaui_rx_arr
:
t_xaui_arr
(
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
xaui_tx_arr
:
t_xaui_arr
(
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
xaui_tx_arr
:
t_xaui_arr
(
g_nof_macs
-1
DOWNTO
0
);
-- signals for arria 10
SIGNAL
tx_serial_data_internal
:
std_logic_vector
(
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
rx_serial_data_internal
:
std_logic_vector
(
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
tx_parallel_data
:
std_logic_vector
(
64
*
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
tx_parallel_data
:
std_logic_vector
(
64
*
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
rx_parallel_data
:
std_logic_vector
(
64
*
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
rx_parallel_data
:
std_logic_vector
(
64
*
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
tx_control
:
std_logic_vector
(
8
*
g_nof_macs
-1
DOWNTO
0
);
SIGNAL
tx_control
:
std_logic_vector
(
8
*
g_nof_macs
-1
DOWNTO
0
);
...
@@ -541,16 +545,20 @@ BEGIN
...
@@ -541,16 +545,20 @@ BEGIN
end
generate
;
end
generate
;
no_lpbk_xgmii
:
IF
g_lpbk_xgmii
=
FALSE
generate
no_lpbk_xgmii
:
IF
g_lpbk_xgmii
=
FALSE
generate
xaui_xgmii_tx_dc_arr
<=
tr_xaui_pkg
.
xgmii_dc
(
mac_xgmii_tx_dc_arr
);
gen_arrays
:
for
i
in
0
to
g_nof_macs
-1
generate
mac_xgmii_rx_dc_arr
<=
tr_xaui_pkg
.
xgmii_dc
(
rx_parallel_data
;
rx_control
);
tx_parallel_data
(
64
*
i
+
63
downto
64
*
i
)
<=
tr_xaui_lib
.
tr_xaui_pkg
.
xgmii_d
(
mac_xgmii_tx_dc_arr
(
i
));
tx_control
(
8
*
i
+
7
downto
8
*
i
)
<=
tr_xaui_lib
.
tr_xaui_pkg
.
xgmii_c
(
mac_xgmii_tx_dc_arr
(
i
));
mac_xgmii_rx_dc_arr
(
i
)
<=
tr_xaui_lib
.
tr_xaui_pkg
.
xgmii_dc
(
rx_parallel_data
(
64
*
i
+
63
downto
64
*
i
),
rx_control
(
8
*
i
+
7
downto
8
*
i
));
end
generate
gen_arrays
;
end
generate
;
end
generate
;
u_transceiver
:
entity
tech_transceiver_arria10_48
u_transceiver
:
entity
work
.
tech_transceiver_arria10_48
generic
map
(
generic
map
(
g_nof_
xaui
=>
g_nof_
channel
s
g_nof_
channels
=>
g_nof_
mac
s
)
)
port
(
port
map
(
clk
=>
mm_clk
,
clk
=>
mm_clk
,
reset_p
=>
mm_rst
,
reset_p
=>
mm_rst
,
refclk
=>
tr_clk
,
refclk
=>
tr_clk
,
...
...
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