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
c2b7c093
Commit
c2b7c093
authored
Dec 11, 2023
by
Peter Jansweijer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add generic: Artix7 gtp depends on rx_byte_is_aligned
parent
d7c7b52e
Pipeline
#5060
failed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
8 deletions
+15
-8
wr_gtp_phy_family7.vhd
...form/xilinx/wr_gtp_phy/family7-gtp/wr_gtp_phy_family7.vhd
+4
-2
gtp_bitslide.vhd
platform/xilinx/wr_gtp_phy/gtp_bitslide.vhd
+11
-6
No files found.
platform/xilinx/wr_gtp_phy/family7-gtp/wr_gtp_phy_family7.vhd
View file @
c2b7c093
...
...
@@ -256,7 +256,8 @@ architecture structure of wr_gtp_phy_family7 is
component
gtp_bitslide
is
generic
(
g_simulation
:
integer
;
g_target
:
string
:
=
"artix7"
g_target
:
string
:
=
"artix7"
;
g_use_rx_byte_is_aligned
:
boolean
:
=
false
);
port
(
gtp_rst_i
:
in
std_logic
;
...
...
@@ -465,7 +466,8 @@ begin
U_Bitslide
:
gtp_bitslide
generic
map
(
g_simulation
=>
g_simulation
,
g_target
=>
(
"artix7"
)
g_target
=>
(
"artix7"
),
g_use_rx_byte_is_aligned
=>
true
)
port
map
(
gtp_rst_i
=>
rst_done_n
,
...
...
platform/xilinx/wr_gtp_phy/gtp_bitslide.vhd
View file @
c2b7c093
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN BE-CO-HT
-- Created : 2010-11-18
-- Last update: 202
0-07-08
-- Last update: 202
3-12-11
-- Platform : FPGA-generic
-- Standard : VHDL'93
-------------------------------------------------------------------------------
...
...
@@ -39,6 +39,7 @@
-- 2010-11-18 0.4 twlostow Ported EASE design to VHDL
-- 2011-02-07 0.5 twlostow Verified on Spartan6 GTP
-- 2011-09-12 0.6 twlostow Virtex6 port
-- 2023-12-11 0.7 peterj Artix7 gtp depends on rx_byte_is_aligned
-------------------------------------------------------------------------------
library
ieee
;
...
...
@@ -49,8 +50,9 @@ entity gtp_bitslide is
generic
(
-- set to non-zero value to enable some simulation speedups (reduce delays)
g_simulation
:
integer
;
g_target
:
string
:
=
"spartan6"
);
g_simulation
:
integer
;
g_target
:
string
:
=
"spartan6"
;
g_use_rx_byte_is_aligned
:
boolean
:
=
false
);
port
(
gtp_rst_i
:
in
std_logic
;
...
...
@@ -240,13 +242,16 @@ begin -- behavioral
else
counter
<=
counter
+
1
;
end
if
;
-- gtp_rx_byte_is_aligned_i = '0' or serdes_ready_i = '0' or
if
(
counter
=
f_eval_link_down_threshold
)
then
if
(
g_use_rx_byte_is_aligned
=
true
and
(
gtp_rx_byte_is_aligned_i
=
'0'
or
serdes_ready_i
=
'0'
))
then
gtp_rx_cdr_rst_o
<=
'1'
;
state
<=
S_SYNC_LOST
;
elsif
(
g_use_rx_byte_is_aligned
=
false
and
counter
=
f_eval_link_down_threshold
)
then
report
"serdes: link down"
severity
error
;
gtp_rx_cdr_rst_o
<=
'1'
;
state
<=
S_SYNC_LOST
;
end
if
;
when
others
=>
null
;
end
case
;
end
if
;
...
...
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