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
31ebd732
Commit
31ebd732
authored
May 24, 2017
by
Dimitris Lampridis
Committed by
Grzegorz Daniluk
Jul 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
platform/xilinx: fix multiple drivers error in ch0_rx
parent
f48d2cfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
wr_gtp_phy_spartan6.vhd
platform/xilinx/wr_gtp_phy/wr_gtp_phy_spartan6.vhd
+10
-10
No files found.
platform/xilinx/wr_gtp_phy/wr_gtp_phy_spartan6.vhd
View file @
31ebd732
...
...
@@ -6,7 +6,7 @@
-- Author : Tomasz Wlostowski
-- Company : CERN BE-CO-HT
-- Created : 2010-11-18
-- Last update: 201
2-08-13
-- Last update: 201
7-05-24
-- Platform : FPGA-generic
-- Standard : VHDL'93
-------------------------------------------------------------------------------
...
...
@@ -510,21 +510,21 @@ begin -- rtl
p_gen_output_ch0
:
process
(
ch0_rx_rec_clk
,
ch0_gtp_reset
)
begin
if
(
ch0_gtp_reset
=
'1'
)
then
ch0_rx_data
_o
<=
(
others
=>
'0'
);
ch0_rx_k
_o
<=
'0'
;
ch0_rx_enc_err
_o
<=
'0'
;
ch0_rx_data
<=
(
others
=>
'0'
);
ch0_rx_k
<=
'0'
;
ch0_rx_enc_err
<=
'0'
;
elsif
rising_edge
(
ch0_rx_rec_clk
)
then
if
(
ch0_rx_enable_output_synced
=
'0'
)
then
-- make sure the output data is invalid when the link is down and that it will
-- trigger the sync loss detection
ch0_rx_data
_o
<=
(
others
=>
'0'
);
ch0_rx_k
_o
<=
'1'
;
ch0_rx_enc_err
_o
<=
'1'
;
ch0_rx_data
<=
(
others
=>
'0'
);
ch0_rx_k
<=
'1'
;
ch0_rx_enc_err
<=
'1'
;
else
ch0_rx_data
_o
<=
ch0_rx_data_int
;
ch0_rx_k
_o
<=
ch0_rx_k_int
;
ch0_rx_enc_err
_o
<=
ch0_rx_disperr
or
ch0_rx_invcode
;
ch0_rx_data
<=
ch0_rx_data_int
;
ch0_rx_k
<=
ch0_rx_k_int
;
ch0_rx_enc_err
<=
ch0_rx_disperr
or
ch0_rx_invcode
;
end
if
;
end
if
;
end
process
;
...
...
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