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
5999b631
Commit
5999b631
authored
May 25, 2022
by
Antonin Broquet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add clock output from wr pll for FLASH interface (xil_multiboot module).
parent
69cc4cc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
xwrc_board_spec.vhd
board/spec/xwrc_board_spec.vhd
+5
-2
xwrc_platform_xilinx.vhd
platform/xilinx/xwrc_platform_xilinx.vhd
+12
-0
No files found.
board/spec/xwrc_board_spec.vhd
View file @
5999b631
...
...
@@ -7,7 +7,7 @@
-- Author(s) : Grzegorz Daniluk <grzegorz.daniluk@cern.ch>
-- Company : CERN (BE-CO-HT)
-- Created : 2017-02-17
-- Last update: 20
17-07
-04
-- Last update: 20
22-04
-04
-- Standard : VHDL'93
-------------------------------------------------------------------------------
-- Description: Top-level wrapper for WR PTP core including all the modules
...
...
@@ -104,6 +104,8 @@ entity xwrc_board_spec is
clk_sys_62m5_o
:
out
std_logic
;
-- 125MHz ref clock output
clk_ref_125m_o
:
out
std_logic
;
-- 10MHz FLASH clock output
clk_flash_o
:
out
std_logic
;
-- active low reset outputs, synchronous to 62m5 and 125m clocks
rst_sys_62m5_n_o
:
out
std_logic
;
rst_ref_125m_n_o
:
out
std_logic
;
...
...
@@ -316,7 +318,7 @@ begin -- architecture struct
I
=>
clk_125m_pllref_p_i
,
IB
=>
clk_125m_pllref_n_i
);
cmp_xwrc_platform
:
xwrc_platform_xilinx
cmp_xwrc_platform
:
entity
work
.
xwrc_platform_xilinx
generic
map
(
g_fpga_family
=>
"spartan6"
,
g_with_external_clock_input
=>
g_with_external_clock_input
,
...
...
@@ -337,6 +339,7 @@ begin -- architecture struct
sfp_los_i
=>
sfp_los_i
,
sfp_tx_disable_o
=>
sfp_tx_disable_o
,
clk_62m5_sys_o
=>
clk_pll_62m5
,
clk_flash_o
=>
clk_flash_o
,
clk_125m_ref_o
=>
clk_pll_125m
,
clk_62m5_dmtd_o
=>
clk_pll_dmtd
,
pll_locked_o
=>
pll_locked
,
...
...
platform/xilinx/xwrc_platform_xilinx.vhd
View file @
5999b631
...
...
@@ -122,6 +122,7 @@ entity xwrc_platform_xilinx is
---------------------------------------------------------------------------
-- PLL outputs
clk_62m5_sys_o
:
out
std_logic
;
clk_flash_o
:
out
std_logic
;
clk_125m_ref_o
:
out
std_logic
;
clk_ref_locked_o
:
out
std_logic
;
clk_62m5_dmtd_o
:
out
std_logic
;
...
...
@@ -191,6 +192,7 @@ begin -- architecture rtl
signal
clk_sys
:
std_logic
;
signal
clk_sys_out
:
std_logic
;
signal
clk_sys_fb
:
std_logic
;
signal
clk_flash
:
std_logic
;
signal
pll_sys_locked
:
std_logic
;
signal
clk_dmtd
:
std_logic
;
signal
clk_dmtd_fb
:
std_logic
;
...
...
@@ -211,11 +213,15 @@ begin -- architecture rtl
CLKOUT0_DIVIDE
=>
16
,
CLKOUT0_PHASE
=>
0
.
000
,
CLKOUT0_DUTY_CYCLE
=>
0
.
500
,
CLKOUT1_DIVIDE
=>
100
,
CLKOUT1_PHASE
=>
0
.
000
,
CLKOUT1_DUTY_CYCLE
=>
0
.
500
,
CLKIN_PERIOD
=>
8
.
0
,
REF_JITTER
=>
0
.
016
)
port
map
(
CLKFBOUT
=>
clk_sys_fb
,
CLKOUT0
=>
clk_sys
,
CLKOUT1
=>
clk_flash
,
LOCKED
=>
pll_sys_locked
,
RST
=>
pll_arst
,
CLKFBIN
=>
clk_sys_fb
,
...
...
@@ -233,6 +239,12 @@ begin -- architecture rtl
O
=>
clk_sys_out
,
I
=>
clk_sys
);
-- System PLL output clock buffer
cmp_clk_flash_buf_o
:
BUFG
port
map
(
O
=>
clk_flash_o
,
I
=>
clk_flash
);
clk_62m5_sys_o
<=
clk_sys_out
;
clk_125m_ref_o
<=
clk_125m_pllref_buf
;
pll_locked_o
<=
pll_sys_locked
and
pll_dmtd_locked
;
...
...
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