File tree Expand file tree Collapse file tree 7 files changed +13
-13
lines changed
Expand file tree Collapse file tree 7 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ The Parameters that affect the configuration of the CRU and their possible value
135135
136136` GbtMode (GBT | WB) `
137137
138- ` GbtMux (TTC | DDG | SC ) `
138+ ` GbtMux (TTC | DDG | SWT ) `
139139
140140` LinkLoopbackEnabled (true | false) `
141141
@@ -204,12 +204,12 @@ The configuration file separates the parameter into three groups.
2042042 . ` [links] `
205205
206206 This part refers to all the links. Configuration that goes in this group will be applied to all links, unless specifically
207- setting parameters for individual links in the next section. For example to enable all links with SC MUX by default:
207+ setting parameters for individual links in the next section. For example to enable all links with SWT MUX by default:
208208
209209 ```
210210 [links]
211211 enabled=true
212- gbtmux=sc
212+ gbtmux=swt
213213 ```
214214
2152153. `[link*]`
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ static constexpr uint32_t DATA_MIDTRG(0x2);
3131
3232static constexpr uint32_t GBT_MUX_TTC (0x0 );
3333static constexpr uint32_t GBT_MUX_DDG (0x1 );
34- static constexpr uint32_t GBT_MUX_SC (0x2 );
34+ static constexpr uint32_t GBT_MUX_SWT (0x2 );
3535
3636static constexpr uint32_t GBT_MODE_GBT (0x0 );
3737static constexpr uint32_t GBT_MODE_WB (0x1 );
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ struct GbtMux
2929 {
3030 Ttc = Cru::GBT_MUX_TTC,
3131 Ddg = Cru::GBT_MUX_DDG,
32- Sc = Cru::GBT_MUX_SC ,
32+ Swt = Cru::GBT_MUX_SWT ,
3333 };
3434
3535 // / Converts a GbtMux to an int
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ onuaddress=0x0badcafe
4545# [true | false]
4646enabled =true
4747
48- # [TTC | DDG | SC ]
48+ # [TTC | DDG | SWT ]
4949gbtmux =TTC
5050
5151# ############################################
@@ -65,7 +65,7 @@ gbtmux=ttc
6565
6666[link2]
6767enabled =true
68- gbtmux =SC
68+ gbtmux =SWT
6969
7070[link3]
7171enabled =false
@@ -77,4 +77,4 @@ gbtmux=ddg
7777
7878[link21]
7979enabled =true
80- gbtmux =sc
80+ gbtmux =swt
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ class ProgramStatus: public Program
102102 gbtMux = " TTC:" + downstreamData;
103103 } else if (link.gbtMux == Cru::GBT_MUX_DDG) {
104104 gbtMux = " DDG" ;
105- } else if (link.gbtMux == Cru::GBT_MUX_SC ) {
106- gbtMux = " SC " ;
105+ } else if (link.gbtMux == Cru::GBT_MUX_SWT ) {
106+ gbtMux = " SWT " ;
107107 }
108108
109109 std::string datapathMode;
Original file line number Diff line number Diff line change @@ -107,8 +107,8 @@ void Gbt::getGbtMuxes()
107107 link.gbtMux = GbtMux::type::Ttc;
108108 } else if (txMux == Cru::GBT_MUX_DDG) {
109109 link.gbtMux = GbtMux::type::Ddg;
110- } else if (txMux == Cru::GBT_MUX_SC ) {
111- link.gbtMux = GbtMux::type::Sc ;
110+ } else if (txMux == Cru::GBT_MUX_SWT ) {
111+ link.gbtMux = GbtMux::type::Swt ;
112112 }
113113 }
114114}
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ namespace {
2323static const auto converter = Utilities::makeEnumConverter<GbtMux::type>(" GbtMux" , {
2424 { GbtMux::Ttc, " Ttc" },
2525 { GbtMux::Ddg, " Ddg" },
26- { GbtMux::Sc , " Sc " },
26+ { GbtMux::Swt , " Swt " },
2727});
2828
2929} // Anonymous namespace
You can’t perform that action at this time.
0 commit comments