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
1
Merge Requests
1
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
cc673d1b
Commit
cc673d1b
authored
Aug 04, 2020
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc_core: connect phy sampled clock, also when using g_records_for_phy
parent
91eb6396
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
wr_core.vhd
modules/wrc_core/wr_core.vhd
+5
-1
No files found.
modules/wrc_core/wr_core.vhd
View file @
cc673d1b
...
...
@@ -391,6 +391,7 @@ architecture struct of wr_core is
-----------------------------------------------------------------------------
signal
phy_rx_clk
:
std_logic
;
signal
phy_tx_clk
:
std_logic
;
signal
clk_rx_sampled
:
std_logic
;
signal
spll_wb_in
:
t_wishbone_slave_in
;
signal
spll_wb_out
:
t_wishbone_slave_out
;
...
...
@@ -578,16 +579,19 @@ begin
GEN_16BIT_PHY_IF
:
if
g_pcs_16bit
and
g_records_for_phy
generate
phy_rx_clk
<=
phy16_i
.
rx_clk
;
phy_tx_clk
<=
phy16_i
.
ref_clk
;
clk_rx_sampled
<=
phy16_i
.
rx_sampled_clk
;
end
generate
;
GEN_8BIT_PHY_IF
:
if
not
g_pcs_16bit
and
g_records_for_phy
generate
phy_rx_clk
<=
phy8_i
.
rx_clk
;
phy_tx_clk
<=
phy8_i
.
ref_clk
;
clk_rx_sampled
<=
phy8_i
.
rx_sampled_clk
;
end
generate
;
GEN_STD_PHY_IF
:
if
not
g_records_for_phy
generate
phy_rx_clk
<=
phy_rx_rbclk_i
;
phy_tx_clk
<=
phy_ref_clk_i
;
clk_rx_sampled
<=
phy_rx_rbclk_sampled_i
;
end
generate
;
-----------------------------------------------------------------------------
...
...
@@ -705,7 +709,7 @@ begin
-- Reference inputs (i.e. the RX clocks recovered by the PHYs)
clk_ref_i
(
0
)
=>
phy_rx_clk
,
clk_ref_sampled_i
(
0
)
=>
phy_rx_rbclk_sampled_i
,
clk_ref_sampled_i
(
0
)
=>
clk_rx_sampled
,
-- Feedback clocks (i.e. the outputs of the main or aux oscillator)
clk_fb_i
=>
clk_fb
,
-- DMTD Offset clock
...
...
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