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
2
Merge Requests
2
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
112099e2
Commit
112099e2
authored
Oct 02, 2020
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr_gtx_phy_family7: made clock buffers optional through generic
parent
26a3f9ea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
7 deletions
+15
-7
Manifest.py
board/Manifest.py
+1
-1
wr_gtx_phy_family7.vhd
...form/xilinx/wr_gtp_phy/family7-gtx/wr_gtx_phy_family7.vhd
+14
-6
No files found.
board/Manifest.py
View file @
112099e2
try
:
if
board
in
[
"spec"
,
"svec"
,
"vfchd"
,
"common"
,
"svec7"
,
"svec7a"
]:
if
board
in
[
"spec"
,
"svec"
,
"vfchd"
,
"common"
,
"svec7"
]:
modules
=
{
"local"
:
[
board
]
}
except
NameError
:
pass
platform/xilinx/wr_gtp_phy/family7-gtx/wr_gtx_phy_family7.vhd
View file @
112099e2
...
...
@@ -6,7 +6,7 @@
-- Author : Peter Jansweijer, Tomasz Wlostowski
-- Company : CERN BE-CO-HT
-- Created : 2013-04-08
-- Last update: 20
13-04-08
-- Last update: 20
20-09-21
-- Platform : FPGA-generic
-- Standard : VHDL'93
-------------------------------------------------------------------------------
...
...
@@ -58,7 +58,8 @@ entity wr_gtx_phy_family7 is
generic
(
-- set to non-zero value to speed up the simulation by reducing some delays
g_simulation
:
integer
:
=
0
g_simulation
:
integer
:
=
0
;
g_use_slave_tx_clk
:
integer
:
=
0
);
port
(
...
...
@@ -66,6 +67,7 @@ entity wr_gtx_phy_family7 is
clk_gtx_i
:
in
std_logic
;
-- TX path, synchronous to tx_out_clk_o (62.5 MHz):
tx_out_clk_i
:
in
std_logic
:
=
'0'
;
tx_out_clk_o
:
out
std_logic
;
tx_locked_o
:
out
std_logic
;
...
...
@@ -307,15 +309,21 @@ begin -- rtl
tx_enc_err_o
<=
'0'
;
U_BUF_TxOutClk
:
BUFG
gen_with_txoutclk_buf
:
if
g_use_slave_tx_clk
=
0
generate
U_BUF_TxOutClk
:
BUFG
port
map
(
I
=>
tx_out_clk_bufin
,
O
=>
tx_out_clk
);
end
generate
gen_with_txoutclk_buf
;
tx_out_clk_o
<=
tx_out_clk
;
tx_locked_o
<=
cpll_lockdet
;
gen_without_txoutclk_buf
:
if
g_use_slave_tx_clk
/=
0
generate
tx_out_clk
<=
tx_out_clk_i
;
end
generate
gen_without_txoutclk_buf
;
tx_out_clk_o
<=
tx_out_clk
;
tx_locked_o
<=
cpll_lockdet
;
U_BUF_RxRecClk
:
BUFG
U_BUF_RxRecClk
:
BUFG
port
map
(
I
=>
rx_rec_clk_bufin
,
O
=>
rx_rec_clk
);
...
...
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