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
1
Merge Requests
1
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
48918a17
Commit
48918a17
authored
May 16, 2019
by
Maciej Lipinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wr_streamers: added/updated headers in the files added/created by Tom
parent
e0d5b5ba
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
182 additions
and
25 deletions
+182
-25
pulse_stamper_sync.vhd
modules/timing/pulse_stamper_sync.vhd
+35
-25
fifo_showahead_adapter.vhd
modules/wr_streamers/fifo_showahead_adapter.vhd
+36
-0
fixed_latency_delay.vhd
modules/wr_streamers/fixed_latency_delay.vhd
+36
-0
fixed_latency_ts_match.vhd
modules/wr_streamers/fixed_latency_ts_match.vhd
+39
-0
ts_restore_tai.vhd
modules/wr_streamers/ts_restore_tai.vhd
+36
-0
No files found.
modules/timing/pulse_stamper_sync.vhd
View file @
48918a17
-------------------------------------------------------------------------------
--------------------------------------------------------------------------------
-- Entity: pulse_stamper
-- CERN
-- File: pulse_stamper.vhd
-- wr-cores/timing
-- Description: a time-tagger which associates a time-tag with an asyncrhonous
-- https://www.ohwr.org/project/wr-cores
-- input pulse.
--------------------------------------------------------------------------------
-- Author: Javier Serrano (Javier.Serrano@cern.ch)
--
-- Date: 24 January 2012
-- unit name : pulse_stamper_sync.vhd
-- Version: 0.01
-- author : Tomasz Wlostowski, based on pulse_stamper by Javier Serrano
-- Todo: Factor out syncrhonizer in a separate reusable block.
-- description:
-------------------------------------------------------------------------------
--
-- this module allows to time stamp pulses that are synchronous to clk_ref
-------------------------------------------------------------------------------
-- domain, so in the domain of the WR time (i.e. tm_tai_i and tm_cycles_i).
-- The generated timestamp is then made available in the clk_sys domain.
--
--------------------------------------------------------------------------------
-- Copyright (c) 2019 CERN BE/CO/HT
--------------------------------------------------------------------------------
-- GNU LESSER GENERAL PUBLIC LICENSE
-- GNU LESSER GENERAL PUBLIC LICENSE
-- -----------------------------------
--------------------------------------------------------------------------------
-- This source file is free software; you can redistribute it and/or modify it
-- This source file is free software; you can redistribute it
-- under the terms of the GNU Lesser General Public License as published by the
-- and/or modify it under the terms of the GNU Lesser General
-- Free Software Foundation; either version 2.1 of the License, or (at your
-- Public License as published by the Free Software Foundation;
-- option) any later version.
-- either version 2.1 of the License, or (at your option) any
-- This source is distributed in the hope that it will be useful, but WITHOUT
-- later version.
-- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
--
-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
-- This source is distributed in the hope that it will be
-- for more details. You should have received a copy of the GNU Lesser General
-- useful, but WITHOUT ANY WARRANTY; without even the implied
-- Public License along with this source; if not, download it from
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-- http://www.gnu.org/licenses/lgpl-2.1.html
-- PURPOSE. See the GNU Lesser General Public License for more
-- details
--
-- You should have received a copy of the GNU Lesser General
-- Public License along with this source; if not, download it
-- from http://www.gnu.org/licenses/lgpl-2.1.html
--
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
library
ieee
;
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
all
;
use
ieee
.
numeric_std
.
all
;
...
...
modules/wr_streamers/fifo_showahead_adapter.vhd
View file @
48918a17
--------------------------------------------------------------------------------
-- CERN
-- wr-cores/wr-streamers
-- https://www.ohwr.org/project/wr-cores
--------------------------------------------------------------------------------
--
-- unit name : fifo_showahead_adapter.vhd
-- author : Tomasz Wlostowski
-- description:
--
-- Emulation of show-ahead FIFO, used if the show-ahead feature in a FIFO
-- is not supported.
--
--
--------------------------------------------------------------------------------
-- Copyright (c) 2019 CERN BE/CO/HT
--------------------------------------------------------------------------------
-- GNU LESSER GENERAL PUBLIC LICENSE
--------------------------------------------------------------------------------
-- This source file is free software; you can redistribute it
-- and/or modify it under the terms of the GNU Lesser General
-- Public License as published by the Free Software Foundation;
-- either version 2.1 of the License, or (at your option) any
-- later version.
--
-- This source is distributed in the hope that it will be
-- useful, but WITHOUT ANY WARRANTY; without even the implied
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-- PURPOSE. See the GNU Lesser General Public License for more
-- details
--
-- You should have received a copy of the GNU Lesser General
-- Public License along with this source; if not, download it
-- from http://www.gnu.org/licenses/lgpl-2.1.html
--
-------------------------------------------------------------------------------
library
ieee
;
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
std_logic_1164
.
all
;
...
...
modules/wr_streamers/fixed_latency_delay.vhd
View file @
48918a17
--------------------------------------------------------------------------------
-- CERN
-- wr-cores/wr-streamers
-- https://www.ohwr.org/project/wr-cores
--------------------------------------------------------------------------------
--
-- unit name : fixed_latency_delay.vhd
-- author : Tomasz Wlostowski
-- description:
--
-- This module delays incoming data until the configured fixed
-- latency
--
--
--------------------------------------------------------------------------------
-- Copyright (c) 2019 CERN BE/CO/HT
--------------------------------------------------------------------------------
-- GNU LESSER GENERAL PUBLIC LICENSE
--------------------------------------------------------------------------------
-- This source file is free software; you can redistribute it
-- and/or modify it under the terms of the GNU Lesser General
-- Public License as published by the Free Software Foundation;
-- either version 2.1 of the License, or (at your option) any
-- later version.
--
-- This source is distributed in the hope that it will be
-- useful, but WITHOUT ANY WARRANTY; without even the implied
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-- PURPOSE. See the GNU Lesser General Public License for more
-- details
--
-- You should have received a copy of the GNU Lesser General
-- Public License along with this source; if not, download it
-- from http://www.gnu.org/licenses/lgpl-2.1.html
--
-------------------------------------------------------------------------------
library
ieee
;
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
all
;
use
ieee
.
numeric_std
.
all
;
...
...
modules/wr_streamers/fixed_latency_ts_match.vhd
View file @
48918a17
--------------------------------------------------------------------------------
-- CERN
-- wr-cores/wr-streamers
-- https://www.ohwr.org/project/wr-cores
--------------------------------------------------------------------------------
--
-- unit name : fixed_latency_ts_match.vhd
-- author : Tomasz Wlostowski
-- description:
--
-- Module that "fires" (pulse on match_o) when the current TAI time
-- is exactly input timestamped delayed by input latency, i.e.
-- current_TAI_time = ts_tai_i + ts_cycles_i + ts_latency_i
-- The module includes handling of timeout and "missed deadline", i.e. the
-- situation in which current TAI time is already passed the delayed timestamp.
--
--
--------------------------------------------------------------------------------
-- Copyright (c) 2019 CERN BE/CO/HT
--------------------------------------------------------------------------------
-- GNU LESSER GENERAL PUBLIC LICENSE
--------------------------------------------------------------------------------
-- This source file is free software; you can redistribute it
-- and/or modify it under the terms of the GNU Lesser General
-- Public License as published by the Free Software Foundation;
-- either version 2.1 of the License, or (at your option) any
-- later version.
--
-- This source is distributed in the hope that it will be
-- useful, but WITHOUT ANY WARRANTY; without even the implied
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-- PURPOSE. See the GNU Lesser General Public License for more
-- details
--
-- You should have received a copy of the GNU Lesser General
-- Public License along with this source; if not, download it
-- from http://www.gnu.org/licenses/lgpl-2.1.html
--
-------------------------------------------------------------------------------
library
ieee
;
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
numeric_std
.
all
;
use
ieee
.
numeric_std
.
all
;
...
...
modules/wr_streamers/ts_restore_tai.vhd
View file @
48918a17
--------------------------------------------------------------------------------
-- CERN
-- wr-cores/wr-streamers
-- https://www.ohwr.org/project/wr-cores
--------------------------------------------------------------------------------
--
-- unit name : ts_restore_tai.vhd
-- author : Tomasz Wlostowski
-- description:
--
-- This module restores full TAI timestamp from the timestamp
-- received in WR_streamer frame
--
--
--------------------------------------------------------------------------------
-- Copyright (c) 2019 CERN BE/CO/HT
--------------------------------------------------------------------------------
-- GNU LESSER GENERAL PUBLIC LICENSE
--------------------------------------------------------------------------------
-- This source file is free software; you can redistribute it
-- and/or modify it under the terms of the GNU Lesser General
-- Public License as published by the Free Software Foundation;
-- either version 2.1 of the License, or (at your option) any
-- later version.
--
-- This source is distributed in the hope that it will be
-- useful, but WITHOUT ANY WARRANTY; without even the implied
-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-- PURPOSE. See the GNU Lesser General Public License for more
-- details
--
-- You should have received a copy of the GNU Lesser General
-- Public License along with this source; if not, download it
-- from http://www.gnu.org/licenses/lgpl-2.1.html
--
-------------------------------------------------------------------------------
library
ieee
;
library
ieee
;
use
ieee
.
std_logic_1164
.
all
;
use
ieee
.
std_logic_1164
.
all
;
...
...
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