Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
12
Issues
12
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Gateware
Commits
640c7bb4
Commit
640c7bb4
authored
Jul 03, 2019
by
Tomasz Wlostowski
Committed by
Grzegorz Daniluk
Aug 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
top: manual control of TX/RX clock buffers for PHYs through generics
parent
0f99e5cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
scb_top_synthesis.vhd
top/scb_8ports/scb_top_synthesis.vhd
+22
-4
No files found.
top/scb_8ports/scb_top_synthesis.vhd
View file @
640c7bb4
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski, Maciej Lipinski, Grzegorz Daniluk
-- Company : CERN BE-CO-HT
-- Created : 2012-03-07
-- Last update: 201
8-08-09
-- Last update: 201
9-07-03
-- Platform : FPGA-generic
-- Standard : VHDL
-------------------------------------------------------------------------------
...
...
@@ -440,6 +440,21 @@ architecture Behavioral of scb_top_synthesis is
signal
phy_rx_clk_vec
:
std_logic_vector
(
7
downto
0
);
type
t_bufr_phy_assignment_array
is
array
(
integer
range
<>
)
of
boolean
;
constant
c_phy_use_bufr_for_tx_clock
:
t_bufr_phy_assignment_array
(
0
to
7
)
:
=
(
true
,
true
,
true
,
true
,
false
,
false
,
true
,
true
);
begin
U_Clk_Buf_GTX0_3
:
IBUFDS_GTXE1
...
...
@@ -691,7 +706,8 @@ begin
generic
map
(
g_simulation
=>
f_bool2int
(
g_simulation
),
g_use_slave_tx_clock
=>
f_bool2int
(
i
/=
(
i
/
4
)
*
4
),
g_use_bufr
=>
false
,
g_use_bufr_for_rx_clock
=>
false
,
g_use_bufr_for_tx_clock
=>
c_phy_use_bufr_for_tx_clock
(
i
),
g_id
=>
i
)
port
map
(
clk_gtx_i
=>
clk_gtx
(
i
),
...
...
@@ -728,7 +744,8 @@ begin
generic
map
(
g_simulation
=>
f_bool2int
(
g_simulation
),
g_use_slave_tx_clock
=>
f_bool2int
(
i
/=
(
i
/
4
)
*
4
),
g_use_bufr
=>
false
,
g_use_bufr_for_tx_clock
=>
c_phy_use_bufr_for_tx_clock
(
i
),
g_use_bufr_for_rx_clock
=>
false
,
g_id
=>
i
)
port
map
(
clk_gtx_i
=>
clk_gtx
(
i
),
...
...
@@ -762,7 +779,8 @@ begin
generic
map
(
g_simulation
=>
f_bool2int
(
g_simulation
),
g_use_slave_tx_clock
=>
0
,
g_use_bufr
=>
false
,
g_use_bufr_for_rx_clock
=>
false
,
g_use_bufr_for_tx_clock
=>
c_phy_use_bufr_for_tx_clock
(
7
),
g_id
=>
c_NUM_PHYS
-1
)
port
map
(
clk_gtx_i
=>
clk_gtx0_3
,
...
...
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