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
85e983d6
Commit
85e983d6
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Use tech_xaui_mosi_addr_w(c_tech_stratixiv) to define c_xaui_mosi_addr_w=9.
parent
0353bd89
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
libraries/technology/xaui/tech_xaui_component_pkg.vhd
+14
-0
14 additions, 0 deletions
libraries/technology/xaui/tech_xaui_component_pkg.vhd
libraries/technology/xaui/tech_xaui_stratixiv.vhd
+5
-4
5 additions, 4 deletions
libraries/technology/xaui/tech_xaui_stratixiv.vhd
with
19 additions
and
4 deletions
libraries/technology/xaui/tech_xaui_component_pkg.vhd
+
14
−
0
View file @
85e983d6
...
@@ -27,6 +27,8 @@ USE technology_lib.technology_pkg.ALL;
...
@@ -27,6 +27,8 @@ USE technology_lib.technology_pkg.ALL;
PACKAGE
tech_xaui_component_pkg
IS
PACKAGE
tech_xaui_component_pkg
IS
FUNCTION
tech_xaui_mosi_addr_w
(
technology
:
IN
INTEGER
)
RETURN
INTEGER
;
------------------------------------------------------------------------------
------------------------------------------------------------------------------
-- ip_stratixiv
-- ip_stratixiv
------------------------------------------------------------------------------
------------------------------------------------------------------------------
...
@@ -234,3 +236,15 @@ PACKAGE tech_xaui_component_pkg IS
...
@@ -234,3 +236,15 @@ PACKAGE tech_xaui_component_pkg IS
END
tech_xaui_component_pkg
;
END
tech_xaui_component_pkg
;
PACKAGE
BODY
tech_xaui_component_pkg
IS
FUNCTION
tech_xaui_mosi_addr_w
(
technology
:
IN
INTEGER
)
RETURN
INTEGER
IS
BEGIN
CASE
technology
IS
WHEN
c_tech_stratixiv
=>
RETURN
9
;
WHEN
OTHERS
=>
RETURN
9
;
END
CASE
;
END
;
END
tech_xaui_component_pkg
;
This diff is collapsed.
Click to expand it.
libraries/technology/xaui/tech_xaui_stratixiv.vhd
+
5
−
4
View file @
85e983d6
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
--
-- Copyright (C) 201
2
-- Copyright (C) 201
4
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- ASTRON (Netherlands Institute for Radio Astronomy) <http://www.astron.nl/>
-- JIVE (Joint Institute for VLBI in Europe) <http://www.jive.nl/>
-- JIVE (Joint Institute for VLBI in Europe) <http://www.jive.nl/>
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
-- P.O.Box 2, 7990 AA Dwingeloo, The Netherlands
...
@@ -23,11 +23,12 @@
...
@@ -23,11 +23,12 @@
-- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
-- Declare IP libraries to ensure default binding in simulation. The IP library clause is ignored by synthesis.
LIBRARY
ip_stratixiv_transceiver_lib
,
ip_stratixiv_phy_xaui_lib
;
LIBRARY
ip_stratixiv_transceiver_lib
,
ip_stratixiv_phy_xaui_lib
;
LIBRARY
IEEE
,
common_lib
;
LIBRARY
IEEE
,
technology_lib
,
common_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
;
USE
common_lib
.
common_mem_pkg
.
ALL
;
USE
common_lib
.
common_mem_pkg
.
ALL
;
USE
common_lib
.
common_interface_layers_pkg
.
ALL
;
USE
common_lib
.
common_interface_layers_pkg
.
ALL
;
USE
technology_lib
.
technology_pkg
.
ALL
;
USE
work
.
tech_xaui_component_pkg
.
ALL
;
USE
work
.
tech_xaui_component_pkg
.
ALL
;
ENTITY
tech_xaui_stratixiv
IS
ENTITY
tech_xaui_stratixiv
IS
...
@@ -65,7 +66,7 @@ ENTITY tech_xaui_stratixiv IS
...
@@ -65,7 +66,7 @@ ENTITY tech_xaui_stratixiv IS
END
tech_xaui_stratixiv
;
END
tech_xaui_stratixiv
;
ARCHITECTURE
str
OF
tech_xaui_stratixiv
IS
ARCHITECTURE
str
OF
tech_xaui_stratixiv
IS
CONSTANT
c_reconf_togxb_bus_w
:
NATURAL
:
=
4
;
CONSTANT
c_reconf_togxb_bus_w
:
NATURAL
:
=
4
;
CONSTANT
c_reconf_fromgxb_bus_w
:
NATURAL
:
=
17
;
CONSTANT
c_reconf_fromgxb_bus_w
:
NATURAL
:
=
17
;
...
@@ -73,7 +74,7 @@ ARCHITECTURE str OF tech_xaui_stratixiv IS
...
@@ -73,7 +74,7 @@ ARCHITECTURE str OF tech_xaui_stratixiv IS
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_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_reconf_soft_fromgxb_bus_w
:
NATURAL
:
=
4
*
c_reconf_fromgxb_bus_w
;
CONSTANT
c_xaui_mosi_addr_w
:
NATURAL
:
=
9
;
CONSTANT
c_xaui_mosi_addr_w
:
NATURAL
:
=
tech_xaui_mosi_addr_w
(
c_tech_stratixiv
)
;
SIGNAL
reconfig_togxb
:
STD_LOGIC_VECTOR
(
c_reconf_togxb_bus_w
-1
DOWNTO
0
);
SIGNAL
reconfig_togxb
:
STD_LOGIC_VECTOR
(
c_reconf_togxb_bus_w
-1
DOWNTO
0
);
SIGNAL
reconfig_fromgxb
:
STD_LOGIC_VECTOR
(
c_reconf_fromgxb_bus_w
-1
DOWNTO
0
);
SIGNAL
reconfig_fromgxb
:
STD_LOGIC_VECTOR
(
c_reconf_fromgxb_bus_w
-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