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
282b748d
Commit
282b748d
authored
Jul 03, 2019
by
Tomasz Wlostowski
Committed by
Grzegorz Daniluk
Aug 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr_gtx_phy_virtex6_lp: added generic for TX clock buffer type
parent
b5f1622e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
6 deletions
+21
-6
wr_gtx_phy_virtex6_lp.vhd
...gtp_phy/virtex6-low-phase-drift/wr_gtx_phy_virtex6_lp.vhd
+21
-6
No files found.
platform/xilinx/wr_gtp_phy/virtex6-low-phase-drift/wr_gtx_phy_virtex6_lp.vhd
View file @
282b748d
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN BE-CO-HT
-- Created : 2010-11-18
-- Last update: 201
8-07-05
-- Last update: 201
9-07-03
-- Platform : FPGA-generic
-- Standard : VHDL'93
-------------------------------------------------------------------------------
...
...
@@ -57,7 +57,8 @@ entity wr_gtx_phy_virtex6_lp is
-- set to non-zero value to speed up the simulation by reducing some delays
g_simulation
:
integer
:
=
0
;
g_use_slave_tx_clock
:
integer
:
=
0
;
g_use_bufr
:
boolean
:
=
false
;
g_use_bufr_for_rx_clock
:
boolean
:
=
false
;
g_use_bufr_for_tx_clock
:
boolean
:
=
false
;
g_id
:
integer
:
=
0
);
...
...
@@ -319,7 +320,22 @@ architecture rtl of wr_gtx_phy_virtex6_lp is
synced_o
=>
gtx_rx_rst_a
);
TX_CLK_o
<=
tx_out_clk
;
gen_bufr_for_tx_clock
:
if
g_use_bufr_for_tx_clock
generate
BUFR_1
:
BUFR
port
map
(
O
=>
tx_out_clk
,
I
=>
tx_out_clk_buf
);
end
generate
gen_bufr_for_tx_clock
;
gen_bufg_for_tx_clock
:
if
not
g_use_bufr_for_tx_clock
generate
BUFG_1
:
BUFG
port
map
(
O
=>
tx_out_clk
,
I
=>
tx_out_clk_buf
);
end
generate
gen_bufg_for_tx_clock
;
U_Sampler_RX
:
dmtd_sampler
generic
map
(
...
...
@@ -391,7 +407,7 @@ architecture rtl of wr_gtx_phy_virtex6_lp is
debug_o
(
0
)
<=
tx_reset_done
;
gen_rx_bufg
:
if
(
g_use_bufr
=
false
)
generate
gen_rx_bufg
:
if
(
g_use_bufr
_for_rx_clock
=
false
)
generate
U_BUF_RxRecClk
:
BUFG
port
map
(
...
...
@@ -400,12 +416,11 @@ architecture rtl of wr_gtx_phy_virtex6_lp is
end
generate
gen_rx_bufg
;
gen_rx_bufr
:
if
(
g_use_bufr
=
true
)
generate
gen_rx_bufr
:
if
(
g_use_bufr
_for_rx_clock
=
true
)
generate
U_BUF_RxRecClk
:
BUFR
port
map
(
I
=>
rx_rec_clk_bufin
,
O
=>
rx_rec_clk
);
end
generate
gen_rx_bufr
;
...
...
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