Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
30
Issues
30
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit core collection
Commits
7be63043
Commit
7be63043
authored
Aug 27, 2018
by
Grzegorz Daniluk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
platform_xilinx: add PHY PLL reference clock selection for Cute and Mini-WR
parent
3d6fd3f9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
wr_xilinx_pkg.vhd
platform/xilinx/wr_xilinx_pkg.vhd
+1
-0
xwrc_platform_xilinx.vhd
platform/xilinx/xwrc_platform_xilinx.vhd
+5
-0
No files found.
platform/xilinx/wr_xilinx_pkg.vhd
View file @
7be63043
...
...
@@ -57,6 +57,7 @@ package wr_xilinx_pkg is
g_gtp_enable_ch0
:
integer
:
=
0
;
g_gtp_enable_ch1
:
integer
:
=
1
;
g_gtp_mux_enable
:
boolean
:
=
FALSE
;
g_phy_refclk_sel
:
integer
range
0
to
7
:
=
0
;
g_simulation
:
integer
:
=
0
);
port
(
...
...
platform/xilinx/xwrc_platform_xilinx.vhd
View file @
7be63043
...
...
@@ -41,6 +41,7 @@
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
all
;
library
work
;
use
work
.
endpoint_pkg
.
all
;
...
...
@@ -65,6 +66,8 @@ entity xwrc_platform_xilinx is
-- Select GTP channel to use
g_gtp_enable_ch0
:
integer
:
=
0
;
g_gtp_enable_ch1
:
integer
:
=
1
;
-- Select PHY reference clock
g_phy_refclk_sel
:
integer
range
0
to
7
:
=
0
;
g_gtp_mux_enable
:
boolean
:
=
FALSE
;
-- Set to TRUE will speed up some initialization processes
g_simulation
:
integer
:
=
0
);
...
...
@@ -1077,6 +1080,7 @@ begin -- architecture rtl
ch0_loopen_vec_i
=>
phy8_i
.
loopen_vec
,
ch0_tx_prbs_sel_i
=>
phy8_i
.
tx_prbs_sel
,
ch0_rdy_o
=>
ch0_phy8_out
.
rdy
,
ch0_ref_sel_pll
=>
std_logic_vector
(
to_unsigned
(
g_phy_refclk_sel
,
3
)),
gtp1_clk_i
=>
clk_125m_gtp1_buf
,
ch1_ref_clk_i
=>
clk_125m_pllref_buf
,
ch1_tx_data_i
=>
phy8_i
.
tx_data
,
...
...
@@ -1093,6 +1097,7 @@ begin -- architecture rtl
ch1_loopen_vec_i
=>
phy8_i
.
loopen_vec
,
ch1_tx_prbs_sel_i
=>
phy8_i
.
tx_prbs_sel
,
ch1_rdy_o
=>
ch1_phy8_out
.
rdy
,
ch1_ref_sel_pll
=>
std_logic_vector
(
to_unsigned
(
g_phy_refclk_sel
,
3
)),
pad_txn0_o
=>
ch0_sfp_txn
,
pad_txp0_o
=>
ch0_sfp_txp
,
pad_rxn0_i
=>
ch0_sfp_rxn
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment