forked from AliceO2Group/ReadoutCard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cru_template.cfg
91 lines (68 loc) · 1.43 KB
/
cru_template.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
#############################################
# readoutcard configuration file
#
# commments start with #
# section names are in brackets []
# settings are defined with key=value pairs
#############################################
#############################################
# global cru settings
#############################################
[cru]
# [true | false]
allowRejection=false
# [ttc | local]
clock=local
# 12-bit CRU ID [0xdac]
cruId=0x42
# [packet | continuous]
datapathMode=continuous
# [true | false]
loopback=false
# [GBT | WB]
gbtMode=WB
# [CTP | PATTERN | MIDTRG]
downstreamData=MIDTRG
# [true | false]
ponUpstream=false
# [0x0badcafe]
onuAddress=0x0badcafe
# [true | false]
dynamicOffset=false
# [<4096]
triggerWindowSize=1000
# [true | false]
gbtEnabled=true
# [true | false]
userLogicEnabled=false
#############################################
# links
#############################################
# Configuration to be applied to all links
# Unless stated otherwise in the next section
[links]
# [true | false]
enabled=true
# [TTC | DDG | SWT]
gbtMux=TTC
#############################################
# link*
#############################################
# Configuration for specified link
# Will overwrite any configuration stated in
# the previous section
#[link0]
#enabled=true
#gbtMux=ddg
[link1]
enabled=true
gbtMux=ttc
[link2]
enabled=true
gbtMux=SWT
[link3]
enabled=false
gbtMux=TTC
[link4]
enabled=false
gbtMux=ddg