Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Gateware
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
FMC TDC 1ns 5cha - Gateware
Commits
4781324e
Commit
4781324e
authored
Sep 03, 2018
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data_formatting: minor refactoring.
parent
0c3ceadb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
data_formatting.vhd
hdl/rtl/data_formatting.vhd
+10
-5
No files found.
hdl/rtl/data_formatting.vhd
View file @
4781324e
...
...
@@ -322,11 +322,16 @@ begin
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- metadata: information about the timestamp
metadata
<=
std_logic_vector
(
acam_start_nb
(
7
downto
0
))
&
-- for debug
coarse_zero
&
std_logic_vector
(
un_retrig_nb_offset
(
7
downto
0
))
&
-- for debug
std_logic_vector
(
roll_over_nb_i
(
2
downto
0
))
&
std_logic_vector
(
un_clk_i_cycles_offset
(
6
downto
0
))
&
-- for debug
acam_slope
&
roll_over_incr_recent_i
&
acam_channel
;
-- 5 LSbits used for slope and acam_channel
-- for debug
metadata
(
31
downto
24
)
<=
std_logic_vector
(
acam_start_nb
(
7
downto
0
));
metadata
(
23
)
<=
coarse_zero
;
metadata
(
22
downto
15
)
<=
std_logic_vector
(
un_retrig_nb_offset
(
7
downto
0
));
metadata
(
14
downto
12
)
<=
std_logic_vector
(
roll_over_nb_i
(
2
downto
0
));
metadata
(
11
downto
5
)
<=
std_logic_vector
(
un_clk_i_cycles_offset
(
6
downto
0
));
-- 5 LSbits used for slope and acam_channel
metadata
(
4
)
<=
acam_slope
;
metadata
(
3
)
<=
roll_over_incr_recent_i
;
metadata
(
2
downto
0
)
<=
acam_channel
;
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
full_timestamp
(
31
downto
0
)
<=
fine_time
;
...
...
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