BRIC Raw Data Format
Hardware: BRIC
See also: VME DAQ Rawdata Format
Data types |
|
0 |
header |
1 |
header 2 |
2 |
|
3 |
|
4 |
raw hits |
5 |
|
6 |
|
7 |
Status |
0 - header |
|||||||||||||||||||||||||||||||
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 |
reserved |
reserved |
window_id |
reserved |
branch_id |
branch_id is composed of bric_id and port number: branch_id = bric_id * 2 + port, port 0 is top-side connector, port 1 is bottom-side connector.
1 - header 2 |
|||||||||||||||||||||||||||||||
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 |
reserved |
branch_status |
reserved |
link2_status |
link1_status |
branch_status bits 3:0: timeout, align_err, overflow, disconnect.
link2 - remote, link1 - host.
link*_status bits 3:0: 0,0,rx_error,disconnect.
4 - raw hits |
|||||||||||||||||||||||||||||||
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 |
raw hit data |
7 - status |
|||||||||||||||||||||||||||||||
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 |
reserved |
LCF data |
bric_status |
LCF data is the latched contents of received Link Control Frame. User defined bits are described in BRICBOX.
bric_status bits:
- [0] - bric_timeout
- [1] - link down
- [2] - link data error
- [3] - link remote error
- [4] - LCF timeout
- [5] - link crc error
- [6] - error status readout by trigger
- [7] - reserved