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
bbc1d879
Commit
bbc1d879
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Select gxb_reconfig for soft XAUI using g_nof_gx=16.
parent
d19abc4d
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/tech_xaui_stratixiv.vhd
+15
-4
15 additions, 4 deletions
libraries/technology/xaui/tech_xaui_stratixiv.vhd
with
15 additions
and
4 deletions
libraries/technology/xaui/tech_xaui_stratixiv.vhd
+
15
−
4
View file @
bbc1d879
...
...
@@ -27,8 +27,8 @@ LIBRARY IEEE, common_lib;
USE
IEEE
.
STD_LOGIC_1164
.
ALL
;
USE
common_lib
.
common_pkg
.
ALL
;
USE
common_lib
.
common_mem_pkg
.
ALL
;
USE
common_lib
.
common_interface_layers_pkg
.
ALL
;
USE
work
.
tech_xaui_component_pkg
.
ALL
;
USE
work
.
tech_xaui_pkg
.
ALL
;
ENTITY
tech_xaui_stratixiv
IS
GENERIC
(
...
...
@@ -68,7 +68,9 @@ END tech_xaui_stratixiv;
ARCHITECTURE
str
OF
tech_xaui_stratixiv
IS
CONSTANT
c_reconf_togxb_bus_w
:
NATURAL
:
=
4
;
CONSTANT
c_reconf_fromgxb_bus_w
:
NATURAL
:
=
17
;
CONSTANT
c_reconf_fromgxb_bus_w
:
NATURAL
:
=
17
;
CONSTANT
c_reconf_nof_gx
:
NATURAL
:
=
4
;
-- 1, 2, or 3 hard XAUI with 4, 8 or 12 transceivers all require only gxb_reconfig for 4 transceivers
CONSTANT
c_reconf_soft_nof_gx
:
NATURAL
:
=
16
;
-- g_nof_xaui=4 soft XAUI, with 16 transceivers requires gxb_reconfig as for 16 transceivers
CONSTANT
c_reconf_soft_fromgxb_bus_w
:
NATURAL
:
=
4
*
c_reconf_fromgxb_bus_w
;
CONSTANT
c_xaui_mosi_addr_w
:
NATURAL
:
=
9
;
...
...
@@ -122,6 +124,9 @@ BEGIN
);
u_ip_gxb_reconfig
:
ip_stratixiv_gxb_reconfig_v111
GENERIC
MAP
(
g_nof_gx
=>
c_reconf_nof_gx
)
PORT
MAP
(
reconfig_clk
=>
cal_rec_clk
,
reconfig_fromgxb
=>
reconfig_0_fromgxb
,
...
...
@@ -159,6 +164,9 @@ BEGIN
);
u_ip_gxb_reconfig
:
ip_stratixiv_gxb_reconfig_v111
GENERIC
MAP
(
g_nof_gx
=>
c_reconf_nof_gx
)
PORT
MAP
(
reconfig_clk
=>
cal_rec_clk
,
reconfig_fromgxb
=>
reconfig_1_fromgxb
,
...
...
@@ -196,6 +204,9 @@ BEGIN
);
u_ip_gxb_reconfig
:
ip_stratixiv_gxb_reconfig_v111
GENERIC
MAP
(
g_nof_gx
=>
c_reconf_nof_gx
)
PORT
MAP
(
reconfig_clk
=>
cal_rec_clk
,
reconfig_fromgxb
=>
reconfig_2_fromgxb
,
...
...
@@ -205,7 +216,7 @@ BEGIN
END
GENERATE
;
gen_soft_xaui
:
IF
i
=
3
GENERATE
-- NOTE: this 4th (soft) instance makes the Quartus fitter (11.1, no SP) fail, so is not supported.
u_ip_phy_xaui
:
ip_stratixiv_
ip_stratixiv_phy_xaui_soft
u_ip_phy_xaui
:
ip_stratixiv_phy_xaui_soft
PORT
MAP
(
pll_ref_clk
=>
tr_clk
,
xgmii_tx_clk
=>
tx_clk
(
i
),
...
...
@@ -234,7 +245,7 @@ BEGIN
u_ip_gxb_reconfig
:
ip_stratixiv_gxb_reconfig_v111
GENERIC
MAP
(
g_
s
of
t
=>
TRUE
g_
n
of
_gx
=>
c_reconf_soft_nof_gx
)
PORT
MAP
(
reconfig_clk
=>
cal_rec_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