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
3d7b7bdb
Commit
3d7b7bdb
authored
10 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Use g_nof_10pmm. Unifortunately the test fails for g_nof_10ppm /= 0.
parent
9e7864f0
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/eth_10g/tb_tech_eth_10g_ppm.vhd
+9
-6
9 additions, 6 deletions
libraries/technology/eth_10g/tb_tech_eth_10g_ppm.vhd
with
9 additions
and
6 deletions
libraries/technology/eth_10g/tb_tech_eth_10g_ppm.vhd
+
9
−
6
View file @
3d7b7bdb
...
...
@@ -25,8 +25,10 @@
-- tr_ref_clk_644.
-- The tb is self checking based on that tb_tech_eth_10g is self checking
-- and both tb_tech_eth_10g instances send the same and expect the same.
-- Remarks:
-- . For c_tech_arria10 the test fails when g_nof_10ppm /= 0 (erko, 21 nov 2014)
-- Usage:
-- > as 1
4
-- > as 1
6
-- > run -all
LIBRARY
IEEE
,
technology_lib
,
tech_pll_lib
,
tech_mac_10g_lib
;
...
...
@@ -38,7 +40,8 @@ USE tech_pll_lib.tech_pll_component_pkg.ALL;
ENTITY
tb_tech_eth_10g_ppm
IS
-- Test bench control parameters
GENERIC
(
g_technology
:
NATURAL
:
=
c_tech_select_default
g_technology
:
NATURAL
:
=
c_tech_select_default
;
g_nof_10ppm
:
INTEGER
:
=
1
-- use /= 0 to verify XO ppm offset between two devices
);
END
tb_tech_eth_10g_ppm
;
...
...
@@ -52,9 +55,9 @@ BEGIN
u_tb_tech_eth_10g_0
:
ENTITY
work
.
tb_tech_eth_10g
GENERIC
MAP
(
g_technology
=>
g_technology
,
g_tech_pll_clk_644_period
=>
tech_pll_clk_644_period
-
tech_pll_clk_644_10ppm
,
g_tech_pll_clk_644_period
=>
tech_pll_clk_644_period
,
g_verify_link_recovery
=>
FALSE
,
g_link_status_check
=>
"
0
1"
,
g_link_status_check
=>
"
1
1"
,
g_use_rx_serial_in
=>
TRUE
)
PORT
MAP
(
...
...
@@ -65,9 +68,9 @@ BEGIN
u_tb_tech_eth_10g_1
:
ENTITY
work
.
tb_tech_eth_10g
GENERIC
MAP
(
g_technology
=>
g_technology
,
g_tech_pll_clk_644_period
=>
tech_pll_clk_644_period
+
tech_pll_clk_644_10ppm
,
g_tech_pll_clk_644_period
=>
tech_pll_clk_644_period
+
tech_pll_clk_644_10ppm
*
g_nof_10ppm
,
g_verify_link_recovery
=>
FALSE
,
g_link_status_check
=>
"
0
1"
,
g_link_status_check
=>
"
1
1"
,
g_use_rx_serial_in
=>
TRUE
)
PORT
MAP
(
...
...
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