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
f704f50e
Commit
f704f50e
authored
Sep 09, 2020
by
Nayib Boukadida
Committed by
Peter Jansweijer
Sep 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Splitted the tx_timestamp signal in two clock domains; refclk for phys output, sysclk for lm32
parent
4e39ff0f
Pipeline
#426
failed with stages
in 2 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
3 deletions
+16
-3
ep_timestamping_unit.vhd
modules/wr_endpoint/ep_timestamping_unit.vhd
+16
-3
No files found.
modules/wr_endpoint/ep_timestamping_unit.vhd
View file @
f704f50e
...
...
@@ -167,8 +167,9 @@ architecture syn of ep_timestamping_unit is
signal
tx_sync_delay
:
std_logic_vector
(
4
downto
0
);
signal
rx_sync_delay
:
std_logic_vector
(
4
downto
0
);
signal
rx_ts_done
:
std_logic
;
signal
tx_ts_done
:
std_logic
;
signal
rx_ts_done
:
std_logic
;
signal
tx_ts_done
:
std_logic
;
signal
txts
:
std_logic
;
signal
got_tx_oob
:
std_logic
;
signal
tx_oob_reg
:
std_logic_vector
(
15
downto
0
);
...
...
@@ -370,6 +371,18 @@ begin -- syn
synced_o
=>
open
,
npulse_o
=>
tx_ts_done
,
ppulse_o
=>
open
);
-- timestamping "out" signals sync chains (clk_ref -> clk_ref)
tx_out_gen
:
gc_sync_ffs
generic
map
(
g_sync_edge
=>
"positive"
)
port
map
(
clk_i
=>
clk_ref_i
,
rst_n_i
=>
rst_n_ref_i
,
data_i
=>
tx_sync_delay
(
0
),
synced_o
=>
open
,
npulse_o
=>
txts
,
ppulse_o
=>
open
);
-- timestamping "done" signals sync chains (clk_rx -> clk_sys)
rx_done_gen
:
gc_sync_ffs
...
...
@@ -383,7 +396,7 @@ begin -- syn
npulse_o
=>
rx_ts_done
,
ppulse_o
=>
open
);
txts_o
<=
tx
_ts_done
;
-- 2013-Nov-28 peterj added for debugging/calibration
txts_o
<=
tx
ts
;
-- 2013-Nov-28 peterj added for debugging/calibration
rxts_o
<=
rx_ts_done
;
-- 2013-Nov-28 peterj added for debugging/calibration
p_output_rx_ts
:
process
(
clk_rx_i
)
...
...
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