FVME2TMWR Raw Data Format
Hardware: FVME2TM
See also: TTCM Data Format, VME DAQ Rawdata Format
Data Types
Data types |
|
0 |
logic state counters, matched (excluding dead time) |
1 |
logic state counters, all (unblocked) |
2 |
TAI timestamp and Global Event Number |
3 |
|
4 |
relative timestamp low |
5 |
relative timestamp high |
6 |
|
7 |
input counters |
Normal spill data
TAI Timecode
Timecode in TAI (International Atomic Time) scale is received by White Rabbit interface.
Global Event Number is received from Central Trigger Processor.
2 - TAI Timestamp |
|||||||||||||||||||||||||||||||
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
2 |
TAI ns [27:0] |
||||||||||||||||||||||||||||||
2 |
TAI seconds [23:0] |
TAI flags |
TAI ns [29:28] |
||||||||||||||||||||||||||||
2 |
Global Event Number [11:0] |
TAI seconds [39:24] |
|||||||||||||||||||||||||||||
2 |
Global Event Number [39:12] |
TAI flags: 2 - timecode is valid, otherwise invalid.
Relative Timestamp
Relative timestamp is reset every spill.
Timestamp frequency: 83.333 MHz
4 - Relative Timestamp |
|||||||||||||||||||||||||||||||
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
4 |
reserved |
timestamp bits 23:0 |
5 - Relative Timestamp and trigger bits |
|||||||||||||||||||||||||||||||
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
5 |
timestamp bits 31:24 |
Ext. trigger word |
trigger word |
Input Pulse Counters
7 - input counters |
|||||||||||||||||||||||||||||||
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
7 |
unblocked input 0 count |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
7 |
unblocked input 39 count |
Counter number is its position in readout data. Counters are cleared at the beginning of spill and after every trigger.
End of spill data
Logic State Counters
0 - logic state counters, matched (excluding dead time) |
|||||||||||||||||||||||||||||||
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
0 |
matched and triggered logic state count |
1 - logic state counters, all (triggered and dead time) |
|||||||||||||||||||||||||||||||
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
1 |
unblocked logic state count |
First logic state (number 0) is the trigger output. Counters are cleared at the beginning of spill.
Trigger Word Bits
- [0] - pulser 305 Hz
- [7:1] - NIM7..NIM1 (NIM line)
- [8] - LVDS1 (ST line)
- [9] - LVDS6 (TQDC1 line)
- [10] - LVDS10 (TQDC1 line)
- [11] - LVDS14 (TQDC1 line)
- [12] - LVDS18 (TQDC2 line)
- [13] - LVDS22 (TQDC2 line)
- [14] - LVDS26 (TQDC2 line)
- [15] - LVDS30 (TQDC2 line)
Input Counters Mapping
Input counter are enabled by TTC SPILL signal. The mapping between counter number, input channel and trigger logic line is following:
- [0] - pulser
- [1] - NIM1 (NIM line)
- [2] - NIM2 (NIM line)
- [3] - NIM3 (NIM line)
- [4] - NIM4 (NIM line)
- [5] - NIM5 (NIM line)
- [6] - NIM6 (NIM line)
- [7] - NIM7 (NIM line)
- [8] - LVDS1 (ST line)
- [9] - LVDS2 (unised)
- [10] - LVDS3 (unused)
- [11] - LVDS4 (unused)
- [12] - LVDS5 (unused)
- [13] - LVDS6 (TQDC1 line)
- [14] - LVDS7 (unused)
- [15] - LVDS8 (unused)
- [16] - LVDS9 (unused)
- [17] - LVDS10 (TQDC1 line)
- [18] - LVDS11 (unused)
- [19] - LVDS12 (unused)
- [20] - LVDS13 (unused)
- [21] - LVDS14 (TQDC1 line)
- [22] - LVDS15 (unused)
- [23] - LVDS16 (unused)
- [24] - LVDS17 (unused)
- [25] - LVDS18 (TQDC2 line)
- [26] - LVDS19 (unused)
- [27] - LVDS20 (unused)
- [28] - LVDS21 (unused)
- [29] - LVDS22 (TQDC2 line)
- [30] - LVDS23 (unused)
- [31] - LVDS24 (unused)
- [32] - LVDS25 (unused)
- [33] - LVDS26 (TQDC2 line)
- [34] - LVDS27 (unused)
- [35] - LVDS28 (unused)
- [36] - LVDS29 (unused)
- [37] - LVDS30 (TQDC2 line)
- [38] - LVDS31 (unused)
- [39] - LVDS32 (unused)