OTSiA OCh_C_MP: For further study |
-| NOTE – In case of SNC/N protection. | |
-
-##### Processes
-
-The processes associated with the OTSi|OCh\_C function are as depicted in Figure 12-5.
-
-OTSi|OCh\_CI is routed between input and output media channel points and overhead and maintenance signal connection points by means of one or more matrix media channel connections and an overhead and maintenance signal a matrix connection. Connection points may be allocated within a protection group.
-
-NOTE 2 – Neither the number of input/output signals to the connection function, nor the connectivity, is specified in this Recommendation. That is a property of individual network elements. Examples of connectivity are given in Appendix I of [ITU-T G.806].
-
-**Routing:** The function shall be able to connect a specific input with a specific output by means of establishing a matrix overhead/maintenance signal channel/connection (MOMSC) and/or a matrix media channel (MMC) between the specified input and output, and it shall be able to remove an established MOMSC and/or MMC as defined by MI\_MatrixControl.
-
-The matrix control in this case refers to both the configuration of the media element to achieve the desired payload connectivity and/or the configuration of the OTSi|OCh-O\_C to achieve the desired overhead and maintenance signal connectivity.
-
-Three cases are supported:
-
-- 1) **MMC** only command;
-*this is the first portion of case 1 of [ITU-T G.872]. i.e., pre-configure matrix media channels*
-- 2) **MOMSC** only command;
-*this is the second portion of case 1 of [ITU-T G.872]. i.e., configure the overhead connectivity (given that there already exist the pre-configure matrix media channels)*
-- 3) **MMC+MOMSC** command;
-*this is case 2 of [ITU-T G.872], i.e., configure both the matrix media channels and overhead connectivity at the same time*
-
-by the following commands:
-
-- Command: Establish MMC
- - Pre-condition: no MMC, no MOMSC
- - Post-condition: MMC created, no MOMSC
-- Command: Remove MMC
- - Pre-condition: MMC exist, no MOMSC
- - Post-condition: MMC removed, no MOMSC
-- Command: Establish MOMSC
- - Pre-condition: MMC exist, no MOMSC
- - Post-condition: MMC exist, MOMSC created
-- Command: Remove MOMSC
- - Pre-condition: MMC exist, MOMSC exist
- - Post-condition: MMC exist, MOMSC removed
-- Command: Establish MMC + MOMSC
- - Pre-condition: no MMC, no MOMSC
- - Post-condition: MMC created, MOMSC created
-- Command: Remove MMC + MOMSC
- - Pre-condition: MMC exist, MOMSC exist
-
-- Post-condition: MMC removed, MOMSC removed
-
-Each (matrix) connection in the OTSiA|OCh\_C function should be characterized by the:
-
-- type of connection: unprotected, 1+1 unidirectional protected;
-- traffic direction: unidirectional, bidirectional;
-- input and output media channel points and/or overhead and maintenance signal connection points: set of media channel points and/or overhead and maintenance signal connection points.
-
-NOTE 3 – Broadcast connections are handled as separate connections to the same CP.
-
-NOTE 4 – For the case a network element supports 1+1 protected matrix connections in its OTSiA|OCh\_C function, this function may contain at any moment in time either all unprotected matrix connections, or all 1+1 protected matrix connections, or a mixture of unprotected and 1+1 protected matrix connections. The actual set of matrix connections and associated connection types and directions are operational parameters controlled by network management.
-
-Provided no protection switching action is activated/required, the following changes to (the configuration of) a connection shall be possible without disturbing the CI passing the connection:
-
-- addition and removal of protection;
-- addition and removal of connections to/from a broadcast connection;
-- change of WTR time;
-- change of operation type;
-- change of hold-off time.
-
-**Open connection indication (OCI):** If an output of the connection function is not connected to an input, the OCI maintenance signal is generated for the outgoing signal (CI\_OH). CI\_SSF-P and CI\_SSF-O are false.
-
-
-
-Figure 12-5 – OTSiA|OCh-O\_C function processes. The diagram illustrates the internal structure of an OTSiA|OCh-O\_C function. On the left, OTSiGs and OTSis are shown entering and exiting a 'Media element' through 'Media channel points'. A 'Coordination To/from media element' is indicated. The central part is a 'Matrix connection' block, which is part of the OTSiA|OCh\_C\_MP function. This block has multiple input and output ports. Each port is associated with a set of signals: CI\_OH, CI\_SSF-P, and CI\_SSF-O. The matrix connection itself is shown as a large rectangle with 'OCI' (Open Connection Indication) blocks at the input and output. The signals are labeled 'x-O\_CP' at the top and bottom of the matrix connection. The diagram also shows 'Zero or more OTSi per MCP' (Media Channel Point) labels at the top and bottom of the media element. The overall structure shows the flow of signals through the matrix connection within the OTSiA|OCh\_C\_MP function.
-
-Figure 12-5 – OTSiA|OCh-O\_C function processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 12.1.1.1 Subnetwork connection protection process
-
-NOTE – This process is active in the OTSiA|OCh\_C function as many times as there are 1+1 protected matrix connections.
-
-The basic subnetwork connection protection mechanism is identical to the SDH subnetwork connection process described in [ITU-T G.841].
-
-SNC protection with non-intrusive monitoring (SNC/N) is supported.
-
-Figure 12-6 gives the atomic functions involved in SNC/N protection. The working and protection OTSiG-O or OCh-O CI coming from an OMS-O/OTSiG|OCh-O\_A function are monitored by an OTSiG-O or OCh-O non-intrusive monitor, which provides the TSF-P protection switching criteria.
-
-
-
-The diagram illustrates the atomic functions for SNC/N protection. At the top, a central oval represents the **OTSiA|OCh\_C** function. Above it, under the heading **Normal (protected)**, are two sets of input signals labeled **1** and **m**, with text indicating they are **OTSiG or OTSia)** and **OTSiA or OCh**. Below the central oval, on the left, is a **Media element** block. To its left, **Working OTSiG or OTSia)** signals (labeled **1** and **m**) enter the media element. To its right, **Protection OTSiG or OTSia)** signals (also labeled **1** and **m**) exit the media element. Below the media element, four trapezoidal blocks represent **OMS-O/OTSiG|OCh-O** functions. The first and third blocks have downward-pointing arrows, while the second and fourth have upward-pointing arrows. Between the second and third blocks, a **Working x-O\_CI** signal is shown entering the second block. Between the third and fourth blocks, a **Protection x-O\_CI** signal is shown exiting the fourth block. Both **Working x-O\_CI** and **Protection x-O\_CI** signals pass through a non-intrusive monitor block labeled **x-Om**. Above each **x-Om** block is a **TSF-P** (Traffic Switching Function - Protection) block, connected by dashed lines. At the bottom, a note states **a) m equals 1 for OTSi**. Another note at the bottom right indicates **x = OTSiG or OCh**. The diagram is identified by the code **G.798(17)\_F12-6**.
-
-Diagram of SNC/N protection atomic functions showing signal flow between OTSiA|OCh\_C, Media element, and OMS-O/OTSiG|OCh-O functions.
-
-**Figure 12-6 – SNC/N protection atomic functions**
-
-The protection functions at both ends operate the same way, by monitoring working and protection subnetwork connections for defects, evaluating the system status taking into consideration the priorities of defect conditions and of external switch requests, and switching the appropriate channel to the protected (sub)network connection.
-
-The signal flow associated with the OTSiA|OCh\_C SNC protection process is described with reference to Figure 12-7. The protection process receives control parameters and external switch requests at the MP reference point. The report of status information at the MP reference point is for further study.
-
-
-
-a) m equals 1 for OTSi
-
-G.798(17)\_F12-7
-
-Diagram of SNC/N protection process showing signal flow between two nodes. Each node has a 'Normal (protected)' block containing 'Working' and 'Protection' sub-blocks. Signals from OTSiG or OTSi (with m parallel paths) enter the 'Normal (protected)' block and are distributed to both 'Working' and 'Protection' sub-blocks. The 'Working' sub-blocks output signals to OTSiG or OTSi (with m parallel paths). The 'Protection' sub-blocks output signals to x-O\_CP (where x = OTSiG or OCh). A 'Coordination' link connects the two nodes. The right node also receives an OTSiA | OCh\_C\_MP signal. A note indicates 'a) m equals 1 for OTSi'.
-
-**Figure 12-7 – SNC/N protection process**
-
-##### *Source direction*
-
-For 1+1 architecture, the CI coming from the normal (protected) OTSiG or OTSi and OTSiG-O or OCh-O CP is bridged permanently to both the working and protection OTSiG or OTSi and OTSiG-O or OCh-O CP.
-
-##### *Sink direction*
-
-For a 1+1 architecture, the CI coming either from the working or protection OTSiG or OTSi and OTSiG-O or OCh-O CP is switched to the normal (protected) OTSiG or OTSi and OTSiG-O or OCh-O CP. A switchover from working to protection OTSiG or OTSi and OTSiG-O or OCh-O CP, or vice versa, is initiated by the switch initiation criteria defined below.
-
-##### *Switch initiation criteria*
-
-Automatic protection switching is based on the defect conditions of the working and protection (sub)network connections. These condition(s) are for SNC/N trail signal fail payload (TSF-P) and trail signal fail overhead (TSF-O). The use of TSF-O as protection switching criteria can be disabled (MI\_TSF-ODis). The priority of TSF-P shall be equal to signal fail as defined in [ITU-T G.841]. The priority of TSF-O shall be equal to signal degrade as defined in [ITU-T G.841].
-
-In order to allow interworking between nested protection schemes, a hold-off timer is provided. The hold-off timer delays switch initiation in case of signal fail in order to allow a nested protection to react and clear the fault condition. The hold-off timer is started by the activation of signal fail and runs for the hold-off time. Protection switching is only initiated if signal fail is still present at the end of the hold-off time. The hold-off time shall be provisionable between 0 and 10 s in steps of 100 ms.
-
-Protection switching can also be initiated by external switch commands received via the MP.
-
-Depending on the mode of operation, internal states (e.g., wait to restore) may also initiate a switch over. See the switch initiation criteria described in [ITU-T G.841].
-
-##### *Switching time*
-
-Refer to [ITU-T G.841].
-
-##### Switch restoration
-
-In the revertive mode of operation, the protected signal shall be switched back from the protection (sub)network connection to the working (sub)network connection when the working (sub)network connection has recovered from the fault.
-
-To prevent frequent operation of the protection switch due to an intermittent fault, a failed working (sub)network connection must become fault-free for a certain period of time before it is used again. This period, called wait to restore (WTR) period should be of the order of 5-12 minutes and should be capable of being set.
-
-In the non-revertive mode of operation, no switchback to the working (sub)network connection is performed when it has recovered from the fault.
-
-Protection switching notifications to the MP are for further study.
-
-## 12.2 Termination functions
-
-### 12.2.1 OTSiG-O trail termination function (OTSiG-O\_TT)
-
-The OTSiG-O\_TT functions are responsible for the end-to-end supervision of the OTSiG-O trail. Figure 12-8 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-
-
-The diagram illustrates the OTSiG-O Trail Termination (TT) function as a combination of two unidirectional functions. On the left, a downward-pointing triangle labeled 'OTSiG-O' represents the sink function, with an input arrow from the top and an output arrow pointing to 'OTSiG-O\_TCP' at the bottom. On the right, an upward-pointing triangle labeled 'OTSiG-O' represents the source function, with an input arrow from 'OTSiG-O\_TCP' at the bottom and an output arrow pointing to 'OTSiG-O\_AP' at the top. The reference code 'G.798(17)\_F12-8' is located at the bottom right of the diagram.
-
-Diagram of OTSiG-O Trail Termination (TT) function showing sink and source components.
-
-Figure 12-8 – OTSiG-O\_TT
-
-#### 12.2.1.1 OTSiG-O trail termination source function (OTSiG-O\_TT\_So)
-
-The OTSiG-O\_TT\_So function adds overhead for the purpose of managing an OTSiG maintenance entity – including OTSiG-O TTI, OCI, TSI, FDI-P/O and BDI-P/O.
-
-The information flow and processing of the OTSiG-O\_TT\_So function is defined with reference to Figures 12-9 and 12-10.
-
-##### Symbol
-
-
-
-The diagram shows the symbol for the OTSiG-O Trail Termination Source (TT\_So) function. It consists of a downward-pointing triangle labeled 'OTSiG-O'. An input arrow labeled 'OTSiG-O\_TT\_So\_RP' enters the triangle from the right. An output arrow points from the bottom vertex of the triangle to 'OTSiG-O\_TCP'. The reference code 'G.798(17)\_F12-9' is located at the bottom right of the diagram.
-
-Symbol for OTSiG-O Trail Termination Source (TT\_So) function.
-
-Figure 12-9 – OTSiG-O\_TT\_So function
-
-##### Interfaces
-
-**Table 12-2 – OTSiG-O\_TT\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------|
-| OTSiG-O_RP: OTSiG-O_RI_BDI-O OTSiG-O_RI_BDI-P OTSiG-O_TT_So_MP: OTSiG-O_TT_So_MI_TxTI OTSiG-O_TT_So_MI_TxTSI | OTSiG-O_TCP: OTSiG-O_CI_OH |
-
-##### Processes
-
-The processes associated with the OTSiG-O\_TT\_So function are as depicted in Figure 12-10.
-
-**TTI:** The trail trace identifier information (OTSiG-TTI) is inserted into the OTSiG-O portion of the OSC. Its value is derived from reference point OTSiG-O\_TT\_So\_MP. The trail trace format is described in clause 15.2 of [ITU-T G.709].
-
-**TSI:** The transmitter structure identifier information (OTSiG-TSI) is inserted into the OTSiG-O portion of the OSC. Its value is derived from reference point OTSiG-O\_TT\_So\_MP.
-
-**BDI-P:** The BDI-P information (OTSiG-BDI-P) is inserted into the OTSiG-O portion of the OSC. Its value is derived from reference point OTSiG-O\_TT\_So\_RP. Upon the declaration/clearing of aBDI-P at the termination sink function, the trail termination source function shall have inserted/removed the BDI-P indication within 50 ms.
-
-**BDI-O:** The BDI-O information (OTSiG-BDI-O) is inserted into the OTSiG-O portion of the OSC. Its value is derived from reference point OTSiG-O\_TT\_So\_RP. Upon the declaration/clearing of aBDI-O at the termination sink function, the trail termination source function shall have inserted/removed the BDI-O indication within 50 ms.
-
-The FDI-P, FDI-O and OCI information elements shall be set to false.
-
-
-
-The diagram illustrates the 'Overhead insertion' process within the OTSiG-O\_TT\_So function. A central vertical bar labeled 'Overhead insertion' has arrows pointing to it from seven boxes: 'Insert BDI-P', 'Insert BDI-O', 'Insert OCI', 'Insert FDI-P', 'Insert FDI-O', 'Insert TTI', and 'Insert TSI'. These boxes are grouped into two sets by curly braces on the right. The top set, containing BDI-P, BDI-O, OCI, FDI-P, and FDI-O, is associated with the reference point 'OTSiG-O\_TT\_So\_RP' and has input arrows from 'RI\_BDI-P' and 'RI\_BDI-O'. The bottom set, containing TTI and TSI, is associated with the reference point 'OTSiG-O\_TT\_So\_MP' and has input arrows from 'MI\_TxTTI' and 'MI\_TxTSI'. An arrow points from the bottom of the 'Overhead insertion' bar to 'CI\_OH'. Below the diagram, the label 'OTSiG-O\_TCP' is present. In the bottom right corner, the text 'G.798(17)-Cor.1(18)\_F12-10' is visible.
-
-Diagram of OTSiG-O\_TT\_So processes showing overhead insertion steps and their associated reference points.
-
-**Figure 12-10 – OTSiG-O\_TT\_So processes**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 12.2.1.2 OTSiG-O trail termination sink function (OTSiG-O\_TT\_Sk)
-
-The OTSiG-O\_TT\_Sk function extracts the OTSiG-O overhead – including the FDI-P, FDI-O and OCI signals – from the OTSiG-O signal at its OTSiG-O\_TCP, detects for OCI, FDI-P and FDI-O defects.
-
-##### Symbol
-
-
-
-G.798(17)-Amd.3(21)\_F12-11
-
-Symbol diagram for OTSiG-O\_TT\_Sk function. A central triangle labeled 'OTSiG-O' has four interfaces: OTSiG-O\_AP at the top (output), OTSiG-O\_TT\_Sk\_MP on the left (input), OTSiG-O\_TT\_Sk\_RP on the right (output), and OTSiG-O\_TCP at the bottom (input).
-
-**Figure 12-11 – OTSiG-O\_TT\_Sk function**
-
-##### Interfaces
-
-**Table 12-3 – OTSiG-O\_TT\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| OTSiG-O_TCP: OTSiG-O_CI_OH OTSiG-O_CI_SSF-P OTSiG-O_CI_SSF-O OTSiG-O_TT_Sk_MP: OTSiG-O_TT_Sk_MI_ExSAPI OTSiG-O_TT_Sk_MI_ExDAPI OTSiG-O_TT_Sk_MI_GetAcTI OTSiG-O_TT_Sk_MI_TIMDetMo OTSiG-O_TT_Sk_MI_TIMActDis OTSiG-O_TT_Sk_MI_1second | OTSiG-O_AP: OTSiG-O_AI_TSF-P OTSiG-O_AI_TSF-O OTSiG-O_RP: OTSiG-O_RI_BDI-P OTSiG-O_RI_BDI-O OTSiG-O_TT_Sk_MP: OTSiG-O_TT_Sk_MI_AcTI OTSiG-O_TT_Sk_MI_cTIM OTSiG-O_TT_Sk_MI_cBDI OTSiG-O_TT_Sk_MI_cBDI-P OTSiG-O_TT_Sk_MI_cBDI-O OTSiG-O_TT_Sk_MI_cOCI OTSiG-O_TT_Sk_MI_cSSF OTSiG-O_TT_Sk_MI_cSSF-P OTSiG-O_TT_Sk_MI_cSSF-O OTSiG-O_TT_Sk_MI_pN_DS-P OTSiG-O_TT_Sk_MI_pN_DS-O OTSiG-O_TT_Sk_MI_pF_DS-P OTSiG-O_TT_Sk_MI_pF_DS-O |
-
-##### Processes
-
-The processes associated with the OTSiG-O\_TT\_Sk function are as depicted in Figure 12-12. The specific implementation for extracting information elements from the OTSiG-O\_CI is outside the scope of this Recommendation.
-
-**TTI:** The trail trace identifier information (OTSiG-TTI) shall be recovered from the OTSiG-O portion of the OSC and processed as specified in clause 8.6. The accepted value of the TTI is available at the MP. The trail trace format is described in clause 15.2 of [ITU-T G.709].
-
-**BDI-P:** The BDI-P information (OTSiG-BDI-P) shall be extracted from the OTSiG-O portion of the OSC. It shall be used for BDI-P defect detection.
-
-**BDI-O:** The BDI-O information (OTSiG-BDI-O) shall be extracted from the OTSiG-O portion of the OSC. It shall be used for BDI-O defect detection.
-
-**FDI-P:** The FDI-P information (OTSiG-O-FDI-P) shall be extracted from the OTSiG-O portion of the OSC. It shall be used for FDI-P defect detection.
-
-**FDI-O:** The FDI-O information (OTSiG-O-FDI-O) shall be extracted from the OTSiG-O portion of the OSC. It shall be used for FDI-O defect detection.
-
-**OCI:** The OCI information (OTSiG-O-OCI) shall be extracted from the OTSiG-O portion of the OSC. It shall be used for OCI defect detection.
-
-**TSI:** The TSI information (OTSiG-O-TSI) shall be extracted from the OTSiG-O portion of the OSC.
-
-
-
-```
-
-graph TD
- subgraph OTSiG-O_TT_Sk_RP
- RI_BDI_O[RI_BDI-O]
- RI_BDI_P[RI_BDI-P]
- ConsActions[Consequent actions]
- end
-
- subgraph OTSiG-O_TT_Sk_MP
- MI_Signals[MI_TIMActDis
-MI_AcTI
-MI_ExSAPI
-MI_ExDAPI
-MI_GetAcTI
-MI_TIMDetMo]
- ProcessTTI[Process TTI]
- ExtractTTI[Extract TTI]
- DefectCorr[Defect correlation]
- PerfMon[Performance monitoring]
- OHAccess[OTSiG OH access]
- end
-
- subgraph OTSiG-O_TCP
- CI_SSF_P[CI_SSF-P]
- CI_SSF_O[CI_SSF-O]
- CI_OH[CI_OH]
- end
-
- OHAccess --> ExtractTTI
- OHAccess --> ExtractBDI_O[Extract BDI-O]
- OHAccess --> ExtractBDI_P[Extract BDI-P]
- OHAccess --> ExtractFDI_O[Extract FDI-O]
- OHAccess --> ExtractFDI_P[Extract FDI-P]
- OHAccess --> ExtractOCI[Extract OCI]
-
- ExtractTTI --> ProcessTTI
- ProcessTTI --> dTIM
- ExtractBDI_O --> dBDI_O
- ExtractBDI_P --> dBDI_P
- ExtractFDI_O --> dFDI_O
- ExtractFDI_P --> dFDI_P
- ExtractOCI --> dOCI
-
- dTIM --> DefectCorr
- dBDI_O --> DefectCorr
- dBDI_P --> DefectCorr
- dFDI_O --> DefectCorr
- dFDI_P --> DefectCorr
- dOCI --> DefectCorr
-
- DefectCorr --> MI_cSignals[MI_cSSF-O
-MI_cSSF-P
-MI_cBDI-O
-MI_cBDI-P
-MI_cSSF
-MI_cBDI
-MI_cTIM
-MI_cOCI]
-
- dBDI_O --> PerfMon
- dBDI_P --> PerfMon
- PerfMon --> MI_pfSignals[MI_pF_DS-O
-MI_pF_DS-P
-MI_1second
-MI_pN_DS-O
-MI_pN_DS-P]
-
- ConsActions --> AI_TSF_P[AI_TSF-P]
- ConsActions --> AI_SSF_O[AI_SSF-O]
-
-```
-
-Diagram of OTSiG-O\_TT\_Sk processes showing internal components and their interactions. The diagram is divided into three main sections: OTSiG-O\_TT\_Sk\_RP (top), OTSiG-O\_TT\_Sk\_MP (middle), and OTSiG-O\_TCP (bottom). OTSiG-O\_TT\_Sk\_RP includes RI\_BDI-O, RI\_BDI-P, and Consequent actions. OTSiG-O\_TT\_Sk\_MP includes MI\_TIMActDis, MI\_AcTI, MI\_ExSAPI, MI\_ExDAPI, MI\_GetAcTI, MI\_TIMDetMo, Process TTI, Extract TTI, Defect correlation, Performance monitoring, and OTSiG OH access. OTSiG-O\_TCP includes CI\_SSF-P, CI\_SSF-O, and CI\_OH. Arrows show data flow between these components and external signals like AI\_TSF-P, AI\_SSF-O, dTIM, dOCI, dFDI-O, dFDI-P, dBDI-O, dBDI-P, CI\_SSF-O, and CI\_SSF-P.
-
-G.798(17)-Amd.3(21)\_F12-12
-
-Figure 12-12 – OTSiG-O\_TT\_Sk processes
-
-##### Defects
-
-The function shall detect for dFDI-P, dFDI-O and dOCI.
-
-**dFDI-P:** See clause 6.2.6.1.1.
-
-**dFDI-O:** See clause 6.2.6.2.1.
-
-**dOCI:** See clause 6.2.6.8.1; dOCI shall be set to false during CI\_SSF-O and dFDI-O.
-
-**dTIM:** See clause 6.2.2.1; dTIM shall be set to false during CI\_SSF-O and dFDI-O.
-
-**dBDI-P:** See clause 6.2.6.4.1; dBDI-P shall be set to false during CI\_SSF-O and dFDI-O.
-
-**dBDI-O:** See clause 6.2.6.5.1; dBDI-O shall be set to false during CI\_SSF-O and dFDI-O.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-$aTSF\text{-}P \leftarrow CI\_SSF\text{-}P \text{ or } dOCI \text{ or } dFDI\text{-}P \text{ or } (dTIM \text{ and } (\text{not } TIMActDis))$
-
-$aTSF\text{-}O \leftarrow CI\_SSF\text{-}O \text{ or } dFDI\text{-}O \text{ or } (dTIM \text{ and } (\text{not } TIMActDis))$
-
-$aBDI\text{-}P \leftarrow CI\_SSF\text{-}P \text{ or } dFDI\text{-}P \text{ or } dTIM$
-
-$aBDI\text{-}O \leftarrow CI\_SSF\text{-}O \text{ or } dFDI\text{-}O \text{ or } dTIM$
-
-##### **Defect correlations**
-
-The function shall perform the following defect correlations to determine the most probable fault cause. This fault cause shall be reported to the EMF.
-
-$\text{cOCI} \leftarrow \text{dOCI and (not CI\_SSF-P) and (not CI\_SSF-O) and (not FDI-O) and (not FDI-P)}$
-
-$\text{cSSF} \leftarrow \text{(CI\_SSF-P or dFDI-P) and (CI\_SSF-O or dFDI-O)}$
-
-$\text{cSSF-P} \leftarrow \text{(CI\_SSF-P or dFDI-P) and (not cSSF)}$
-
-$\text{cSSF-O} \leftarrow \text{(CI\_SSF-O or dFDI-O) and (not cSSF)}$
-
-$\text{cBDI} \leftarrow \text{dBDI-P and dBDI-O and (not CI\_SSF) and (not dTIM)}$
-
-$\text{cBDI-P} \leftarrow \text{dBDI-P and (not CI\_SSF) and (not (dTIM and (not TIMActDis))) and (not dBDI-O)}$
-
-$\text{cBDI-O} \leftarrow \text{dBDI-O and (not CI\_SSF) and (not (dTIM and (not TIMActDis))) and (not dBDI-P)}$
-
-$\text{cTIM} \leftarrow \text{dTIM and (not CI\_SSF)}$
-
-##### **Performance monitoring**
-
-The OTSiG-O\_TT\_Sk function shall perform the following performance monitoring primitives. The performance monitoring primitives shall be reported to the EMF.
-
-$\text{pN\_DS-P} \leftarrow \text{CI\_SSF-P or dTIM}$
-
-$\text{pN\_DS-O} \leftarrow \text{CI\_SSF-O or dTIM}$
-
-$\text{pF\_DS-P} \leftarrow \text{dBDI-P}$
-
-$\text{pF\_DS-O} \leftarrow \text{dBDI-O}$
-
-NOTE – Performance monitoring primitives based on signal quality monitoring are for further study. Specific implementations are outside the scope of this Recommendation.
-
-### 12.2.2 OCh-O trail termination function (OCh-O\_TT)
-
-The OCh-O\_TT functions are responsible for the end-to-end supervision of the OCh-O trail. Figure 12-13 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-
-
-```
-
-graph TD
- subgraph Sink
- A1[ ] --> B1[OCh-O]
- B1 --> C1[OCh-O_TCP]
- end
- subgraph Source
- C2[OCh-O_TCP] --> B2[OCh-O]
- B2 --> A2[OCh-O_AP]
- end
- style B1 fill:none,stroke:#000,stroke-width:1px
- style B2 fill:none,stroke:#000,stroke-width:1px
- style A1 height:0px,width:0px
-
-```
-
-The diagram illustrates the OCh-O trail termination function (OCh-O\_TT) as a combination of two unidirectional functions. On the left, a unidirectional sink function is shown as an inverted triangle labeled 'OCh-O' with an input arrow from the top and an output arrow pointing down to 'OCh-O\_TCP'. On the right, a unidirectional source function is shown as an inverted triangle labeled 'OCh-O' with an input arrow from 'OCh-O\_TCP' pointing up into the triangle and an output arrow pointing up to 'OCh-O\_AP'. Below the diagrams is the reference code G.798(17)\_F12-13.
-
-Diagram of OCh-O trail termination function (OCh-O\_TT) showing two unidirectional functions (sink and source) combined into a bidirectional function.
-
-**Figure 12-13 – OCh-O\_TT**
-
-#### 12.2.2.1 OCh-O trail termination source function (OCh-O\_TT\_So)
-
-The information flow and processing of the OCh-O\_TT\_So function is defined with reference to Figure 12-14.
-
-##### Symbol
-
-
-
-The diagram shows a downward-pointing triangle labeled "OCh-O". An arrow points from the bottom vertex of the triangle to the text "OCh-O\_TCP". Below the text "OCh-O\_TCP" is the reference code "G.798(17)\_F12-14".
-
-Symbol for OCh-O\_TT\_So function
-
-Figure 12-14 – OCh-O\_TT\_So function
-
-##### Interfaces
-
-Table 12-4 – OCh-O\_TT\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|----------|---------------------------|
-| | OCh-O_TCP: OCh-O_CI_OH |
-
-##### Processes
-
-The function shall generate the logical OCh-O signal. The FDI-P, FDI-O and OCI information elements shall be set to false.
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 12.2.2.2 OCh-O trail termination sink function (OCh-O\_TT\_Sk)
-
-The OCh-O\_TT\_Sk function extracts the OCh-O overhead – including the FDI-P, FDI-O and OCI signals – from the OCh-O signal at its OCh-O\_TCP, detects for OCI, FDI-P and FDI-O defects.
-
-##### Symbol
-
-
-
-The diagram shows a downward-pointing triangle labeled "OCh-O". An arrow points from the bottom vertex of the triangle to the text "OCh-O\_TCP". An arrow points from the left side of the triangle to the text "OCh-O\_TT\_Sk\_MP". An arrow points from the top vertex of the triangle to the text "OCh-O\_AP". Below the text "OCh-O\_TCP" is the reference code "G.798(17)\_F12-15".
-
-Symbol for OCh-O\_TT\_Sk function
-
-Figure 12-15 – OCh-O\_TT\_Sk function
-
-##### Interfaces
-
-**Table 12-5 – OCh-O\_TT\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| OCh-O_TCP: OCh-O_CI_OH OCh-O_CI_SSF-P OCh-O_CI_SSF-O | OCh-O_AP: OCh-O_AI_TSF-P OCh-O_AI_TSF-O OCh-O_TT_Sk_MP: OCh-O_TT_Sk_MI_cOCI OCh-O_TT_Sk_MI_cSSF OCh-O_TT_Sk_MI_cSSF-P OCh-O_TT_Sk_MI_cSSF-O |
-
-##### Processes
-
-The processes associated with the OCh-O\_TT\_Sk function are as depicted in Figure 12-16. The specific implementation for extracting information elements from the OCh-O\_CI is outside the scope of this Recommendation.
-
-**FDI-P:** The FDI-P information (OCh-O-FDI-P) shall be extracted from the OCh-O portion of the OSC. It shall be used for FDI-P defect detection.
-
-**FDI-O:** The FDI-O information (OCh-O-FDI-O) shall be extracted from the OCh-O portion of the OSC. It shall be used for FDI-O defect detection.
-
-**OCI:** The OCI information (OCh-O-OCI) shall be extracted from the OCh-O portion of the OSC. It shall be used for OCI defect detection.
-
-
-
-Figure 12-16 – OCh-O\_TT\_Sk processes. This block diagram shows the internal processes of the OCh-O\_TT\_Sk function. Inputs from OCh-O\_TCP (CI\_SSF-P, CI\_SSF-O, CI\_OH) enter from the bottom. CI\_SSF-P and CI\_SSF-O feed into 'Extract FDI-O' and 'Extract FDI-P' respectively. CI\_OH feeds into 'Extract OCI'. These three extraction blocks feed into an 'Overhead access' block. The 'Overhead access' block feeds into a 'Defect correlation' block. The 'Defect correlation' block outputs MI\_cSSF-O, MI\_cSSF-P, MI\_cSSF, and MI\_cOCI to OCh-O\_TT\_Sk\_MP on the left. The 'Defect correlation' block also outputs CI\_SSF-O, CI\_SSF-P, dFDI-O, dFDI-P, and dOCI. CI\_SSF-O and CI\_SSF-P feed into 'Consequent actions'. dFDI-O, dFDI-P, and dOCI feed into 'Consequent actions' via intermediate blocks. 'Consequent actions' outputs aTSF-P and aTSF-O to OCh-O\_AP at the top. A small note G.798(17)\_F12-16 is in the bottom right.
-
-**Figure 12-16 – OCh-O\_TT\_Sk processes**
-
-##### Defects
-
-The function shall detect for dFDI-P, dFDI-O and dOCI.
-
-**dFDI-P:** See clause 6.2.6.1.1.
-
-**dFDI-O:** See clause 6.2.6.2.1.
-
-**dOCI:** See clause 6.2.6.8.1; dOCI shall be set to false during CI\_SSF-O and dFDI-O.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-$a\text{TSF-P} \leftarrow \text{CI\_SSF-P or dOCI or dFDI-P}$
-
-$a\text{TSF-O} \leftarrow \text{CI\_SSF-O or dFDI-O}$
-
-##### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause. This fault cause shall be reported to the EMF.
-
-$c\text{OCI} \leftarrow \text{dOCI and (not CI\_SSF-P) and (not CI\_SSF-O) and (not FDI-O) and (not FDI-P)}$
-
-$c\text{SSF} \leftarrow (\text{CI\_SSF-P or dFDI-P}) \text{ and } (\text{CI\_SSF-O or dFDI-O})$
-
-$c\text{SSF-P} \leftarrow (\text{CI\_SSF-P or dFDI-P}) \text{ and (not cSSF)}$
-
-$c\text{SSF-O} \leftarrow (\text{CI\_SSF-O or dFDI-O}) \text{ and (not cSSF)}$
-
-##### Performance monitoring
-
-For further study.
-
-### 12.2.3 OTSiA|OCh non-intrusive monitor function
-
-As the functionality of the OTSiG-O and OCh-O non-intrusive monitor functions is identical to the OTSiG-O\_TT\_Sk and OCh-O\_TT\_Sk functions (see clauses 12.2.1.2 and 12.2.2.2), no dedicated non-intrusive monitoring functions OTSiGm\_TT\_Sk or OChm\_TT\_Sk are defined. For OTSiA and OCh non-intrusive monitoring, the OTSiG-O\_TT\_Sk and OCh-O\_TT\_Sk functions can be connected as shown in Figure 12-17.
-
-NOTE – Figure 12-17 shows the OCh case. The same principle can be applied for OTSiA.
-
-The TSF and TSD outputs can be connected to an OCh\_C connection function and used as protection switching trigger criteria for SNC/N protection.
-
-
-
-Diagram showing the connection of OTSiG-O\_TT\_Sk and OCh-O\_TT\_Sk functions as non-intrusive monitors. A central oval labeled 'OCh' has two input arrows from the top labeled 'OCh\_CP' and two output arrows to the bottom labeled 'OCh\_CP'. Below the 'OCh' oval are two trapezoidal blocks labeled 'OMS/OCh'. To the left, an arrow points from the 'OMS/OCh' block to a triangular block labeled 'OCh', which then points to the 'OCh' oval. To the right, an arrow points from the 'OCh' oval to another triangular block labeled 'OCh', which then points to a dashed box labeled 'TSF'. Below this 'TSF' box is another dashed box labeled 'TSD'. The diagram is labeled G.798(10)\_F12-17.
-
-**Figure 12-17 – Connection of OTSiG-O\_TT\_Sk and OCh-O\_TT\_Sk functions as non-intrusive monitor**
-
-### 12.2.4 Combined OTSiA|OCh and OTUk[V] non-intrusive monitor function (OCTk[V]m)
-
-As the OCh and OTUk[V] terminations are always collocated in an OTN network, a combined OCh and OTUk[V] non-intrusive monitor is defined as a compound function OCTk[V]m. The OCTk[V]m compound function is the combination of a OTSiG-O|OCh-O\_TT\_Sk (see clause 12.2.1.2
-
-or 12.2.2.2), OTSi/OTUk[V]\_A\_Sk (see clauses 16.1.2 and 16.2.2) and OTUk[V]\_TT\_Sk (see clauses 13.2.1.2 and 13.2.2.2) as shown in Figure 12-18. For the OTSi/OTUk\_A, either an OTSi/OTUk-a\_A\_Sk with FEC or an OTSi/OTUk-b\_A\_Sk without FEC can be used (see clause 16.1.2). This depends on the specific application and OTUk signal.
-
-For non-intrusive monitoring, the OCTk[V]m function can be connected as shown in Figure 12-19. The OCTk[V]m function can be connected to any OCh\_CP in this manner.
-
-![Figure 12-18: OCTk[V]m compound function diagram. The diagram shows the internal structure of the OCTk[V]m function. On the left, an 'x-O' block (representing OTSiG-O or OCh-O) and an 'OTSi' block are connected to their respective client ports, 'x-O_CP' and 'OTSi_CP'. These are then connected to an 'OTSi/OTUk[V]' block via 'OTSi_AP'. This block is connected to an 'OTUk[V]_CP', which in turn connects to an 'OTUk[V]' block. A large arrow points to the right, showing the simplified representation of the 'OCTk[V]m' function. This function has two input ports: 'x-O_CP' and 'OTSi_CP'.](238754529581b74f0696943d436494bb_img.jpg)
-
-x = OTSiG-O or OCh-O
-G.798(17)\_F12-18
-
-Figure 12-18: OCTk[V]m compound function diagram. The diagram shows the internal structure of the OCTk[V]m function. On the left, an 'x-O' block (representing OTSiG-O or OCh-O) and an 'OTSi' block are connected to their respective client ports, 'x-O\_CP' and 'OTSi\_CP'. These are then connected to an 'OTSi/OTUk[V]' block via 'OTSi\_AP'. This block is connected to an 'OTUk[V]\_CP', which in turn connects to an 'OTUk[V]' block. A large arrow points to the right, showing the simplified representation of the 'OCTk[V]m' function. This function has two input ports: 'x-O\_CP' and 'OTSi\_CP'.
-
-**Figure 12-18 – OCTk[V]m compound function**
-
-![Figure 12-19: Connection OCTk[V]m compound function (non-intrusive monitor) diagram. This diagram shows the OCTk[V]m function connected within an OTSiA|OCh domain. At the top is an oval labeled 'OTSiA|OCh'. Below it, two 'OCTk[V]m' blocks are shown. Each block has an input port 'x-O_CP' connected to a line. These lines are connected to 'OMS-O/OTSiG-O' blocks. The 'OMS-O/OTSiG-O' blocks are connected to the 'OTSiA|OCh' domain. A dashed arrow labeled 'TSF' points from the 'OCTk[V]m' block to the 'OTSiA|OCh' domain. The diagram also shows 'OTSi' lines entering and leaving the domain. A label 'x = OTSiG-O or OCh-O' is present in the center.](af90aabfe3c8c65617da060d82bf99c5_img.jpg)
-
-G.798(17)-Amd.4(22)\_F12-19
-
-Figure 12-19: Connection OCTk[V]m compound function (non-intrusive monitor) diagram. This diagram shows the OCTk[V]m function connected within an OTSiA|OCh domain. At the top is an oval labeled 'OTSiA|OCh'. Below it, two 'OCTk[V]m' blocks are shown. Each block has an input port 'x-O\_CP' connected to a line. These lines are connected to 'OMS-O/OTSiG-O' blocks. The 'OMS-O/OTSiG-O' blocks are connected to the 'OTSiA|OCh' domain. A dashed arrow labeled 'TSF' points from the 'OCTk[V]m' block to the 'OTSiA|OCh' domain. The diagram also shows 'OTSi' lines entering and leaving the domain. A label 'x = OTSiG-O or OCh-O' is present in the center.
-
-**Figure 12-19 – Connection OCTk[V]m compound function (non-intrusive monitor)**
-
-### 12.2.5 Combined OTSiA|OCh, OTUk[V] and ODUkT non-intrusive monitor function (OCTDk[V]m)
-
-To support detection of bit errors in a serial compound ODUk link connection carried through an OCh domain with 3R regeneration, it is necessary to deploy ODUk tandem connection monitoring between the ODUk connection points at the endpoints of the ODUk serial compound link connection. For this purpose, a combined OCh, OTUk[V] and ODUkT non-intrusive monitor is defined as a compound function OCTDk[V]m. The OCTDk[V]m compound function is the combination of OTSiG-O|OCh-O\_TT\_Sk (see clause 12.2.1.2 or 12.2.2.2), OTSi/OTUk[V]\_A\_Sk (see clauses 16.1.2 and 16.2.2), OTUk[V]\_TT\_Sk (see clauses 13.2.1.2 and 13.2.2.2), OTUk[V]/ODUk\_A (see clauses 13.3.1 and 13.3.2) and ODUkT\_TT (see clause 14.5.1.1) as shown in Figure 12-20. For
-
-the OTSi/OTUk\_A, either an OTSi/OTUk-a\_A\_Sk with FEC or an OTSi/OTUk-b\_A\_Sk without FEC can be used (see clause 16.1.2). This depends on the specific application and of the OTUk signal. For non-intrusive monitoring, the OCTDk[V]m function can be connected as shown in Figure 12-21. The OCTDk[V]m function can be connected to any OCh\_CP in this manner.
-
-![Figure 12-20: OCTDk[V]m compound function diagram. The diagram shows a signal flow from bottom to top: x-O_CP enters an x-O triangle, and OTSi_CP enters an OTSi triangle. These combine into an OTSi/OTUk[V] rectangle. Above it, an OTUk[V] triangle receives OTUk[V]_CP. This is followed by an OTUk[V]_AP and an OTUk[V]/ODUk rectangle, which finally connects to an ODUk triangle via an ODUk_CP. To the right, an arrow points to the OCTDk[V]m compound function, which is shown as a triangle receiving x-O_CP and OTSi_CP. Below the diagram, text indicates x = OTSiG-O or OCh-O and G.798(17)_F12-20.](48b17e34bf39cb8a801a634c791250c0_img.jpg)
-
-Figure 12-20: OCTDk[V]m compound function diagram. The diagram shows a signal flow from bottom to top: x-O\_CP enters an x-O triangle, and OTSi\_CP enters an OTSi triangle. These combine into an OTSi/OTUk[V] rectangle. Above it, an OTUk[V] triangle receives OTUk[V]\_CP. This is followed by an OTUk[V]\_AP and an OTUk[V]/ODUk rectangle, which finally connects to an ODUk triangle via an ODUk\_CP. To the right, an arrow points to the OCTDk[V]m compound function, which is shown as a triangle receiving x-O\_CP and OTSi\_CP. Below the diagram, text indicates x = OTSiG-O or OCh-O and G.798(17)\_F12-20.
-
-Figure 12-20 – OCTDk[V]m compound function
-
-![Figure 12-21: Connection OCTDk[V]m compound function (non-intrusive monitor) diagram. The diagram shows a large oval at the top labeled OTSiA | OCh. Below it, two OCTDk[V]m triangles are shown. Each triangle receives an x-O_CP signal. The left OCTDk[V]m triangle is connected to an OTSi input and an OMS-O/OTSiG-O rectangle. The right OCTDk[V]m triangle is connected to an OMS-O/OTSiG-O rectangle and an OTSi output. A dashed arrow labeled TSF points from the right OCTDk[V]m triangle up to the OTSiA | OCh oval. Text in the center indicates x = OTSiG-O or OCh-O. At the bottom right, G.798(17)-Amd.4(22)_F12-21 is noted.](0b998e3ad8f9d104768642612605cb35_img.jpg)
-
-Figure 12-21: Connection OCTDk[V]m compound function (non-intrusive monitor) diagram. The diagram shows a large oval at the top labeled OTSiA | OCh. Below it, two OCTDk[V]m triangles are shown. Each triangle receives an x-O\_CP signal. The left OCTDk[V]m triangle is connected to an OTSi input and an OMS-O/OTSiG-O rectangle. The right OCTDk[V]m triangle is connected to an OMS-O/OTSiG-O rectangle and an OTSi output. A dashed arrow labeled TSF points from the right OCTDk[V]m triangle up to the OTSiA | OCh oval. Text in the center indicates x = OTSiG-O or OCh-O. At the bottom right, G.798(17)-Amd.4(22)\_F12-21 is noted.
-
-Figure 12-21 – Connection OCTDk[V]m compound function (non-intrusive monitor)
-
-## 12.3 Adaptation functions
-
-See OTSi adaptation functions in clause 16.
-
-## 12.4 Sub-layer functions
-
-Not applicable.
-
-# 13 OTU (layer) functions
-
-A completely standardized OTUk and OTUCn and a functionally standardized OTUkV are defined. Figure 13-1 illustrates the OTU layer network and client layer adaptation functions. The information crossing the OTU (trail) connection point (OTUk[V]\_CP/TCP or OTUCn\_CP/TCP) is referred to as the OTU characteristic information (OTUk[V]\_CI or OTUCn\_CI). The information crossing the OTU access point (OTUk[V]\_AP or OTUCn\_AP) is referred to as the OTU adapted information (OTUk[V]\_AI or OTUCn\_AI).
-
-![Figure 13-1: OTU layer network and client layer adaptation functions. The diagram shows two side-by-side vertical stacks of layers. The left stack represents OTUk[V] and the right stack represents OTUCn. Both stacks show the adaptation from client layer connection points (CP) through the OTU layer to the TCP layer. The OTUk[V] stack includes ODuk_CP, COMMS_CP, OTUk[V]_AP, OTUk[V], and OTUk[V]_TCP. The OTUCn stack includes ODUCn_CP, COMMS_CP, OTUCn_AP, OTUCn, and OTUCn_TCP. A reference label G.798(17)-Amd.2(19)_F13-1 is present.](3d1817e8551f9c226a5f561108d3b3f9_img.jpg)
-
-Figure 13-1: OTU layer network and client layer adaptation functions. The diagram shows two side-by-side vertical stacks of layers. The left stack represents OTUk[V] and the right stack represents OTUCn. Both stacks show the adaptation from client layer connection points (CP) through the OTU layer to the TCP layer. The OTUk[V] stack includes ODuk\_CP, COMMS\_CP, OTUk[V]\_AP, OTUk[V], and OTUk[V]\_TCP. The OTUCn stack includes ODUCn\_CP, COMMS\_CP, OTUCn\_AP, OTUCn, and OTUCn\_TCP. A reference label G.798(17)-Amd.2(19)\_F13-1 is present.
-
-Figure 13-1 – OTU layer network and client layer adaptation functions
-
-The OTUk characteristic information (OTUk\_CI) is the unscrambled OTUk frame without FEC code and with one (n=1) instance of defined OTU overhead, together with a frame and multi-frame start. The OTUCn characteristic information (OTUCn\_CI) is the unscrambled OTUCn frame with n instances of defined OTU overhead, together with a frame and multi-frame start.
-
-NOTE – The OTUCn frame does not contain a FEC area.
-
-The OTU overhead consists of the SM, GCC0, OSMC and RES overhead fields as shown in Figure 13-2. The OTUk overhead additionally includes the OSMC field. The GCC0 overhead is optional and set to all-ZEROs if not used. The RES overhead is set to all-ZEROs.
-
-
-
-Figure 13-2: OTU overhead at the OTU\_CP/TCP. This is a grid diagram showing the overhead structure. Columns are numbered 1 to 16, and rows are numbered 1 to 4. Row 1 contains 'Frame alignment overhead' (columns 1-7), 'SM' (columns 8-10), and 'GCC0' (columns 11-12). Rows 2 and 3 are labeled 'ODU overhead' and span columns 1-14. Row 4 contains 'OPU overhead' in columns 15-16. Below the grid, a callout shows the 'OTUk frame structure' with 'OSMC' (column 13) and 'RES' (column 14). Another callout shows the 'OTU frame structure #1..#n in OTUCn' with 'RES' (columns 13-14). A reference label G.798(17)\_F13-2 is present.
-
-Figure 13-2 – OTU overhead at the OTU\_CP/TCP
-
-The OTUkV characteristic information (OTUkV\_CI) is the OTUkV frame with valid SM and GCC0 overhead. The OTUkV frame format is outside the scope of this Recommendation.
-
-The OTUk adapted information (OTUk\_AI) consists of the ODUk\_CI adapted to the OTUk frame, together with a frame and multiframe start. In case of COMMS access at the OTUk\_AP, it also includes the OTUk GCC overhead (GCC0).
-
-The OTUCn adapted information (OTUCn\_AI) consists of the ODUCn\_CI adapted to the OTUCn frame, together with a frame and multiframe start. In case of COMMS access at the OTUCn\_AP, it also includes the OTUCn GCC overhead (GCC0).
-
-The OTUkV adapted information (OTUkV\_AI) consists of the ODUk\_CI adapted to the OTUkV frame. The OTUkV frame format and the ODUk\_CI mapping are outside the scope of this Recommendation. In case of COMMS access at the OTUkV\_AP, it also includes the OTUkV GCC overhead.
-
-## 13.1 Connection functions
-
-Not applicable.
-
-## 13.2 Termination functions
-
-### 13.2.1 OTU trail termination function (OTU\_TT)
-
-The OTU\_TT function terminates the section monitoring (SM) overhead of the OTU overhead to determine the status of the OTU trail. Figure 13-3 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-![Figure 13-3 – OTU_TT diagram showing two bidirectional OTU trail termination functions. The left side shows OTUk[V] termination with ODUk[V]_AP at the top, OTUk[V]_TCP at the bottom, and OTUk[V]_RP between them. The right side shows OTUCn termination with OTUCn_AP at the top, OTUCn_TCP at the bottom, and OTUCn_RP between them. Both diagrams show signal flow from AP to RP and from RP to TCP.](2e3b1ae09da2cba02f0bb8a531f1515e_img.jpg)
-
-The diagram illustrates two bidirectional OTU trail termination functions. On the left, for OTUk[V], an ODUk[V]\_AP signal enters from the top into an OTUk[V] block. Below this block, an OTUk[V]\_RP signal is shown entering from the right. Below the OTUk[V] block, an OTUk[V]\_TCP signal exits downwards. On the right, for OTUCn, an OTUCn\_AP signal enters from the top into an OTUCn block. Below this block, an OTUCn\_RP signal is shown entering from the right. Below the OTUCn block, an OTUCn\_TCP signal exits downwards. The labels OTUk[V]\_RP and OTUCn\_RP are positioned between the two blocks in each pair, indicating the direction of signal flow.
-
-Figure 13-3 – OTU\_TT diagram showing two bidirectional OTU trail termination functions. The left side shows OTUk[V] termination with ODUk[V]\_AP at the top, OTUk[V]\_TCP at the bottom, and OTUk[V]\_RP between them. The right side shows OTUCn termination with OTUCn\_AP at the top, OTUCn\_TCP at the bottom, and OTUCn\_RP between them. Both diagrams show signal flow from AP to RP and from RP to TCP.
-
-Figure 13-3 – OTU\_TT
-
-#### 13.2.1.1 OTU trail termination source function (OTU\_TT\_So)
-
-The OTU\_TT\_So function computes the BIP-8[1..n] and adds section monitoring overhead (SMOH) – including the TTI, BIP-8[1..n], BDI, BEI[1..n] and IAE signals – in the SM overhead fields to the OTU signal at its OTU\_AP. The OTUCn signal has n SM overhead fields; the OTUk signal has one (n=1) SM overhead field.
-
-The information flow and processing of the OTU\_TT\_So function is defined with reference to Figures 13-4 and 13-5.
-
-##### Symbol
-
-
-
-Diagram showing the OTU\_TT\_So function symbol for OTUk and OTUCn. Both symbols are inverted triangles with inputs OTUk\_AP (top), OTUk\_TT\_So\_MP (left), and OTUk\_RP (right) entering from the top, left, and right respectively. The output OTUk\_TCP exits from the bottom. A label 'k = 1, 2, 3, 4' is below the OTUk symbol. The OTUCn symbol is identical but for n. A small note G.798(17)-Amd.1(18)\_F13-4 is at the bottom right.
-
-Figure 13-4 – OTU\_TT\_So function
-
-##### Interfaces
-
-Table 13-1 – OTU\_TT\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------|
-| OTU_AP: OTU_AI_CK OTU_AI_D OTU_AI_FS OTU_AI_MFS OTU_AI_IAE OTU_RP: OTU_RI_BDI OTU_RI_BEI[1..n] OTU_RI_BIAE OTU_TT_So_MP: OTU_TT_So_MI_TxTI OTU_TT_So_MI_Mode | OTU_TCP: OTU_CI_CK OTU_CI_D OTU_CI_FS OTU_CI_MFS |
-
-##### Processes
-
-The processes associated with the OTU\_TT\_So function are as depicted in Figure 13-5.
-
-**Mode:** If the MI\_Mode has the value OPERATIONAL, the following processes shall be performed. If the MI\_Mode has the value TRANSPARENT, all information shall be passed through transparently and the following processes shall not be performed.
-
-**SMOH-TTI:** If the MI\_Mode is OPERATIONAL, the trail trace identifier is inserted in the TTI byte position of the SM field in the first OTU overhead instance. Its value is derived from reference point OTU\_TT\_So\_MP. The trail trace format is described in clause 15.2 of [ITU-T G.709].
-
-**SMOH-BDI:** If the MI\_Mode is OPERATIONAL, the backward defect indication is inserted in the BDI bit position of the SM field in the first OTU overhead instance. Its value is derived from reference point OTU\_RP. Upon the declaration/clearing of aBDI at the termination sink function, the trail termination source function shall have inserted/removed the BDI indication within 50 ms.
-
-**SMOH-BEI/BIAE:** If the MI\_Mode is OPERATIONAL, if RI\_BIAE is true, the value "1011" is inserted into the BEI/BIAE bits of the SM field in all OTU overhead instances. If RI\_BIAE is false, the number of errors indicated in RI\_BEI[i] is encoded in the BEI/BIAE bits of the SM field in OTU overhead instance #i. Upon the detection of incoming alignment error or a number of errors at the termination sink function, the trail termination source function shall have inserted the value in the BEI/BIAE bits within 50 ms.
-
-**SMOH-BIP-8:** If the MI\_Mode is OPERATIONAL, the calculated BIP-8[i] is inserted into the BIP-8 byte of the SM field in OTU overhead instance #i. For the BIP-8 calculation, see clause 8.3.4.1.
-
-**SMOH-IAE:** If the MI\_Mode is OPERATIONAL, the incoming alignment error information AI\_IAE is inserted into the IAE bit position of the SM field in the first OTU overhead instance. Upon the declaration of AI\_IAE, the function shall insert the IAE indication for the next 16 multiframes ( $16 \times 256$ frames). Each new declaration of AI\_IAE restarts the 16 multiframe insertion time.
-
-**SMOH-RES:** The RES field is reserved for future international standardization. If the MI\_Mode is OPERATIONAL, the value shall be fixed to 00.
-
-
-
-The diagram illustrates the OTU\_TT\_So processes. At the top, the **OTU\_AP** provides inputs: **AI\_D**, **AI\_CK**, **AI\_FS**, **AI\_MFS**, and **AI\_IAE**. **AI\_D** and **AI\_CK** are passed through to the bottom. **AI\_FS** and **AI\_MFS** are used by the **Compute BIP-8** block, which outputs **BIP-8[1..n]**. **AI\_IAE** is used by the **Insert IAE** block. The **Compute BIP-8** block feeds into the **Insert BIP-8** block. The **Insert BIP-8**, **Insert IAE**, **Insert BEI/BIAE**, **Insert BDI**, **Insert RES**, and **Insert TTI** blocks are all part of the **SMOH insertion** process. The **SMOH insertion** block outputs to the bottom as **CI\_D**, **CI\_CK**, **CI\_FS**, and **CI\_MFS**, which are part of the **OTU\_TCP**. On the right side, the **RI\_BEI[1..n]**, **RI\_BIAE**, **RI\_BDI**, **MI\_TxTI**, and **MI\_Mode** signals are shown, corresponding to the **OTU\_RP** and **OTU\_TT\_So\_MP** sections. The diagram is labeled G.798(17)-Amd.1(18)\_F13-5.
-
-Diagram of OTU\_TT\_So processes showing the flow of data from OTU\_AP to OTU\_TCP through various insertion blocks.
-
-Figure 13-5 – OTU\_TT\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 13.2.1.2 OTU trail termination sink function (OTU\_TT\_Sk)
-
-The OTU\_TT\_Sk function reports the state of the OTU trail. It computes the BIP-8[1..n], extracts section monitoring overhead (SMOH) – including the TTI, BIP-8[1..n], IAE, BDI and BEI[1..n] signals and for OTUCn the STAT field – in the SM overhead fields from the OTU signal at its OTU\_TCP, detects for TIM, DEG and BDI defects, counts during one-second periods errors (detected via the BIP-8) and defects to feed performance monitoring when connected, makes the TTI available to network management, and forwards the error and defect information as backward indications to the companion OTU\_TT\_So function. The OTUCn signal has n SM overhead fields; the OTUK signal has one (n=1) SM overhead field.
-
-The information flow and processing of the OTU\_TT\_Sk function is defined with reference to Figures 13-6 and 13-7.
-
-##### Symbol
-
-
-
-Figure 13-6 – OTU\_TT\_Sk function. The diagram shows two identical processing paths for OTUk and OTUCn. Each path consists of two OTU blocks. The bottom OTU block takes OTU\_TCP as input and produces OTU\_TT\_Sk\_MP (bidirectional), OTU\_RP, and ODUCn\_AP (for OTUCn) as outputs. The top OTU block takes OTU\_TT\_Sk\_MP (bidirectional), OTU\_RP, and ODUCn\_AP as inputs and produces OTUk\_AP as output. The bottom OTU block is labeled with 'k = 1, 2, 3, 4'.
-
-Figure 13-6 – OTU\_TT\_Sk function
-
-##### Interfaces
-
-Table 13-2 – OTU\_TT\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| OTU_TCP: OTU_CI_CK OTU_CI_D OTU_CI_FS OTU_CI_MFS OTU_CI_SSF OTU_TT_Sk_MP: OTU_TT_Sk_MI_ExSAPI OTU_TT_Sk_MI_ExDAPI OTU_TT_Sk_MI_GetAcTI OTU_TT_Sk_MI_TIMDetMo OTU_TT_Sk_MI_TIMActDis OTU_TT_Sk_MI_DEGThr OTU_TT_Sk_MI_DEGM OTU_TT_Sk_MI_1second OTU_TT_Sk_MI_Mode | OTU_AP: OTU_AI_CK OTU_AI_D OTU_AI_FS OTU_AI_MFS OTU_AI_TSF OTU_AI_TSD OTU_RP: OTU_RI_BDI OTU_RI_BEI[1..n] OTU_RI_BIAE OTU_TT_Sk_MP: OTU_TT_Sk_MI_AcTI OTU_TT_Sk_MI_cTIM OTU_TT_Sk_MI_cDEG OTU_TT_Sk_MI_cBDI OTU_TT_Sk_MI_cSSF OTU_TT_Sk_MI_pN_EBC OTU_TT_Sk_MI_pN_DS OTU_TT_Sk_MI_pF_EBC OTU_TT_Sk_MI_pF_DS OTU_TT_Sk_MI_pBIAE OTU_TT_Sk_MI_pIAE |
-
-##### Processes
-
-The processes associated with the OTU\_TT\_Sk function are as depicted in Figure 13-7.
-
-**Mode:** If the MI\_Mode has the value OPERATIONAL, the following processes shall be performed. MI\_Mode OPERATIONAL initiates the consequent actions aAIS, aTSF and aTSD, in case of defects. If the MI\_Mode has the value TRANSPARENT, all information shall be passed through transparently and the following processes shall not be performed.
-
-**SMOH-BIP-8:** If MI\_Mode has the value OPERATIONAL, the BIP-8[1..n] shall be processed as defined in clause 8.3.4.2. The BIP-8[1..n] is extracted from the BIP-8[1..n] bytes of the SM fields in the n SM overhead instances of the OTU signal at the OTU\_TCP.
-
-**SMOH-TTI:** If MI\_Mode is OPERATIONAL, the trail trace identifier shall be recovered from the TTI byte position of the SM field in the first OTU overhead instance of the OTU signal at the OTU\_TCP and processed as specified as defined in clause 8.6. The accepted value of the TTI is available at the MP (MI\_AcTI).
-
-**SMOH-BDI:** If MI\_Mode is OPERATIONAL, the backward defect indication shall be recovered from the BDI bit position of the SM field in the first OTU overhead instance of the OTU signal at the OTU\_TCP. It shall be used for BDI defect detection.
-
-**SMOH-BEI/BIAE:** If MI\_Mode is OPERATIONAL, the BEI[1..n] shall be recovered from the BEI/BIAE bits in the SM fields of the n SM overhead instances in the OTU signal at the OTU\_TCP. They shall be used to determine if far-end errored blocks (nF\_B) have occurred. One nF\_B has occurred per BEI/BIAE[i] value between 1 [0001] and 8 [1000]; otherwise, no nF\_B has occurred.
-
-**SMOH-IAE:** For the case of OTUk and if MI\_Mode is OPERATIONAL, the incoming alignment error information shall be recovered from IAE bit position of the SM field in the first OTU overhead instance of the OTU signal at the OTU\_TCP. It shall be used for IAE defect detection.
-
-**SMOH-RES:** RES in the SM field in the OTU signal at the OTU\_TCP is reserved for future international standardization. For this version of this Recommendation, its value shall be ignored.
-
-**SMOH-STAT:** For OTUCn and if MI\_Mode is OPERATIONAL, the status information shall be recovered from the STAT bits in the SM field of the first OTU overhead instance in the OTUCn signal at the OTUCn\_TCP as defined in clause 8.8. Is shall be used for AIS and IAE defect detection.
-
-
-
-Figure 13-7 – OTU\_TT\_Sk processes. A detailed block diagram showing the internal processes of an OTU\_TT\_Sk. At the top, OTU\_AP provides signals AI\_TSD, AI\_TSF, AI\_MFS, AI\_FS, AI\_CK, and AI\_D. At the bottom, OTU\_TCP provides signals CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, and CI\_D. On the left, OTU\_RP and OTU\_TT\_Sk\_MP provide various management and monitoring inputs. The central part of the diagram contains several functional blocks: 'Consequent actions', 'Process TTI', 'Defect correlation', 'Performance monitoring', 'Process errors', 'Extract TTI', 'Extract RES', 'OTUCn only Process STAT', 'Extract STAT', 'Extract BDI', 'Extract BEI/BIAE', 'OTUk only Extract IAE', 'Extract BIP-8', 'Compute BIP-8', and 'Compare'. A vertical 'SMOH access' block on the right interacts with several 'Extract' blocks. Arrows indicate the flow of data and control signals between these components and the external interfaces.
-
-G.798(17)-Amd.1(18)\_F13-7
-
-Figure 13-7 – OTU\_TT\_Sk processes
-
-##### Defects
-
-If the MI\_Mode has the value OPERATIONAL, the function shall detect dAIS, dTIM, dDEG, dBDI, dBIAE and dIAE defects. If the MI\_Mode is TRANSPARENT, all defects are cleared.
-
-**dAIS:** See clause 6.2.6.3.2 for OTUCn; for OTUk[V] dAIS shall be assumed false.
-
-**dTIM:** See clause 6.2.2.1; dTIM shall be set to false during CI\_SSF.
-
-**dDEG:** See clause 6.2.3.4.
-
-NOTE 1 – IAE suppresses the one-second near-end errored block count, which is the input for the dDEG detection. This avoids wrong dDEG declaration due to alignment errors already incoming in an OTUk trail.
-
-**dBDI:** See clause 6.2.6.6.1; dBDI shall be set to false during CI\_SSF.
-
-**dIAE:** See clauses 6.2.6.10.1 for OTUk and 6.2.6.10.2 for OTUCn; dIAE shall be set to false during CI\_SSF and dTIM.
-
-**dBIAE:** See clause 6.2.6.11.1; dBIAE shall be set to false during CI\_SSF and dTIM.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aBDI $\leftarrow$ (CI\_SSF or dAIS or dTIM) and MI\_Mode == OPERATIONAL
-
-aBIAE $\leftarrow$ dIAE and MI\_Mode == OPERATIONAL
-
-aTSF $\leftarrow$ CI\_SSF or ((dAIS or (dTIM and (not TIMActDis)))) and MI\_Mode == OPERATIONAL
-
-aTSD $\leftarrow$ dDEG and MI\_Mode == OPERATIONAL
-
-For each OTU overhead instance #i:
-
-aBEI[i] $\leftarrow$ nBIPV[i] and MI\_Mode == OPERATIONAL
-
-##### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause. This fault cause shall be reported to the EMF.
-
-cTIM $\leftarrow$ dTIM and (not CI\_SSF) and (not dAIS)
-
-cDEG $\leftarrow$ dDEG and (not CI\_SSF) and (not dAIS) and (not (dTIM and (not TIMActDis))))
-
-cBDI $\leftarrow$ dBDI and (not CI\_SSF) and (not dAIS) and (not (dTIM and (not TIMActDis))))
-
-cSSF $\leftarrow$ CI\_SSF or dAIS
-
-##### Performance monitoring
-
-If the MI\_Mode has the value OPERATIONAL, the function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the EMF.
-
-pN\_DS $\leftarrow$ CI\_SSF or dAIS or dTIM
-
-pF\_DS $\leftarrow$ dBDI
-
-pN\_EBC $\leftarrow \sum nN\_B$
-
-NOTE 2 – During CI\_SSF and dAIS, no errored blocks shall be counted.
-
-pF\_EBC $\leftarrow \sum nF\_B$
-
-NOTE 3 – During CI\_SSF and dAIS, no errored blocks shall be counted.
-
-pBIAE $\leftarrow$ dBIAE
-
-NOTE 4 – pBIAE is activated at the end of a second if dBIAE was active once during the second.
-
-pIAE $\leftarrow$ dIAE
-
-NOTE 5 – pIAE is activated at the end of a second if dIAE was active once during the second.
-
-NOTE 6 – pIAE and pBIAE are used for the suppression of the PM data in the equipment management functions (see [ITU-T G.874]). If pBIAE is active, the F\_DS and F\_EBC values of the previous and current second have to be discarded (EBC = 0 and DS = false). If pIAE is active, the N/F\_DS and N/F\_EBC values of the previous and current second have to be discarded (EBC = 0 and DS = false). The previous second has to be included due to the delay of the IAE information coming from the remote source.
-
-### 13.2.2 OTUkV trail termination function (OTUkV\_TT)
-
-The OTUkV\_TT function terminates the section monitoring (SM) overhead of the OTUkV overhead to determine the status of the OTUkV trail. Figure 13-8 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-
-
-The diagram shows two OTUkV blocks, each represented by a triangle. The left block has an input OTUkV\_AP at its top vertex and an output OTUkV\_TCP at its bottom vertex. The right block has an output OTUkV\_AP at its top vertex and an input OTUkV\_TCP at its bottom vertex. A horizontal line labeled OTUkV\_RP connects the right block to the left block. A label G.798(10)\_F13-8 is positioned near the right block's bottom input.
-
-Diagram of the OTUkV\_TT function showing two OTUkV blocks connected by an OTUkV\_RP signal.
-
-Figure 13-8 – OTUkV\_TT
-
-#### 13.2.2.1 OTUkV trail termination source function (OTUkV\_TT\_So)
-
-The OTUkV\_TT\_So function computes the signal quality supervision code and adds section monitoring overhead (SMOH) – including the TTI, signal quality supervision code, BDI, BEI signals – in the SM overhead to the OTUkV signal at its OTUk\_AP. In case of frame synchronous mapping of the ODUk client signal, an IAE signal has to be added to the SM overhead.
-
-The information flow and processing of the OTUkV\_TT\_So function is defined with reference to Figures 13-9 and 13-10.
-
-##### Symbol
-
-
-
-The diagram shows a single OTUkV block, represented by a triangle. It has an input OTUkV\_AP at its top vertex. On its left side, there is an input OTUkV\_TT\_So\_MP. On its right side, there is an input OTUkV\_RP. At its bottom vertex, there is an output OTUkV\_TCP. Next to the bottom output is the label $k = 1, 2, 3, 4$ . A label G.798(10)\_F13-9 is positioned below the bottom output.
-
-Diagram of the OTUkV\_TT\_So function showing an OTUkV block with multiple inputs and outputs.
-
-Figure 13-9 – OTUkV\_TT\_So function
-
-##### Interfaces
-
-**Table 13-3 – OTUkV\_TT\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------|
-| OTUkV_AP: OTUkV_AI_CK OTUkV_AI_D OTUkV_AI_FS OTUkV_AI_MFS (Note 1) OTUkV_AI_IAE (Note 2) OTUkV_RP: OTUkV_RI_BDI OTUkV_RI_BEI OTUkV_RI_BIAE (Note 2) OTUkV_TT_So_MP: OTUkV_TT_So_MI_TxTI | OTUkV_TCP: OTUkV_CI_CK OTUkV_CI_D OTUkV_CI_FS OTUkV_CI_MFS (Note 1) |
-| NOTE 1 – If OTUkV has a multiframe. | |
-| NOTE 2 – In case of frame synchronous mapping of ODUk client signal. | |
-
-##### Processes
-
-The processes associated with the OTUkV\_TT\_So function are as depicted in Figure 13-10.
-
-**SMOH-TTI:** The trail trace identifier is inserted in the TTI byte position of the SM field. Its value is derived from reference point OTUk\_TT\_So\_MP. The trail trace format is described in clause 15.2 of [ITU-T G.709].
-
-**SMOH-BDI:** The backward defect indication is inserted in the BDI field of the SMOH. Its value is derived from reference point OTUk\_RP. Upon the declaration/clearing of aBDI at the termination sink function, the trail termination source function shall have inserted/removed the BDI indication within 50 ms. The BDI coding is outside the scope of this Recommendation.
-
-**SMOH-BEI:** The number of errors indicated in RI\_BEI is encoded in the BEI field of the SMOH. Upon the detection of a number of errors at the termination sink function, the trail termination source function shall have inserted that value in the BEI bits within 50 ms. The BEI coding is outside the scope of this Recommendation.
-
-**SMOH-signal quality supervision:** The calculated signal quality supervision code is inserted into the signal quality supervision field of the SMOH. The signal supervision code is outside the scope of this Recommendation.
-
-**SMOH-IAE:** If a frame synchronous mapping for the ODUk is used, the incoming alignment error information AI\_IAE is inserted into the IAE field of the SMOH. Upon the declaration of AI\_IAE, the function shall insert the IAE indication for the next 16 multiframes. Each new declaration of AI\_IAE restarts the 16 multiframe insertion time. The IAE coding is outside the scope of this Recommendation.
-
-**SMOH-BIAE:** If a frame synchronous mapping for the ODUk is used, the backward incoming error information RI\_BIAE is inserted into the BIAE field of the SMOH. Upon the detection of the incoming alignment error at the termination sink function, the trail termination source function shall have inserted that value in the BIAE fields within 50 ms. The BIAE coding is outside the scope of this Recommendation.
-
-The format of the OTUkV frame and overhead is outside the scope of this Recommendation.
-
-
-
-Figure 13-10 – OTUkV\_TT\_So processes. This block diagram illustrates the signal processing flow for the OTUkV\_TT\_So function. At the top, input signals AI\_D, AI\_CK, AI\_FS, AI\_MFS, and AI\_IAE enter the OTUkV\_AP block. AI\_D, AI\_CK, AI\_FS, and AI\_MFS are processed through a 'Compute BIP8' block and then into a 'SMOH insertion' block. AI\_IAE is processed through an 'Insert IAE' block. The 'SMOH insertion' block outputs CI\_D, CI\_CK, CI\_FS, and CI\_MFS signals to the OTUkV\_TCP block. The 'Compute BIP8' block also feeds into an 'Insert BIP8' block. The 'Insert BIP8' block feeds into an 'Insert BDI' block, which in turn feeds into an 'Insert BEI' block. The 'Insert BEI' block feeds into an 'Insert BIAE' block, which feeds into an 'Insert TTI' block. The 'Insert TTI' block feeds into the 'Insert IAE' block. The 'Insert IAE' block feeds into the 'SMOH insertion' block. The 'SMOH insertion' block also receives feedback from the 'Insert BDI', 'Insert BEI', 'Insert BIAE', and 'Insert TTI' blocks. The 'SMOH insertion' block outputs RI\_BDI, RI\_BEI, RI\_BIAE, and MI\_TxTI signals to the OTUkV\_RP and OTUkV\_TT\_So\_MP blocks. The diagram is labeled G.798(10)\_F13-10.
-
-Figure 13-10 – OTUkV\_TT\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 13.2.2.2 OTUkV trail termination sink function (OTUkV\_TT\_Sk)
-
-The OTUkV\_TT\_Sk function reports the state of the OTUkV trail. It computes the signal quality supervision code, extracts section monitoring overhead (SMOH) – including the TTI, signal quality supervision, BDI and BEI signals – in the SM overhead field from the OTUkV signal at its OTUkV\_TCP, detects for TIM, DEG and BDI defects, counts during one-second periods errors (detected via the signal quality supervision) and defects to feed performance monitoring when connected, makes the TTI available to network management, and forwards the error and defect information as backward indications to the companion OTUkV\_TT\_So function. In case of frame synchronous mapping of the ODUk client signal, an IAE signal has to be extracted from the SM overhead.
-
-The information flow and processing of the OTUkV\_TT\_Sk function is defined with reference to Figures 13-11 and 13-12.
-
-##### Symbol
-
-
-
-Symbol diagram for the OTUkV\_TT\_Sk function. It shows a central triangle labeled 'OTUkV'. An arrow points up from the top vertex to 'OTUkV\_AP'. An arrow points down from 'OTUkV\_TCP' to the bottom vertex, with 'k = 1, 2, 3, 4' written next to it. A double-headed arrow points left from the left vertex to 'OTUkV\_TT\_Sk\_MP'. An arrow points right from the right vertex to 'OTUkV\_RP'. Below the diagram is the text 'G.798(10)\_F13-11'.
-
-Figure 13-11 – OTUkV\_TT\_Sk function
-
-##### Interfaces
-
-Table 13-4 – OTUkV\_TT\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| OTUkV_TCP: OTUkV_CI_CK OTUkV_CI_D OTUkV_CI_FS OTUkV_CI_MFS (Note 1) OTUkV_CI_SSF OTUkV_TT_Sk_MP: OTUkV_TT_Sk_MI_ExSAPI OTUkV_TT_Sk_MI_ExDAPI OTUkV_TT_Sk_MI_GetAcTI OTUkV_TT_Sk_MI_TIMDetMo OTUkV_TT_Sk_MI_TIMActDis OTUkV_TT_Sk_MI_DEGThr OTUkV_TT_Sk_MI_DEGM OTUkV_TT_Sk_MI_1second | OTUkV_AP: OTUkV_AI_CK OTUkV_AI_D OTUkV_AI_FS OTUkV_AI_MFS (Note 1) OTUkV_AI_TSF OTUkV_AI_TSD OTUkV_RP: OTUkV_RI_BDI OTUkV_RI_BEI OTUkV_RI_BIAE (Note 2) OTUkV_TT_Sk_MP: OTUkV_TT_Sk_MI_AcTI OTUkV_TT_Sk_MI_cTIM OTUkV_TT_Sk_MI_cDEG OTUkV_TT_Sk_MI_cBDI OTUkV_TT_Sk_MI_cSSF OTUkV_TT_Sk_MI_pN_EBC OTUkV_TT_Sk_MI_pN_DS OTUkV_TT_Sk_MI_pF_EBC OTUkV_TT_Sk_MI_pF_DS OTUkV_TT_Sk_MI_pBIAE (Note 2) OTUkV_TT_Sk_MI_pIAE (Note 2) |
-| NOTE 1 – If OTUkV has a multiframe. | |
-| NOTE 2 – In case of frame synchronous mapping of ODUk client signal. | |
-
-##### Processes
-
-The processes associated with the OTUkV\_TT\_Sk function are as depicted in Figure 13-12.
-
-**SMOH-signal quality supervision:** The signal quality supervision code is extracted from the signal quality field of the SMOH. The signal supervision code is outside the scope of this Recommendation.
-
-**SMOH-TTI:** The trail trace identifier shall be recovered from TTI field of the SMOH as defined in clause 8.6. The accepted value of the TTI is available at the MP (MI\_AcTI).
-
-**SMOH-BDI:** The backward defect indication shall be recovered from BDI field of the SMOH. It shall be used for BDI defect detection. The BDI code is outside the scope of this Recommendation.
-
-**SMOH-BEI:** The BEI shall be recovered from the BEI field in the SMOH. It shall be used to determine if a far-end errored block (nF\_B) has occurred. The BEI code is outside the scope of this Recommendation.
-
-**SMOH-IAE:** If a frame synchronous mapping for the ODUk client layer is used, the incoming alignment error information shall be recovered from the IAE field of the SMOH. It shall be used for IAE defect detection. The IAE code is outside the scope of this Recommendation.
-
-The format of the OTUkV frame and overhead is outside the scope of this Recommendation.
-
-
-
-Figure 13-12 – OTUkV\_TT\_Sk processes. This block diagram illustrates the internal processes of the OTUkV\_TT\_Sk function. At the top, the OTUkV\_AP layer provides inputs: AI\_TSD, AI\_TSF, AI\_MFS, AI\_FS, AI\_CK, and AI\_D. Below this, the diagram is divided into several functional blocks. On the left, a vertical label 'OTUkV\_TT\_Sk\_MP and OTUkV\_RP' spans the middle section. The 'Consequent actions' block receives inputs from RI\_BDI, RI\_BIAE, and MI\_TIMActDis, and outputs aTSD, aTSF, CI\_SSF, dTIM, dDEG, and dIAE. The 'Process TTI' block receives MI\_AcTI, MI\_ExSAPI, MI\_ExDAPI, MI\_GetAcTI, and MI\_TIMDetMo, and outputs RxTI to an 'Extract TTI' block. The 'Defect correlations' block receives MI\_cTIM, MI\_cDEG, MI\_cBDI, and MI\_cSSF, and outputs dTIM, dDEG, dBDI, and CI\_SSF. The 'Performance monitoring' block receives MI\_pIAE, MI\_pN\_BIAE, MI\_pN\_EBC, MI\_pN\_DS, MI\_pF\_EBC, MI\_pF\_DS, MI\_lsecond, and nN\_B, and outputs aTSF, dBIAE, dBBDI, and nF\_B to 'Extract IAE', 'Extract BDI', and 'Extract BEI' blocks respectively. A 'Process errors' block receives dDEG and nBIPV, and outputs nN\_B to a 'Compare' block. The 'Compare' block also receives inputs from 'Extract BIP8' and 'Compute BIP8' blocks. A vertical 'SMOH access' block on the right provides data to the 'Extract' blocks and receives data from the 'Compute BIP8' block. At the bottom, the OTUkV\_TCP layer provides inputs: CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, and CI\_D. The diagram is labeled G.798(10)\_F13-12 in the bottom right corner.
-
-**Figure 13-12 – OTUkV\_TT\_Sk processes**
-
-##### Defects
-
-The function shall detect dTIM, dDEG, dBBDI and, if a frame synchronous mapping for the ODUk client layer is used, it shall detect dIAE defects.
-
-**dTIM:** See clause 6.2.2.1; dTIM shall be set to false during CI\_SSF.
-
-**dDEG:** See clause 6.2.3.4.
-
-NOTE 1 – IAE (if supported) suppresses the one-second near-end errored block count, which is the input for the dDEG detection. This avoids wrong dDEG declaration due to alignment errors already incoming in an OTUkV trail.
-
-**dBDI:** The dBDI detection depends on the specific frame structure and is outside the scope of this Recommendation; dBDI shall be set to false during CI\_SSF.
-
-**dIAE:** The dIAE detection depends on the specific frame structure and is outside the scope of this Recommendation; dIAE shall be set to false during CI\_SSF and dTIM.
-
-**dBIAE:** The dBIAE detection depends on the specific frame structure and is outside the scope of this Recommendation; dTIM shall be set to false during CI\_SSF and dTIM.
-
-NOTE 2 – IAE and BIAE are only required in case of frame synchronous mapping of the ODUk into the OTUkV.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aBDI $\leftarrow$ CI\_SSF or dTIM
-
-aBEI $\leftarrow$ nBIPV
-
-aBIAE $\leftarrow$ dIAE
-
-aTSF $\leftarrow$ CI\_SSF or (dTIM and (not TIMActDis))
-
-aTSD $\leftarrow$ dDEG
-
-##### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause. This fault cause shall be reported to the EMF.
-
-cTIM $\leftarrow$ dTIM and (not CI\_SSF)
-
-cDEG $\leftarrow$ dDEG and (not CI\_SSF) and (not (dTIM and (not TIMActDis)))
-
-cBDI $\leftarrow$ dBDI and (not CI\_SSF) and (not (dTIM and (not TIMActDis)))
-
-cSSF $\leftarrow$ CI\_SSF
-
-##### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the EMF.
-
-pN\_DS $\leftarrow$ CI\_SSF or dTI
-
-pF\_DS $\leftarrow$ dBDI
-
-pN\_EBC $\leftarrow \sum nN\_B$
-
-NOTE 3 – During CI\_SSF, no errored blocks shall be counted.
-
-pF\_EBC $\leftarrow \sum nF\_B$
-
-NOTE 4 – During CI\_SSF, no errored blocks shall be counted.
-
-pBIAE $\leftarrow$ dBIAE
-
-NOTE 5 – pBIAE is activated at the end of a second if dBIAE was active once during the second.
-
-pIAE $\leftarrow$ dIAE
-
-NOTE 6 – pIAE is activated at the end of a second if dIAE was active once during the second.
-
-NOTE 7 – pBIAE and pIAE are only defined in case of frame synchronous mapping of the ODUk into the OTUkV.
-
-NOTE 8 – pIAE and pBIAE are used for the suppression of the PM data in the equipment management functions (see [ITU-T G.874]). If pBIAE is active, the F\_DS and F\_EBC values of the previous and current second have to be discarded (EBC = 0 and DS = false). If pIAE is active, the N/F\_DS and N/F\_EBC values of the previous and current second have to be discarded (EBC = 0 and DS = false). The previous second has to be included due to the delay of the IAE information coming from the remote source.
-
-## 13.3 Adaptation functions
-
-### 13.3.1 OTU to ODU adaptation function (OTU/ODU\_A)
-
-The OTU to ODU adaptation functions perform the adaptation between the OTU layer adapted information and the characteristic information of an ODU layer signal.
-
-#### 13.3.1.1 OTU to ODU adaptation source function (OTU/ODU\_A\_So)
-
-The OTU/ODU\_A\_So function creates the OTU signal and maps the ODU signal frame synchronous into this OTU signal as defined in [ITU-T G.709]. Additionally, the OTUk/ODUk\_A\_So function provides access to the ODUk SM APS overhead if it is OPERATIONAL.
-
-The information flow and processing of the OTU/ODU\_A\_So functions is defined with reference to Figures 13-13 and 13-14.
-
-##### Symbol
-
-
-
-Diagram showing the OTU/ODU\_A\_So function symbol. It consists of two identical trapezoidal blocks. The left block is labeled 'OTUk/ODUk' and has an input 'ODUk\_CP' from the top and 'OTUk/ODUk\_A\_So\_MP' from the left. Its output is 'OTUk\_AP' at the bottom, with a label 'k = 0, 1, 2, 3, 4, 25u, 25, 50u, 50' next to it. The right block is labeled 'OTUCn/ODUCn' and has an input 'ODUCn\_CP' from the top and 'OTUCn/ODUCn\_A\_So\_MP' from the left. Its output is 'OTUCn\_AP' at the bottom. Below the right block is the text 'G.798(17)-Amd.4(22)\_F13-13'.
-
-Figure 13-13 – OTU/ODU\_A\_So function
-
-##### Interfaces
-
-Table 13-5 – OTU/ODU\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
-| ODU_CP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_APS OTU/ODU_A_So_MP: OTU/ODU_A_So_MI_AdminState OTU/ODU_A_So_MI_Mode OTU/ODU_A_So_MI_APS_EN (Note) OTU/ODU_A_So_MI_APS_LVL (Note) | OTU_AP: OTU_AI_CK OTU_AI_D OTU_AI_FS OTU_AI_MFS OTU_AI_IAE |
-| NOTE – For OTUk/ODUk_A_So only. | |
-
-##### Processes
-
-The processes associated with the OTU/ODU\_A\_So function are as depicted in Figure 13-14.
-
-**ODU-LCK:** The function shall generate the ODU-LCK signal as defined in clause 16.5 of [ITU-T G.709]. The clock, frame start and multiframe start are defined by the incoming ODUk signal.
-
-**Mode:** If the MI\_Mode has the value OPERATIONAL, the following processes shall be performed. If the MI\_Mode has the value TRANSPARENT, all information shall be passed through transparently and the following processes shall not be performed.
-
-**Selector:** If MI\_Mode is OPERATIONAL, the normal signal may be replaced by the ODU-LCK signal. ODU-LCK signal is selected if the MI\_AdminState is LOCKED.
-
-**ODUk server layer APS:** If MI\_Mode is OPERATIONAL and APS is enabled (MI\_APS\_EN is true), the OTUk/ODUk\_A\_So function shall insert the CI\_APS value into the ODUk APS/PCC[MI\_APS\_LVL] field, which is available once per eight ODUk frames when MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL.
-
-NOTE 1 – The ODUk SM APS information may be present in the case where the ODUk signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may be inserted in this adaptation source function. ODUk SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-**OTU clock generation:** For k = 0, 1, 2, 3, 4, the function shall generate the OTUk clock (AI\_CK) by multiplying the incoming ODUk clock (CI\_CK) by 255/239 to the OTUk frequency as listed in Table 7-1 of [ITU-T G.709]. For k = 25, 25u, 50, 50u, the OTUk clock (AI\_CK) shall be the ODUk clock (CI\_CK). The OTUCn clock (AI\_CK) shall be the ODUCn clock (CI\_CK).
-
-For the case that an ODU signal is not terminated in the network element (e.g., it is through connected from an OTU input to an OTU output), the clock parameters and jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCr clock), apply. Otherwise, the clock requirements are defined in the ODUP/client adaptation functions.
-
-NOTE 2 – The OTU/ODU\_A\_Sk and So clocks are concentrated in a single ODCr clock in [ITU-T G.8251].
-
-The function shall generate the OTU frame start reference signals (AI\_FS), which is derived from the incoming ODU frame start (CI\_FS).
-
-The function shall generate the OTU multiframe start reference signals (AI\_MFS), which is derived from the incoming ODU multiframe start (CI\_MFS).
-
-**Incoming alignment error (IAE):** If the incoming ODU frame start (CI\_FS) position is not at the expected frame start position, the incoming alignment error IAE shall be activated. IAE shall be deactivated if the incoming ODU frame start (CI\_FS) position is at the expected frame start position. The expected frame start position is based on the previous incoming ODU frame start.
-
-**Mapping:** The function shall map the incoming ODU frame (CI\_D) into the OTU frame (AI\_D) as defined in clause 11.1 of [ITU-T G.709].
-
-
-
-Figure 13-14: OTU/ODU\_A\_So processes block diagram. The diagram shows the internal structure of the OTU/ODU\_A\_So function. On the left, the vertical label 'OTU/ODU\_A\_So\_MP' is present. Inputs include 'MI\_AdminState', 'MI\_Mode', 'MI\_APS\_EN', and 'MI\_APS\_LVL'. These connect to an 'APS' block (labeled 'OTUk/ODUk only') and a 'Select normal/LCK' block. The 'Select normal/LCK' block also receives 'D\_normal' and 'D\_LCK' from a 'Generator ODU-LCK' block. The 'APS' block connects to a 'Mapping' block. The 'Mapping' block outputs 'AI\_D'. The 'Generator ODU-LCK' block also connects to 'OTU clock, FS and MFS generation' and 'IAE detection' blocks. These two blocks output 'AI\_CK', 'AI\_MFS', 'AI\_FS', and 'AI\_IAE' respectively. The vertical label 'OTU\_AP' is at the bottom. The horizontal labels 'CI\_APS', 'CI\_D', 'ODU\_CP', 'CI\_CK', 'CI\_MFS', and 'CI\_FS' are at the top. A reference 'G.798(17)-Amd.1(18)\_F13-14' is at the bottom right.
-
-Figure 13-14 – OTU/ODU\_A\_So processes
-
-**Defects:** None.
-
-##### **Consequent actions**
-
-The function shall perform the following consequent actions:
-
-aIAE ← IAE
-
-**Defect Correlations:** None.
-
-**Performance monitoring:** None.
-
-#### **13.3.1.2 OTU to ODU adaptation sink function (OTU/ODU\_A\_Sk)**
-
-The OTU/ODU\_A\_Sk extracts the ODU signal from the OTU. It may insert ODU-AIS under signal fail conditions. Additionally, the OTUk/ODUk\_A\_Sk function provides access to the ODUk SM APS overhead if it is OPERATIONAL.
-
-The information flow and processing of the OTU/ODU\_A\_Sk functions is defined with reference to Figures 13-15 and 13-16.
-
-##### **Symbol**
-
-
-
-Figure 13-15: OTUk/ODUk\_A\_Sk function symbol diagram. It shows two trapezoidal symbols representing the function. The left symbol is labeled 'OTUk/ODUk' and has an input 'OTUk/ODUk\_A\_Sk\_MP' on the left, an input 'OTUk\_AP' at the bottom (with parameter 'k = 1, 2, 3, 4, 25u, 25, 50u, 50'), and an output 'ODUk\_CP' at the top. The right symbol is labeled 'OTUCn/ODUCn' and has an input 'OTUCn/ODUCn\_A\_Sk\_MP' on the left, an input 'OTUCn\_AP' at the bottom, and an output 'ODUCn\_CP' at the top. A reference 'G.798(17)-Amd.4(22)\_F13-15' is at the bottom right.
-
-Figure 13-15 – OTUk/ODUk\_A\_Sk function
-
-##### Interfaces
-
-**Table 13-6 – OTU/ODU\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|
-| OTU_AP: OTU_AI_CK OTU_AI_D OTU_AI_FS OTU_AI_MFS OTU_AI_TSF OTU_AI_TSD OTU/ODUk_A_Sk_MP: OTU/ODU_A_Sk_MI_AdminState OTU/ODU_A_Sk_MI_Mode OTU/ODU_A_Sk_MI_APS_EN (Note) OTU/ODU_A_Sk_MI_APS_LVL (Note) | ODU_CP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODU_CI_SSD ODU_CI_APS |
-| NOTE – For OTUk/ODUk_A_So only. | |
-
-##### Processes
-
-The processes associated with the OTUk/ODUk\_A\_Sk function are as depicted in Figure 13-16.
-
-**ODU clock, FS and MFS signal generation:** For k= 0 ,1, 2, 3, 4, the function shall generate the ODUk clock (CI\_CK) by dividing the incoming OTUk clock (AI\_CK) down by a factor of 239/255 to the particular ODUk clock as listed in Table 7-2 of [ITU-T G.709]. For k = 25, 25u ,50, 50u, the ODUk clock (AI\_CK) shall be the OTUk clock (CI\_CK). The ODUk clock (AI\_CK) shall be the OTUk clock (CI\_CK).
-
-For the case that an ODU signal is not terminated in the network element (e.g., it is through connected from an OTU input to an OTU output), the clock parameters and jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCr clock), apply. Otherwise, the clock requirements are defined in the ODUP/client adaptation functions.
-
-NOTE 1 – The OTU/ODU\_A\_Sk and So clocks are concentrated in a single ODCr clock in [ITU-T G.8251].
-
-The function shall generate the ODU frame start reference signals (CI\_FS), which is derived from the incoming OTU frame start (AI\_FS).
-
-The function shall generate the ODU multiframe start reference signals (CI\_MFS), which is derived from the incoming OTU multiframe start (AI\_MFS).
-
-**Extract ODU from OTU:** The function shall extract the ODU frame (CI\_D) from the incoming OTU frame (AI\_D) as defined in clause 11.1 and 11.3 of [ITU-T G.709].
-
-**ODUk server layer APS:** When APS is enabled (MI\_APS\_EN is true), the OTUk/ODUk\_A\_Sk function shall extract the information from the ODUk APS/PCC[MI\_APS\_LVL] field, which is available once per eight ODUk frames when the value of the MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL, and apply the extracted information to the CI\_APS.
-
-NOTE 2 – The ODUk SM APS information may be present in the case where the ODUk signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may have been inserted in the far-end adaptation source function. ODUk SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-**ODU-LCK, ODU-AIS:** The function shall generate the ODU-LCK and ODU-AIS signals as defined in [ITU-T G.709]. The clock, frame start and multiframe start shall be independent from the incoming clock. The clock has to be within the frequency range as given in Table 7-2 of
-
-[ITU-T G.709]. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-**Mode:** If the MI\_Mode has the value OPERATIONAL, the following processes shall be performed. If the MI\_Mode has the value TRANSPARENT, all information shall be passed through transparently and the following processes shall not be performed.
-
-**Selector:** If MI\_Mode is OPERATIONAL, the normal signal may be replaced by either the ODU-AIS or the ODU-LCK signal. ODU-LCK signal is selected if the MI\_AdminState is LOCKED. ODU-AIS is selected if MI\_AdminState is not LOCKED and aAIS is true. If MI\_Mode has the value TRANSPARENT, the normal signal is always selected.
-
-
-
-Figure 13-16 – OTU/ODU\_A\_Sk processes. This block diagram illustrates the internal logic for OTU/ODU\_A\_Sk. On the left, the 'OTU/ODU\_A\_Sk\_MP' block receives inputs: MI\_AdminState, MI\_Mode, MI\_APS\_EN, and MI\_APS\_LVL. It connects to a 'Consequent actions' block which outputs aTSD, aTSF, and aAIS. The 'Consequent actions' block also receives AI\_TSD and AI\_TSF. The 'Consequent actions' block connects to a 'Select normal/AIS/LCK' block. This block has three outputs: AIS, LCK, and Normal. The 'AIS' and 'LCK' outputs are connected to 'Generate ODU-AIS' and 'Generate ODU-LCK' blocks respectively. The 'Normal' output is connected to an 'ODU data demapping, clock (ODCr), FS and MFS generation' block. The 'APS' block (containing OTUK/ODUk only) receives CI\_APS and connects to the 'Select normal/AIS/LCK' block. The 'APS' block also receives inputs from the 'Consequent actions' block. The 'ODU data demapping, clock (ODCr), FS and MFS generation' block outputs D, CK, FS, and MFS. These are connected to the 'OTU\_AP' block which outputs AI\_D, AI\_CK, AI\_FS, and AI\_MFS. The 'OTU\_AP' block also receives inputs from the 'Consequent actions' block. The 'OTU/ODU\_A\_Sk\_MP' block also outputs CI\_TSD, CI\_TSF, CI\_APS, CI\_D, CI\_CK, CI\_FS, and CI\_MFS.
-
-G.798(17)-Amd.1(18)\_F13-16
-
-Figure 13-16 – OTU/ODU\_A\_Sk processes
-
-**Defects:** None.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aSSF $\leftarrow$ AI\_TSF and (not MI\_AdminState = LOCKED)
-
-aAIS $\leftarrow$ AI\_TSF and (not MI\_AdminState = LOCKED)
-
-aSSD $\leftarrow$ AI\_TSD and (not MI\_AdminState = LOCKED)
-
-On declaration of aAIS, the function shall output an all-ONEs pattern/signal within two frames. On clearing aAIS, the all-ONEs pattern/signal shall be removed within two frames, with normal data being output. The AIS clock, frame start and multiframe start shall be independent from the incoming clock, frame start and multiframe start. The AIS clock has to be the frequency range as given in Table 7-2 of [ITU-T G.709]. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 13.3.2 OTUkV to ODUk adaptation function (OTUkV/ODUk\_A)
-
-The OTUkV to ODUk adaptation functions perform the adaptation between the OTUkV layer adapted information and the characteristic information of an ODUk layer signal.
-
-#### 13.3.2.1 OTUkV to ODUk adaptation source function (OTUkV/ODUk\_A\_So)
-
-The OTUkV/ODUk\_A\_So function creates the OTUkV signal and maps the ODUk signal into this OTUkV. It provides access to the ODUk SM APS overhead.
-
-The information flow and processing of the OTUkV/ODUk\_A\_So functions is defined with reference to Figures 13-17 and 13-18.
-
-##### Symbol
-
-
-
-Diagram of the OTUkV/ODUk\_A\_So function symbol. It shows a central block labeled 'OTUkV/ODUk'. An input 'ODUk\_CP' enters from the top. An input 'OTUkV/ODUk\_A\_So\_MP' enters from the left. An output 'OTUkV\_AP' exits from the bottom, with a label 'k = 1, 2, 3, 4' next to it. The diagram is labeled 'G.798(10)\_F13-17'.
-
-Figure 13-17 – OTUkV/ODUk\_A\_So function
-
-##### Interfaces
-
-Table 13-7 – OTUkV/ODUk\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|
-| ODUk_CP: ODUk_CI_CK ODUk_CI_D ODUk_CI_FS ODUk_CI_MFS ODUk_CI_APS OTUkV/ODUk_A_So_MP: OTUkV/ODUk_A_So_MI_AdminState OTUkV/ODUk_A_So_MI_APS_EN OTUkV/ODUk_A_So_MI_APS_LVL | OTUkV_AP: OTUkV_AI_CK OTUkV_AI_D OTUkV_AI_FS OTUkV_AI_MFS (Note 1) OTUkV_AI_IAE (Note 2) |
-| NOTE 1 – If the OTUkV has a multiframe. | |
-| NOTE 2 – In case of frame synchronous mapping of ODUk client signal. | |
-
-##### Processes
-
-The processes associated with the OTUkV/ODUk\_A\_So function are as depicted in Figure 13-18.
-
-**ODU-LCK:** The function shall generate the ODU-LCK signal as defined in clause 16.5 of [ITU-T G.709]. The clock, frame start and multiframe start are defined by the incoming ODUk signal.
-
-**Selector:** The normal signal may be replaced by the ODU-LCK signal. ODU-LCK signal is selected if the MI\_AdminState is LOCKED.
-
-**ODUk server layer APS:** When APS is enabled (MI\_APS\_EN is true), the function shall insert the CI\_APS value into the ODUk APS/PCC[MI\_APS\_LVL] field, which is available once per eight ODUk frames when MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL.
-
-NOTE 1 – The ODUk SM APS information may be present in the case where the ODUk signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may be inserted
-
-in this adaptation source function. ODuk SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-**OTUkV signal generation:** The function shall generate the OTUkV clock and frame start. The specific generation processes are outside the scope of this Recommendation.
-
-**Incoming alignment error:** In case of frame synchronous mapping of the ODuk in the OTUkV, IAE has to be generated. If the incoming ODuk frame start (CI\_FS) position is not at the expected frame start position, incoming alignment error (IAE) shall be activated. IAE shall be deactivated if the incoming ODuk frame start (CI\_FS) position is at the expected frame start position. The expected frame start position is based on the previous incoming ODuk frame start.
-
-**Mapping:** The function shall map the incoming ODuk frame (CI\_D) into the OTUkV frame (AI\_D). The specific mapping process is outside the scope of this Recommendation.
-
-
-
-Figure 13-18 – OTUkV/ODUk\_A\_So processes. This block diagram illustrates the internal components and signal flow of the OTUkV/ODUk\_A\_So adaptation source function. Inputs include CI\_D (client data), CI\_FS (client frame start), CI\_MFS (client multi-frame start), and control signals MI\_APS\_EN, MI\_APS\_LVL, and MI\_AdminState. The diagram shows an ODUk-LCK generator receiving CI\_D and CI\_FS to produce D\_normal and D\_LCK signals. These are processed by a 'Select normal/LCK' block. CI\_D is also processed by an APS block and a Mapping block. CI\_FS and CI\_MFS are used by an 'OTUk Vclock, FS and MFS generation' block to produce AI\_CK, AI\_FS, and AI\_MFS. An IAE (Incoming Alignment Error) block is shown with a dashed border, receiving CI\_FS and CI\_MFS to produce a\_IAE. The final outputs are AI\_D (adapted data), AI\_CK, AI\_FS, AI\_MFS, and AI\_IAE, collectively labeled as OTUkV\_AP. A reference label G.798(12)\_F13-18 is present in the bottom right.
-
-**Figure 13-18 – OTUkV/ODUk\_A\_So processes**
-
-**Defects:** None.
-
-##### **Consequent actions**
-
-The function shall perform the following consequent actions:
-
-$$aIAE \leftarrow IAE$$
-
-NOTE 2 – aIAE is only required in case of frame synchronous mapping of the ODuk client signal.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### **13.3.2.2 OTUkV to ODuk adaptation sink function (OTUkV/ODUk\_A\_Sk)**
-
-The OTUkV/ODUk\_A\_Sk extracts the ODuk signal from the OTUkV. It may insert ODU-AIS under signal fail conditions. It provides access to the ODuk SM APS overhead.
-
-The information flow and processing of the OTUkV/ODUk\_A\_Sk functions is defined with reference to Figures 13-19 and 13-20.
-
-##### Symbol
-
-
-
-Figure 13-19 – OTUkV/ODUk\_A\_Sk function symbol diagram. A central block labeled 'OTUkV/ODUk' has an input 'OTUkV\_AP' from the bottom, with 'k = 1, 2, 3, 4' indicated. It has an output 'ODUk\_CP' from the top. A dashed arrow labeled 'OTUkV/ODUk\_A\_Sk\_MP' points to the block from the left. The diagram is labeled 'G.798(10)\_F13-19'.
-
-Figure 13-19 – OTUkV/ODUk\_A\_Sk function
-
-##### Interfaces
-
-Table 13-8 – OTUkV/ODUk\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| OTUkV_AP: OTUkV_AI_CK OTUkV_AI_D OTUkV_AI_FS OTUkV_AI_MFS (Note 1) OTUkV_AI_TSF OTUkV_AI_TSD OTUkV/ODUk_A_Sk_MP: OTUkV/ODUk_A_Sk_MI_AdminState OTUkV/ODUk_A_Sk_MI_APS_EN OTUkV/ODUk_A_Sk_MI_APS_LVL | ODUk_CP: ODUk_CI_CK ODUk_CI_D ODUk_CI_FS ODUk_CI_MFS ODUk_CI_SSF ODUk_CI_SSD ODUk_CI_APS OTUkV/ODUk_A_Sk_MP: OTUkV/ODUk_A_Sk_MI_cLOA (Note 2) |
-| NOTE 1 – If the OTUkV has a multiframe. | |
-| NOTE 2 – If loss of alignment supervision is performed. | |
-
-##### Processes
-
-The processes associated with the OTUkV/ODUk\_A\_Sk function are as depicted in Figure 13-20.
-
-**Demapping:** The function shall extract the ODUk signal, including clock, frame start, multiframe start and data from the OTUkV. The specific demapping processes are outside the scope of this Recommendation.
-
-**ODUk server layer APS:** When APS is enabled (MI\_APS\_EN is true), the function shall extract the information from the ODUk APS/PCC[MI\_APS\_LVL] field, which is available once per eight ODUk frames when the value of the MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL, and apply the extracted information to the CI\_APS.
-
-NOTE – The ODUk SM APS information may be present in the case where the ODUk signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may have been inserted in the far-end adaptation source function. ODUk SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-**ODU-LCK, ODU-AIS:** The function shall generate the ODU-LCK and ODU-AIS signals as defined in [ITU-T G.709]. The clock, frame start and multiframe start shall be independent from the incoming clock. The clock has to be within the frequency range as given in Table 7-2 of [ITU-T G.709]. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-**Selector:** The normal signal may be replaced by either the ODU-AIS or the ODU-LCK signal. ODU-LCK signal is selected if the MI\_AdminState is LOCKED. ODU-AIS is selected if MI\_AdminState is not LOCKED and aAIS is true.
-
-
-
-Figure 13-20 – OTUkV/ODUk\_A\_Sk processes. This block diagram illustrates the internal logic of the OTUkV/ODUk\_A\_Sk function. At the top, the ODUk\_CP section includes inputs CI\_SSD, CI\_SSF, CI\_APS, CI\_MFS, CI\_FS, CI\_CK, and CI\_D. CI\_SSD and CI\_SSF lead to 'Consequent actions', which outputs aSSD, aSSF, and aAIS. MI\_AdminState and aAIS feed into 'Select normal/AIS/LCK', which outputs LCK, AIS, and Normal signals. 'Generate ODUk-LCK' and 'Generate ODUk-AIS' blocks also feed into the selection logic. MI\_APS\_EN and MI\_APS\_LVL feed into an APS block. MI\_LOA feeds into 'Defect correlations' and 'Alignment detection' blocks. The bottom section, OTUkV\_AP, includes inputs AI\_TSD, AI\_TSF, AI\_MFS, AI\_FS, AI\_CK, and AI\_D. AI\_TSD and AI\_TSF feed into 'Defect correlations' and 'Alignment detection'. 'ODUk data demapping, clock (ODCr), FS and MFS generation' block receives MFS, FS, CK, and D inputs and feeds into the APS block. The APS block outputs CI\_APS. The diagram is labeled G.798(12)\_F13-20.
-
-**Figure 13-20 – OTUkV/ODUk\_A\_Sk processes**
-
-##### Defects
-
-Depending on the ODUk mapping defect, detection might be necessary (e.g., loss of alignment).
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aSSF $\leftarrow$ AI\_TSF and (not MI\_AdminState = LOCKED)
-
-aAIS $\leftarrow$ AI\_TSF and (not MI\_AdminState = LOCKED)
-
-aSSD $\leftarrow$ AI\_TSD and (not MI\_AdminState = LOCKED)
-
-Depending on the ODUk mapping, additional defects might contribute to aSSF and aAIS (e.g., loss of alignment).
-
-On declaration of aAIS, the function shall output an all-ONEs pattern/signal within two frames. On clearing aAIS, the all-ONEs pattern/signal shall be removed within two frames, with normal data being output. The AIS clock, frame start and multiframe start shall be independent from the incoming clock, frame start and multiframe start. The AIS clock has to be within the frequency range as given in Table 7-2 of [ITU-T G.709]. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-##### Defect correlations
-
-Depending on the ODUk mapping, defect correlations might be necessary (e.g., loss of alignment).
-
-**Performance monitoring:** None.
-
-### 13.3.3 OTU to COMMS adaptation function (OTU/COMMS\_A)
-
-The OTU to COMMS adaptation functions provide access to the GCC0 overhead in the OTU for generic data communication.
-
-#### 13.3.3.1 OTU to COMMS adaptation source function (OTU/COMMS\_A\_So)
-
-The OTU/COMMS\_A\_So function maps the generic communication channel data into the OTU GCC0 overhead.
-
-The information flow and processing of the OTU/COMMS\_A\_So functions is defined with reference to Figures 13-21 and 13-22.
-
-##### Symbol
-
-
-
-Figure 13-21 – OTU/COMMS\_A\_So function. The diagram shows two symbols for the OTU/COMMS\_A\_So function. The left symbol is labeled 'OTUk/COMMS' and has an input 'COMMS\_CP' pointing down to it, and an output 'OTUk\_AP' pointing down from it. The output is labeled with 'k = 0, 1, 2, 3, 4, 25u, 25, 50u, 50'. The right symbol is labeled 'OTUCn/COMMS' and has an input 'COMMS\_CP' pointing down to it, and an output 'OTUCn\_AP' pointing down from it. Below the right symbol is the text 'G.798(17)-Amd.4(22)\_F13-21'.
-
-Figure 13-21 – OTU/COMMS\_A\_So function
-
-##### Interfaces
-
-Table 13-9 – OTU/COMMS\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------|---------------------------------------------------------------|
-| COMMS_CP: COMMS_CI_D OTU_AP: OTU_AI_CK OTU_AI_FS | COMMS_CP: COMMS_CI_CK OTU_AP: OTU_AI_D |
-
-##### Processes
-
-The processes associated with the OTU/COMMS\_A\_So function are as depicted in Figure 13-22.
-
-**COMMS clock generation:** The function shall generate the COMMS clock (CI\_CK) by dividing the incoming OTUk clock (OTUk\_AI\_CK) by a factor of 8160 or the OTUCn clock (OTUCn\_AI\_CK) by a factor of 7648).
-
-**Mapping:** The function shall map the incoming COMMS data (CI\_D) into the GCC0 overhead of the OTU frame (AI\_D). The bit rate of the COMMS data is defined by the outgoing COMMS clock (CI\_CK) and is in the range given in Table 7-10 of [ITU-T G.709].
-
-Table 13-10 – Intentionally left blank
-
-The insertion of the COMMS data follows the transmission order of the GCC bits and bytes.
-
-
-
-Figure 13-22: OTU/COMMS\_A\_So processes diagram. A grey box labeled COMMS\_CP contains two white boxes: 'Mapping' and 'COMMS clock generation'. External inputs AI\_FS, AI\_D, and AI\_CK enter from the bottom (labeled OTU\_AP). AI\_D and AI\_CK enter the 'Mapping' box, while AI\_FS enters the 'COMMS clock generation' box. The 'Mapping' box outputs CI\_D and CI\_CK to the top. The 'COMMS clock generation' box also outputs CI\_CK to the top. Reference G.798(17)\_F13-22 is shown at the bottom right.
-
-Figure 13-22 – OTU/COMMS\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### **13.3.3.2 OTU to COMMS adaptation sink function (OTU/COMMS\_A\_Sk)**
-
-The OTU/COMMS\_A\_Sk extracts the COMMS data from the OTU GCC0 overhead.
-
-The information flow and processing of the OTU/COMMS\_A\_Sk functions is defined with reference to Figures 13-23 and 13-24.
-
-##### **Symbol**
-
-
-
-Figure 13-23: OTU/COMMS\_A\_Sk function symbols. Two trapezoidal symbols represent the function. The left symbol is labeled 'OTUk/COMMS' and has an input OTUk\_AP with parameter k = 0, 1, 2, 3, 4, 25u, 25, 50u, 50, and an output COMMS\_CP. The right symbol is labeled 'OTUCn/COMMS' and has an input OTUCn\_AP and an output COMMS\_CP. Reference G.798(17)-Amd.4(22)\_F13-23 is shown at the bottom right.
-
-Figure 13-23 – OTU/COMMS\_A\_Sk function
-
-##### **Interfaces**
-
-Table 13-11 – OTU/COMMS\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|--------------------------------------------------------------------|---------------------------------------------------------------|
-| OTU_AP: OTU_AI_CK OTU_AI_D OTU_AI_FS OTU_AI_TSF | COMMS_CP: COMMS_CI_CK COMMS_CI_D COMMS_CI_SSF |
-
-##### Processes
-
-The processes associated with the OTUk/COMMS\_A\_Sk function are as depicted in Figure 13-24.
-
-**COMMS clock generation:** The function shall generate the COMMS clock (CI\_CK) by dividing the incoming OTUk clock (OTUk\_AI\_CK) by a factor of 8160 or the OTUCn clock (OTUCn\_AI\_CK) by a factor of 7648).
-
-**Demapping:** The function shall extract the COMMS data (CI\_D) from the GCC0 overhead of the OTU frame (AI\_D). The bit rate of the COMMS data is defined by the outgoing COMMS clock (CI\_CK) and is in the range given in Table 7-10 of [ITU-T G.709].
-
-The extraction of the COMMS data follows the transmission order of the GCC bits and bytes.
-
-
-
-Figure 13-24: OTUk/COMMS\_A\_Sk processes diagram. The diagram shows a grey rectangular box labeled 'COMMS\_CP' at the top. Inside this box are two white rectangular blocks: 'Demapping' on the left and 'COMMS clock generation' on the right. Below the box, four input labels are shown: 'AI\_FS', 'AI\_D', 'AI\_CK', and 'AI\_TSF'. Arrows point from these inputs into the box. 'AI\_FS' and 'AI\_D' point to the 'Demapping' block. 'AI\_CK' points to the 'COMMS clock generation' block. 'AI\_TSF' points to the right side of the box, labeled 'aSSF'. Above the box, three output labels are shown: 'CI\_D', 'CI\_CK', and 'CI\_SSF'. Arrows point from the 'Demapping' block to 'CI\_D'. Arrows point from the 'COMMS clock generation' block to 'CI\_CK'. An arrow points from the right side of the box (labeled 'aSSF') to 'CI\_SSF'. At the bottom center, the label 'OTU\_AP' is present. At the bottom right, the label 'G.798(17)\_F13-24' is present.
-
-**Figure 13-24 – OTUk/COMMS\_A\_Sk processes**
-
-**Defects:** None.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aSSF $\leftarrow$ AI\_TSF
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 13.3.4 OTUkV to COMMS adaptation function (OTUkV/COMMS\_A)
-
-The OTUkV to COMMS adaptation functions provide access to the GCC overhead in the OTUkV for generic data communication. The format of the OTUkV GCC overhead is outside the scope of this Recommendation.
-
-#### 13.3.4.1 OTUkV to COMMS adaptation source function (OTUkV/COMMS\_A\_So)
-
-The OTUkV/COMMS\_A\_So function maps the generic communication channel data into the OTUkV GCC overhead.
-
-The information flow and processing of the OTUkV/COMMS\_A\_So functions is defined with reference to Figure 13-25.
-
-##### Symbol
-
-
-
-COMMS\_CP
-
-OTUkV/COMMS
-
-k = 1, 2, 3, 4
-
-OTUkV\_AP
-
-G.798(17)\_F13-25
-
-Symbol diagram for OTUkV/COMMS\_A\_So function. It shows an input COMMS\_CP entering a trapezoidal block labeled OTUkV/COMMS. An output arrow labeled k = 1, 2, 3, 4 exits the block and points to OTUkV\_AP. The reference G.798(17)\_F13-25 is shown below the output.
-
-Figure 13-25 – OTUkV/COMMS\_A\_So function
-
-##### Interfaces
-
-Table 13-12 – OTUkV/COMMS\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------|-------------------------------------------------------------------|
-| COMMS_CP: COMMS_CI_D OTUkV_AP: OTUkV_AI_CK OTUkV_AI_FS | COMMS_CP: COMMS_CI_CK OTUkV_AP: OTUkV_AI_D |
-
-##### Processes
-
-The function shall insert the COMMS data into the OTUkV GCC overhead. The specific processes are outside the scope of this Recommendation.
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 13.3.4.2 OTUkV to COMMS adaptation sink function (OTUkV/COMMS\_A\_Sk)
-
-The OTUkV/COMMS\_A\_Sk extracts the COMMS data from the OTUkV GCC overhead.
-
-The information flow and processing of the OTUkV/COMMS\_A\_Sk functions is defined with reference to Figure 13-26.
-
-##### Symbol
-
-
-
-COMMS\_CP
-
-OTUkV/COMMS
-
-k = 1, 2, 3, 4
-
-OTUkV\_AP
-
-G.798(17)\_F13-26
-
-Symbol diagram for OTUkV/COMMS\_A\_Sk function. It shows an input OTUkV\_AP entering a trapezoidal block labeled OTUkV/COMMS. An output arrow labeled k = 1, 2, 3, 4 exits the block and points to COMMS\_CP. The reference G.798(17)\_F13-26 is shown below the input.
-
-Figure 13-26 – OTUkV/COMMS\_A\_Sk function
-
-##### Interfaces
-
-**Table 13-13 – OTUkV/COMMS\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------|---------------------------------------------------------------|
-| OTUkV_AP: OTUkV_AI_CK OTUkV_AI_D OTUkV_AI_FS OTUkV_AI_TSF | COMMS_CP: COMMS_CI_CK COMMS_CI_D COMMS_CI_SSF |
-
-##### Processes
-
-The function shall extract the COMMS data from the OTUkV GCC overhead. The specific processes are outside the scope of this Recommendation.
-
-**Defects:** None.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aSSF $\leftarrow$ AI\_TSF
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 13.3.5 OTUk to synchronization distribution adaptation functions
-
-OTUk to synchronization distribution (SD) adaptation functions are given in clause 8.10 of [ITU-T G.781].
-
-## 13.4 Sub-layer functions
-
-Not applicable.
-
-# 14 ODU (layer) functions
-
-Figure 14-1 illustrates the ODU layer network and client layer adaptation functions. The information crossing the ODU connection point (ODUk\_CP or ODUCn\_CP) is referred to as the ODU characteristic information (ODUk\_CI or ODUCn\_CI). The information crossing the ODUP access point (ODUkP\_AP or ODUCnP\_AP) is referred to as the ODUP adapted information (ODUkP\_AI).
-
-The tandem connection monitoring (TCM) sub-layer ODUT and the related functions (ODUkT\_TT, ODUT/ODU\_A and ODUTm) are optional. Up to six TCM sub-layers can be terminated within one NE. The figure shows a generic example for the connection of the ODUT functions. They can be connected to any ODU\_CP. It is not required to connect them via an ODU\_C function; they can be directly inserted without a connection function.
-
-The COMMS access functions (ODU/COMMS\_AC and ODUP/COMMS\_A) are optional. The figure shows a generic example for the connection of the ODU/COMMS\_AC functions. They can be inserted into any ODU\_CP (including TCPs) independent of sink or source processing. It is not required to connect them via an ODU\_C function; they can be directly inserted without a connection function.
-
-
-
-The diagram illustrates the ODU layer network and client layer adaptation functions, divided into ODUk (top half) and ODUCn (bottom half) sections. It shows the mapping and multiplexing of various client signals into ODU containers.
-
-### ODUk Layer (Top Section)
-
-- Client Interfaces (Top):** FC-1200\_CP, ERS10G\_CP, MT\_CP, SCC\_CP, ETH\_FP, ETH\_TFP.
-- Adaptation Functions:** ODU2P/FC-1200, ODU2P/ERS10G, ODUkP[-h]/MT, ODUkP[-h]/ETH.
-- Intermediate Layers:** RSn\_CP, CBRx\_CP, ODUkP/RSn, ODU0P/CBRx, ODUk-g/CBRx, ODUkP/CBRx.
-- Multiplexing:** ODUk\_CP leading to ODUkP[-h]/ODUj-21 and ODUkP/ODU[i]j.
-- Overhead/Management:** COMMS\_CP with ODUkP/PRBS, ODUkP/NULL, ODUkP/COMMS.
-- Core:** ODUk connection point (oval) with ODUkT/ODUk termination, ODUkT non-intrusive monitor, and ODUkT\_AP/RP reference points.
-
-### ODUCn Layer (Bottom Section)
-
-- Management:** COMMS\_CP and ODUk\_CP leading to ODUCnP/PRBS, ODUCnP/NULL, ODUCnP/COMMS, ODUCnP/ODUk.
-- Core:** ODUCn\_TCP (oval) with ODUCnT/ODUCn termination, ODUCnT non-intrusive monitor, and ODUCnT\_AP/RP reference points.
-- Lower Adaptation:** ODUCn/COMMS adaptation functions leading to ODUCn\_CP.
-
-Reference markers: G.798(17)-Amd.1(18)\_F14-1a and G.798(17)\_F14-1b.
-
-**Figure 14-1 – ODU layer network and client layer adaptation functions**
-
-128
-
-**Rec. ITU-T G.798 (09/2023)**
-
-The ODuk characteristic information (ODuk\_CI) is the ODuk frame as defined in [ITU-T G.709] with one instance (n = 1) of valid ODU overhead, together with a frame and multiframe start. The ODUCn characteristic information (ODUCn\_CI) is the ODUCn frame as defined in [ITU-T G.709] with n instances of valid ODU overhead, together with a frame and multiframe start.
-
-The ODU overhead is shown in Figure 14-2. TCM1..6 overhead is only used if one or more ODUT trails cross the CP; otherwise, it is set to all-ZEROs. APS/PCC overhead is only used in case of an ODU protection scheme with APS support; otherwise, it is set to all-ZEROs. GCC1, GCC2 and EXP overhead are optional. If they are not used, they are set to all-ZEROs. The RES overhead is set to all-ZEROs. PM and TCM overheads are for delay measurement of ODU path (DMp) and TCM (DMti) sections.
-
-
-
-G.789(17)\_F14-2
-
-Diagram of ODuk overhead structure showing columns 1-16 and rows 1-4. Row 1 contains Frame alignment overhead (columns 1-7) and OTU overhead (columns 8-14). Rows 2-4 contain OPU overhead. Row 2: RES (col 1), EXP (col 3), TCM6 (col 4-5), TCM5 (col 6-7), TCM4 (col 8-9), EXP (col 10). Row 3: TCM3 (col 1-2), TCM2 (col 3-4), TCM1 (col 5-6), PM (col 7-8), EXP (col 9). Row 4: GCC1 (col 1), GCC2 (col 2), RES (col 3-14). Below the grid, two boxes show ODU frame structures: Structure #1 includes PM and TCM, APS/PCC, and RES; Structure #2 to #n includes RES and RES. Source: G.789(17)\_F14-2.
-
-**Figure 14-2 – ODuk overhead at ODuk\_CP**
-
-The ODukP adapted information (ODukP\_AI) consists of the client layer CI adapted to the OPuk frame as defined in [ITU-T G.709] and one (n=1) instance of OPU overhead as shown in Figure 14-3, together with a frame and multiframe start. The mapping-specific overhead depends on the client mapping scheme. In case of COMMS access at the ODukP\_AP, it also includes the ODuk GCC overhead (GCC1/2). In the case of ODuk client signal protection (e.g., ODuj CL-SNCG/I, non-OTN client SNC/I or ODU SRP-p), it also includes the ODuk PM APS overhead (APS/PCC at level 000).
-
-The ODUCnP adapted information (ODUCnP\_AI) consists of the client layer CI adapted to the OPUCn frame as defined in [ITU-T G.709] and n instances of OPU overhead as shown in Figure 14-3, together with a frame and multiframe start. The mapping-specific overhead depends on the client mapping scheme. In case of COMMS access at the ODUCnP\_AP, it also includes the ODUCn GCC overhead (GCC1/2). In the case of ODUCn client signal protection (e.g., ODuj CL-SNCG/I, or ODU SRP-p), it also includes the ODUCn PM APS overhead (APS/PCC).
-
-![Diagram of OPU overhead at ODU_AP showing a 16-column by 4-row frame structure. Row 1-3 are mapping specific overhead. Row 4 contains GCC1, GCC2, APS/PCC, and PSI. Below the frame, a table shows MEAS[6:8] values (000-111) for ODuk and ODUCn paths.](143c8ee1010bf7669caabfbed815df1b_img.jpg)
-
-The diagram illustrates the OPU overhead structure at the ODU\_AP. It consists of a frame with 16 columns and 4 rows. Rows 1, 2, and 3 are designated as 'Mapping specific overhead'. Row 4 is divided into four sections: GCC1 (columns 1-2), GCC2 (columns 3-4), APS/PCC (columns 5-8), and PSI (columns 15-16). Below the frame, a table shows the 'MEAS[6:8]' values (000 through 111) for two paths: ODuk and ODUCn. The ODuk path is associated with the first MEAS value (000), and the ODUCn path is associated with the second MEAS value (001). The remaining MEAS values (010 through 111) are listed in the table but are not explicitly associated with a path in this diagram.
-
-| MEAS[6:8] | ODuk | ODUCn |
-|-----------|--------------|---------|
-| 000 | APS/PCC path | |
-| 001 | | APS/PCC |
-| 010 | | |
-| 011 | | |
-| 100 | | |
-| 101 | | |
-| 110 | | |
-| 111 | | |
-
-Diagram of OPU overhead at ODU\_AP showing a 16-column by 4-row frame structure. Row 1-3 are mapping specific overhead. Row 4 contains GCC1, GCC2, APS/PCC, and PSI. Below the frame, a table shows MEAS[6:8] values (000-111) for ODuk and ODUCn paths.
-
-Figure 14-3 – OPU overhead at ODU\_AP
-
-## 14.1 Connection functions
-
-### 14.1.1 ODUk connection function (ODU\_C)
-
-The information flow and processing of the ODU\_C function is defined with reference to Figures 14-4 and 14-5. The ODU\_C function connects ODUk characteristic information from its input ports to its output ports. As the process does not affect the nature of characteristic information, the reference points on either side of the ODU\_C function are the same as illustrated in Figure 14-4.
-
-NOTE 1 – The ODUCn is excluded from the ODU\_C function.
-
-The connection process is unidirectional and as such no differentiation in sink and source is required.
-
-In addition, the ODU\_C function supports the following subnetwork connection protection schemes:
-
-- 1+1 unidirectional SNC/N, SNC/I and SNC/S protection without an APS protocol.
-- 1+1 unidirectional SNC/N, SNC/I and SNC/S protection with an APS protocol.
-- 1+1 bidirectional SNC/N, SNC/I and SNC/S protection with an APS protocol.
-- 1:n unidirectional SNC/I and SNC/S protection with an APS protocol.
-- 1:n bidirectional SNC/I and SNC/S protection with an APS protocol.
-
-The protection functionality is described in clause 14.1.1.1.
-
-NOTE 2 – The protection processes have a dedicated sink and source behaviour.
-
-##### Symbol
-
-
-
-Diagram of the ODU\_C function symbol. A central oval is labeled 'ODUk'. Above the oval, three vertical arrows point down to it, labeled 'ODUk\_CP' at the top, with three dots between them. Below the oval, three vertical arrows point down from it, also labeled 'ODUk\_CP' at the bottom, with three dots between them. To the left of the oval, a horizontal double-headed arrow points to it, labeled 'ODUk\_C\_MP'. To the right of the oval, the text 'G.798(10)\_F14-4' is present.
-
-Figure 14-4 – ODU\_C function
-
-##### Interfaces
-
-Table 14-1 – ODU\_C function inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| per ODUk_CP: ODUk_CI_D ODUk_CI_CK ODUk_CI_FS ODUk_CI_MFS ODUk_CI_SSF ODUk_CI_SSD (for SNC/S and SNC/I protection) ODUk_AI_TSF (for SNC/N protection) ODUk_AI_TSD (for SNC/N protection) ODUk_CI_APS (for SNC/I and SNC/S protection) ODUk_CI_RP ODUk_CI_TSCC per ODU_PP: (for CL_SNCG/I protection) ODU_PI_APS ODU_PI_TSF ODU_PI_TSD ODUk_C_MP: ODUk_C_MI_MatrixControl per protection group (for SNC protection): ODUk_C_MI_ProfType ODUk_C_MI_OperType ODUk_C_MI_WTR ODUk_C_MI_HoTime ODUk_C_MI_ExtCMD ODUk_C_MI_APSChannel (for SNC protection with APS protocol) ODUk_C_MI_SDEnable | per ODUk_CP: ODUk_CI_D ODUk_CI_CK ODUk_CI_FS ODUk_CI_MFS ODUk_CI_SSF ODUk_CI_APS (for SNC/I and SNC/S protection) ODUk_CI_RP ODUk_CI_TSCC per ODU_PP: (for CL_SNCG/I protection) ODU_PI_APS ODUk_C_MP: per protection group (for SNC protection with APS protocol): ODUk_C_MI_cFOP-PM ODUk_C_MI_cFOP-NR |
-
-##### Processes
-
-The processes associated with the ODU\_C function are as depicted in Figure 14-5.
-
-ODU\_CI is routed between input and output connection points by means of a matrix connection. Connection points may be allocated within a protection group.
-
-NOTE 3 – Neither the number of input/output signals to the connection function, nor the connectivity, is specified in this Recommendation. That is a property of individual network elements.
-
-**Routing:** The function shall be able to connect a specific input with a specific output by means of establishing a matrix connection between the specified input and output. It shall be able to remove an established matrix connection.
-
-Each (matrix) connection in the ODU\_C function should be characterized by the:
-
-- Type of connection: unprotected.
-- Traffic direction: unidirectional, bidirectional.
-- Input and output connection points: set of connection points.
-
-NOTE 4 – Broadcast connections are handled as separate connections to the same CP.
-
-The following changes to (the configuration of) a connection shall be possible without disturbing the CI passing the connection:
-
-- addition and removal of protection;
-- addition and removal of connections to/from a broadcast connection;
-- change of WTR time;
-- change of operation type;
-- change of hold-off time;
-- change of APS channel.
-
-**Open connection indication (OCI):** If an output of the connection function is not connected to an input, an ODU-OCI signal as defined in clause 16.5 of [ITU-T G.709] is generated for this output. The clock of the OCI signal has to be within the minimum and maximum clock frequencies specified for the ODU signals that are given in Table 7-2 of [ITU-T G.709]. The jitter and wander requirements as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply. CI\_SSF is false. CI\_RP is to be set to the default value "0" and CI\_TSCC is to be set to the default value "0" for indicating that no resize operation is active.
-
-**Alarm indication signal (AIS):** If in a protection switch operation as defined in [ITU-T G.873.1] or [ITU-T G.873.1] extra traffic is pre-empted and to be squelched, or ODU squelching to prevent misconnection is to be executed, an ODU-AIS signal as defined in clause 16.5 of [ITU-T G.709] is generated for this output. The clock of the AIS signal has to be within the minimum and maximum clock frequencies specified for the ODU signals that are given in Table 7-2 of [ITU-T G.709]. The jitter and wander requirements as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply. CI\_SSF is true. CI\_RP is to be set to the default value "0" and CI\_TSCC is to be set to the default value "0" for indicating no resize operation active.
-
-
-
-Figure 14-5 – ODU\_C function processes diagram. The diagram shows the internal structure of the ODU\_C function. At the top, a bracket labeled 'ODUk\_CPs' spans over a series of input signals: CL\_D, CL\_Ck, CL\_FS, CL\_SSF, CL\_TSCC, CL\_SSD/AL\_TSF/AL\_TSD, CL\_RP, and CL\_TSCC. These inputs connect to a central 'Matrix connection' block. Below the matrix connection, there are three functional blocks: 'OCI', 'OCI', and 'AIS'. Each block has multiple output signals pointing downwards, which are grouped by a bracket labeled 'ODUk\_CPs'. The signals include CL\_D, CL\_Ck, CL\_FS, CL\_SSF, CL\_TSCC, CL\_SSD/AL\_TSF/AL\_TSD, CL\_RP, and CL\_TSCC. To the right of the matrix connection, another bracket labeled 'ODU\_PPs' spans over input signals: PI\_APS, PI\_TSF, and PI\_TSD. These also connect to the matrix connection. Below the matrix connection, there are output signals for PI\_APS, PI\_TSF, and PI\_TSD, grouped by a bracket labeled 'ODU\_PPs'. On the far left, a vertical label 'ODU\_C\_MP' with a double-headed arrow indicates the overall function boundary. A small note 'G.798(17)-Amd.4(22)\_F14-5' is in the bottom right corner.
-
-**Figure 14-5 – ODU\_C function processes**
-
-**Defects:** See clause 14.1.1.1 for protection-specific defects.
-
-**Consequent actions:** None.
-
-**Defect correlations:** See clause 14.1.1.1 for protection-specific defect correlations.
-
-**Performance monitoring:** None.
-
-#### 14.1.1.1 Subnetwork connection protection process
-
-NOTE 1 – This process is active in the ODU\_C function as many times as there are 1+1 and 1:N protected matrix connections.
-
-The generic subnetwork connection protection mechanism is defined in [ITU-T G.808.1] with OTN-specific extensions in [ITU-T G.873.1].
-
-SNC protection with non-intrusive monitoring (SNC/N), with inherent monitoring (SNC/I) and with sub-layer monitoring based on TCM (SNC/S), are supported. SNC/I is limited to a single OTUk[V] or HO ODUk server layer trail for the working and protection subnetwork connection between the source and sink protection switch (e.g., no intermediate OTUk termination/3R regeneration or HO ODUk termination is allowed).
-
-NOTE 2 – The limitation to a single server layer trail for SNC/I protection is given by the use of signal degrade (SD) as protection switching criteria. SD is only available from the OTUk[V] or HO ODUk trail that is locally terminated and not from further upstream OTUk[V] or HO ODUk trails. Furthermore, FDI/AIS, which provides information about defects in upstream OTUk[V] or HO ODUk trails, is not detected in the OTUk[V]/ODUk\_A\_Sk, ODUkP/ODU[i]j\_A\_Sk or the ODUkP/ODUj-21\_A\_Sk.
-
-Figure 14-6 gives the atomic functions involved in SNC/N protection. The working and protection ODU\_CI coming from either an OTUk[V]/ODUk\_A, ODUkT/ODUk\_A, ODUkP/ODU[i]j\_A, ODUkP[-h]/ODUj-21\_A or ODUCnP/ODUk\_A function are monitored by a ODUkP or ODUkT non-intrusive monitor, which provide the TSF and TSD protection switching criteria. The MI\_APS\_EN and MI\_APS\_LVL of the OTUk[V]/ODUk\_A, ODUkP/ODU[i]j\_A, ODUkP[-h]/ODUj-21\_A or ODUCnP/ODUk\_A functions should be set to provide access to the corresponding ODUk PM or TCM APS channel. The ODUkT/ODUk\_A functions provide access to the ODUk TCM APS channel.
-
-Figure 14-7 gives the atomic functions involved in SNC/I protection. The trail termination sink of an OTUk[V] or ODUP server layer provides the TSF and TSD protection switching criteria via the OTUk[V]/ODUk\_A, ODUkP/ODU[i]j\_A, ODUkP[-h]/ODUj-21\_A or ODUCnP/ODUk\_A functions (SSF and SSD). The MI\_APS\_EN and MI\_APS\_LVL of the OTUk[V]/ODUk\_A,
-
-ODUkP/ODU[i]j\_A, ODUkP[-h]/ODUj-21\_A or ODUCnP/ODUk\_A functions should be set to provide access to the ODUk SM APS channel.
-
-Figure 14-8 gives the atomic functions involved in SNC/S protection. The trail termination sink of an ODUkT TCM sub-layer provides the TSF and TSD protection switching criteria via the ODUkT/ODUk\_A function (SSF and SSD). The ODUkT/ODUk\_A functions provide access to the ODUk TCM APS channel.
-
-
-
-The diagram illustrates the atomic functions for SNC/N protection. At the top, a central oval represents the **ODUk** layer. Above it, an arrow labeled **Normal (protected) ODUk CP** points down into the ODUk layer. Below the ODUk layer, there are two main paths: **Working ODUk CP** and **Protection ODUk CP**. Each path consists of a trapezoidal block labeled **ODUkT/ODUk OTUk[V]/ODUk ODUkP/ODU[j]j ODUkP/ODUj-21**. To the left of the Working path, a triangle labeled **ODUkTm ODUkP** receives **SSF** and **TSF, TSD** signals. Below the Working path, another trapezoidal block labeled **OTUk[V]/ODUk OTUk ODUk** is connected. The Protection path similarly has a triangle labeled **ODUkTm ODUkP** receiving **SSF** and **TSF, TSD** signals. Below the Protection path, a trapezoidal block labeled **OTUk[V]/ODUk OTUk ODUk** is connected. At the bottom, arrows point to labels **G.798(10)\_F14-6**.
-
-Diagram of SNC/N protection atomic functions showing a central ODUk layer connected to Working and Protection ODUk CPs, which are further connected to OTUk sub-layers with various control signals like TSF, TSD, SSF, and APS.
-
-Figure 14-6 – SNC/N protection atomic functions
-
-
-
-The diagram illustrates the atomic functions for SNC/I protection. At the top, a central oval represents the **ODUk** layer. Above it, multiple arrows labeled **Normal (protected) ODUk CP** (numbered 1 to N) point down into the ODUk layer. To the right, an arrow labeled **Extra traffic ODUk CP** points down into the ODUk layer. Below the ODUk layer, there are multiple **Working ODUk CP** blocks (numbered 1 to N) and one **Protection ODUk CP** block. Each Working ODUk CP block is a trapezoid labeled **OTUk[V]/ODUk OTUk[V]/ODUk ODUkP/ODU[j]j ODUkP/ODUj-21**. Below each Working ODUk CP block is a triangle labeled **OTUk[V]/ODUk OTUk ODUk**. The Protection ODUk CP block is a trapezoid labeled **OTUk[V]/ODUk OTUk[V]/ODUk ODUkP/ODU[j]j ODUkP/ODUj-21**. Below it is a triangle labeled **OTUk[V]/ODUk OTUk ODUk**. Control signals **SSF**, **SSD**, **TSF**, **TSD**, and **APS** are shown between the ODUk layer and the sub-layers. At the bottom, arrows point to labels **G.798(12)\_F14-7**.
-
-Diagram of SNC/I protection atomic functions showing multiple Working ODUk CPs (1 to N) and one Protection ODUk CP connected to a central ODUk layer, with associated OTUk sub-layers and control signals.
-
-Figure 14-7 – SNC/I protection atomic functions
-
-
-
-Figure 14-8: SNC/S protection atomic functions diagram. It shows a top-level ODUk layer with multiple 'Normal (protected) ODUk CP' (1 to N) and 'Extra traffic ODUk CP' connections. Below this, there are 'Working ODUk CP' (1 to N) and 'Protection ODUk CP' components. Each working component is connected to an 'ODUkT/ODUk' block, which is further connected to an 'ODUkT' block. Each protection component is connected to an 'ODUkT/ODUk' block, which is connected to an 'ODUkT' block. Control signals like SSF, SSD, TSF, TSD, and APS are shown between the layers. A reference code 'G.798(12)\_F14-8' is at the bottom right.
-
-**Figure 14-8 – SNC/S protection atomic functions**
-
-The signal flow associated with the ODU\_C SNC protection process is described with reference to Figures 14-9 to 14-13. The protection process receives control parameters and external switch requests at the MP reference point. The report of status information at the MP reference point is for further study.
-
-
-
-Figure 14-9: 1+1 unidirectional SNC/N protection process without APS protocol diagram. It shows a 'Normal ODUk\_CP' input branching into a 'Permanent bridge' and a 'Control' block. The 'Permanent bridge' outputs to 'Working ODUk\_CP' and 'Protection ODUk\_CP'. The 'Control' block outputs to a 'Selector' and receives 'TSF, TSD' signals. The 'Selector' outputs to 'Working ODUk\_CP' and 'Protection ODUk\_CP'. Management interface signals (MI\_ProfType, MI\_OperType, MI\_WTR, MI\_HoldOffTime, MI\_ExtCMD, MI\_SDEnable) are shown on the left. A reference code 'G.798-Amd.1(11)\_F14-9' is at the bottom right.
-
-**Figure 14-9 – 1+1 unidirectional SNC/N protection process without APS protocol**
-
-
-
-Figure 14-10: 1+1 unidirectional SNC/S and SNC/I protection process without APS protocol diagram. It is similar to Figure 14-9 but the 'Control' block receives 'SSF, SSD' signals instead of 'TSF, TSD'. A reference code 'G.798-Amd.1(11)\_F14-10' is at the bottom right.
-
-**Figure 14-10 – 1+1 unidirectional SNC/S and SNC/I protection process without APS protocol**
-
-
-
-Figure 14-11: 1+1 SNC/N protection process with APS protocol. This block diagram shows the signal flow and control logic for 1+1 SNC/N protection. On the left, a 'Normal ODUk\_CP' input splits into a 'Permanent bridge' and a 'Control' block. The 'Permanent bridge' outputs to 'Working ODUk\_CP' and 'Protection ODUk\_CP'. The 'Control' block receives inputs from 'MI\_ProtType', 'MI\_OperType', 'MI\_WTR', 'MI\_HoldOffTime', 'MI\_ExtCMD', and 'MI\_SDEnable'. It also receives 'APS protocol' and 'TSF TSD' signals. The 'Control' block sends 'dFOP-PM' and 'dFOP-NR' signals to a 'Selector' block. The 'Selector' block outputs to 'MI\_cFOP-PM' and 'MI\_cFOP-NR'. The 'Selector' block also receives 'APS protocol' and 'TSF' signals. The 'MI\_APSChannel' is connected to the 'APS protocol insertion' and 'APS protocol acceptance' blocks. The 'APS protocol insertion' block receives 'APS protocol' from the 'Control' block and sends it to the 'Permanent bridge'. The 'APS protocol acceptance' block receives 'APS protocol' from the 'Selector' block and sends it to the 'Control' block.
-
-**Figure 14-11 – 1+1 SNC/N protection process with APS protocol**
-
-
-
-Figure 14-12: 1+1 SNC/S and SNC/I protection process with APS protocol. This block diagram shows the signal flow and control logic for 1+1 SNC/S and SNC/I protection. It is similar to Figure 14-11 but uses 'SSF SSD' instead of 'TSF TSD'. The 'Control' block receives 'SSF SSD' signals from the 'Selector' block. The 'Selector' block sends 'SSF' signals to the 'Control' block. The 'MI\_APSChannel' is connected to the 'APS protocol insertion' and 'APS protocol acceptance' blocks. The 'APS protocol insertion' block receives 'APS protocol' from the 'Control' block and sends it to the 'Permanent bridge'. The 'APS protocol acceptance' block receives 'APS protocol' from the 'Selector' block and sends it to the 'Control' block.
-
-**Figure 14-12 – 1+1 SNC/S and SNC/I protection process with APS protocol**
-
-
-
-Figure 14-13: 1:N SNC/S and SNC/I protection process with APS protocol. This block diagram shows the signal flow and control logic for 1:N SNC/S and SNC/I protection. On the left, 'Normal ODUk\_CP' (labeled 1) and 'Extra traffic ODUk\_CP' (labeled N) inputs go to a 'Bridge' block. The 'Bridge' block outputs to 'Working ODUk\_CP' (labeled 1) and 'Protection ODUk\_CP' (labeled N). The 'Bridge' block also has an 'OCI' block. The 'Control' block receives inputs from 'MI\_ProtType', 'MI\_OperType', 'MI\_WTR', 'MI\_HoldOffTime', 'MI\_ExtCMD', and 'MI\_SDEnable'. It also receives 'APS protocol' and 'SSF, SSD' signals. The 'Control' block sends 'dFOP-PM' and 'dFOP-NR' signals to a 'Selector' block. The 'Selector' block outputs to 'MI\_cFOP-PM' and 'MI\_cFOP-NR'. The 'Selector' block also receives 'APS protocol' and 'SSF' signals. The 'MI\_APSChannel' is connected to the 'APS protocol insertion' and 'APS protocol acceptance' blocks. The 'APS protocol insertion' block receives 'APS protocol' from the 'Control' block and sends it to the 'Bridge'. The 'APS protocol acceptance' block receives 'APS protocol' from the 'Selector' block and sends it to the 'Control' block. The 'AIS' block is connected to the 'Selector' block.
-
-**Figure 14-13 – 1:N SNC/S and SNC/I protection process with APS protocol**
-
-For the description of the protection processes including bridge and selector control, APS acceptance and transmission, see [ITU-T G.873.1].
-
-A permanent bridge, as defined in [ITU-T G.808.1], shall be used for the 1+1 protection. A broadcast bridge, as defined in [ITU-T G.808.1], shall be used for the 1:N protection. It permanently connects the normal traffic signal to the working transport entity. In case no normal or extra traffic signal is connected to the protection transport entity, an ODU-OCI signal, as defined in clause 16.5 of [ITU-T G.709], is generated for the protection transport entity. The clock of the OCI signal has to be within the minimum and maximum frequencies of the specified ODU signal in Table 7-2 of [ITU-T G.709]. The jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply. CI\_SSF is false. In the case where the extra traffic signal of a 1:N protection configuration carried by the protection entity is pre-empted by a protection switch, an ODU-AIS signal is to be connected to the extra traffic ODU\_CP output. The clock of the ODU-AIS signal has to be within the minimum and maximum frequencies of the specified ODU signal in Table 7-2 of [ITU-T G.709]. The jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-A selective selector, as defined in [ITU-T G.808.1], shall be used.
-
-MI\_ProtType configures the protection type as defined in clause 9.4 of [ITU-T G.873.1].
-
-NOTE 3 – Only a subset or a single protection type can be supported. In the latter case, the configuration is not needed.
-
-MI\_OperType configures between revertive and non-revertive operation as defined in clause 8.3 of [ITU-T G.873.1].
-
-NOTE 4 – Only a single operation type can be supported. In this case, the configuration is not needed.
-
-MI\_HoTime configures the hold-off time as defined in clause 9.12 of [ITU-T G.873.1].
-
-MI\_WTR configures the wait to restore (WTR) time as defined in clause 15 of [ITU-T G.808.1].
-
-MI\_ExtCMD configures the protection group commands as defined in clause 7 of [ITU-T G.873.1].
-
-MI\_APSChannel configures the APS channel (see clause 15.8.2.4 of [ITU-T G.709]) in case an APS protocol is used.
-
-If MI\_SDEnable is true, the SSD/TSD signal is used as trigger for the protection. If it is false, SSD/TSD is not used as trigger for the protection. It applies to all working and the protection signals in common.
-
-##### *Protection switching performance*
-
-See clause 6.2 of [ITU-T G.873.1].
-
-##### **Defects**
-
-The function shall detect dFOP-PM and dFOP-NR defects in case the APS protocol is used.
-
-**dFOP-PM:** See clause 6.2.7.1.1.
-
-**dFOP-NR:** See clause 6.2.7.1.2.
-
-**Consequent actions:** None.
-
-##### **Defect correlations**
-
-cFOP-PM ← dFOP-PM and (not CI\_SSF/TSF)
-
-cFOP-NR ← dFOP-NR and (not CI\_SSF/TSF)
-
-In the case of SNC/S and SNC/I, CI\_SSF of the protection signal is used. In the case of SNC/N, CI\_TSF of the protection signal is used.
-
-**Performance monitoring:** None.
-
-#### 14.1.1.2 Compound link subnetwork connection group protection process
-
-NOTE 1 – This process is active in the ODU\_C function as many times as there are 1+1 and 1:1 protected matrix connection groups.
-
-The generic compound link subnetwork connection group with an inherent monitoring protection mechanism is defined in [ITU-T G.808.1] with OTN-specific extensions in [ITU-T G.873.1].
-
-CL-SNCG protection with inherent monitoring (CL-SNCG/I) is supported. CL-SNCG/I is limited to a single HO ODUk server layer trail for the working and protection subnetwork connection groups between the source and sink protection switch (e.g., no intermediate HO ODUk termination is allowed).
-
-Figure 14-14 gives the atomic functions involved in CL-SNCG/I protection. The trail termination sink of an ODUkP server layer provides the TSF and TSD protection switching criteria.
-
-
-
-The diagram illustrates the atomic functions for CL-SNCG/I protection. At the top, an oval labeled 'ODU' contains two sections: 'Unprotected ODU\_CI' on the left and 'Protected ODU\_CI' on the right, both with multiple input/output arrows. Below the 'Unprotected ODU\_CI' section, there are two trapezoidal blocks labeled 'ODUkP/ODUj-21'. The left one has inputs 'U' and 'W' and an output 'ODUkP'. The right one has inputs 'U' and 'W' and an output 'ODUkP'. Between these two blocks is a vertical line labeled 'TSF/TSD'. Below the 'Protected ODU\_CI' section, there are two similar trapezoidal blocks labeled 'ODUkP/ODUj-21'. The left one has inputs 'U' and 'P' and an output 'ODUkP'. The right one has inputs 'U' and 'P' and an output 'ODUkP'. Between these two blocks is a vertical line labeled 'TSF/TSD'. Vertical lines labeled 'PI\_APS' connect the 'ODUkP/ODUj-21' blocks to the 'ODUkP' blocks. At the bottom, four triangular blocks labeled 'ODUkP' are shown, with arrows indicating signal flow between them and the blocks above. A small label 'G.798(12)\_F 14-14' is in the bottom right corner.
-
-Diagram of CL-SNCG/I protection atomic functions showing signal flow between unprotected and protected ODU\_CIs through ODU and ODUkP layers.
-
-**Figure 14-14 – CL-SNCG/I protection atomic functions**
-
-The signal flow associated with the ODU\_C CL-SNCG/I protection process is described with reference to Figures 14-15, 14-16 and 14-17. The protection process receives control parameters and external switch requests at the MP reference point. The report of status information at the MP reference point is for further study.
-
-For the description of the protection processes including bridge and selector control, APS acceptance and transmission, see [ITU-T G.873.1].
-
-A permanent bridge, as defined in [ITU-T G.808.1], shall be used for 1+1 protection. A broadcast bridge, as defined in [ITU-T G.808.1], shall be used for 1:1 protection. It permanently connects the normal traffic signals to the working transport entity group.
-
-A selective selector, as defined in [ITU-T G.808.1], shall be used.
-
-
-
-Figure 14-15: 1+1 unidirectional CL-SNCG/I protection process without APS protocol. The diagram shows a 'Normal ODUj\_CPs' input at the top left entering a 'Permanent bridge'. The bridge has two outputs: 'Working ODUj\_CPs' and 'Protection ODUj\_CPs'. A 'Control' block receives 'MI\_ProtType', 'MI\_OperType', 'MI\_WTR', 'MI\_HoldOffTime', 'MI\_ExtCMD', and 'MI\_SDEnable' as inputs and sends 'TSF/TSD' signals to a 'Selector'. The 'Selector' also receives 'Normal ODUj\_CPs' from the top right and outputs 'Working ODUj\_CPs' and 'Protection ODUj\_CPs'. A label 'G.798(12)\_F14-15' is at the bottom right.
-
-**Figure 14-15 – 1+1 unidirectional CL-SNCG/I protection process without APS protocol**
-
-
-
-Figure 14-16: 1+1 CL-SNCG/I protection process with APS protocol. This diagram is similar to Figure 14-15 but includes an 'APS' (Automatic Protection Switching) protocol. A box labeled 'APS acceptance' is connected to the 'Control' block and the 'Selector'. The 'Control' block also receives 'dFOP-PM' and 'dFOP-NR' signals and sends 'SF' and 'SD' signals. The 'Selector' outputs 'cFOP-PM' and 'cFOP-NR' signals. A label 'G.798(12)\_F14-16' is at the bottom right.
-
-**Figure 14-16 – 1+1 CL-SNCG/I protection process with APS protocol**
-
-
-
-Figure 14-17: 1:1 CL-SNCG/I protection process with APS protocol. The diagram shows a 'Broadcast bridge' instead of a 'Permanent bridge'. The 'Broadcast bridge' receives 'Normal ODUj\_CPs' and outputs 'Working ODUj\_CPs' and 'Protection ODUj\_CPs'. The 'Control' block and 'APS acceptance' box are present, along with 'dFOP-PM', 'dFOP-NR', 'SF', 'SD', and 'APS' signals. The 'Selector' outputs 'cFOP-PM' and 'cFOP-NR' signals. A label 'G.798(12)\_F14-17' is at the bottom right.
-
-**Figure 14-17 – 1:1 CL-SNCG/I protection process with APS protocol**
-
-MI\_ProtType configures the protection type as defined in clause 9.4 of [ITU-T G.873.1].
-
-NOTE 2 – Only a subset or a single protection type can be supported. In the latter case, the configuration is not needed.
-
-MI\_OperType is configured between revertive and non-revertive operation as defined in clause 8.3 of [ITU-T G.873.1].
-
-NOTE 3 – Only a single operation type can be supported. In this case configuration is not needed.
-
-MI\_HoTime configures the hold-off time as defined in clause 9.12 of [ITU-T G.873.1].
-
-MI\_WTR configures the wait to restore (WTR) time as defined in clause 15 of [ITU-T G.808.1].
-
-MI\_ExtCMD configures the protection group command as defined in clause 7 of [ITU-T G.873.1].
-
-If MI\_SDEnable is true, the TSD signal is used as a trigger for protection. If it is false, TSD is not used as a trigger for protection. It applies to all working and the protection signals in common.
-
-##### *Protection switching performance*
-
-See clause 6.2 of [ITU-T G.873.1].
-
-##### **Defects**
-
-The function shall detect dFOP-PM and dFOP-NR defects in case the APS protocol is used.
-
-**dFOP-PM:** See clause 6.2.7.1.1.
-
-**dFOP-NR:** See clause 6.2.7.1.2.
-
-**Consequent actions:** None.
-
-##### **Defect correlations**
-
-cFOP-PM $\leftarrow$ dFOP-PM and (not CI\_TSF)
-
-cFOP-NR $\leftarrow$ dFOP-NR and (not CI\_TSF)
-
-##### **Performance monitoring:**
-
-None.
-
-#### **14.1.1.3 Shared ODU ring protection process**
-
-NOTE – Two different protection architectures are defined in [ITU-T G.873.2], SRP-1 and SRP-P.
-
-Details of the processes are for further study.
-
-## **14.2 Termination functions**
-
-### **14.2.1 ODUP trail termination function (ODUP\_TT)**
-
-The ODUP\_TT function terminates the path monitoring (PM) overhead of the ODU overhead to determine the status of the ODU trail. Figure 14-18 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-
-
-G.798(17)\_F14-18
-
-Diagram of ODUP\_TT function showing two pairs of ODU functions. The left pair consists of two ODUkP triangles. The left triangle has an input ODUPk\_AP at the top and an output ODUPk\_TCP at the bottom. The right triangle has an output ODUPk\_AP at the top and an input ODUPk\_TCP at the bottom. A horizontal arrow labeled ODUPk\_RP points from the right triangle to the left triangle. The right pair consists of two ODUCnP triangles. The left triangle has an input ODUCnP\_AP at the top and an output ODUCnP\_TCP at the bottom. The right triangle has an output ODUCnP\_AP at the top and an input ODUCnP\_TCP at the bottom. A horizontal arrow labeled ODUCnP\_RP points from the right triangle to the left triangle. A small text 'G.798(17)\_F14-18' is at the bottom right.
-
-**Figure 14-18 – ODUP\_TT**
-
-#### 14.2.1.1 ODUP trail termination source function (ODUP\_TT\_So)
-
-The ODUP\_TT\_So function computes the BIP-8[1..n] and adds path monitoring overhead (PMOH) – including the TTI, BIP-8[1..n], DMp, BDI and BEI[1..n] signals – in the PM overhead field to the ODU signal at its ODUP\_AP. The ODUCn signal has n PM overhead fields; the ODUk signal has one (n=1) PM overhead field.
-
-The information flow and processing of the ODUP\_TT\_So function is defined with reference to Figures 14-19 and 14-20.
-
-##### Symbol
-
-
-
-Figure 14-19 – ODUP\_TT\_So function. The diagram shows two functional blocks, ODUkP and ODUCnP, each represented by a downward-pointing triangle. For the ODUkP block, the input ODUP\_AP enters from the top, and two other inputs, ODUPk\_TT\_So\_MP and ODUPk\_RP, enter from the left and right respectively. The output is ODUPk\_TCP exiting from the bottom. The ODUCnP block follows the same structure but with 'n' subscripts on the signals. A label 'G.798(17)\_F14-19' is present in the bottom right corner of the diagram area.
-
-Figure 14-19 – ODUP\_TT\_So function
-
-##### Interfaces
-
-Table 14-2 – ODUP\_TT\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|
-| ODUP_AP: ODUP_AI_CK ODUP_AI_D ODUP_AI_FS ODUP_AI_MFS ODUP_AI_RP ODUP_AI_TSCC ODUP_RP: ODUP_RI_BDI ODUP_RI_BEI[1..n] ODUP_RI_DM ODUP_TT_So_MP: ODUP_TT_So_MI_TxTI ODUP_TT_So_MI_DM_Source ODUP_TT_So_MI_DMValue | ODU_TCP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_RP ODU_CI_TSCC |
-
-##### Processes
-
-The processes associated with the ODUP\_TT\_So function are as depicted in Figure 14-20.
-
-**PMOH-TTI:** The trail trace identifier is inserted in the TTI byte position of the PM field in the first ODU overhead instance. Its value is derived from reference point ODUP\_TT\_So\_MP. The trail trace format is described in clause 15.2 of [ITU-T G.709].
-
-**PMOH-BDI:** The backward defect indication is inserted in the BDI bit position of the PM field in the first ODU overhead instance. Its value is derived from reference point ODUP\_RP. Upon the
-
-declaration/clearing of aBDI at the termination sink function, the trail termination source function shall have inserted/removed the BDI indication within 50 ms.
-
-**PMOH-BEI:** The number of errors indicated in RI\_BEI[i] is encoded in the BEI bits of the PM field in ODU overhead instance #i. Upon the detection of a number of errors at the termination sink function, the trail termination source function shall have inserted that value in the BEI bits within 50 ms.
-
-**PMOH-BIP-8:** See clause 8.3.4.1. The calculated BIP-8[i] is inserted into the BIP-8 byte of the PM field in ODU overhead instance #i.
-
-**PMOH-DMp:** If MI\_DM\_Source is false, then the value of the DMp bit field in the first ODU overhead instance is determined by the RI\_DM. If MI\_DM\_Source is true, then the value of the DMp field in the first ODU overhead instance bit is set to MI\_DMValue.
-
-NOTE – Equipment developed prior to Edition 4.0 of this Recommendation will not support the ODU DMp processing.
-
-![Figure 14-20 – ODUP_TT_So processes. This block diagram illustrates the internal processing of the ODUP_TT_So function. At the top, the ODUP_AP interface provides inputs: AI_D, AI_CK, AI_FS, AI_MFS, AI_RP, and CI_TSCC. AI_D is connected to a 'Compute BIP-8' block, which outputs 'BIP-8[1..n]'. This output is then processed by an 'Insert BIP-8' block. A vertical 'PMOH insertion' block on the left side of the diagram connects to several processing blocks: 'Insert BIP-8', 'Insert BEI', 'Insert BDI', 'Process/insert DMp', and 'Insert TTI'. The 'Insert BEI' block receives 'RI_BEI[1..n]' from the ODUP_RP interface. The 'Insert BDI' block receives 'RI_BDI' from the ODUP_RP interface. The 'Process/insert DMp' block receives 'RI_DM', 'MI_DM_Source', and 'MI_DMValue' from the ODUP_TT_So_MP interface. The 'Insert TTI' block receives 'MI_TxTI' from the ODUP_TT_So_MP interface. All five blocks ('Insert BIP-8', 'Insert BEI', 'Insert BDI', 'Process/insert DMp', 'Insert TTI') output to the PMOH insertion block. The PMOH insertion block then outputs to the ODUP_TCP interface, which provides outputs: CI_D, CI_CK, CI_FS, CI_MFS, CI_RP, and CI_TSCC. The diagram is labeled G.798(17)_F14-20.](9d47fe89bc71acebde670ea760ee6ffb_img.jpg)
-
-Figure 14-20 – ODUP\_TT\_So processes. This block diagram illustrates the internal processing of the ODUP\_TT\_So function. At the top, the ODUP\_AP interface provides inputs: AI\_D, AI\_CK, AI\_FS, AI\_MFS, AI\_RP, and CI\_TSCC. AI\_D is connected to a 'Compute BIP-8' block, which outputs 'BIP-8[1..n]'. This output is then processed by an 'Insert BIP-8' block. A vertical 'PMOH insertion' block on the left side of the diagram connects to several processing blocks: 'Insert BIP-8', 'Insert BEI', 'Insert BDI', 'Process/insert DMp', and 'Insert TTI'. The 'Insert BEI' block receives 'RI\_BEI[1..n]' from the ODUP\_RP interface. The 'Insert BDI' block receives 'RI\_BDI' from the ODUP\_RP interface. The 'Process/insert DMp' block receives 'RI\_DM', 'MI\_DM\_Source', and 'MI\_DMValue' from the ODUP\_TT\_So\_MP interface. The 'Insert TTI' block receives 'MI\_TxTI' from the ODUP\_TT\_So\_MP interface. All five blocks ('Insert BIP-8', 'Insert BEI', 'Insert BDI', 'Process/insert DMp', 'Insert TTI') output to the PMOH insertion block. The PMOH insertion block then outputs to the ODUP\_TCP interface, which provides outputs: CI\_D, CI\_CK, CI\_FS, CI\_MFS, CI\_RP, and CI\_TSCC. The diagram is labeled G.798(17)\_F14-20.
-
-Figure 14-20 – ODUP\_TT\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.2.1.2 ODUP trail termination sink function (ODUP\_TT\_Sk)
-
-The ODUP\_TT\_Sk function reports the state of the ODU trail (path). It computes the BIP-8[1..n], extracts path monitoring overhead (PMOH) – including the TTI, BIP-8[1..n], BDI, BEI[1..n], DMp and STAT signals – in the PM overhead fields from the ODU signal at its ODUP\_TCP, detects for AIS, OCI, LCK, TIM, DEG and BDI defects, counts during one-second periods errors (detected via the BIP-8), counts number of frames for delay measurement and defects to feed performance monitoring when connected, makes the TTI available to network management, and forwards the error
-
-and defect information as backward indications to the companion ODUP\_TT\_So function. The ODUCn signal has n PM overhead fields; the ODUK signal has one (n=1) PM overhead field.
-
-NOTE 1 – The ODUP\_TT\_Sk function extracts and processes the PM overhead irrespective of the presence of one or more levels of tandem connection overhead in the TCM fields.
-
-The information flow and processing of the ODUP\_TT\_Sk function is defined with reference to Figures 14-21 and 14-22.
-
-##### Symbol
-
-
-
-Figure 14-21 shows two functional block diagrams for ODUP\_TT\_Sk functions. The left diagram is for ODUPkP, showing inputs ODUPkP\_TT\_Sk\_MP (left), ODUPk\_TCP (bottom), and output ODUPk\_AP (top) and ODUPk\_RP (right). The right diagram is for ODUPnCnP, showing inputs ODUPnCnP\_TT\_Sk\_MP (left), ODUPnCn\_TCP (bottom), and output ODUPnCn\_AP (top) and ODUPnCn\_RP (right).
-
-Figure 14-21 – ODUP\_TT\_Sk functions
-
-##### Interfaces
-
-Table 14-3 – ODUP\_TT\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU_TCP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODU_CI_RP ODU_CI_TSCC ODUP_TT_Sk_MP: ODUP_TT_Sk_MI_ExSAPI ODUP_TT_Sk_MI_ExDAPI ODUP_TT_Sk_MI_GetAcTI ODUP_TT_Sk_MI_TIMDetMo ODUP_TT_Sk_MI_TIMActDis ODUP_TT_Sk_MI_DEGThr ODUP_TT_Sk_MI_DEGM ODUP_TT_Sk_MI_1second ODUP_TT_Sk_MI_DM_Source ODUP_TT_Sk_MI_DMValue | ODUP_AP: ODUP_AI_CK ODUP_AI_D ODUP_AI_FS ODUP_AI_MFS ODUP_AI_TSF ODUP_AI_TSD ODUP_AI_RP ODUP_AI_TSCC ODUP_RP: ODUP_RI_BDI ODUP_RI_BEI[1..n] ODUP_RI_DM ODUP_TT_Sk_MP: ODUP_TT_Sk_MI_AcTI ODUP_TT_Sk_MI_cOCI (Note) ODUP_TT_Sk_MI_cLCK ODUP_TT_Sk_MI_cTIM ODUP_TT_Sk_MI_cDEG ODUP_TT_Sk_MI_cBDI ODUP_TT_Sk_MI_cSSF ODUP_TT_Sk_MI_pN_EBC ODUP_TT_Sk_MI_pN_DS ODUP_TT_Sk_MI_pF_EBC ODUP_TT_Sk_MI_pF_DS ODUP_TT_Sk_MI_pN_delay |
-| NOTE – For ODUPkP_TT_Sk only. | |
-
-##### Processes
-
-The processes associated with the ODUP\_TT\_Sk function are as depicted in Figure 14-22.
-
-**PMOH-BIP-8:** See clause 8.3.4.2. The BIP-8[1..n] is extracted from the BIP-8 byte of the PM fields in the n PM overhead instances of the ODU signal at the ODU\_TCP.
-
-**PMOH-TTI:** The trail trace identifier shall be recovered from the TTI byte position of the PM field in the first ODU overhead instance of the ODU signal at the ODU\_TCP and processed as specified in clause 8.6. The accepted value of the TTI is available at the MP (MI\_AcTI).
-
-**PMOH-BDI:** The backward defect indication shall be recovered from the BDI bit position of the PM field in the first ODU overhead instance of the ODU signal at the ODU\_TCP. It shall be used for BDI defect detection.
-
-**PMOH-BEI:** The BEI[1..n] shall be recovered from the BEI bits in the PM fields of the n PM overhead instances in the ODU signal at the ODU\_TCP. It shall be used to determine if a far-end errored block (nF\_B) has occurred. One nF\_B has occurred per BEI[i] value between 1 [0001] and 8 [1000]; otherwise, no nF\_B has occurred.
-
-**PMOH-DMp:** If MI\_DM\_Source is false, then the value of the incoming DMp bit (RxDMp) is output to RI\_DM. If MI\_DM\_Source is true and MI\_DMValue toggles, then a count of CI\_FS transitions is started and the RxDMp value is monitored. A change of value of RxDMp, from (NOT MI\_DMValue) to MI\_DMValue, validated by a 3-frame persistency check, stops the counting. The delay frame count (nN\_delay) is represented by the count minus the persistency check.
-
-NOTE 3 – Equipment developed prior to Edition 4.0 of this Recommendation will not support the DMp processing.
-
-**PMOH-STAT:** The status information shall be recovered from the STAT bits in the PM field of the first ODU overhead instance in the ODU signal at the ODU\_TCP as defined in clause 8.8. It shall be used for AIS, OCI and LCK defect detection.
-
-![Figure 14-22 – ODUP_TT_Sk processes. A block diagram showing the internal processes of an ODUP_TT_Sk (Optical Data Unit Path - Tandem Termination) node. The diagram is divided into three main horizontal sections: ODUP_AP (top), ODUP_TT_Sk_MP (middle), and ODUP_TCP (bottom). The ODUP_AP section contains 'Consequent actions' which receive inputs from AI_TSD (aTSD), AI_TSF (aTSF), AI_FSF (CI_FSF), AI_MFS (CI_MFS), AI_CK (CI_CK), and AI_D (CI_D). It outputs RI_BEI[1..n] (nBIPV[1..n]), RI_DM (RxDMp), and RI_BDI. The ODUP_TT_Sk_MP section contains several processing blocks: 'Process TTI' (receiving MI_TIMActDis, MI_ExSAPI, MI_ExDAPI, MI_TIMDetMo, MI_GetAcTI, MI_AcTI and outputting dTIM, RxTI), 'Defect correlation' (receiving dTIM, dDEG, dBDI, dLCK, dOCI, dAIS, CI_SSF and outputting MI_cTIM, MI_cDEG, MI_cBDI, MI_cLCK, MI_cOCI, MI_cSSF), 'Process DMP' (receiving MI_DM_Source, MI_DMValue, nN_delay, RxDMp and outputting dBDI), 'Performance monitoring' (receiving nN_delay, dBDI, nF_B, aTSF and outputting MI_pN_Delay, MI_1second, MI_pF_DS, MI_pF_EBC, MI_pN_DS, MI_pN_EBC), and 'Process errors' (receiving MI_DEGThr, MI_DEGM and outputting dDEG). There are also 'Extract' blocks: 'Extract TTI', 'Extract STAT' (receiving dLCK, dOCI, dAIS), 'Extract DMp' (receiving RxDMp), 'Extract BDI' (receiving dBDI), 'Extract BEI' (receiving nF_B), 'Extract BIP-8' (receiving nBIPV[1..n]), and 'Compute BIP-8' (receiving nN_B). A vertical 'PMOH access' block on the right connects to several 'Extract' blocks. The ODUP_TCP section contains 'Compare' (receiving nN_B, nBIPV[1..n] and outputting dBDI). Various other signals like AI_TSCC, AI_RP, AI_FS are shown at the top and bottom. Reference G.798(23)_F14-22 is at the bottom right.](f512ae9c630f2fb53197fa77a1bda0e8_img.jpg)
-
-Figure 14-22 – ODUP\_TT\_Sk processes. A block diagram showing the internal processes of an ODUP\_TT\_Sk (Optical Data Unit Path - Tandem Termination) node. The diagram is divided into three main horizontal sections: ODUP\_AP (top), ODUP\_TT\_Sk\_MP (middle), and ODUP\_TCP (bottom). The ODUP\_AP section contains 'Consequent actions' which receive inputs from AI\_TSD (aTSD), AI\_TSF (aTSF), AI\_FSF (CI\_FSF), AI\_MFS (CI\_MFS), AI\_CK (CI\_CK), and AI\_D (CI\_D). It outputs RI\_BEI[1..n] (nBIPV[1..n]), RI\_DM (RxDMp), and RI\_BDI. The ODUP\_TT\_Sk\_MP section contains several processing blocks: 'Process TTI' (receiving MI\_TIMActDis, MI\_ExSAPI, MI\_ExDAPI, MI\_TIMDetMo, MI\_GetAcTI, MI\_AcTI and outputting dTIM, RxTI), 'Defect correlation' (receiving dTIM, dDEG, dBDI, dLCK, dOCI, dAIS, CI\_SSF and outputting MI\_cTIM, MI\_cDEG, MI\_cBDI, MI\_cLCK, MI\_cOCI, MI\_cSSF), 'Process DMP' (receiving MI\_DM\_Source, MI\_DMValue, nN\_delay, RxDMp and outputting dBDI), 'Performance monitoring' (receiving nN\_delay, dBDI, nF\_B, aTSF and outputting MI\_pN\_Delay, MI\_1second, MI\_pF\_DS, MI\_pF\_EBC, MI\_pN\_DS, MI\_pN\_EBC), and 'Process errors' (receiving MI\_DEGThr, MI\_DEGM and outputting dDEG). There are also 'Extract' blocks: 'Extract TTI', 'Extract STAT' (receiving dLCK, dOCI, dAIS), 'Extract DMp' (receiving RxDMp), 'Extract BDI' (receiving dBDI), 'Extract BEI' (receiving nF\_B), 'Extract BIP-8' (receiving nBIPV[1..n]), and 'Compute BIP-8' (receiving nN\_B). A vertical 'PMOH access' block on the right connects to several 'Extract' blocks. The ODUP\_TCP section contains 'Compare' (receiving nN\_B, nBIPV[1..n] and outputting dBDI). Various other signals like AI\_TSCC, AI\_RP, AI\_FS are shown at the top and bottom. Reference G.798(23)\_F14-22 is at the bottom right.
-
-Figure 14-22 – ODUP\_TT\_Sk processes
-
-##### Defects
-
-The function shall detect dAIS, dOCI, dLCK, dTIM, dDEG and dBDI defects.
-
-**dAIS:** See clause 6.2.6.3.2.
-
-**dOCI:** For ODUkP, see clause 6.2.6.8.2; dOCI shall be set to false during CI\_SSF. For ODUCnP dOCI shall be assumed false.
-
-**dLCK:** See clause 6.2.6.9.1; dLCK shall be set to false during CI\_SSF.
-
-**dTIM:** See clause 6.2.2.1; dTIM shall be set to false during CI\_SSF.
-
-**dDEG:** See clause 6.2.3.4.
-
-**dBDI:** See clause 6.2.6.6.1; dBDI shall be set to false during CI\_SSF.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-$$\text{aBDI} \leftarrow \text{CI\_SSF or dAIS or dOCI or dLCK or dTIM}$$
-$$\text{aTSF} \leftarrow \text{CI\_SSF or dAIS or dOCI or dLCK or (dTIM and (not TIMActDis))}$$
-$$\text{aTSD} \leftarrow \text{dDEG}$$
-
-For each PM overhead instance #i:
-
-$$\text{aBEI}[i] \leftarrow \text{nBIPV}[i]$$
-
-##### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause (see clause 6.4 of [ITU-T G.806]). This fault cause shall be reported to the EMF.
-
-$$\text{cOCI} \leftarrow \text{dOCI and (not CI\_SSF)}$$
-$$\text{cLCK} \leftarrow \text{dLCK and (not CI\_SSF)}$$
-$$\text{cTIM} \leftarrow \text{dTIM and (not CI\_SSF) and (not dAIS) and (not dOCI) and (not dLCK)}$$
-$$\text{cDEG} \leftarrow \text{dDEG and (not CI\_SSF) and (not dAIS) and (not dOCI) and (not dLCK) and (not (dTIM and (not TIMActDis)))}$$
-$$\text{cBDI} \leftarrow \text{dBDI and (not CI\_SSF) and (not dAIS) and (not dOCI) and (not dLCK) and (not (dTIM and (not TIMActDis)))}$$
-$$\text{cSSF} \leftarrow \text{CI\_SSF or dAIS}$$
-
-##### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing (see clause 6.5 of [ITU-T G.806]). The performance monitoring primitives shall be reported to the EMF.
-
-$$\text{pN\_DS} \leftarrow \text{CI\_SSF or dAIS or dOCI or dLCK or dTIM}$$
-$$\text{pF\_DS} \leftarrow \text{dBDI}$$
-$$\text{pN\_EBC} \leftarrow \sum \text{nN\_B}$$
-
-NOTE 4 – During CI\_SSF, dAIS, dLCK and dOCI, no errored blocks shall be counted.
-
-$$\text{pF\_EBC} \leftarrow \sum \text{nF\_B}$$
-
-NOTE 5 – During CI\_SSF, dAIS, dLCK and dOCI, no errored blocks shall be counted.
-
-$$\text{pN\_delay} \leftarrow \text{nN\_delay}$$
-
-NOTE 6 – This count is triggered by the ODUP\_TT\_Sk\_MI\_DMValue toggle event, which is equal to the ODUP\_TT\_So\_MI\_DMValue toggle event.
-
-NOTE 7 – This value is a snapshot value.
-
-NOTE 8 – This value is invalid if a STAT field indicating AIS, OCI, LCK, LTC, or BDI is received during the measurement.
-
-### 14.2.2 ODUP non-intrusive monitor function
-
-As the functionality of the ODUP non-intrusive monitor function is identical to the ODUP\_TT\_Sk function (see clause 14.2.1.2), no dedicated ODUP non-intrusive monitoring function ODUPm\_TT\_Sk is defined. For ODUP non-intrusive monitoring, the ODUP\_TT\_Sk function is connected to the ODU\_CP as shown in Figure 14-23. The ODUP\_TT\_Sk function can be connected to any ODU\_CP in this manner.
-
-The unused outputs (e.g., ODU\_RI, ODU\_AI\_CK/D/FS/MFS) are left open. The TSF and TSD outputs of an ODUkP non-intrusive monitor can be connected to an ODU\_C connection function and used as protection switching trigger criteria for SNC/N protection; for an ODUCnP non-intrusive monitor the TSF and TSD output are also left open.
-
-
-
-Figure 14-23: Connection of ODUP\_TT\_Sk function as non-intrusive monitor (examples). The diagram shows two examples of ODU\_C connection functions. The left example shows an ODU\_C connected to multiple ODUkP and ODUkT components, with ODUkP non-intrusive monitors connected to the ODU\_C and receiving TSF and TSD signals. The right example shows an ODUCnP connected to multiple ODUCnT components, with ODUCnP non-intrusive monitors connected to the ODUCnP.
-
-G.798(17)\_F14-23
-
-**Figure 14-23 – Connection of ODUP\_TT\_Sk function as non-intrusive monitor (examples)**
-
-## 14.3 Adaptation functions
-
-### 14.3.1 ODUkP to CBRx adaptation function using AMP and BMP (ODUkP/CBRx\_A)
-
-The ODUkP to CBRx adaptation functions perform the adaptation between the ODUkP ( $k = 1, 2, 2e, 3, \text{flex}$ ) layer adapted information and the characteristic information of a CBRx signal. Parameter $x$ defines the bit rate or bit-rate range of the CBR signal. The $x$ values are listed in Tables 14-4 and 14-5. Support for other bit rates and bit-rate ranges are for further study.
-
-**Table 14-4 – Defined values for $x$ for bit synchronous mapping**
-
-| $x$ | Bit rate | Clock range |
-|--------------------------|---------------------------------------------------------------|--------------------------------------------------------------------|
-| 2G5 | 2 488 320 kbit/s $\pm 20$ ppm | 2 488 320 kHz $\pm 20$ ppm |
-| 10G | 9 953 280 kbit/s $\pm 20$ ppm | 9 953 280 kHz $\pm 20$ ppm |
-| 10G3 | 10 312 500 kbit/s $\pm 100$ ppm | 10 312 500 kHz $\pm 100$ ppm |
-| 40G | 39 813 120 kbit/s $\pm 20$ ppm | 39 813 120 kHz $\pm 20$ ppm |
-| Any other rate above 2G5 | Client rate with a tolerance up to a maximum of $\pm 100$ ppm | Client frequency with a tolerance up to a maximum of $\pm 100$ ppm |
-
-**Table 14-5 – Defined values for x for asynchronous mapping**
-
-| x | Bit rate | Clock range |
-|------------|--------------------------------|-----------------------------|
-| 2G5 | 2 488 320 kbit/s $\pm$ 20 ppm | 2 488 320 kHz $\pm$ 20 ppm |
-| 2G5 (Note) | 2 488 320 kbit/s $\pm$ 32 ppm | 2 488 320 kHz $\pm$ 32 ppm |
-| 10G | 9 953 280 kbit/s $\pm$ 20 ppm | 9 953 280 kHz $\pm$ 20 ppm |
-| 10G (Note) | 9 953 280 kbit/s $\pm$ 32 ppm | 9 953 280 kHz $\pm$ 32 ppm |
-| 40G | 39 813 120 kbit/s $\pm$ 20 ppm | 39 813 120 kHz $\pm$ 20 ppm |
-
-NOTE – The 2G5 and 10G signals with 32 ppm tolerance represent the CM-GPON and CM-XGPON signals.
-
-Two different source functions are defined. The ODUkP/CBRx-a\_A\_So provides asynchronous mapping, while the ODUkP/CBRx-b\_A\_So provides bit synchronous mapping. In the sink direction, the ODUkP/CBRx\_A\_Sk can handle both (bit synchronous and asynchronous) mappings.
-
-#### **14.3.1.1 ODUkP to CBRx asynchronous mapping adaptation source function (ODUkP/CBRx-a\_A\_So) (x = 2G5, 10G, 40G)**
-
-The ODUkP/CBRx-a\_A\_So function creates the ODUk signal from a free-running clock. It asynchronously maps the $4^{(k-1)} \times 2\,488\,320$ kbit/s constant bit-rate client signal from the CBRx\_CP into the payload of the OPUk (k = 1, 2, 3), adds OPUk overhead (RES, PT, JC) and default ODUk overhead.
-
-The information flow and processing of the ODUkP/CBRx-a\_A\_So function are defined with reference to Figures 14-24 and 14-25.
-
-##### **Symbol**
-
-
-
-Block diagram of the ODUkP/CBRx-a\_A\_So function. An input labeled CBRx\_CP enters a trapezoidal block labeled ODUkP/CBRx-a. The input is associated with x = 2G5, 10G, 40G. The output is labeled ODUkP\_AP and is associated with k = 1, 2, 3. A reference code G.798(17)\_F14-24 is shown below the diagram.
-
-**Figure 14-24 – ODUkP/CBRx-a\_A\_So function**
-
-##### **Interfaces**
-
-**Table 14-6 – ODUkP/CBRx-a\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------|------------------------------------------------------------------------------|
-| CBRx_CP: CBRx_CI_CK CBRx_CI_D CBRx_CI_SSF | ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS |
-
-##### Processes
-
-- **Clock and (multi)frame start signal generation:** The function shall generate a local ODUk clock (ODUKP\_AI\_CK) of $(239/(239 - k)) \times 4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ from a free-running oscillator. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-- **Mapping, frequency justification and bit rate adaptation:** The function shall provide an elastic store (buffer) process. The data signal CBRx\_CI shall be written into the buffer under the control of the associated input clock. The data shall be read out of the buffer and written onto the D and N/PJO bytes in the OPUk frame under the control of the ODUk clock and justification decisions as defined in clause 17.1 of [ITU-T G.709].
-
-A justification decision shall be performed each frame. Each justification decision results in a corresponding positive, negative or no justification action. Upon a positive justification action, the reading of one data byte out of the buffer shall be cancelled once. No CBRx data shall be written onto the PJO and NJO byte. Upon a negative justification action, one extra data byte shall be read once out of the buffer. CBRx data shall be written onto the PJO and NJO byte. If neither a positive nor a negative justification action is to be performed, CBRx data shall be written onto the PJO byte and no CBRx data shall be written onto the NJO byte.
-
-The justification decisions determine the phase error introduced by the function.
-
-*Buffer size:* In the presence of jitter as specified by [ITU-T G.825] and a frequency within the range $4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ , this mapping process shall not introduce any errors. The maximum buffer hysteresis, and therefore the maximum phase error introduced, shall be as listed in Table 14-7.
-
-**Table 14-7 – Maximum buffer hysteresis**
-
-| Mapping | Maximum buffer hysteresis |
-|------------|---------------------------|
-| 2G5 → ODU1 | 2 bytes |
-| 10G → ODU2 | 8 bytes |
-| 40G → ODU3 | 32 bytes |
-
-- **JC bits:** The function shall generate the justification control (JC) bits based on the justification decision performed in the current frame according to the specification in clause 17.1 of [ITU-T G.709]. It shall insert the justification control bits in the appropriate JC bit positions in the JC bytes of the current frame.
-- **PT:** The function shall insert code "0000 0010" into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709].
- - **RES:** The function shall insert all-ZEROs into the RES bytes and reserved bits within the JC bytes.
- - **CSF:** The function shall signal the failure of the client signal to the far end by use of Bit 1 of the PSI[2] byte of the payload structure identifier as defined in clause 17.1 of [ITU-T G.709].
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-NOTE – Equipment developed prior to Edition 4.0 of this Recommendation will not support the CSF processing.
-
-
-
-Figure 14-25 – ODUkP/CBRx-a\_A\_So processes. This block diagram illustrates the internal architecture of the ODUkP/CBRx-a\_A\_So adaptation function. At the top, the CBRx\_CP input provides three signals: CI\_D (data), CI\_CK (clock), and CI\_SSF (synchronization signal). CI\_D and CI\_CK are fed into an 'Elastic store' block, which has write (WR) and read (RD) ports. The Elastic store's output is connected to a 'Justification control and JC generation' block. This block also receives CI\_SSF and generates a Justification Control (JC) signal back to the Elastic store. The Justification control block outputs a 'Free-running clock generator (ODCa)' signal labeled CK. The CK signal is divided by 122368 to produce a Frequency Synchronization (FS) signal, which is further divided by 256 to produce a Master Frequency Synchronization (MFS) signal. The Elastic store's output is also processed by a series of blocks: 'Insert PT', 'Insert CSF' (which also receives CI\_SSF), 'Insert RES', and a block stating 'ODUk OH is set to all-0's, except PM STAT = 001'. The final output of these blocks is the ODUkP\_AP signal, which consists of AI\_D (data), AI\_CK (clock), AI\_FS (frequency synchronization), and AI\_MFS (master frequency synchronization). The diagram is labeled G.798(17)\_F14-25.
-
-**Figure 14-25 – ODUkP/CBRx-a\_A\_So processes**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### **14.3.1.2 ODUkP to CBRx bit synchronous mapping adaptation source function (ODUkP/CBRx-b\_A\_So)**
-
-The ODUkP/CBRx-b\_A\_So function creates the ODUk signal from a clock, derived from the incoming CBRx\_CI clock. It bit synchronously maps the $4^{(k-1)} \times 2\,488\,320\text{ kbit/s} \pm 20\text{ ppm}$ ( $k = 1, 2, 3$ ) or $10\,312\,500\text{ kbit/s} \pm 100\text{ ppm}$ ( $k = 2e$ ) or other CBR signals greater than $2\,488\,320\text{ kbit/s} \pm 100\text{ ppm}$ ( $k = \text{flex}$ ) constant bit-rate client signal from the CBRx\_CP into the payload of the OPUk ( $k = 1, 2, 2e, 3, \text{flex}$ ), adds OPUk overhead (PT, JC, RES) and default ODUk overhead.
-
-The information flow and processing of the ODUkP/CBRx-b\_A\_So function are defined with reference to Figures 14-26 and 14-27.
-
-##### Symbol
-
-
-
-G.798(17)\_F14-26
-
-Symbol diagram for ODUkP/CBRx-b\_A\_So function. It shows an input CBRx\_CP entering a trapezoidal block labeled ODUkP/CBRx-b, with an output ODUkP\_AP exiting the block. The reference G.798(17)\_F14-26 is noted below the block.
-
-**Figure 14-26 – ODUkP/CBRx-b\_A\_So function**
-
-##### Interfaces
-
-**Table 14-8 – ODUkP/CBRx-b\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------|------------------------------------------------------------------------------|
-| CBRx_CP: CBRx_CI_CK CBRx_CI_D CBRx_CI_SSF | ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS |
-
-##### Processes
-
-- **Clock and (multi)frame start signal generation:** The function shall generate the ODUk (AI\_CK) clock by multiplying the incoming CBRx clock (CI\_CK) by factor as specified in Table 14-9 below. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCb clock), apply.
-
-**Table 14-9 – Bit synchronous mapping parameters**
-
-| ODUk | Multiplication factor | CBR clock frequency | CBR client jitter specification in |
-|---------|-----------------------|--------------------------------------------------------------------|------------------------------------|
-| ODU1 | 239/238 | 2 488 320 kHz $\pm$ 20 ppm | [ITU-T G.825] |
-| ODU2 | 239/237 | 9 953 280 kHz $\pm$ 20 ppm | [ITU-T G.825] |
-| ODU2e | 239/237 | 10 312 500 kHz $\pm$ 100 ppm | [IEEE 802.3] |
-| ODU3 | 239/236 | 39 813 120 kHz $\pm$ 20 ppm | [ITU-T G.825] |
-| ODUflex | 239/238 | Client frequency with a tolerance up to a maximum of $\pm$ 100 ppm | Client specific |
-
-During failure conditions of the incoming CBR clock signal (CI\_CK), the ODUk clock shall stay within its limits as defined in [ITU-T G.8251] and no frame phase discontinuity shall be introduced.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-- **Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process. The data signal CBRx\_CI shall be written into the buffer under the control of the associated input clock. The data shall be read out of the buffer and written onto the D and PJO bytes in the OPUk frame under the control of the ODUk clock as defined in clause 17.2 of [ITU-T G.709] (k = 1, 2, 2e, 3) and clause 17.9 of [ITU-T G.709] (k = flex).
-
-Neither negative nor positive justification is to be performed. No data shall be written onto the NJO byte and data shall always be written onto the PJO byte.
-
-*Buffer size:* In the presence of jitter as specified by the relevant standard as listed in Table 14-9, this mapping process shall not introduce any errors.
-
-Following a step in frequency of the CI\_CK signal (for example, due to removal of AIS (generic AIS or Local Fault)), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of 1 second has been proposed.
-
-- **JC bits:** The function shall generate the fixed justification control (JC) bits "00" according to clause 17.2 of [ITU-T G.709]. It shall insert the justification control bits in the appropriate JC bit positions in the JC bytes.
-- **RES:** The function shall insert all-ZEROs into the RES bytes and Reserved bits within the JC bytes.
- - **PT:** The function shall insert the appropriate payload type code into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709].
- - **Client signal fail:** The function shall insert client signal fail indication CSF under the control of CBR\_CI\_SSF into Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-NOTE – Equipment developed prior to Edition 4.0 of this Recommendation will not support the CSF processing.
-
-
-
-Block diagram of ODUkP/CBRx-b\_A\_So processes. The diagram shows the mapping of client data (CI\_D) and clock (CI\_CK) into an ODUk payload. CI\_D is written to an Elastic store (WR), and CI\_CK is used to generate the ODU clock (ODCb). The Elastic store output (RD) is mapped into the ODUk payload. The ODUk payload is generated by inserting PT, CSF (controlled by CI\_SSF), and RES bytes, and setting the ODUk OH to all-0's except for PM STAT = 001. The ODUk payload is then mapped into the AI\_D, AI\_CK, AI\_FS, and AI\_MFS signals. The diagram also shows the generation of the ODUk clock (ODCb) from the CI\_CK signal, and the generation of the ODUk payload structure identifier (PSI) from the PT, CSF, and RES bytes. The ODUk payload is then mapped into the AI\_D, AI\_CK, AI\_FS, and AI\_MFS signals. The diagram is labeled CBRx\_CP at the top and ODUkP\_AP at the bottom. The text G.798(17)\_F14-27 is in the bottom right corner.
-
-Figure 14-27 – ODUkP/CBRx-b\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.1.3 ODUkP to CBRx adaptation sink function (ODUkP/CBRx\_A\_Sk)
-
-The ODUkP/CBRx\_A\_Sk recovers the constant bit-rate client signal from the OPUk payload using the justification control information (JC overhead) to determine if a data or stuff byte is present within the NJO and PJO bytes. It extracts the OPUk overhead (PT, JC, and RES) and monitors the reception of the correct payload type. Under signal fail condition, generic-AIS shall be generated.
-
-The information flow and processing of the ODUkP/CBRx\_A\_Sk function are defined with reference to Figures 14-28 and 14-29.
-
-##### Symbol
-
-
-
-G.798(17)\_F14-28
-
-Symbol diagram for the ODUkP/CBRx\_A\_Sk function. A central trapezoidal block is labeled 'ODUkP/CBRx'. An arrow labeled 'ODUkP\_AP' points into the block from the bottom. An arrow labeled 'CBRx\_CP' points out of the block from the top. An arrow labeled 'ODUkP/CBRx\_A\_Sk\_MP' points out of the block from the left. The text 'G.798(17)\_F14-28' is located below the block.
-
-**Figure 14-28 – ODUkP/CBRx\_A\_Sk function**
-
-##### Interfaces
-
-**Table 14-10 – ODUkP/CBRx\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_TSF | CBRx_CP: CBRx_CI_CK CBRx_CI_D CBRx_CI_SSF ODUkP/CBRx_A_Sk_MP: ODUkP/CBRx_A_Sk_MI_cPLM ODUkP/CBRx_A_Sk_MI_cCSF ODUkP/CBRx_A_Sk_MI_AcPT |
-
-##### Processes
-
-- **PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-- **RES:** The value in the RES bytes shall be ignored.
-- **JC:** The function shall interpret the justification control information in the JC byte as defined in clauses 17.2 and 17.9 of [ITU-T G.709] in order to determine the justification action (positive, negative, none) for the current frame. RES bits in the JC shall be ignored.
-
-– **Demapping, CBR clock generation:** The function shall provide an elastic store (buffer) process. The CBR data shall be written into the buffer from the D, PJO and NJO byte in the OPUk frame. The information extraction of the PJO and NJO bytes shall be under the control of the justification control information. The CBRx data (CI\_D) shall be read out of the buffer under the control of the CBRx clock (CI\_CK).
-
-Upon a positive justification action, the writing of one data byte into the buffer shall be cancelled once. No CBRx data shall be read from the PJO and NJO byte. Upon a negative justification action, one extra data byte shall be written into the buffer once. CBRx data shall be read from the PJO and NJO byte. If neither a positive nor a negative justification action is to be performed, CBRx data shall be read from the PJO byte and no CBRx data shall be read from the NJO byte.
-
-**Client signal fail:** The function shall extract the CSF signal indicating the failure of the client signal out of the Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The data signal shall be written into the buffer under the control of the associated (gapped) input clock. The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) clock. The rate is determined by the signal at the input of the remote ODUkP/CBRx\_A\_So.
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-*Buffer size:* In the presence of jitter as specified by the relevant standard as listed in Table 14-9, this justification process shall not introduce any errors.
-
-Following a step in frequency of the signal transported by the ODUkP\_AI (for example due to removal of a replacement signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of 1 second has been proposed.
-
-NOTE – Equipment developed prior to Edition 4.0 of this Recommendation will not support the CSF processing.
-
-
-
-Figure 14-29 – ODUkP/CBRx\_A\_Sk processes. This block diagram illustrates the internal components and signal flow of the ODUkP/CBRx\_A\_Sk process. The process is divided into two main sections: CBRx\_CP (top) and ODUkP\_AP (bottom). Inputs include CI\_D, CI\_CK, CI\_SSF, AI\_D, AI\_MFS, AI\_CK, AI\_FS, and AI\_TSF. The CBRx\_CP section contains a 'Replacement signal insertion' block, a 'Replacement signal generator' block, an 'Elastic store' (with WR and RD ports), a 'CBR clock generator (ODCp)' block, and a 'Consequent actions' block. The ODUkP\_AP section contains 'Extract JC', 'Extract CSF', and 'Extract PT' blocks, a 'Justification action' block, a 'PT process' block, and a 'Defect correlations' block. Signal flow includes data paths from the input sections through the elastic store and extraction blocks, and control paths for clock and defect detection. Output signals include CI\_D, CI\_CK, CI\_SSF, MI\_cPLM, MI\_cCSF, MI\_AcPT, and ODUkP/CBRx\_A\_Sk\_MP.
-
-**Figure 14-29 – ODUkP/CBRx\_A\_Sk processes**
-
-##### Defects
-
-The function shall detect for dPLM and dCSF defects.
-
-- **dPLM:** See clause 6.2.4.1. The expected payload type values are defined in clause 15.9.2.1 of [ITU-T G.709]; "0000 0010" is used for asynchronous CBRx mapping, other applicable values are used for bit synchronous CBRx mapping.
-- **dCSF:** See clause 6.2.10.
-
-##### Consequent actions
-
-aSSF $\leftarrow$ AI\_TSF or dPLM
-
-aAIS $\leftarrow$ AI\_TSF or dPLM
-
-On declaration of aAIS, the function shall output a replacement signal as defined in clauses 17.2 and 17.9 of [ITU-T G.709] within two frames. On clearing aAIS, the replacement pattern/signal shall be removed within two frames and normal data being output. The replacement signal clock shall be independent from the incoming clock. The replacement signal clock has to be within the range specified by Table 14-9. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-##### Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cCSF $\leftarrow$ dCSF and (not dPLM) and (not AI\_TSF)
-
-**Performance monitoring:** None.
-
-### 14.3.2 Blank clause
-
-NOTE – This clause is intentionally left blank.
-
-### 14.3.3 ODU2P to 10G Ethernet Reconciliation sublayer adaptation functions (ODU2P/ERS10G\_A)
-
-The ODU2P to 10G Ethernet Reconciliation sublayer adaptation functions perform the adaptation between the ODU2P and the characteristic information of an ERS10G signal.
-
-The ERS10G characteristic information is a stream of ERS10G\_CI\_D traffic units, complemented with the ERS10G\_CI\_SSF signal. The ERS10G\_CI\_D traffic units carry either an Ethernet data frame, including the preamble, or an ordered set, as defined in clause 7.9 of [ITU-T G.704]. The ordered sets may carry local fault or remote fault indications. The ERS10G\_CP reference point is located within the reconciliation sublayer (see Figure 44-1 of [IEEE 802.3]).
-
-NOTE – There is no Ethernet MAC termination function in these adaptation functions. Consequently, since no error checking is performed on the Ethernet MAC frames, errored MAC frames are forwarded at both the ingress and egress to the GFP adaptation functions.
-
-#### 14.3.3.1 ODU2P to 10G Ethernet Reconciliation sublayer adaptation source function (ODU2P/ERS10G\_A\_So)
-
-The ODU2P/ERS10G\_A\_So function creates the ODU2P signal from a free running clock. It maps the ERS10G\_CI information into the extended payload of the OPU2P, adds OPU2P overhead (RES, PT) and default ODU2P overhead.
-
-##### Symbol
-
-
-
-Symbol diagram for ODU2P/ERS10G\_A\_So function. It shows a trapezoidal block labeled 'ODU2P/ERS10G'. An arrow labeled 'ERS10G\_CP' points into the top of the block. An arrow labeled 'ODU2P/ERS10G\_A\_So\_MP' points into the left side of the block. An arrow labeled 'ODU2P\_AP' points out from the bottom of the block. Below the block is the text 'G.798(17)-Amd.1(18)\_F14-29.1'.
-
-**Figure 14-29.1 – ODU2P/ERS10G\_A\_So symbol**
-
-##### Interfaces
-
-**Table 14-10.1 – ODU2P/ERS10G\_A\_So interfaces**
-
-| Inputs | Outputs |
-|---------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
-| ERS10G_CP: ERS10G_CI_D ERS10G_CI_SSF ODU2P/ERS10G_A_So_MP: ODU2P/ERS10G_A_So_MI_CSFEnable | ODU2P_AP: ODU2P_AI_D ODU2P_AI_CK ODU2P_AI_FS ODU2P_AI_MFS |
-| NOTE – ERS10G_CI_D is composed of preamble, payload and order set information in [ITU-T G.704]. | |
-
-##### Processes
-
-A process diagram of this function is shown in Figure 14-29.2.
-
-
-
-Functional block diagram of the ODU2P/ERS10G\_A\_So process. The diagram is contained within a grey box labeled 'ODU2P/ERS10G\_A\_So\_MP' on the left. At the top, inputs 'CI\_D' and 'CI\_SSF' enter from 'ERS10G\_CP'. Inside the box, there are four stacked processing blocks: 1. 'ERS10G specific GFP-F processes' receiving 'FCSEnable = false' and 'MI\_CSFenable'. 2. 'Common GFP-F processes' receiving 'CMuxConfig' and 'CMuxActive = false'. 3. 'ODU2P specific GFP-F processes'. 4. Another 'ODU2P specific GFP-F processes' block. Data flows downward between blocks via 'GFP\_FS', 'GFP\_Frame', 'D', 'CK', and 'FS' signals. At the bottom, outputs 'AI\_D', 'AI\_CK', 'AI\_FS', and 'AI\_MFS' exit to 'ODU2P\_AP'. A reference code 'G.798(17)-Amd.1(18)\_F14-29.2' is at the bottom right.
-
-**Figure 14-29.2 – ODU2P/ERS10G\_A\_So process**
-
-###### *Ethernet specific GFP-F source process:*
-
-The Ethernet frames are inserted into the client payload information field of the GFP-F frames according to clause 7.9.2 of [ITU-T G.7041].
-
-The UPI values for frame-mapped Ethernet shall be inserted for data or ordered sets respectively (Table 6-3 of [ITU-T G.7041]). The rest of the fields except the UPI field in the type header are static as:
-
-- PTI = 000 (Client data)
-- PFI = 0 (No FCS)
-- EXI = 0000 (Null extension header)
-
-GFP client management frames (PTI = 100) are inserted if CI\_SSF is input and GFP pFCS generation is disabled (FCSEnable=false).
-
-###### *Common GFP source process:*
-
-See clause 8.5.3.1 of [ITU-T G.806]. GFP channel multiplexing is not supported (CMuxActive=false).
-
-###### *ODU2P specific GFP source process:*
-
-See clause 8.5.2.1 of [ITU-T G.806]. The GFP frames are mapped into the extended ODU2 payload area according to clause 17.4.1 of [ITU-T G.709]. OPU CSF may be generated if CI\_SSF is input.
-
-###### *ODU2P specific source process:*
-
-See clause 11.5.1.1 (k=2).
-
-**Defects:** None.
-
-##### **Consequent actions**
-
-The function shall perform the following consequent actions:
-
-aCSF-LOS $\leftarrow$ CI\_SSF and CSFEnable
-aCSF-OPU $\leftarrow$ CI\_SSF and CSFEnable
-
-**Defect correlations:** None.
-
-**Performance monitoring:** For further study.
-
-#### 14.3.3.2 ODU2P to 10G Ethernet Reconciliation Sublayer adaptation sink function (ODU2P/ERS10G\_A\_Sk)
-
-The ODU2P/ERS10G\_A\_Sk extracts ERS10G\_CI information from the extended ODU2P payload area, delivering ERS10G\_CI to ERS10G\_TCP. It extracts the OPU2P overhead (PT and RES) and monitors the reception of the correct payload type.
-
-##### Symbol
-
-
-
-Symbol diagram for ODU2P/ERS10G\_A\_Sk. A trapezoidal block labeled 'ODU2P/ERS10G' has an input arrow from below labeled 'ODU2P\_AP', an output arrow from the top labeled 'ERS10G\_CP', and a bidirectional input arrow from the right labeled 'ODU2P/ERS10G\_A\_Sk\_MP'.
-
-G.798(17)-Amd.1(18)\_F14-29.3
-
-**Figure 14-29.3 – ODU2P/ERS10G\_A\_Sk symbol**
-
-##### Interfaces
-
-**Table 14-10.2 – ODU2P/ERS10G\_A\_Sk interfaces**
-
-| Inputs | Outputs |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU2P_AP: ODU2P_AI_D ODU2P_AI_CK ODU2P_AI_FS ODU2P_AI_MFS ODU2P_AI_TSF ODU2P/ERS10G_A_Sk_MP: ODU2P/ERS10G_A_Sk_MI_CSF_Reported | ERS10G_CP: ERS10G_CI_D ERS10G_CI_SSF ODU2P/ERS10G_A_Sk_MP: ODU2P/ERS10G_A_Sk_MI_AcPT ODU2P/ERS10G_A_Sk_MI_AcEXI ODU2P/ERS10G_A_Sk_MI_AcUPI ODU2P/ERS10G_A_Sk_MI_cPLM ODU2P/ERS10G_A_Sk_MI_cLFD ODU2P/ERS10G_A_Sk_MI_cUPM ODU2P/ERS10G_A_Sk_MI_cEXM ODU2P/ERS10G_A_Sk_MI_cCSF |
-
-##### Processes
-
-A process diagram of this function is shown in Figure 14-29.4.
-
-
-
-Figure 14-29.4 – ODU2P/ERS10G\_A\_Sk process diagram. The diagram shows a vertical stack of four process blocks within a grey container labeled 'ODU2P/ERS10G\_A\_Sk\_MP'. From top to bottom: 'ERS10G specific GFP-F processes', 'Common GFP-F processes', 'ODU2P specific GFP-F processes', and 'ODU2P specific GFP-F processes'. Inputs from the bottom (ODU2P\_AP) include AI\_D, AI\_CK, AI\_FS, AI\_MFS, and AI\_TSF. The bottom block outputs D, CK, and FS to the block above. The third block outputs GFP\_Frame/FS/SF to the second block. The second block has inputs FCSdiscard=false, CMuxConfig, and CMuxActive=false, and outputs cEXM and AcEXI. The top block outputs CI\_D and CI\_SSF to the top (ERS10G\_CP) and has outputs AcUPI, cUPM, cCSF, and MI\_CSF\_Reported. A reference code G.798(17)-Amd.1(18)\_F14-29.4 is at the bottom right.
-
-**Figure 14-29.4 – ODU2P/ERS10G\_A\_Sk process**
-
-###### *Ethernet specific GFP-F sink process:*
-
-The Ethernet frames are extracted from the client payload information field of the GFP-F frames according to clause 7.9 of [ITU-T G.7041].
-
-See clause 8.5.4.1.2 of [ITU-T G.806]. GFP pFCS checking, GFP p\_FCSerror, p\_FDis are not supported (FCSdiscard=false). The UPI value for frame-mapped Ethernet shall be expected for data or ordered sets respectively (Table 6-3 of [ITU-T G.7041]).
-
-Client signal fail from GFP-F or OPU may generate LF as included ERS10G\_CI\_D.
-
-###### *Common GFP sink process:*
-
-See clause 8.5.3.2 of [ITU-T G.806]. GFP channel multiplexing is not supported (MI\_CMuxActive=false).
-
-###### *ODU2 specific GFP sink process:*
-
-See clause 8.5.2.2 of [ITU-T G.806]. The GFP frames are demapped from the extended ODU2 payload area according to clause 17.4.1 of [ITU-T G.709].
-
-###### *ODU2P specific sink process:*
-
-See clause 11.5.1.2 (k=2).
-
-##### Defects
-
-dPLM – See clause 6.2.4.1 of [ITU-T G.798].
-
-dLFD – See clause 6.2.5.2 of [ITU-T G.806].
-
-dUPM – See clause 6.2.4.3 of [ITU-T G.806].
-
-dEXM – See clause 6.2.4.4 of [ITU-T G.806].
-
-dCSF-LOS – See clause 8.6.4.2 of [ITU-T G.8021].
-
-dCSF-OPU – For further study.
-
-##### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aSSF $\leftarrow$ AI\_TSF or dPLM or dLFD or dUPM or dEXM or dCSF-LOS
-
-##### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause (see clause 6.4 of [ITU-T G.806]). This fault cause shall be reported to the EMF.
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cLFD $\leftarrow$ dLFD and (not dPLM) and (not AI\_TSF)
-
-cUPM $\leftarrow$ dUPM and (not dEXM) and (not dPLM) and (not dLFD) and (not AI\_TSF)
-
-cEXM $\leftarrow$ dEXM and (not dPLM) and (not dLFD) and (not AI\_TSF)
-
-cCSF $\leftarrow$ (dCSF-LOS or dCSF-OPU) and (not dEXM) and (not dUPM) and (not dPLM) and (not dLFD) and (not AI\_TSF) and CSF\_Reported.
-
-##### Performance monitoring
-
-For further study.
-
-### 14.3.4 ODUP to NULL adaptation function (ODUP/NULL\_A)
-
-The ODUP to NULL adaptation functions perform the adaptation of a NULL test signal as defined in clause 17.5.1 of [ITU-T G.709] into the ODUP. The NULL signal is an all-ZEROs pattern.
-
-#### 14.3.4.1 ODUP to NULL adaptation source function (ODUP/NULL\_A\_So)
-
-The ODUP/NULL\_A\_So function creates the ODU signal from a free-running clock. It maps the NULL signal into the payload of the OPU, adds OPU overhead (RES, PT) and default ODU overhead.
-
-The information flow and processing of the ODUP/NULL\_A\_So function is defined with reference to Figures 14-30 and 14-31.
-
-##### Symbol
-
-
-
-The diagram illustrates the symbol for the ODUP/NULL\_A\_So function. It consists of two trapezoidal blocks. The left block is labeled 'ODUKP/NULL' and has an input 'ODUKP/NULL\_A\_So\_MP' entering from the left and an output 'ODUKP\_AP' exiting from the bottom. A label 'k = 0, 1, 2, 2e, 3, 4, flex' is next to the output arrow. The right block is labeled 'ODUCnP/NULL' and has an input 'ODUCnP/NULL\_A\_So\_MP' entering from the left and an output 'ODUCnP\_AP' exiting from the bottom. A label 'G.798(17)\_F14-30' is next to the output arrow.
-
-Diagram of the ODUP/NULL\_A\_So function symbol. It shows two identical trapezoidal blocks. The left block has an input 'ODUKP/NULL\_A\_So\_MP' entering from the left and an output 'ODUKP\_AP' exiting from the bottom. A label 'k = 0, 1, 2, 2e, 3, 4, flex' is next to the output arrow. The right block has an input 'ODUCnP/NULL\_A\_So\_MP' entering from the left and an output 'ODUCnP\_AP' exiting from the bottom. A label 'G.798(17)\_F14-30' is next to the output arrow.
-
-Figure 14-30 – ODUP/NULL\_A\_So function
-
-##### Interfaces
-
-**Table 14-11 – ODUP/NULL\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------|-------------------------------------------------------------------------|
-| ODUP/NULL_A_So_MP: ODUP/NULL_A_So_MI_Nominal_Bitrate_and_Tolerance | ODUP_AP: ODUP_AI_CK ODUP_AI_D ODUP_AI_FS ODUP_AI_MFS |
-
-##### Processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODU clock (ODUP\_AI\_CK) with a clock frequency within the minimum to maximum values of the specified ODU signal as given in Table 7-2 of [ITU-T G.709] and provisioned by the MI\_Nominal\_Bitrate\_and\_Tolerance from a free-running oscillator. The jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODU signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Insert NULL signal:** The function shall insert an all-ZEROs pattern into the OPU payload area as defined in clause 17.5.1 of [ITU-T G.709].
-
-**PT:** The function shall insert code "1111 1101" into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**RES:** The function shall insert all-ZEROs into the RES bytes.
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the ODU-PM STAT field which should be set to the value "normal path signal" (001).
-
-
-
-The diagram illustrates the internal processes of the ODUP/NULL\_A\_So function. At the top right, a 'Free-running clock generator (ODCa)' receives 'MI\_Nominal\_Bitrate\_and\_Tolerance' and outputs a clock signal 'CK'. This 'CK' signal is fed into two frequency dividers: one labeled '1/122368' which outputs 'FS', and another labeled '1/256' which outputs 'MFS'. The 'FS' and 'MFS' signals are connected to an 'Insert NULL signal' block and an 'ODUk OH is set to all-0's, except PM STAT = 001' block. These blocks output 'AI\_D', 'Payload type (PT)', and 'RES' signals. The 'AI\_D', 'AI\_MFS', 'AI\_FS', and 'AI\_CK' signals are grouped together at the bottom under the label 'ODUP\_AP'. The diagram is labeled 'G.798(17)\_F14-31' and has a vertical label 'ODUP/NULL\_A\_So\_MP' on the right side.
-
-Block diagram of ODUP/NULL\_A\_So processes. The diagram shows the internal logic for generating various signals. A 'Free-running clock generator (ODCa)' takes 'MI\_Nominal\_Bitrate\_and\_Tolerance' as input and outputs 'CK'. 'CK' is divided by 122368 to produce 'FS' and by 256 to produce 'MFS'. 'FS' and 'MFS' are used to control an 'Insert NULL signal' block and an 'ODUk OH is set to all-0's, except PM STAT = 001' block. These blocks also output 'AI\_D'. The 'Insert NULL signal' block also outputs 'Payload type (PT)' and 'RES'. All these signals (AI\_D, AI\_MFS, AI\_FS, AI\_CK) are grouped under the label 'ODUP\_AP'.
-
-**Figure 14-31 – ODUP/NULL\_A\_So processes**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.4.2 ODUP to NULL adaptation sink function (ODUP/NULL\_A\_Sk)
-
-The ODUP/NULL\_A\_Sk extracts the OPU overhead (PT and RES) and monitors the reception of the correct payload type.
-
-The information flow and processing of the ODUP/NULL\_A\_Sk function is defined with reference to Figures 14-32 and 14-33.
-
-##### Symbol
-
-
-
-Diagram illustrating the ODUP/NULL\_A\_Sk function symbols. The left symbol shows the ODUkP/NULL function with input ODUkP\_AP and output ODUkP/NULL\_A\_Sk\_MP. The right symbol shows the ODUCnP/NULL function with input ODUCnP\_AP and output ODUCnP/NULL\_A\_Sk\_MP. The parameter k is defined as 0, 1, 2, 2e, 3, 4, flex.
-
-Diagram of ODUP/NULL\_A\_Sk function symbols. Two trapezoidal blocks represent the functions. The left block is labeled 'ODUKP/NULL' and has an input 'ODUKP\_AP' from below and an output 'ODUKP/NULL\_A\_Sk\_MP' to the left. Above the input is 'k = 0, 1, 2, 2e, 3, 4, flex'. The right block is labeled 'ODUCnP/NULL' and has an input 'ODUCnP\_AP' from below and an output 'ODUCnP/NULL\_A\_Sk\_MP' to the left. Below the right block is the text 'G.798(17)\_F14-32'.
-
-**Figure 14-32 – ODUP/NULL\_A\_Sk function**
-
-##### Interfaces
-
-**Table 14-12 – ODUP/NULL\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
-| ODUP_AP: ODUP_AI_CK ODUP_AI_D ODUP_AI_FS ODUP_AI_MFS ODUP_AI_TSF | ODUP/NULL_A_Sk_MP: ODUP/NULL_A_Sk_MI_cPLM ODUP/NULL_A_Sk_MI_AcPT |
-
-##### Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**Payload:** The value in the OPU payload area shall be ignored.
-
-
-
-Figure 14-33: ODUP/NULL\_A\_Sk processes diagram. The diagram shows a block diagram of the ODUP/NULL\_A\_Sk processes. Inputs AI\_D, AI\_CK, AI\_FS, and AI\_MFS are grouped under the label ODUP\_AP. These inputs feed into a block labeled 'Extract PT'. The output of 'Extract PT' feeds into a block labeled 'PT process'. The 'PT process' block also receives AI\_TSF as an input. The output of 'PT process' is labeled MI\_AcPT. The 'PT process' block also feeds into a block labeled 'Defect correlations'. This block also receives AI\_TSF and dPLM as inputs. The output of 'Defect correlations' is labeled MI\_cPLM. The entire process is labeled ODUP/NULL\_A\_Sk\_MP on the right side. The reference G.798(17)\_F14-33 is shown at the bottom right of the diagram.
-
-**Figure 14-33 – ODUP/NULL\_A\_Sk processes**
-
-##### Defects
-
-The function shall detect dPLM.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "1111 1101" (NULL test signal mapping) as defined in [ITU-T G.709].
-
-**Consequent actions:** None.
-
-##### Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-**Performance monitoring:** None.
-
-### 14.3.5 ODUP to PRBS adaptation function (ODUP/PRBS\_A)
-
-The ODUP to PRBS adaptation functions perform the adaptation of a PRBS test signal as defined in clause 17.5.2 of [ITU-T G.709] into the ODUP. The PRBS signal is a $2^{31} - 1$ pseudo-random test sequence as specified in clause 5.8 of [ITU-T O.150].
-
-#### 14.3.5.1 ODUP to PRBS adaptation source function (ODUP/PRBS\_A\_So)
-
-The ODUP/PRBS\_A\_So function creates the ODUP signal from a free-running clock. It maps the PRBS signal into the payload of the OPU, adds OPU overhead (RES, PT) and default ODU overhead.
-
-The information flow and processing of the ODUP/PRBS\_A\_So function is defined with reference to Figures 14-34 and 14-35.
-
-##### Symbol
-
-
-
-Figure 14-34: ODUP/PRBS\_A\_So function diagram. The diagram shows two symbols for the ODUP/PRBS\_A\_So function. The left symbol is labeled ODUP/PRBS and takes an input ODUP/PRBS\_A\_So\_MP. It has an output labeled ODUP/AP. Below the output, there is a list of values for k: k = 0, 1, 2, 2c, 3, 4, flex. The right symbol is labeled ODUCn/PRBS and takes an input ODUCn/PRBS\_A\_So\_MP. It has an output labeled ODUCn/AP. Below the output, there is a reference G.798(17)-Amd.4(22)\_F14-34.
-
-**Figure 14-34 – ODUP/PRBS\_A\_So function**
-
-##### Interfaces
-
-**Table 14-13 – ODUP/PRBS\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------|-------------------------------------------------------------------------|
-| ODUP/PRBS_A_So_MP: ODUP/PRBS_A_So_MI_Nominal_Bitrate_and_Tolerance | ODUP_AP: ODUP_AI_CK ODUP_AI_D ODUP_AI_FS ODUP_AI_MFS |
-
-##### Processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODU clock with a clock frequency within the minimum to maximum values of the specified ODU signal as given in Table 7-2 of [ITU-T G.709] provisioned by the MI\_Nominal\_Bitrate\_and\_Tolerance from a free-running oscillator. The jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODU signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Generate and insert PRBS signal:** The function shall generate the PRBS signal and insert it into the OPU payload area as defined in clause 17.5.2 of [ITU-T G.709]. Each OPU instance contains one PRBS signal.
-
-**PT:** The function shall insert code "1111 1110" into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**RES:** The function shall insert all-ZEROs into the RES bytes.
-
-All other bits of the ODU overhead should be sourced as "0"s, except the ODU-PM STAT field which should be set to the value "normal path signal" (001).
-
-
-
-Block diagram of ODUP/PRBS\_A\_So processes. A 'Free-running clock generator (ODCa)' receives 'MI\_Nominal\_Bitrate\_and\_Tolerance' and outputs 'CK'. 'CK' is input to 'Generate and insert PRBS signal', 'Payload type (PT)', 'RES', and 'ODUk OH is set to all-0's, except PM STAT = 001'. 'Generate and insert PRBS signal' outputs 'AI\_D'. 'Payload type (PT)', 'RES', and 'ODUk OH is set to all-0's, except PM STAT = 001' are inputs to a '1/122368' divider. The '1/122368' divider outputs 'FS' to 'AI\_FS' and 'AI\_MFS'. 'AI\_FS' and 'AI\_MFS' are inputs to a '1/256' divider. The '1/256' divider outputs 'MFS' to 'AI\_MFS'. The outputs 'AI\_D', 'AI\_MFS', 'AI\_FS', and 'AI\_CK' are grouped as 'ODUP\_AP'. The diagram is labeled 'G.798(17)\_F14-35' and 'ODUP/PRBS\_A\_So\_MP'.
-
-**Figure 14-35 – ODUP/PRBS\_A\_So processes**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.5.2 ODUP to PRBS adaptation sink function (ODUP/PRBS\_A\_Sk)
-
-The ODUP/PRBS\_A\_Sk recovers the PRBS test signal from the OPU payload area and monitors test sequence errors (TSEs) in the PRBS sequence. It extracts the OPU overhead (PT and RES) and monitors the reception of the correct payload type.
-
-The information flow and processing of the ODUP/PRBS\_A\_Sk function is defined with reference to Figures 14-36 and 14-37.
-
-##### Symbol
-
-
-
-Diagram illustrating the ODUP/PRBS\_A\_Sk function symbols. Two trapezoidal blocks represent the function. The left block is labeled "ODUPkP/PRBS" and has an input "ODUPkP\_AP" from below (with "k = 0, 1, 2, 2e, 3, 4, flex") and an output "ODUPkP/PRBS\_A\_Sk\_MP" to the left. The right block is labeled "ODUPnP/PRBS" and has an input "ODUPnP\_AP" from below and an output "ODUPnP/PRBS\_A\_Sk\_MP" to the left. A reference code "G.798(17)\_F14-36" is at the bottom right.
-
-Diagram of ODUP/PRBS\_A\_Sk function symbols. Two trapezoidal blocks represent the function. The left block is labeled 'ODUPkP/PRBS' and has an input 'ODUPkP\_AP' from below (with 'k = 0, 1, 2, 2e, 3, 4, flex') and an output 'ODUPkP/PRBS\_A\_Sk\_MP' to the left. The right block is labeled 'ODUPnP/PRBS' and has an input 'ODUPnP\_AP' from below and an output 'ODUPnP/PRBS\_A\_Sk\_MP' to the left. A reference code 'G.798(17)\_F14-36' is at the bottom right.
-
-**Figure 14-36 – ODUP/PRBS\_A\_Sk function**
-
-##### Interfaces
-
-**Table 14-14 – ODUP/PRBS\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
-| ODUP_AP: ODUP_AI_CK ODUP_AI_D ODUP_AI_FS ODUP_AI_TSF ODUP/PRBS_A_Sk_MP: ODUP/PRBS_A_Sk_MI_1second | ODUP/PRBS_A_Sk_MP: ODUP/PRBS_A_Sk_MI_cPLM ODUP/PRBS_A_Sk_MI_AcPT ODUP/PRBS_A_Sk_MI_cLSS ODUP/PRBS_A_Sk_MI_pN_TSE |
-
-##### Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**TSE check:** Test sequence errors (TSEs) are bit errors in the PRBS data stream extracted from each of the OPU payload instances and shall be detected whenever the PRBS detector is in lock and the received data bit does not match the expected value.
-
-
-
-Figure 14-37 – ODUP/PRBS\_A\_Sk processes. This block diagram illustrates the internal components and signal flow of the ODUP/PRBS\_A\_Sk function. On the left, a 'TSE check' block receives inputs from 'AI\_D', 'AI\_CK', 'AI\_FS', and 'AI\_MFS' (grouped as 'ODUP\_AP'). It outputs 'nTSE' to a 'Performance monitoring' block and 'dLSS' to a 'Defect correlations' block. Below the TSE check, an 'Extract PT' block receives the same 'ODUP\_AP' inputs and outputs to a 'PT process' block. The 'PT process' block outputs 'AI\_TSF' to the 'Defect correlations' block and 'MI\_AcPT' to the right. The 'Performance monitoring' block outputs 'MI\_1second' and 'MI\_pN\_TSE' to the right. The 'Defect correlations' block outputs 'MI\_cLSS' and 'MI\_cPLM' to the right. All output signals ('MI\_1second', 'MI\_pN\_TSE', 'MI\_cLSS', 'MI\_cPLM', 'MI\_AcPT') are grouped under the label 'ODUP/PRBS\_A\_Sk\_MP'. A bracket at the bottom groups 'AI\_D', 'AI\_CK', 'AI\_FS', 'AI\_MFS', and 'AI\_TSF' under the label 'ODUP\_AP'. The diagram is labeled 'G.798(17)\_F14-37'.
-
-**Figure 14-37 – ODUP/PRBS\_A\_Sk processes**
-
-##### Defects
-
-The function shall detect dPLM and dLSS.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "1111 1110" (PRBS test signal mapping) as defined in [ITU-T G.709].
-
-**dLSS:** The function shall detect the loss of PRBS lock (dLSS) according to the criteria defined in clause 2.6 of [ITU-T O.151].
-
-**Consequent actions:** None.
-
-##### Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cLSS $\leftarrow$ dLSS and (not AI\_TSF) and (not dPLM)
-
-##### Performance monitoring
-
-pN\_TSE $\leftarrow$ Sum of test sequence errors (TSEs) within one second period.
-
-### 14.3.6 ODUkP to RSn adaptation function (ODUkP/RSn\_A)
-
-The ODUkP to RSn adaptation functions perform the adaptation between the ODUkP ( $k = 1, 2, 3$ ) layer adapted information and the characteristic information of a RSn signal ( $n = 16, 64, 256$ ).
-
-Two different source functions are defined. The ODUkP/RSn-a\_A\_So provides asynchronous mapping, while the ODUkP/RSn-b\_A\_So provides bit synchronous mapping. In the sink direction, the ODUkP/RSn\_A\_Sk can handle both (bit synchronous and asynchronous) mappings.
-
-NOTE 1 – The source functions are identical with the ODUkP/CBRx adaptation source functions, except for the different CI at the CP (CBRx\_CI replaced by RSn\_CI). In the sink direction, the function provides framing on the SDH signal and generic AIS supervision. In the ODUkP/CBR\_A\_Sk function, no such functionality is available.
-
-NOTE 2 – The ODUkP/RSn\_A functions are only intended to be used together with RSn\_TT functions (see [ITU-T G.783]). The direct interconnection of ODUkP/RSn\_A functions with any other (server layer)/RS\_A functions at the RSn\_CP is not intended. The ODUkP/RSn functions are only used if further SDH processing is performed (e.g., RS termination). For example, Figure I.1 shows the ODUkP/RSn\_A\_Sk together with a RS\_TT\_Sk for non-intrusive monitoring, and Figure I.4 shows the use of the ODUkP/RSn\_A functions at OTN interfaces on SDH equipment. For transparent mapping of constant bit-rate signals, the ODUkP/CBRx\_A functions shall be used as shown in Figure I.1.
-
-#### 14.3.6.1 ODUkP to RSn asynchronous mapping adaptation source function (ODUkP/RSn-a\_A\_So)
-
-The ODUkP/RSn-a\_A\_So function creates the ODUk signal from a free-running clock. It asynchronously maps the STM-N ( $N = 4^{(k+1)}$ ) client signal from the RSn\_CP into the payload of the OPUk ( $k = 1, 2, 3$ ), adds OPUk overhead (RES, PT, JC) and default ODUk overhead.
-
-The information flow and processing of the ODUkP/RSn-a\_A\_So function is defined with reference to Figures 14-38 and 14-39.
-
-##### Symbol
-
-
-
-Diagram of the ODUkP/RSn-a\_A\_So function symbol. An input arrow labeled 'RSn\_CP' points to a trapezoidal block labeled 'ODUkP/RSn-a'. Above the input arrow is the parameter 'n = 16, 64, 256'. Below the block is an output arrow labeled 'ODUkP\_AP'. To the right of the output arrow is the parameter 'k = 1, 2, 3'. At the bottom right of the diagram is the text 'G.798(17)\_F14-38'.
-
-Figure 14-38 – ODUkP/RSn-a\_A\_So function
-
-##### Interfaces
-
-Table 14-15 – ODUkP/RSn-a\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|-----------------------------------------|------------------------------------------------------------------------------|
-| RSn_CP: RSn_CI_CK RSn_CI_D | ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS |
-
-##### Processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODUk clock (ODUkP\_AI\_CK) of " $239/(239 - k) \times 4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ " from a free-running oscillator. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process. The data signal RSn\_CI shall be written into the buffer under the control of the associated input clock. The data shall be read out of the buffer and written onto the D and N/PJO bytes in the OPUk frame under the control of the ODUk clock and justification decisions as defined in clause 17.2 of [ITU-T G.709].
-
-A justification decision shall be performed each frame. Each justification decision results in a corresponding positive, negative or no justification action. Upon a positive justification action, the reading of one data byte out of the buffer shall be cancelled once. No RSn data shall be written onto the PJO and NJO bytes. Upon a negative justification action, one extra data byte shall be read once out of the buffer. RSn data shall be written onto the PJO and NJO bytes. If neither a positive nor a
-
-negative justification action is to be performed, RSn data shall be written onto the PJO byte and no RSn data shall be written onto the NJO byte.
-
-The justification decisions determine the phase error introduced by the function.
-
-**Buffer size:** In the presence of jitter as specified by [ITU-T G.825] and a frequency within the range $4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ , this mapping process shall not introduce any errors. The maximum buffer hysteresis, and therefore the maximum phase error introduced, shall be as listed in Table 14-7.
-
-**JC bits:** The function shall generate the justification control (JC) bits based on the justification decision performed in the current frame according to the specification in clause 17.2 of [ITU-T G.709]. It shall insert the justification control bits in the appropriate JC bit positions in the JC bytes of the current frame.
-
-**PT:** The function shall insert code "0000 0010" into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**RES:** The function shall insert all-ZEROs into the RES bytes and reserved bits within the JC bytes.
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-
-
-The diagram illustrates the ODUkP/RSn-a\_A\_So processes. At the top, the RSn\_CP input is shown. On the left, CI\_D and CI\_CK inputs enter an Elastic store. The Elastic store has write (WR) and read (RD) ports. The WR port is connected to the Justification control and JC generation block, which also receives the RSn\_CP input. The RD port is connected to the Justification control. The Justification control outputs JC bits back to the Elastic store and also outputs AI\_D, AI\_CK, AI\_FS, and AI\_MFS signals to the ODUkP\_AP. A Free-running clock generator (ODCa) provides a clock (CK) to a 1/122368 divider, which outputs a frequency signal (FS) to a 1/256 divider, which in turn outputs a multi-frequency signal (MFS) to the ODUkP\_AP. The ODUkP\_AP block includes functions for Insert PT, Insert RES, and setting the ODUk OH to all-0's, except for the PM STAT field which is set to 001.
-
-Block diagram of ODUkP/RSn-a\_A\_So processes. The diagram shows the mapping of RSn\_CP data into ODUkP\_AP. Inputs include CI\_D, CI\_CK, and RSn\_CP. CI\_D and CI\_CK enter an Elastic store. RSn\_CP enters a Justification control and JC generation block. The Elastic store outputs WR and RD signals to the Justification control. The Justification control outputs JC bits to the Elastic store and AI\_D, AI\_CK, AI\_FS, and AI\_MFS signals to the ODUkP\_AP. A Free-running clock generator (ODCa) provides CK to a 1/122368 divider, which outputs FS to a 1/256 divider, which outputs MFS to the ODUkP\_AP. The ODUkP\_AP also includes Insert PT, Insert RES, and a block stating 'ODUk OH is set to all-0's, except PM STAT = 001'.
-
-Figure 14-39 – ODUkP/RSn-a\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 14.3.6.2 ODUkP to RSn bit synchronous mapping adaptation source function (ODUkP/RSn-b\_A\_So)
-
-The ODUkP/RSn-b\_A\_So function creates the ODUk signal from a clock, derived from the incoming RSn\_CI clock. It bit synchronously maps the STM-N ( $N = 4^{(k+1)}$ ) client signal from the RSn\_CP into the payload of the OPUk, adds OPUk overhead (PT, JC, RES) and default ODUk overhead.
-
-The information flow and processing of the ODUkP/RSn-b\_A\_So function is defined with reference to Figures 14-40 and 14-41.
-
-#### Symbol
-
-
-
-Symbol diagram for the ODUkP/RSn-b\_A\_So function. It shows an input RSn\_CP entering a trapezoidal block labeled 'ODUkP/RSn-b'. Above the input arrow, 'n = 16, 64, 256' is specified. Below the output arrow, 'k = 1, 2, 3' is specified. The output is labeled ODUkP\_AP. At the bottom right of the block, the reference 'G.798(17)\_F14-40' is shown.
-
-Figure 14-40 – ODUkP/RSn-b\_A\_So function
-
-#### Interfaces
-
-Table 14-16 – ODUkP/RSn-b\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|-----------------------------------------|------------------------------------------------------------------------------|
-| RSn_CP: RSn_CI_CK RSn_CI_D | ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS |
-
-#### Processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate the ODUk (AI\_CK) clock by multiplying the incoming RSn clock (CI\_CK) by a factor of $239/(239 - k)$ . The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCb clock), apply.
-
-NOTE 1 – The ODUk clock is $"239/(239 - k) \times 4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}"$ .
-
-NOTE 2 – The incoming RSn CK (CI\_CK) signal has to be within the range of $4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ .
-
-During failure conditions of the incoming RS clock signal (CI\_CK), the ODUk clock shall stay within its limits as defined in [ITU-T G.8251] and no frame phase discontinuity shall be introduced.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process. The data signal RSn\_CI shall be written into the buffer under the control of the associated input clock. The data shall be read out of the buffer and written onto the D and PJO bytes in the OPUk frame under the control of the ODUk clock, as defined in clause 17.2 of [ITU-T G.709].
-
-Neither negative nor positive justification is to be performed. No data shall be written onto the NJO byte and data shall always be written onto the PJO byte.
-
-**Buffer size:** In the presence of jitter as specified by [ITU-T G.825] and a frequency within the range $4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ , this mapping process shall not introduce any errors.
-
-Following a step in frequency of the $4^{(k-1)} \times 2\,488\,320\text{ kbit/s}$ CI\_CK signal (for example, due to the removal of AIS (RS-AIS)), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of one second has been proposed.
-
-**JC bits:** The function shall generate the fixed justification control (JC) bits "00" according to clause 17.2 of [ITU-T G.709]. It shall insert the justification control bits in the appropriate JC bit positions in the JC bytes.
-
-**RES:** The function shall insert all-ZEROs into the RES bytes and reserved bits within the JC bytes.
-
-**PT:** The function shall insert code "0000 0011" into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-
-
-Figure 14-41 – ODUkP/RSn-b\_A\_So processes. This block diagram illustrates the mapping process from client signals to ODUkP overhead. At the top, CI\_D and CI\_CK signals enter an 'Elastic store' block. CI\_CK also feeds into an 'ODU clock generator locked to CBRx clock (ODCb)'. The Elastic store has 'WR' (write) and 'RD' (read) ports. The 'RD' port output goes to an 'AI\_D' output and also through a series of blocks: 'Justification control' (receiving 'JC' input), 'Insert PT', 'Insert RES', and 'ODUk OH is set to all-0's, except PM STAT = 001'. The 'Justification control' block also receives 'CK' from the ODU clock generator and sends 'JC' to the Elastic store. The 'ODU clock generator' also feeds into a frequency divider '1/122368', which outputs 'FS'. 'FS' feeds into another frequency divider '1/256', which outputs 'MFS'. 'CK', 'FS', and 'MFS' all feed into the 'AI\_CK', 'AI\_FS', and 'AI\_MFS' outputs respectively. The entire process is labeled 'RSn\_CP' at the top and 'ODUkP\_AP' at the bottom. A reference code 'G.798(17)-Amd.3(21)\_F14-41' is in the bottom right.
-
-**Figure 14-41 – ODUkP/RSn-b\_A\_So processes**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.6.3 ODUkP to RSn adaptation sink function (ODUkP/RSn\_A\_Sk)
-
-The ODUkP/RSn\_A\_Sk recovers the STM-N ( $N = 4^{(k+1)}$ ) client signal from the OPUk payload using the justification control information (JC overhead) to determine if a data or stuff byte is present within
-
-the NJO and PJO bytes. It extracts the OPUk overhead (PT, JC, RES) and monitors the reception of the correct payload type. It detects generic AIS and recovers the frame start of the STM-N signal. Under signal fail condition, a logical all-ONEs (AIS) signal shall be generated.
-
-The information flow and processing of the ODUkP/RSn\_A\_Sk function is defined with reference to Figures 14-42 and 14-43.
-
-### Symbol
-
-
-
-Figure 14-42: ODUkP/RSn\_A\_Sk function symbol diagram. A trapezoidal block labeled 'ODUkP/RSn' has an input 'ODUkP\_AP' at the bottom with parameter 'k = 1, 2, 3'. It has an output 'RSn\_CP' at the top with parameter 'n = 16, 64, 256'. It also has an output 'ODUkP/RSn\_A\_Sk\_MP' on the left side. The diagram is labeled 'G.798(17)\_F14-42'.
-
-Figure 14-42 – ODUkP/RSn\_A\_Sk function
-
-### Interfaces
-
-Table 14-17 – ODUkP/RSn\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS ODUkP_AI_TSF | RSn_CP: RSn_CI_CK RSn_CI_D RSn_CI_FS RSn_CI_SSF ODUkP/RSn_A_Sk_MP: ODUkP/RSn_A_Sk_MI_cPLM ODUkP/RSn_A_Sk_MI_AcPT ODUkP/RSn_A_Sk_MI_cLOF |
-
-### Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**JC:** The function shall interpret the justification control information in the JC byte as defined in clause 17.2 of [ITU-T G.709] in order to determine the justification action (positive, negative, none) for the current frame. RES bits in the JC shall be ignored.
-
-**Demapping, CBR clock generation:** The function shall provide an elastic store (buffer) process. The CBR data shall be written into the buffer from the D, PJO and NJO bytes in the OPUk frame. The information extraction of the PJO and NJO bytes shall be under the control of the justification control information. The RSn data (CI\_D) shall be read out of the buffer under the control of the RSn clock (CI\_CK).
-
-Upon a positive justification action, the writing of one data byte into the buffer shall be cancelled once. No RSn data shall be read from the PJO and NJO bytes. Upon a negative justification action, one extra data byte shall be written into the buffer once. RSn data shall be read from the PJO and NJO bytes. If neither a positive nor a negative justification action is to be performed, RSn data shall be read from the PJO byte and no RSn data shall be read from the NJO byte.
-
-**Smoothing and jitter limiting process:** The function shall provide for a clock smoothing and elastic store (buffer) process. The $4^{(k-1)} \times 2\,488\,320$ kbit/s ( $k = 1, 2, 3$ ) data signal shall be written into the buffer under the control of the associated (gapped) input clock (with a frequency accuracy within $\pm 20$ ppm). The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) $4^{(k-1)} \times 2\,488\,320$ kbit/s $\pm 20$ ppm clock (the rate is determined by the 2.5 Gbit/s, 10 Gbit/s, 40 Gbit/s signal at the input of the remote ODUkP/RSn\_A\_So).
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-**Buffer size:** In the presence of jitter as specified by [ITU-T G.825] and a frequency within the range $4^{(k-1)} \times 2\,488\,320$ kbit/s $\pm 20$ ppm, this justification process shall not introduce any errors.
-
-Following a step in frequency of the $4^{(k-1)} \times 2\,488\,320$ kbit/s signal transported by the ODUkP\_AI (for example due to removal of generic-AIS signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of one second has been proposed.
-
-**Frame alignment:** The function shall perform frame alignment on the STM-N frame as described in clause 8.2.1 of [ITU-T G.783].
-
-
-
-Figure 14-43 – ODUkP/RSn\_A\_Sk processes. This block diagram illustrates the internal functions of the ODUkP/RSn\_A\_Sk processing block. The block is divided into two main sections: RSn\_CP (top) and ODUkP\_AP (bottom). Inputs include CI\_FS, CI\_D, CI\_CK, and CI\_SSF. The RSn\_CP section contains an AIS insertion block, an AIS generator, a frame alignment block, and a generic AIS supervision block. The ODUkP\_AP section contains an elastic store (with WR and RD ports), a CBR clock generator (ODCp), a defect correlations block, an extract JC block, an extract PT block, and a PT process block. Various signals like dLOF, dPLM, dAIS, AI\_TSF, and aAIS are shown as outputs or internal signals. The diagram is labeled G.798(17)\_F14-43.
-
-**Figure 14-43 – ODUkP/RSn\_A\_Sk processes**
-
-## Defects
-
-The function shall detect dPLM, dAIS and dLOF.
-
-**dPLM:** See clause 6.2.4.1. The expected payload types are "0000 0010" (asynchronous CBRx mapping) and "0000 0011" (bit synchronous CBRx mapping) as defined in [ITU-T G.709].
-
-**dAIS:** See clause 6.2.6.3.3.
-
-**dLOF:** See clause 6.2.5.1 of [ITU-T G.783].
-
-### Consequent actions
-
-aSSF $\leftarrow$ AI\_TSF or dPLM or dAIS or dLOF
-
-aAIS $\leftarrow$ AI\_TSF or dPLM or dAIS or dLOF
-
-On declaration of aAIS, the function shall output a logical all-ONEs (AIS) signal within two STM-N frames. On clearing aAIS, the logical all-ONEs (AIS) signal shall be removed within two STM-N frames, with normal data being output. The AIS clock shall be independent from the incoming clock. The AIS clock has to be within $4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ . The jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-### Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cLOF $\leftarrow$ dLOF and (not dAIS) and (not dPLM) and (not AI\_TSF)
-
-NOTE – dAIS is not reported as fault cause as it is a secondary alarm and will result in aSSF, which is reported as cSSF fault cause in the RSn\_TT\_Sk that directly follows this function.
-
-**Performance monitoring:** None.
-
-## 14.3.7 ODU0P to client adaptation function (ODU0P/CBRx\_A) ( $0 \leq x \leq 1.25\text{G}$ )
-
-### 14.3.7.1 ODU0P to CBRx adaptation source function (ODU0P/CBRx\_A\_So) ( $0 \leq x \leq 1.25\text{G}$ )
-
-The ODU0P to CBRx adaptation source function is specified in clause 14.3.8.1 with $k=0$ .
-
-### 14.3.7.2 ODU0P to CBRx adaptation sink function (ODU0P/CBRx\_A\_Sk) ( $0 \leq x \leq 1.25\text{G}$ )
-
-The ODU0P to CBRx adaptation sink function is specified in clause 14.3.8.2 with $k=0$ .
-
-## 14.3.8 ODUkP to CBRx adaptation function using GMP (ODUkP/CBRx-g\_A)
-
-The ODUkP/CBRx-g\_A performs the adaptation between the ODUkP layer adapted information and the characteristic information of the indicated client signals transported as constant bit-rate streams.
-
-Parameter $x$ defines the bit rate or bit-rate range of the CBR signal. The values of $x$ are given in Table 14-18 as described in clause 17.7 of [ITU-T G.709].
-
-**Table 14-18 – Defined values for $x$ for ODUk clients**
-
-| $x$ | PT | Maximum buffer hysteresis (bytes) | Bit rate (kbit/s) | Clock tolerance (ppm) | ODUk type |
-|----------------------|------|-----------------------------------|-------------------|-----------------------|-----------|
-| 155M | 0x0A | 1 | 155 520 | 20 | 0 |
-| 622M | 0x0B | 1 | 622 080 | 20 | 0 |
-| ETC1000X (Note 1) | 0x07 | 1 | 1 171 875 | 100 | 0 |
-| FC-100 | 0x0C | 1 | 1 062 500 | 100 | 0 |
-| SBCON/ESCON | 0x1A | 1 | 200 000 | 200 | 0 |
-| DVB-ASI | 0x1B | 1 | 270 000 | 100 | 0 |
-
-**Table 14-18 – Defined values for x for ODUk clients**
-
-| x | PT | Maximum buffer hysteresis (bytes) | Bit rate (kbit/s) | Clock tolerance (ppm) | ODUk type |
-|---------------------|------|-----------------------------------|-------------------|-----------------------|-----------|
-| SDI | 0x15 | 1 | 270 000 | ± 2.8 | 0 |
-| FC-200 | 0x0D | 2 | 2 125 000 | ± 100 | 1 |
-| 1.5G SDI | 0x16 | 2 | 1 485 000/1.001 | ± 10 | 1 |
-| 1.5G SDI | 0x17 | 2 | 1 485 000 | ± 10 | 1 |
-| ETC40GR (Note 2) | 0x07 | 32 | 40 117 188 | ± 100 | 3 |
-| ETC100GR | 0x07 | 80 | 103 125 000 | ± 100 | 4 |
-
-NOTE 1 – The original bit rate and clock range of the associated 1000BASE-X Ethernet client signal is 1 250 000 kbit/s ± 100 ppm. The bit rate and clock range in this table are for the CBR stream that is produced after mapping the client signal into a GFP-T.
-
-NOTE 2 – The original bit rate and clock range of the associated 40GBASE-R Ethernet client signal is 41 250 000 kbit/s ± 100 ppm. The bit rate and clock range in this table are for the CBR stream that is produced after transcoding.
-
-The ODUkP/CBRx-g\_A source function always provides asynchronous mapping.
-
-#### 14.3.8.1 ODUkP to CBRx adaptation source function using GMP (ODUkP/CBRx-g\_A\_So)
-
-The ODUkP/CBRx-g\_A\_So function creates the ODUk signal from a free-running clock. It asynchronously maps the constant bit-rate client signal from the CBRx\_CP into the payload area of the OPUk using a sigma-delta based data and stuff distribution as defined in Annex D of [ITU-T G.709], and adds OPUk overhead (RES, PT, JC) and default ODUk overhead.
-
-The information flow of the ODUkP/CBRx-g\_A\_So function is defined with reference to Figure 14-44 and the processing of the ODUkP/CBRx-g\_A\_So function is defined with reference to Figures 14-44 and 14-45.
-
-#### Symbol
-
-
-
-```
-
-graph TD
- CBRx_CP[CBRx_CP] --> ODUkP_CBRx_g[ODUkP/CBRx-g]
- ODUkP_CBRx_g --> ODUkP_CBRx_g_A_So_MP[ODUkP/CBRx-g_A_So_MP]
- ODUkP_CBRx_g --> ODUkP_AP[ODUkP_AP]
- style ODUkP_CBRx_g shape:trapezoid
- style ODUkP_CBRx_g_A_So_MP fill:none,stroke:none
- style ODUkP_AP fill:none,stroke:none
- subgraph G.798(17)_F14-44
- end
-
-```
-
-Diagram of the ODUkP/CBRx-g\_A\_So function symbol. It shows an input CBRx\_CP entering a trapezoidal block labeled ODUkP/CBRx-g. The block has an output ODUkP/CBRx-g\_A\_So\_MP pointing to the left and a downward output ODUkP\_AP. The diagram is labeled G.798(17)\_F14-44.
-
-**Figure 14-44 – ODUkP/CBRx-g\_A\_So function**
-
-## Interfaces
-
-**Table 14-19 – ODUkP/CBRx-g\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|
-| CBRx_CP: CBRx_CI_CK CBRx_CI_D CBRx_CI_SSF | ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS ODUkP/CBRx-g_A_So_MP: ODUkP/CBRx-g_A_So_MI_pN_PCS_BIP (Note 1) |
-| NOTE 1 – Only applicable for ETC40GR and ETC100GR clients. | |
-
-## Processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODUk clock (ODUkP\_AI\_CK) as given in Table 7-2 of [ITU-T G.709] from a free-running oscillator. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process. The data signal shall be written into the buffer under the control of the associated input clock. The data shall be read out of the buffer and written onto the D bytes in the OPUk frame under the control of the sigma/delta based data/stuff distribution algorithm as defined in Annex D of [ITU-T G.709].
-
-As per Annex D of [ITU-T G.709], the amount of data, in n-bit words, to be transmitted in the subsequent frame is determined. The $C_m(t)$ value encoded in JC1/2/3 represents the number of m-bit words that are mapped into the subsequent frame and the $\sum C_{nD}(t)$ value encoded in the JC4/5/6 represents in, n-bit words, the accumulated remainder that could not be transmitted.
-
-For ETC1000X clients, the data signal shall be synchronously transcoded into a GFP-T signal in which each GFP-T frame contains one superblock and in which the 65B\_PAD character and GFP Idle frames are not used, under the control of the associated input clock, and then the synchronous GFP-T like signal shall be written into the buffer under a synchronous input clock. This sub-process is depicted in Figure 14-47.
-
-For ETC40GR clients, the data signal ETC40GR\_CI\_D shall be synchronously transcoded under the control of the associated input clock, and then the synchronously transcoded signal shall be written into the buffer under a synchronous input clock as defined in clause 17.7.4.1 of [ITU-T G.709].
-
-**Buffer size:** In the presence of jitter as described for each client in [ITU-T G.8251], this mapping process shall not introduce any errors. The maximum buffer hysteresis, and therefore the maximum phase error introduced, shall be as listed in Table 14-18.
-
-**Lane processing:** For multilane Ethernet interfaces, lane reordering is needed. The process is depicted in Figure 14-46 and described in clauses 17.7.4.1 and 17.7.5.1 of [ITU-T G.709].
-
-### Incoming PCS BIP monitoring and mask insertion and OTN section BIP generation
-
-- For ETC40GR multilane interfaces, an error mask is to be calculated over the PCSL BIP of the incoming signal. For the OTN section, a BIP has to be calculated on the descrambled
-
-datastream and after error control block insertion. The "OTN BIP" and the error mask will be transmitted together in the transcoded lane marker. See Annex E of [ITU-T G.709] and Figure 14-46a.
-
-- For ETC100GR multilane interfaces, the incoming PCSL BIP will be transparently transmitted, errored 66B blocks will not be replaced with error control blocks and the scrambled PCS data will be passed through transparently. See Annex E of [ITU-T G.709] and Figure 14-46b.
-
-**PCS BIP monitoring:** The BIP violations of the PCS lanes shall be counted and presented to the management interface.
-
-**JC bytes:** The function shall insert the justification control (JC) bytes. As specified in clause 17.7 of [ITU-T G.709], $C_m(t)$ and $\sum C_{nD}(t)$ values are determined every frame as specified in Annex D of [ITU-T G.709] and inserted into the JC1/2/3 and JC4/5/6 OPU overhead locations respectively. The value of n for the $\sum C_{nD}$ justification information is specified in clause 17.7 of [ITU-T G.709].
-
-**PT:** The function shall insert the appropriate payload type code into the PT byte position of the PSI overhead, as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**Client signal fail:** The function shall signal the failure of the client signal to the far end by use of the Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**RES:** The function shall insert all-ZEROs into the RES bytes and reserved bits within the JC bytes.
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-
-
-Functional block diagram of ODUkP/CBRx-g\_A\_So. The diagram shows a large grey box representing the function. Inputs from the top include CI\_D, CI\_CK, and CI\_SSF (part of CBRx\_CP). CI\_D and CI\_CK enter a 'Lane processing and transcoding (client specific)' block. This block outputs data (D) and clock (CK) to an 'Elastic store'. The Elastic store has a circular buffer representation with WR (write) and RD (read) pointers. The WR and RD signals are fed into a 'Sigma-delta based justification control and JC generation' block. This block also receives a JC signal. A 'Free-running clock generator (ODCa)' provides a clock (CK) which is divided by 122368 to produce FS, and then by 256 to produce MFS. These timing signals (CK, FS, MFS) are output at the bottom as AI\_CK, AI\_FS, and AI\_MFS. The data from the elastic store is processed through several insertion blocks: 'Insert PT', 'Insert CSF' (which also takes CI\_SSF), 'Insert RES', and 'ODUk OH is set to all-0's, except PM STAT = 001'. The final data output is AI\_D at the bottom. A management interface signal MI\_pN\_PCS\_BIP is shown on the right side. The entire block is labeled ODUkP/CBRx-g\_A\_So\_MP on the right and ODUkP\_AP at the bottom. Reference G.798(17)\_F14-45 is noted.
-
-**Figure 14-45 – ODUkP/CBRx-g\_A\_So function**
-
-
-
-Figure 14-46a: Lane processing and timing transparent process of the ODUkP/CBRx-g\_A\_So function for ETC40GR clients. The diagram shows a signal flow starting from an ETC40GR interface (CI) through a 'Lane reordering' block. The output of 'Lane reordering' is split: one path goes to 'Extract PCSL BIP', which then connects to 'Descramble'. The 'Descramble' output goes to a large dashed box labeled 'Transcode Ctrl/Data' and 'Timing transparent transcode'. Inside this box, the signal goes through 'Transcode lane marker + Insert PCS error mask and OTN PCSL BIP', which then connects to 'Scramble Non-flag/parity'. The 'Scramble Non-flag/parity' output is split into 'Data' and 'Clock' (CI). Another path from 'Lane reordering' goes to 'Calculate PCSL BIP', which then connects to a summation node (+). The output of the summation node is labeled 'PCS error mask' and goes to the 'Transcode lane marker' block. A third path from 'Lane reordering' goes to 'Monitor PCSL BIP'.
-
-G.798(17)-Amd.1(18)\_F14-46a
-
-**Figure 14-46a – Lane processing and timing transparent process of the ODUkP/CBRx-g\_A\_So function for ETC40GR clients**
-
-
-
-Figure 14-46b: Lane processing process of the ODUkP/CBRx-g\_A\_So function for ETC100GR clients. The diagram shows a signal flow starting from an ETC100GR interface (CI) through a 'Lane reordering' block. The output of 'Lane reordering' is split: one path goes directly to 'Data' and 'Clock' (CI). Another path goes to 'Extract PCSL BIP', which then connects to 'Calculate PCSL BIP'. The 'Calculate PCSL BIP' output goes to a summation node (+). The output of the summation node goes to 'Monitor PCSL BIP'.
-
-G.798(17)-Amd.1(18)\_F14-46b
-
-**Figure 14-46b – Lane processing process of the ODUkP/CBRx-g\_A\_So function for ETC100GR clients**
-
-***ETC1000X -specific GFP-T source processes***
-
-See clause 8.5.4.2.1 of [ITU-T G.806]. 65B\_PAD insertion is disabled (RAdisable=true). GFP pFCS generation is disabled (FCSenable=false). The UPI value for transparent gigabit Ethernet shall be inserted (Table 6-3 of [ITU-T G.704]). The Ethernet codeword information is inserted into the client payload information field of the GFP-T frames according to clause 8 of [ITU-T G.704].
-
-***Common GFP-T source processes***
-
-See clause 8.5.3.1 of [ITU-T G.806]. GFP channel multiplexing is not supported (CMuxActive=false).
-
-
-
-```
-
-graph TD
- ETC1000X_CP[ETC1000X_CP] -- CI_CK --> ETC1000X_Specific[ETC1000X specific GFP-T processes]
- ETC1000X_CP -- CI_D --> ETC1000X_Specific
- RAdisable_true[RAdisable=true] -.-> ETC1000X_Specific
- ETC1000X_Specific -- GFP_FS --> Common[Common GFP-T processes]
- ETC1000X_Specific -- GFP_Frame --> Common
- Common -- CK --> CK_out[CK to buffer]
- Common -- Data --> Data_out[Data]
-
-```
-
-G.798(17)-Amd.1(18)\_F14-47
-
-Timing transparent transcoding process for ETC1000X clients diagram
-
-**Figure 14-47 – Timing transparent transcoding process for ETC1000X clients**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:**
-
-The function shall perform the following performance monitoring primitives processing (see clause 6.5 of [ITU-T G.806]). The performance monitoring primitives shall be reported to the EMF.
-
-$$pN\_PCS\_BIP \leftarrow \sum nPCSL\_BIP$$
-
-**14.3.8.2 ODUkP to CBRx adaptation sink function using GMP (ODUkP/CBRx-g\_A\_Sk)**
-
-The ODUkP/CBRx-g\_A\_Sk recovers the constant bit-rate client signal from the OPUk payload using the justification control information (JC overhead) of the previous frame to determine the number of client data byte blocks that were sent during the current frame, and the location of these data byte blocks within the payload area from the sigma-delta justification. It extracts the OPUk overhead (PT, JC, and RES) and monitors the reception of the correct payload type. Under signal fail condition, generic replacement signals, as given in Table 14-20, shall be inserted.
-
-**Table 14-20 – Defined replacement signals and jitter specification references for ODUk clients**
-
-| Client | PT | Replacement signal | Bit rate | Jitter standard |
-|----------|------|--------------------|--------------------------------|-----------------------------------------|
-| 155M | 0x0A | Generic-AIS | 155 520 kbit/s $\pm$ 20 ppm | [ITU-T G.825] |
-| 622M | 0x0B | Generic-AIS | 622 080 kbit/s $\pm$ 20 ppm | [ITU-T G.825] |
-| ETC1000X | 0x07 | Link fault | 1 250 000 kbit/s $\pm$ 100 ppm | [IEEE 802.3] |
-| FC-100 | 0x0C | NOS | 1 062 500 kbit/s $\pm$ 100 ppm | [b-ANSI INCITS 352] |
-| SBCON | 0x1A | NOS | 200 000 kbits $\pm$ 200 ppm | [b-ANSI INCITS 296] |
-| DVB-ASI | 0x1B | Generic-AIS | 270 000 kbit/s $\pm$ 100 ppm | [ETSI TR 101 891], [ETSI TR 101 290] |
-| FC-200 | 0x0D | NOS | 2 125 000 (kbit/s) $\pm$ 100 | [b-ANSI INCITS 352] |
-| ETC40GR | 0x07 | Local fault | 40 117 188 (kbit/s) $\pm$ 100 | [IEEE 802.3] |
-| ETC100GR | 0x07 | Local fault | 103 125 000 (kbit/s) $\pm$ 100 | [IEEE 802.3] |
-
-The information flow and processing of the ODUkP/CBRx-g\_A\_Sk function is defined with reference to Figures 14-48, 14-49, 14-50 and 14-51.
-
-### Symbol
-
-
-
-Figure 14-48: ODUkP/CBRx-g\_A\_Sk function symbol diagram. A trapezoidal block labeled 'ODUkP/CBRx-g' has an input arrow from the bottom labeled 'ODUkP\_AP' and an output arrow pointing left labeled 'ODUkP/CBRx-g\_A\_Sk\_MP'. A reference label 'G.798(17)\_F14-48' is at the bottom right.
-
-Figure 14-48 – ODUkP/CBRx-g\_A\_Sk function
-
-### Interfaces
-
-Table 14-21 – ODUkP/CBRx-g\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS ODUkP_AI_TSF | CBRx_CP: CBRx_CI_CK CBRx_CI_D CBRx_CI_SSF ODUkP/CBRx-g_A_Sk_MP: ODUkP/CBRx-g_A_Sk_MI_cPLM ODUkP/CBRx-g_A_Sk_MI_AcPT ODUkP/CBRx-g_A_Sk_MI_cCSF ODUkP/CBRx-g_A_Sk_MI_cLCS (Note) ODUkP/CBRx-g_A_Sk_MI_pN_PCS_BIP (Note) |
-| NOTE – Only applicable for ETC40GR and ETC100GR clients. | |
-
-### Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**JC:** The function shall interpret the justification control information in the JC bytes, as defined in clause 17.7 of [ITU-T G.709], from the current multiframe in order to determine the number of payload bytes for the following multiframe. RES bits in the JC shall be ignored. The function shall extract the $\sum C_{nD}(t)$ with n as per clause 17.7 of [ITU-T G.709].
-
-**Lane processing and transcoding:** For multilane Ethernet interfaces, lane processing and transcoding (transcoding for ETC40GR) is needed. The process is depicted in Figures 14-50 and 14-51, and described in clauses 17.7.4.1 and 17.7.5.1 of [ITU-T G.709].
-
-### BIP correction:
-
-- For ETC40GR multilane interfaces, the PCSL BIP error mask is to be extracted and an OTN BIP error mask is calculated before scrambling. Both error masks are used for calculating an adjusted PCSL BIP which will be inserted. See Annex E of [ITU-T G.709] and Figure 14-50.
-- For ETC100GR multilane interfaces, the incoming PCSL BIP will be transparently transmitted. See Annex E of [ITU-T G.709] and Figure 14-51.
-
-**Client signal fail:** The function shall extract the CSF signal indicating the failure of the client signal out of Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**Demapping, CBR clock generation:** The function shall provide an elastic store (buffer) process. The CBR data shall be written into the buffer from the data-bearing D bytes in the OPUk frames. The information extraction of the payload area shall be under the control of the sigma-delta based data/stuff distribution. The CBRx data (CI\_D) shall be read out of the buffer under the control of the CBRx clock (CI\_CK).
-
-The locations of the data and stuff bytes are determined based on the count value sent in the JC bytes of the immediately preceding frame, as defined in clause 17.7 of [ITU-T G.709]. When a stuff m-bit block is encountered in the payload area, the writing of one m-bit block into the buffer shall be cancelled once. For the GMP justification process, refer to Annex D of [ITU-T G.709].
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The data signal shall be written into the buffer under the control of the associated (gapped) input clock. The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) clock at a rate and frequency accuracy determined by the client signal rate at the input of the remote ODUkP/CBRx\_a\_So. The clock generation process for reading the data out of the buffer shall use the $\sum C_{nD}$ justification information with n as per clause 17.7 of [ITU-T G.709].
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-*Buffer size:* In the presence of jitter as specified for client signals in the standards given in Table 14-20, this justification process shall not introduce any errors.
-
-Following a step in frequency of the signal transported by the ODUkP\_AI (for example, due to reception of CBRx\_CI from a new CBR\_TT\_So at the far end or removal of the client replacement signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of 1 second has been proposed.
-
-NOTE 1 – Equipment developed prior to Edition 4.0 of this Recommendation will not support the CSF processing.
-
-
-
-The diagram illustrates the internal architecture of the ODUkP/CBRx-g\_A\_Sk processes. It is divided into two main functional areas: **CBRx\_CP** (top) and **ODUkP\_AP** (bottom).
-
-- CBRx\_CP (CBRx Clock Processing):**
- - Inputs: **CI\_D**, **CI\_CK**, and **CI\_SSF**.
- - Internal components: **Replacement signal insertion**, **Replacement signal generator**, **Lane processing and transcoding (if needed)**, **Elastic store** (with **WR** and **RD** ports), **CBR clock generator (ODCp)**, **Consequent actions**, and **Defect correlations**.
- - Outputs: **dLCS**, **MI\_pN\_PCS\_BIP**, **MI\_cPLM**, **MI\_cCSF**, and **MI\_cLCS**.
- - Control signals: **aAIS**, **dPLM**, **AI\_TSF**, and **CK**.
-- ODUkP\_AP (ODUkP Adaptation Processing):**
- - Inputs: **AI\_D**, **AI\_MFS**, **AI\_CK**, **AI\_FS**, and **AI\_TSF**.
- - Internal components: **Justification action**, **Sigma-delta justification control**, **Extract JC**, **Extract CSF**, **Extract PT**, and **PT process**.
- - Outputs: **dCSF**, **dPLM**, and **MI\_AcPT**.
-
-External interface labels on the right side of the diagram include **ODUkP/CBRx-g\_A\_Sk\_MP**.
-
-Reference code: G.798(17)\_F14-49
-
-Block diagram of ODUkP/CBRx-g\_A\_Sk processes showing internal components and external interfaces.
-
-Figure 14-49 – ODUkP/CBRx-g\_A\_Sk processes
-
-
-
-Figure 14-50: Lane processing and timing transparent process of the ODUkP/CBRx-g\_A\_Sk function for ETC40GR clients. The diagram shows a sequence of processing blocks: 1027B block sync (receiving Data, Clock, and CI; outputting dLCS), Descramble Non-flag/parity, Timing transparent trans-decode, and Lane distribution. The output of Lane distribution goes to an ETC40GR interface via an Insert PCSL BIP block, with a CI input. A feedback loop from the Lane distribution output goes to an Extract PCS error Mask and OTN PCSL BIP block. This block outputs an OTN PCSL BIP and a PCS error mask. The OTN PCSL BIP is added (+) to the output of a Calculate expected OTN PCSL BIP block. The result is an OTN BIP error mask, which is added (+) to the output of a Calculate PCSL BIP block. The final result is sent to a Monitor PCSL BIP block. A Scramble Non SH block is also shown, receiving input from the Extract PCS error Mask and OTN PCSL BIP block and outputting to the Insert PCSL BIP block.
-
-G.798(17)-Amd.1(18)\_F14-50
-
-**Figure 14-50 – Lane processing and timing transparent process of the ODUkP/CBRx-g\_A\_Sk function for ETC40GR clients**
-
-
-
-Figure 14-51: Lane processing process of the ODUkP/CBRx-g\_A\_Sk function for ETC100GR clients. The diagram shows a sequence of processing blocks: 66B block sync (receiving Data, Clock, and CI; outputting dLCS), and Lane distribution. The output of Lane distribution goes to an ETC100GR interface via a CI input. A feedback loop from the Lane distribution output goes to an Extract PCSL BIP block. This block outputs to a Calculate PCSL BIP block. The output of the Calculate PCSL BIP block is added (+) to the output of the Extract PCSL BIP block. The final result is sent to a Monitor PCSL BIP block.
-
-G.798(17)-Amd.1(18)\_F14-51
-
-**Figure 14-51 – Lane processing process of the ODUkP/CBRx-g\_A\_Sk function for ETC100GR clients**
-
-For ETC1000X clients, the function shall also provide a GFP-T extraction process. This synchronous transcoding sub-process is depicted in Figure 14-52.
-
-
-
-The diagram illustrates the timing transparent transcoding process for ETC1000X clients. It shows three main components: ETC1000X\_CP at the top, ETC1000X specific GFP-T processes in the middle, and Common GFP-T processes at the bottom. Inputs to the Common GFP-T processes are CK from buffer and Data. The Common GFP-T processes output GFP\_FS and GFP\_Frame to the ETC1000X specific GFP-T processes. The ETC1000X specific GFP-T processes output CI\_CK and CI\_D to the ETC1000X\_CP.
-
-```
-
-graph TD
- subgraph ETC1000X_CP
- CI_CK[CI_CK]
- CI_D[CI_D]
- end
- ETC1000X_specific[ETC1000X specific GFP-T processes]
- Common[Common GFP-T processes]
- CK[CK from buffer]
- Data[Data]
-
- CK --> Common
- Data --> Common
- Common -- GFP_FS --> ETC1000X_specific
- Common -- GFP_Frame --> ETC1000X_specific
- ETC1000X_specific -- CI_CK --> CI_CK
- ETC1000X_specific -- CI_D --> CI_D
-
-```
-
-Timing transparent transcoding process for ETC1000X clients diagram
-
-G.798(17)-Amd.1(18)\_F14-52
-
-**Figure 14-52 – Timing transparent transcoding process for ETC1000X clients**
-
-NOTE 2 – No detection and alarming as well as PM of the GFP related defects and indicators is required as the GFP process is used as mapping only and due to the 1/1 relation to the ODU0 all errors are visible on the ODU layer already. This means a detection of the related GFP defined indicators does not add any additional information about the cause of degradation.
-
-#### ***ETC1000X-specific GFP-T sink processes***
-
-See clause 8.5.4.2.2 of [ITU-T G.806]. GFP pFCS checking and GFP p\_FCSError are not supported (FCSdiscard=false). The UPI value for transparent gigabit Ethernet shall be expected (Table 6-3 of [ITU-T G.704]). GFP performance monitoring (p\_FDis, p\_CRC16Error) is not supported. The Ethernet codeword information is extracted from the client payload information field of the GFP-T frames according to clause 8 of [ITU-T G.704].
-
-#### ***Common GFP-T sink processes***
-
-See clause 8.5.3.2 of [ITU-T G.806]. GFP channel multiplexing is not supported (CMuxActive=false). GFP performance monitoring (p\_FDis) is not supported.
-
-#### **Defects**
-
-The function shall detect dPLM.
-
-**dPLM:** See clause 6.2.4.1. The expected payload types are defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**dCSF:** See clause 6.2.10.
-
-**dLCS:** For ETC100GR clients, see clause 6.2.5.7.1; for ETC40GR clients, see clause 6.2.5.7.2; for other clients dLCS shall be assumed false.
-
-#### **Consequent actions**
-
-aSSF ← AI\_TSF or dPLM or dLCS
-
-aAIS ← AI\_TSF or dPLM or dLCS
-
-NOTE – The state of the determination process of the Cm and its contribution to AIS consequent action are for further study.
-
-On declaration of aAIS, the function shall output a client replacement signal as defined in Table 14-20 within two frames. On clearing aAIS, the client replacement signal shall be removed within two frames and normal data being output. The client replacement signal clock start shall be independent from the incoming clock. The client replacement signal clock has to be within the frequency, jitter, and wander tolerance specifications of the associated client signal.
-
-## Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cCSF $\leftarrow$ dCSF and (not dPLM) and (not AI\_TSF)
-
-cLCS $\leftarrow$ dLCS and (not dCSF) and (not dPLM) and (not AI\_TSF)
-
-## Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing (see clause 6.5 of [ITU-T G.806]). The performance monitoring primitives shall be reported to the EMF.
-
-pN\_PCS\_BIP $\leftarrow \sum n$ PCSL\_BIP
-
-### 14.3.9 ODUkP to ODU[i]j adaptation function (ODUkP/ODU[i]j\_A)
-
-The ODUkP to ODU[i]j adaptation functions perform the adaptation between the ODUkP ( $k = 1, 2, 3$ ) layer adapted information and the characteristic information of ODUj ( $j = 0, 1, 2; j < k$ ) [and ODUi ( $i = 1; i < j$ )] signals.
-
-![Diagram of the ODUkP/ODU[i]j_A function. A central trapezoidal block is labeled 'ODUkP/ODU[i]j'. Above it, multiple tributary ports are shown, labeled 'Tributary ports' and numbered 1, 2, ..., n, 1, 2, ..., m. These ports are associated with 'ODUj_CPs' and '[ODUi_CPs]'. Arrows point from these ports down into the central block. Below the central block, an arrow points down to a label 'ODUkP_AP'. To the right of the central block, the text 'G.798(17)_F14-53' is present.](625663deae3d429f79ae6d2781986e2c_img.jpg)
-
-Diagram of the ODUkP/ODU[i]j\_A function. A central trapezoidal block is labeled 'ODUkP/ODU[i]j'. Above it, multiple tributary ports are shown, labeled 'Tributary ports' and numbered 1, 2, ..., n, 1, 2, ..., m. These ports are associated with 'ODUj\_CPs' and '[ODUi\_CPs]'. Arrows point from these ports down into the central block. Below the central block, an arrow points down to a label 'ODUkP\_AP'. To the right of the central block, the text 'G.798(17)\_F14-53' is present.
-
-Figure 14-53 – ODUkP/ODU[i]j\_A function
-
-Five different types of functions are possible:
-
-- the ODU1P/ODU0\_A performs multiplexing/demultiplexing of 2 ODU0 into an ODU1;
-- the ODU2P/ODU1\_A performs multiplexing/demultiplexing of 4 ODU1 into an ODU2;
-- the ODU3P/ODU1\_A performs multiplexing/demultiplexing of 16 ODU1 into an ODU3;
-- the ODU3P/ODU2\_A performs multiplexing/demultiplexing of 4 ODU2 into an ODU3;
-- the ODU3P/ODU12\_A performs multiplexing/demultiplexing of ODU1 and ODU2 into an ODU3.
-
-The maximum number of tributary ports depends on the specific function type as listed in Table 14-22. Note that for the ODU3P/ODU12\_A function, only a subset of the tributary signals can be active and transported via the ODU3 at one time. The number of active ODU1 ports plus four times the number of active ODU2 ports is limited to 16. The multiplex structure identifier (MSI) defines the configuration in this case.
-
-Note that the ODU3P/ODU12\_A function can interwork with the ODU2P/ODU1\_A, ODU3P/ODU1\_A and ODU3P/ODU2\_A functions as it supports all related multiplex structures.
-
-**Table 14-22 – ODUkP/ODU[i]j\_A tributary ports**
-
-| Function type | n ports | m ports |
-|---------------|---------|---------|
-| ODU1P/ODU0_A | 2 ODU0 | – |
-| ODU2P/ODU1_A | 4 ODU1 | – |
-| ODU3P/ODU1_A | 16 ODU1 | – |
-| ODU3P/ODU2_A | 4 ODU2 | – |
-| ODU3P/ODU12_A | 16 ODU1 | 4 ODU2 |
-
-#### 14.3.9.1 ODUkP to ODU[i]j adaptation source function (ODUkP/ODU[i]j\_A\_So)
-
-The ODUkP/ODU[i]j\_A\_So function creates the ODUk signal from a free-running clock. It asynchronously maps the $n \times \text{ODUj}$ [and $m \times \text{ODUi}$ ] client signal from the ODUj\_ [and ODUi] CPs into ODTUjk[/ik] including justification control (JC) information. The ODTUjk[/ik] are multiplexed into the payload area of the OPUk. It adds OPUk overhead (RES, PT, MSI) and default ODUk overhead. It provides access to ODUk PM APS overhead. It provides access to the ODUj [/i] APS overhead.
-
-The information flow and processing of the ODUkP/ODU[i]j\_A\_So function is defined with reference to Figures 14-54, 14-55 and 14-56.
-
-##### Symbol
-
-![Diagram of the ODUkP/ODU[i]j_A_So function symbol. The symbol is a trapezoid labeled 'ODUkP/ODU[i]j'. Inputs from the top are tributary ports labeled 1, 2, ..., n for 'ODUj_CPs' and 1, 2, ..., m for '[ODUi_CPs]'. Inputs from the left are 'ODUkP/ODU[i]j_A_So_MP' and 'ODUk_PP'. The output at the bottom is 'ODUkP_AP'. A reference label 'G.798(17)_F14-54' is present near the bottom right of the symbol.](4df70569f4cc27db5625fc75bdff68cf_img.jpg)
-
-Diagram of the ODUkP/ODU[i]j\_A\_So function symbol. The symbol is a trapezoid labeled 'ODUkP/ODU[i]j'. Inputs from the top are tributary ports labeled 1, 2, ..., n for 'ODUj\_CPs' and 1, 2, ..., m for '[ODUi\_CPs]'. Inputs from the left are 'ODUkP/ODU[i]j\_A\_So\_MP' and 'ODUk\_PP'. The output at the bottom is 'ODUkP\_AP'. A reference label 'G.798(17)\_F14-54' is present near the bottom right of the symbol.
-
-**Figure 14-54 – ODUkP/ODU[i]j\_A\_So function**
-
-## Interfaces
-
-**Table 14-23 – ODUkP/ODU[i]j\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
-| n × ODUj_CP: ODUj_CI_CK ODUj_CI_D ODUj_CI_FS ODUj_CI_MFS ODUj_CI_APS m × ODUi_CP: (Note) ODUi_CI_CK ODUi_CI_D ODUi_CI_FS ODUi_CI_MFS ODUi_CI_APS ODUk_PP: ODUk_PI_APS ODUkP/ODU[i]j_A_So_MP: ODU3P/ODU12_A_So_MI_TxMSI (Note) ODUkP/ODU[i]j_A_So_MI_AdminState [1..(n+m)] ODUkP/ODU[i]j_A_So_MI_APS_EN [1..(n+m)] ODUkP/ODU[i]j_A_So_MI_APS_LVL[1..(n+m)] | ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS |
-| NOTE – For ODU3P/ODU12_A_So only. | |
-
-## Processes
-
-The processes associated with the ODUkP/ODU[i]j\_A\_So function are specific processes for each ODUj[i]/\_CP and common processes for the compound (multiplexed) signal as depicted in Figures 14-55 and 14-56.
-
-![Block diagram of ODUkP/ODU[i]j_A_So processes showing client-specific processes, a multiplexer, and a multiplex structure with various control signals and a clock generator.](d9862ac8473902e7dfe441c5e88d47d8_img.jpg)
-
-The diagram illustrates the ODUkP/ODU[i]j\_A\_So processes. At the top, multiple client-specific processes are shown, labeled ODUj\_CP[1] ... ODUj\_CP[n] and ODUi\_CP[1] ... ODUi\_CP[m]. Each process has input signals CL\_MFS, CL\_FS, CL\_CK, CL\_D, and CL\_APS, and output signals MI\_AdminState, MI\_APS\_EN, and MI\_APS\_LVL. These processes are connected to a central Multiplexer. The Multiplexer outputs signals MFS, FS, CK, D, and TS# to the Multiplex structure. The Multiplex structure contains several components: Multiplex structure identifier (MSI), Payload type (PT), RES, ODUk PM APS, and a block for ODUk OH (set to all-0's, except PM STAT = 001). The MSI is connected to MI\_TxMSI. The ODUk PM APS is connected to PI\_APS. The ODUk OH block is connected to a clock generator (ODCa) via a 1/256 divider and a 1/122368 divider. The clock generator outputs AI\_D, AI\_MFS, AI\_FS, and AI\_CK signals. The entire system is labeled ODUkP/ODU[i]j\_A\_So\_MP on the right. The bottom section is labeled ODUk\_PP and the overall output section is labeled ODUkP\_AP. The diagram is identified by the code G.798(17)\_F14-55.
-
-Block diagram of ODUkP/ODU[i]j\_A\_So processes showing client-specific processes, a multiplexer, and a multiplex structure with various control signals and a clock generator.
-
-Figure 14-55 – ODUkP/ODU[i]j\_A\_So processes
-
-![Figure 14-56 – ODUkP/ODUj[i]j_A_So client specific processes. This block diagram illustrates the internal processing of client signals within an ODUj_CP[p] container. The container is divided into two main sections: CI_MFS, CI_FS, CI_CK on the left, and CI_D, CI_APS on the right. The CI_MFS, CI_FS, and CI_CK signals are inputs to an 'ODU-LCK generator'. The output of the generator is split into 'LCK' and 'Normal' paths, which are then combined by a 'Select normal/LCK' block. This block also receives an external 'MI_AdminState[p]' signal. The output of the 'Select normal/LCK' block is fed into the 'FAS/MFAS insertion' block. The 'CI_D' signal is also input to the 'FAS/MFAS insertion' block. The output of the 'FAS/MFAS insertion' block is split into 'CK' and 'D' paths. The 'CK' path is input to an 'Elastic store' (represented by a circular buffer icon). The 'D' path is input to the 'Elastic store' via a 'WR' (write) signal. The 'Elastic store' has 'WR' and 'RD' (read) signals. The 'RD' signal is input to a 'Justification control and JC generation' block. This block also receives 'JC' (justification control) signals from the 'Elastic store'. The output of the 'Justification control and JC generation' block is fed into the 'ODUj APS' block. The 'ODUj APS' block also receives external 'MI_APS_EN[p]' and 'MI_APS_LVL[p]' signals. The output of the 'ODUj APS' block is fed into the 'CI_APS' signal. The entire process is labeled 'G.798(17)_F14-56'.](bd0fe87fe6e236bc4778830b4f26d9e2_img.jpg)
-
-Figure 14-56 – ODUkP/ODUj[i]j\_A\_So client specific processes. This block diagram illustrates the internal processing of client signals within an ODUj\_CP[p] container. The container is divided into two main sections: CI\_MFS, CI\_FS, CI\_CK on the left, and CI\_D, CI\_APS on the right. The CI\_MFS, CI\_FS, and CI\_CK signals are inputs to an 'ODU-LCK generator'. The output of the generator is split into 'LCK' and 'Normal' paths, which are then combined by a 'Select normal/LCK' block. This block also receives an external 'MI\_AdminState[p]' signal. The output of the 'Select normal/LCK' block is fed into the 'FAS/MFAS insertion' block. The 'CI\_D' signal is also input to the 'FAS/MFAS insertion' block. The output of the 'FAS/MFAS insertion' block is split into 'CK' and 'D' paths. The 'CK' path is input to an 'Elastic store' (represented by a circular buffer icon). The 'D' path is input to the 'Elastic store' via a 'WR' (write) signal. The 'Elastic store' has 'WR' and 'RD' (read) signals. The 'RD' signal is input to a 'Justification control and JC generation' block. This block also receives 'JC' (justification control) signals from the 'Elastic store'. The output of the 'Justification control and JC generation' block is fed into the 'ODUj APS' block. The 'ODUj APS' block also receives external 'MI\_APS\_EN[p]' and 'MI\_APS\_LVL[p]' signals. The output of the 'ODUj APS' block is fed into the 'CI\_APS' signal. The entire process is labeled 'G.798(17)\_F14-56'.
-
-**Figure 14-56 – ODUkP/ODUj[i]j\_A\_So client specific processes**
-
-### Specific processes
-
-The specific processes are performed independently for each ODUj [and ODUi] client signal that is multiplexed into the ODUk. The specific processes perform the mapping of the ODUj[i] into an ODTUjk[ik].
-
-**FAS/MFAS insertion:** The function shall extend the ODUj[i] with the frame alignment overhead (FAS and MFAS) in row one, bytes 1 to 7, as described in clause 15.6.2 of [ITU-T G.709]. Bytes 8 to 14 of row one are set to all-ZEROs.
-
-**Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process for the ODUj[i] client signal. The data signal ODUj[i]\_CI shall be written into the buffer under the control of the associated input clock. The data shall be read out of the buffer and written onto the D, NJO, PJO1 and PJO2 bytes of the selected ODTUjk[ik] frame under the control of the ODUk clock and justification decisions, as defined in clause 19.5 of [ITU-T G.709].
-
-A justification decision shall be performed every second frame for the ODTU01, every fourth frame for the ODTU12, every sixteenth frame for the ODTU13 and four times every sixteen frames for the ODTU23. Each justification decision results in a corresponding double positive, positive, negative or no justification action. Upon a double positive justification action, the reading of two data bytes out of the buffer shall be cancelled once. No ODUj[i] data shall be written onto the PJO2, PJO1 or NJO bytes. Upon a positive justification action, the reading of one data byte out of the buffer shall be cancelled once. No ODUj[i] data shall be written onto the PJO1 or NJO bytes and data shall be written onto the PJO2 byte. Upon a negative justification action, one extra data byte shall be read once out of the buffer. ODUj[i] data shall be written onto the PJO2, PJO1 and NJO bytes. If no justification action is to be performed, ODUj[i] data shall be written onto the PJO2 and PJO1 bytes.
-
-and no ODUj[i] data shall be written onto the NJO byte. The ODUk frame that contains the PJO2, PJO1 and NJO bytes depends on the time slot(s) of the ODTUjk[i/k].
-
-The justification decisions determine the phase error introduced by the function.
-
-*Buffer size:* In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the range $239/(239 - j[i]) \times 4^{(j[i]-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ ( $j = 1, 2; i = 1$ ) and $1\,244\,160\text{ kHz} \pm 20\text{ ppm}$ ( $j = 0$ ), this mapping process shall not introduce any errors. The maximum buffer hysteresis, and therefore the maximum phase error introduced, shall be as listed in Table 14-24.
-
-**Table 14-24 – Maximum buffer hysteresis**
-
-| Mapping | Maximum buffer hysteresis |
-|---------------------|---------------------------|
-| ODU0 → ODU1 | 1 byte |
-| ODU1 → ODU2 or ODU3 | 2 bytes |
-| ODU2 → ODU3 | 8 bytes |
-
-**JC:** The function shall generate the justification control bits based on the justification decision (double positive, positive, negative, none) according to the specification in clause 19.5 of [ITU-T G.709]. It shall insert the justification control bits in bit 7 and 8 of all three JC bytes of the frame in which the justification is performed. The remaining (RES) bits of the JC byte shall be set to all-ZEROs. The ODUk frame that contains the JC bytes depends on the time slot(s) of the ODTUjk[i/k].
-
-**ODUj[i] server layer APS:** When APS is enabled for tributary signal #p (MI\_APS\_EN[p] is true), the function shall insert the CI\_APS value into the ODU APS/PCC[MI\_APS\_LVL[p]] field, which is available once per eight ODU frames when the value of the MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL[p].
-
-**NOTE –** The ODUj[i] server layer section APS information may be present in the case where the ODUj[i] signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may be inserted in this adaptation source function. ODUj[i] SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-**ODU-LCK:** The function shall generate the ODU-LCK signal as defined in clause 16.5 of [ITU-T G.709]. The clock, frame start and multiframe start are defined by the incoming ODUk signal.
-
-**Selector:** The normal signal for a tributary signal #p may be replaced by the ODU-LCK signal. ODU-LCK signal is selected if the MI\_AdminState [p] is LOCKED.
-
-### Common processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODUk clock (ODUKP\_AI\_CK) of $239/(239 - k) \times 4^{(k-1)} \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ from a free-running oscillator. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Multiplexing:** The function assigns the individual ODTUjk[i/k] to specific time slots of the OPUk payload area as defined by the multiplex structure (see clauses 19.3 and 19.4.1 of [ITU-T G.709]).
-
-**MSI:** The function shall insert the TxMSI into the MSI byte positions of the PSI overhead as defined in clause 19.4 of [ITU-T G.709]. The TxMSI value, and as such the multiplex structure, is either fixed or configurable via MI\_TxMSI as shown in Table 14-25.
-
-**PT:** The function shall insert code "0010 0000" (ODU multiplex structure) into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**ODUk PM APS:** The function shall insert the PI\_APS value into the ODUk path APS/PCC field, which is available once per eight ODUk frames when MFAS bits 6, 7, 8 are 000.
-
-**RES:** The function shall insert all-ZEROs into the RES bytes.
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-**Table 14-25 – Multiplex structure configuration and TxMSI values**
-
-| Function | Multiplex structure | TxMSI value for fixed multiplex structure |
-|---------------|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU1P/ODU0_A | Fixed 2 ODU0 → ODU1 | 11 000000 11 000001 |
-| ODU2P/ODU1_A | Fixed 4 ODU1 → ODU2 | 00 000000 00 000001 00 000010 00 000011 |
-| ODU3P/ODU1_A | Fixed 16 ODU1 → ODU3 | 00 000000 00 000001 00 000010 00 000011 00 000100 00 000101 00 000110 00 000111 00 001000 00 001001 00 001010 00 001011 00 001100 00 001101 00 001110 00 001111 |
-| ODU3P/ODU2_A | Fixed 4 ODU2 → ODU3 | 01 000000 01 000001 01 000010 01 000011 01 000000 01 000001 01 000010 01 000011 01 000000 01 000001 01 000010 01 000011 01 000000 01 000001 01 000010 01 000011 |
-| ODU3P/ODU12_A | Configured via MI_TxMSI | – |
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.9.2 ODUkP to ODU[i]j adaptation sink function (ODUkP/ODU[i]j\_A\_Sk)
-
-The ODUkP/ODU[i]j\_A\_Sk function extracts the OPUk overhead (PT, MSI, RES) and monitors the reception of the correct payload type. It demultiplexes the individual ODTUjk[/ik] from the payload area of the OPUk and recovers the $n \times \text{ODUj}$ [and $m \times \text{ODUi}$ ] client signals using the justification control information (JC overhead). It determines the frame and multiframe structure of the ODUj[/i]. It provides access to ODUk PM APS overhead. It provides access to the ODUj [/i] APS overhead.
-
-The information flow and processing of the ODUkP/ODU[i]j\_A\_Sk function is defined with reference to Figures 14-57, 14-58 and 14-59.
-
-#### Symbol
-
-![Diagram of the ODUkP/ODU[i]j_A_Sk function symbol. The symbol is a trapezoid labeled 'ODUkP/ODU[i]j'. On the left, two input arrows are labeled 'ODUkP/ODU[i]j_A_Sk_MP' and 'ODUk_PP'. On the right, an input arrow is labeled 'ODUkP_AP'. Above the symbol, multiple output arrows represent tributary ports. These are grouped into two sets: 'ODUj_CPs' with ports 1, 2, ..., n; and '[ODUi_CPs]' with ports 1, 2, ..., m. The label 'Tributary port' is above the first two ports. A reference label 'G.798(17)_F14-57' is at the bottom right of the symbol.](e579f4085bfb7766ce76d03036f97e36_img.jpg)
-
-```
-
-graph TD
- subgraph Symbol
- F[ODUkP/ODU[i]j]
- end
- MP([ODUkP/ODU[i]j_A_Sk_MP]) <--> F
- PP([ODUk_PP]) --> F
- AP([ODUkP_AP]) --> F
- F --> CPj1([ODUj_CPs 1])
- F --> CPj2([ODUj_CPs 2])
- F --> CPjn([ODUj_CPs n])
- F --> CPi1([ODUi_CPs 1])
- F --> CPi2([ODUi_CPs 2])
- F --> CPim([ODUi_CPs m])
-
-```
-
-Diagram of the ODUkP/ODU[i]j\_A\_Sk function symbol. The symbol is a trapezoid labeled 'ODUkP/ODU[i]j'. On the left, two input arrows are labeled 'ODUkP/ODU[i]j\_A\_Sk\_MP' and 'ODUk\_PP'. On the right, an input arrow is labeled 'ODUkP\_AP'. Above the symbol, multiple output arrows represent tributary ports. These are grouped into two sets: 'ODUj\_CPs' with ports 1, 2, ..., n; and '[ODUi\_CPs]' with ports 1, 2, ..., m. The label 'Tributary port' is above the first two ports. A reference label 'G.798(17)\_F14-57' is at the bottom right of the symbol.
-
-**Figure 14-57 – ODUkP/ODU[i]j\_A\_Sk function**
-
-## Interfaces
-
-Table 14-26 – ODUkP/ODU[i]j\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS ODUkP_AI_TSF ODUkP_AI_TSD ODUkP/ODU[i]j_A_Sk_MP: ODU3P/ODU12_A_Sk_MI_ExMSI[1..(n+m)] ODUkP/ODU[i]j_A_Sk_MI_AdminState[1..(n+m)] ODUkP/ODU[i]j_A_Sk_MI_APS_EN[1..(n+m)] ODUkP/ODU[i]j_A_Sk_MI_APS_LVL[1..(n+m)] | n × ODUj_CP: ODUj_CI_CK ODUj_CI_D ODUj_CI_FS ODUj_CI_MFS ODUj_CI_SSF ODUj_CI_SSD ODUj_CI_APS m × ODUi_CP: (Note) ODUi_CI_CK ODUi_CI_D ODUi_CI_FS ODUi_CI_MFS ODUi_CI_SSF ODUj_CI_SSD ODUi_CI_APS ODUk_PP: ODUk_PI_APS ODUk_PI_TSF ODUk_PI_TSD ODUkP/ODU[i]j_A_Sk_MP: ODUkP/ODU[i]j_A_Sk_MI_cPLM ODUkP/ODU[i]j_A_Sk_MI_cMSIM[1..(n+m)] ODUkP/ODU[i]j_A_Sk_MI_AcPT ODUkP/ODU[i]j_A_Sk_MI_AcMSI[1..(n+m)] ODUkP/ODU[i]j_A_Sk_MI_cLOFLOM [1..(n+m)] |
-| NOTE – For ODU3P/ODU12_A_Sk only. | |
-
-## Processes
-
-The processes associated with the ODUkP/ODU[i]j\_A\_Sk function are specific processes for each ODUj[i]j\_CP and common processes for the compound (multiplexed) signal as depicted in Figures 14-58 and 14-59.
-
-![Figure 14-58 – ODUkP/ODU[i]j_A_Sk processes. This block diagram illustrates the internal architecture of an ODUkP/ODU[i]j_A_Sk sink adaptation function. It shows the demultiplexing of an ODUk signal into multiple ODUj signals. The process includes MSI (Multiplex Structure Identifier) extraction and processing, PT (Payload Type) extraction and processing, and ODUk Path Monitoring APS (Automatic Protection Switching) processing. Defect correlations are performed to generate management information (MI) signals. The diagram details the flow of various signals including Adaptation Information (AI), Characteristic Information (CI), and Management Information (MI).](d5de4c1d2f0b71aa339b6b2118268fbb_img.jpg)
-
-```
-
-graph TD
- subgraph ODUkP_AP
- AI_MFS --> MFS_bus
- AI_FS --> FS_bus
- AI_CK --> CK_bus
- AI_D --> D_bus
- AI_TSF --> TSF_bus
- AI_TSD --> TSD_bus
- end
-
- MFS_bus --> Demux
- FS_bus --> Demux
- CK_bus --> Demux
- D_bus --> Demux
-
- D_bus --> Extract_MSI
- Extract_MSI --> MSI_proc
- MSI_proc --> MI_ExMSI
- MSI_proc --> MI_AcMSI
- MSI_proc --> dMSIM_bus
-
- D_bus --> Extract_PT
- Extract_PT --> PT_proc
- PT_proc --> MI_AcPT
- PT_proc --> dPLM_signal
-
- D_bus --> ODUk_PM_APS
- ODUk_PM_APS --> PI_APS
- TSF_bus --> PI_TSF
- TSD_bus --> PI_TSD
-
- Demux --> Client_Proc_1
- Demux --> Client_Proc_N
-
- dMSIM_bus --> Client_Proc_1
- dMSIM_bus --> Client_Proc_N
- dPLM_signal --> Client_Proc_1
- dPLM_signal --> Client_Proc_N
- TSF_bus --> Client_Proc_1
- TSF_bus --> Client_Proc_N
- TSD_bus --> Client_Proc_1
- TSD_bus --> Client_Proc_N
-
- subgraph Defect_Correlations
- AI_TSF_in --> DC
- dPLM_in --> DC
- DC --> MI_PLM
- DC --> MI_cMSIM
- DC --> MI_cLOFLOM
- end
-
- Client_Proc_1 --> CI_ODUj_1
- Client_Proc_N --> CI_ODUj_N
-
-```
-
-The diagram illustrates the internal architecture of an ODUkP/ODU[i]j\_A\_Sk process. At the top, multiple client-specific processes are shown, each with inputs like AI\_TSD, AI\_TSF, and dPLM, and outputs like dMSIM[1], MI\_cMSIM[1], MI\_cLOFLOM[1], MI\_AdminState[1], MI\_APS\_EN[1], and MI\_APS\_LVL[1]. These are connected to a central Demultiplexer. Below the demultiplexer, there are three parallel processing paths: 'Extract MSI' leading to an 'MSI process' which outputs MI\_ExMSI[1..(n+m)] and MI\_AcMSI[1..(n+m)]; 'Extract PT' leading to a 'PT process' which outputs MI\_AcPT; and 'ODUk PM APS' which outputs PI\_APS, PI\_TSF, and PI\_TSD. A 'Defect correlations' block receives AI\_TSF and dPLM inputs and outputs MI\_PLM, MI\_cMSIM[1..(n+m)], MI\_cLOFLOM[1..(n+m)], MI\_AdminState[1..(n+m)], MI\_APS\_EN[1..(n+m)], and MI\_APS\_LVL[1..(n+m)]. The bottom section shows the ODUkP\_AP layer with inputs AI\_MFS, AI\_FS, AI\_CK, AI\_D, AI\_TSF, and AI\_TSD. The entire diagram is labeled with G.798(17)\_F14-58 and includes various signal labels like CI\_MFS, CI\_FS, CI\_CK, CI\_D, CI\_APS, CI\_SSF, and CI\_SSD at the top.
-
-Figure 14-58 – ODUkP/ODU[i]j\_A\_Sk processes. This block diagram illustrates the internal architecture of an ODUkP/ODU[i]j\_A\_Sk sink adaptation function. It shows the demultiplexing of an ODUk signal into multiple ODUj signals. The process includes MSI (Multiplex Structure Identifier) extraction and processing, PT (Payload Type) extraction and processing, and ODUk Path Monitoring APS (Automatic Protection Switching) processing. Defect correlations are performed to generate management information (MI) signals. The diagram details the flow of various signals including Adaptation Information (AI), Characteristic Information (CI), and Management Information (MI).
-
-**Figure 14-58 – ODUkP/ODU[i]j\_A\_Sk processes**
-
-![Figure 14-59 – ODUkP/ODU[i]j_A_Sk client specific processes. This block diagram illustrates the internal processes of an ODU client. At the top, a bracket labeled 'ODUj_CP[p]' groups four output signals: 'CI_MFS', 'CI_FS', 'CI_CK', and 'CI_D'. Below this, a 'Select normal/AIS/LCK' block contains 'Normal', 'AIS', and 'LCK' options, with 'Generate AIS' and 'Generate LCK' blocks feeding into it. To the right, 'Consequent actions' blocks receive 'aAIS', 'aSSF', and 'aSSD' signals and output 'AI_TSD' and 'AI_TSF' signals. Further right, 'dPLM', 'dMSIM[p]', and 'dLOFLOM' signals feed into 'Defect correlations', which output 'dPLM', 'dMSIM[p]', 'MI_cMSIM[p]', and 'MI_cLOFLOM[p]' signals. The central part of the diagram shows 'Frame/multi-frame alignment' receiving 'MFS', 'FS', 'CK', and 'D' signals. Below it, an 'Elastic store' block with 'RD' (read) and 'WR' (write) ports is connected to 'Clock generation (ODCp)'. 'Justification control' and 'Extract JC' blocks are also connected to the 'Elastic store'. At the bottom, input signals 'MFS', 'FS', 'CK', 'D', 'TS#', and 'Active' are shown. Various management interfaces are labeled on the right, such as 'MI_AdminState[p]', 'MI_APS_EN[p]', 'MI_APS_LVL[p]', and 'AI_TSF'. A small label 'G.798(17)_F14-59' is at the bottom right of the diagram area.](0fdef87ff1fd322c626d1ff8df725749_img.jpg)
-
-Figure 14-59 – ODUkP/ODU[i]j\_A\_Sk client specific processes. This block diagram illustrates the internal processes of an ODU client. At the top, a bracket labeled 'ODUj\_CP[p]' groups four output signals: 'CI\_MFS', 'CI\_FS', 'CI\_CK', and 'CI\_D'. Below this, a 'Select normal/AIS/LCK' block contains 'Normal', 'AIS', and 'LCK' options, with 'Generate AIS' and 'Generate LCK' blocks feeding into it. To the right, 'Consequent actions' blocks receive 'aAIS', 'aSSF', and 'aSSD' signals and output 'AI\_TSD' and 'AI\_TSF' signals. Further right, 'dPLM', 'dMSIM[p]', and 'dLOFLOM' signals feed into 'Defect correlations', which output 'dPLM', 'dMSIM[p]', 'MI\_cMSIM[p]', and 'MI\_cLOFLOM[p]' signals. The central part of the diagram shows 'Frame/multi-frame alignment' receiving 'MFS', 'FS', 'CK', and 'D' signals. Below it, an 'Elastic store' block with 'RD' (read) and 'WR' (write) ports is connected to 'Clock generation (ODCp)'. 'Justification control' and 'Extract JC' blocks are also connected to the 'Elastic store'. At the bottom, input signals 'MFS', 'FS', 'CK', 'D', 'TS#', and 'Active' are shown. Various management interfaces are labeled on the right, such as 'MI\_AdminState[p]', 'MI\_APS\_EN[p]', 'MI\_APS\_LVL[p]', and 'AI\_TSF'. A small label 'G.798(17)\_F14-59' is at the bottom right of the diagram area.
-
-**Figure 14-59 – ODUkP/ODU[i]j\_A\_Sk client specific processes**
-
-### Common processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**MSI:** The function shall extract the MSI from the PSI overhead as defined in clause 8.7.2.1. The accepted MSI for a tributary signal #p (AcMSI[p]) is available at the MP (MI\_AcMSI[p]). The multiplex structure is defined by ExMSI[p], which is either fixed or is configurable via MI\_ExMSI[p] as shown in Table 14-27.
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**ODUk PM APS:** The function shall extract the information from the ODUk path APS/PCC field, which is available once per eight ODUk frames when MFAS bits 6, 7, 8 are 000 and apply this to the PI\_APS.
-
-**Demultiplexing:** The function activates the ODTUjk[/ik] and assigns the time slots of the ODUk payload area to the individual ODTUjk[/ik] as defined by the multiplex structure (see clauses 19.3 and 19.4.1 of [ITU-T G.709]).
-
-**Table 14-27 – Multiplex structure configuration and ExMSI values**
-
-| Function | Multiplex structure | ExMSI value for fixed multiplex structure |
-|---------------|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU1P/ODU0_A | Fixed 2 ODU0 → ODU1 | 11 000000 11 000001 |
-| ODU2P/ODU1_A | Fixed 4 ODU1 → ODU2 | 00 000000 00 000001 00 000010 00 000011 |
-| ODU3P/ODU1_A | Fixed 16 ODU1 → ODU3 | 00 000000 00 000001 00 000010 00 000011 00 000100 00 000101 00 000110 00 000111 00 001000 00 001001 00 001010 00 001011 00 001100 00 001101 00 001110 00 001111 |
-| ODU3P/ODU2_A | Fixed 4 ODU2 → ODU3 | 01 000000 01 000001 01 000010 01 000011 01 000000 01 000001 01 000010 01 000011 01 000000 01 000001 01 000010 01 000011 01 000000 01 000001 01 000010 01 000011 |
-| ODU3P/ODU12_A | Configured via MI_ | – |
-
-### Specific processes
-
-The specific processes are performed independently for each ODUj [and ODUi] client signal that is multiplexed into the ODUk. The specific processes recover the ODUj[/i] from the ODTUjk[/ik].
-
-**JC:** The function shall interpret the justification control information in bits 7 and 8 of the JC bytes as defined in clause 19.5 of [ITU-T G.709] in order to determine the justification action (double positive, positive, negative, none) for the current frame. A two out of three majority decision is used. RES bits
-
-in the JC bytes shall be ignored. The ODUk frame that contains the JC bytes depends on the time slot(s) of the ODTUjk[/ik].
-
-**Demapping, CBR clock generation:** The function shall provide an elastic store (buffer) process. The ODUj[/i] data shall be written into the buffer from the D, NJO, PJO1 and PJO2 bytes in the ODTUjk[/ik] frame. The information extraction of the PJO2, PJO1 and NJO bytes shall be under the control of the justification control information. The ODUj[/i] data (CI\_D) shall be read out of the buffer under the control of the ODUj[/i] clock (CI\_CK).
-
-Upon a double positive justification action, the writing of two data bytes into the buffer shall be cancelled once. No ODUj[/i] data shall be read from the PJO2, PJO1 or NJO bytes. Upon a positive justification action, the writing of one data byte into the buffer shall be cancelled once. No ODUj[/i] data shall be read from the PJO1 or NJO bytes and data shall be read from the PJO2 byte. Upon a negative justification action, one extra data byte shall be written into the buffer once. ODUj[/i] data shall be read from the PJO2, PJO1 and NJO bytes. If no justification action is to be performed, ODUj[/i] data shall be read from the PJO2 and PJO1 bytes and no ODUj[/i] data shall be read from the NJO bytes. The ODUk frame that contains the PJO2, PJO1 and NJO bytes depends on the time slot(s) of the ODTUjk[/ik].
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The $239/(239 - j[i]) \times 4^{(j[i]-1)} \times 2\ 488\ 320$ kbit/s (j = 1, 2; i = 1) and 1 244 160 kHz ± 20 ppm (j = 0) data signal shall be written into the buffer under the control of the associated (gapped) input clock (with a frequency accuracy within ± 20 ppm). The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) $239/(239 - j[i]) \times 4^{(j[i]-1)} \times 2\ 488\ 320$ kbit/s ± 20 ppm (j = 1, 2; i = 1) and 1 244 160 kHz ± 20 ppm (j = 0) clock (the rate is determined by the ODUj[/i] signal at the input of the remote ODUkP/ODU[i]j\_A\_So).
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-**Buffer size:** In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the range $239/(239 - j[i]) \times 4^{(j[i]-1)} \times 2\ 488\ 320$ kbit/s ± 20 ppm (j = 1, 2; i = 1) and 1 244 160 kHz ± 20 ppm (j = 0), this justification process shall not introduce any errors.
-
-Following a step in frequency of the $239/(239 - j[i]) \times 4^{(j[i]-1)} \times 2\ 488\ 320$ kbit/s (j = 1, 2; i = 1) and 1 244 160 kHz ± 20 ppm (j = 0) signal transported (for example, due to reception of ODUj[/i]\_CI from a new ODUj[/i]\_TT\_So at the far end or removal of a ODU AIS signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of one second has been proposed.
-
-**Frame and multiframe alignment:** The function shall perform frame and multiframe alignment as described in clause 8.2.3.
-
-**ODUj[/i]-LCK, ODUj[/i]-AIS:** The function shall generate the ODUj[/i]-LCK and ODUj[/i]-AIS signals as defined in [ITU-T G.709]. The clock, frame start and multiframes start shall be independent from the incoming clock. The clock has to be within $239/(239 - j[i]) \times 4^{(j[i]-1)} \times 2\ 488\ 320$ kHz ± 20 ppm (j = 1, 2; i = 1) and 1 244 160 kHz ± 20 ppm (j = 0). Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-**Selector:** The normal signal for a tributary signal #p may be replaced by either the ODUj[/i]-AIS or ODUj[/i]-LCK signal. ODUj[/i]-LCK is selected if the corresponding MI\_AdminState[p] signal is LOCKED. ODUj[/i]-AIS is selected if the corresponding MI\_AdminState[p] signal is not LOCKED and aAIS is true.
-
-**ODUj[i] server layer APS:** When APS is enabled for tributary signal #p (MI\_APS\_EN[p] is true), the function shall extract the information from the ODU APS/PCC[MI\_APS\_LVL[p]] field, which is available once per eight ODU frames when the value of the MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL[p], and apply the extracted information to the CI\_APS.
-
-NOTE – The ODUj[i] server layer section APS information may be present in the case where the ODUj[i] signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may have been inserted in the far-end adaptation source function. ODUj[i] SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-### Defects
-
-The function shall detect dPLM, dMSIM and dLOFLOM.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "0010 0000" (ODU multiplex structure) as defined in [ITU-T G.709].
-
-For each ODUj[i] tributary port #p:
-
-**dMSIM[p]:** See clause 6.2.9.1. dMSIM is detected per active ODUj[i].
-
-**dLOFLOM[p]:** See clause 6.2.5.3. dLOFLOM is detected per active ODUj[i].
-
-### Consequent actions
-
-$PI\_TSF \leftarrow AI\_TSF$
-
-$PI\_TSD \leftarrow AI\_TSD$
-
-For each ODUj[i] tributary port #p:
-
-$aSSF \leftarrow ((AI\_TSF \text{ or } dPLM \text{ or } dMSIM[p] \text{ or } dLOFLOM[p]) \text{ and } (\text{not } MI\_AdminState[p] = \text{LOCKED}))$
-
-$aSSD \leftarrow AI\_TSD \text{ and } (\text{not } MI\_AdminState[p] = \text{LOCKED})$
-
-$aAIS \leftarrow ((AI\_TSF \text{ or } dPLM \text{ or } dMSIM[p] \text{ or } dLOFLOM[p]) \text{ and } (\text{not } MI\_AdminState[p] = \text{LOCKED}))$
-
-On declaration of aAIS, the function shall output an all-ONEs pattern/signal within two frames. On clearing aAIS, the all-ONEs pattern/signal shall be removed within two frames, with normal data being output. The AIS clock, frame start and multiframe start shall be independent from the incoming clock, frame start and multiframe start. The AIS clock has to be within $239/(239 - j[i]) \times 4^{(i-1)} \times 2\,488\,320 \text{ kHz} \pm 20 \text{ ppm}$ ( $j = 1, 2; i = 1$ ) and $1\,244\,160 \text{ kHz} \pm 20 \text{ ppm}$ ( $j = 0$ ). Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-### Defect correlations
-
-$cPLM \leftarrow dPLM \text{ and } (\text{not } AI\_TSF)$
-
-For each ODUj[i] tributary port #p:
-
-$cMSIM[p] \leftarrow dMSIM[p] \text{ and } (\text{not } dPLM) \text{ and } (\text{not } AI\_TSF)$
-
-$cLOFLOM[p] \leftarrow dLOFLOM[p] \text{ and } (\text{not } dPLM) \text{ and } (\text{not } AI\_TSF)$
-
-**Performance monitoring:** None.
-
-### 14.3.10 ODUkP to ODUj payload type 21 adaptation function (ODUkP/ODUj-21\_A)
-
-The ODUkP to ODUj payload type 21 adaptation functions perform the adaptation between the ODUkP ( $k = 2, 3, 4, 25u, 25, 50u, 50$ ) layer adapted information and the characteristic information of ODUj ( $j = 0, 1, 2, 2e, 3, \text{flex}$ ) signals.
-
-
-
-Diagram of the ODUkP/ODUj-21\_A function. A central trapezoidal block labeled 'ODUkP/ODUj-21' has multiple tributary ports at the top, labeled 'Tributary port' and 'ODUj\_CPs' with sub-labels 1, 2, ..., n. Each port has a double-headed vertical arrow. At the bottom, a single double-headed vertical arrow points to a label 'ODUkP\_AP'. The text 'G.798(17)\_F14-60' is in the bottom right corner.
-
-**Figure 14-60 – ODUkP/ODUj-21\_A function**
-
-Three different types of functions are possible:
-
-- the ODU2P/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU2 payload bit rate into an OPU2;
-- the ODU3P/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU3 payload bit rate into an OPU3;
-- the ODU4P/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU4 payload bit rate into an OPU4;
-- the ODU25(u)P/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU25(u) payload bit rate into an OPU25(u);
-- the ODU50(u)P/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU50(u) payload bit rate into an OPU50(u).
-
-Tributary ports are dynamically created and deleted under the control of management. Each tributary port is associated with one ODUj connection point on one hand, and M OPUk tributary slots on the other hand. The multiplex structure identifier (MSI) carries the configuration of tributary ports to tributary slots.
-
-**14.3.10.1 ODUkP to ODUj payload type 21 adaptation source function (ODUkP/ODUj-21\_A\_So)**
-
-The ODUkP/ODUj-21\_A\_So function creates the ODUk signal from a free-running clock. It asynchronously maps the ODUj client signal from the $n \times$ ODUj CPs into ODTUjk or ODTUk.M including justification control (JC) information. The ODTUjk and ODTUk.M are multiplexed into the tributary slots of the OPUk. It adds OPUk overhead (RES, PT, MSI, OMFI) and default ODUk overhead. It provides access to ODUk PM APS overhead. It provides access to the ODUj APS overhead.
-
-The information flow and processing of the ODUkP/ODUj-21\_A\_So function is defined with reference to Figures 14-61 and 14-62.
-
-**Symbol**
-
-
-
-Diagram of the ODUkP/ODUj-21\_A\_So function. A central trapezoidal block labeled 'ODUkP/ODUj-21' has multiple tributary ports at the top, labeled 'Tributary port' and 'ODUj\_CPs' with sub-labels 1, 2, ..., n. Each port has a double-headed vertical arrow. On the left, two double-headed horizontal arrows point to labels 'ODUkP/ODUj-21\_A\_So\_MP' and 'ODUkP\_PP'. On the right, two double-headed horizontal arrows point to labels 'ODUkP/ODUj-21\_A\_So\_RP' and 'ODUk\_TP'. At the bottom, a single double-headed vertical arrow points to a label 'ODUkP\_AP'. The text 'G.798(17)\_F14-61' is in the bottom right corner.
-
-**Figure 14-61 – ODUkP/ODUj-21\_A\_So function**
-
-## Interfaces
-
-**Table 14-28 – ODUP/ODUj-21\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| n × ODUj_CP: ODUj_CI_CK ODUj_CI_D ODUj_CI_FS ODUj_CI_MFS ODUj_CI_APS ODUk_PP: ODUk_PI_APS ODUk_TP: ODUk_TI_CK ODUP/ODUj-21_A_So_MP: ODUP/ODUj-21_A_So_MI_TxMSI ODUP/ODUj-21_A_So_MI_AutoPayloadtype (Note) ODUP/ODUj-21_A_So_MI_ODUType_Rate[1..n] ODUP/ODUj-21_A_So_MI_AdminState[1..n] ODUP/ODUj-21_A_So_MI_APS_EN[1..n] ODUP/ODUj-21_A_So_MI_APS_LVL[1..n] ODUP/ODUj-21_A_So_RP: ODUP/ODUj-21_A_So_RI_AcPT (Note) | ODUP_AP: ODUP_AI_CK ODUP_AI_D ODUP_AI_FS ODUP_AI_MFS ODUP/ODUj-21_A_So_RP: ODUP/ODUj-21_A_So_RI_TrPT (Note) ODUP/ODUj-21_A_So_MP: ODUP/ODUj-21_A_So_MI_TrPT (Note) |
-| NOTE – For ODU2P/ODUj-21_A_So and ODU3P/ODUj-21_A_So only. | |
-
-## Processes
-
-The processes associated with the ODUP/ODUj-21\_A\_So function are specific processes for each ODUj\_CP and common processes for the compound (multiplexed) signal as depicted in Figures 14-62 and 14-63.
-
-
-
-The diagram illustrates the ODUkP/ODUj-21\_A\_So processes. At the top, multiple client processes (ODUj\_CP[1] to ODUj\_CP[n]) are shown. Each client process has inputs: CL\_MFS, CL\_FS, CL\_CK, CL\_D, and CL\_APS. It has outputs: MI\_AdminState[i], MI\_APS\_EN[i], MI\_APS\_LVL[i], and MI\_ODUType\_Rate[i] (for i=1 to n). These outputs are connected to a central 'Multiplexer' block. The Multiplexer also receives inputs: OMFS, MFS, FS, CK, D, and TS# from each client process. The Multiplexer outputs a 'Multiplex structure' which is then processed by several functional blocks: 'Multiplex structure identifier (MSI)', 'Payload type (PT)', 'RES', and 'ODUk PM APS'. These blocks output signals: MI\_TxMSI, MI\_AUTOpayloadtype, MI\_TrPT, RI\_TrPT, RI\_AcPT, and PI\_APS. Below these, an 'OMFI' block (optional) receives 'for k = 4, 25(u), 50(u)' and outputs OMFS. A clock generation section includes a 'Free-running clock generator' outputting TI\_CK, an 'ODCa clock generator' outputting ODCa\_CK, and frequency dividers (1/256 and 1/122368) that produce MFS and FS signals. A block 'ODUk OH is set to all-0's, except PM STAT = 001' is also present. The bottom of the diagram shows the aggregated signals: AI\_D, AI\_MFS, AI\_FS, and AI\_CK, which are grouped as 'ODUkP\_AP'. On the right, several signal groups are bracketed: 'ODUkP/ODUj-21\_A\_So\_MP' (containing MI and RI signals), 'ODUk\_PP' (containing PI\_APS), and 'ODUk\_TP' (containing TI\_CK and ODCa\_CK). The reference 'G.798(17)-Amd.3(21)\_F14-62' is noted at the bottom right.
-
-Block diagram of ODUkP/ODUj-21\_A\_So processes showing client processes, multiplexing, and clock generation.
-
-Figure 14-62 – ODUkP/ODUj-21\_A\_So processes
-
-![Figure 14-63 – ODUkP/ODUj-21_A_So client specific processes. This block diagram illustrates the internal processing of an ODUj client signal. At the top, the ODUj_CP[p] signal is split into five inputs: CI_MFS, CI_FS, CI_CK, CI_D, and CI_APS. CI_MFS, CI_FS, and CI_CK feed into an 'ODU-LCK generator'. The generator outputs 'LCK' and 'Normal' signals to a 'Select normal/LCK' block. This block also receives 'MI_AdminState[p]'. The 'Select normal/LCK' block outputs to a 'FAS/MFAS insertion' block. CI_D and CI_APS feed into an 'ODUj APS' block, which also receives 'MI_APS_EN[p]' and 'MI_APS_LVL[p]'. The 'ODUj APS' block outputs to the 'FAS/MFAS insertion' block. The 'FAS/MFAS insertion' block outputs 'CK' and 'D' signals to an 'Elastic store' block. The 'Elastic store' block has 'WR' (write) and 'RD' (read) ports. 'WR' is controlled by 'MI_ODUType_Rate[p]' and 'JC' (justification control) signals. The 'Elastic store' block outputs 'D' and 'TS#' signals. The entire process is enclosed in a grey box labeled 'ODUj_CP[p]' at the top. Below the box, the text 'G.798(17)-Amd.3(21)_F14-63' is present.](39729be7ec83c3de8e480061966e4505_img.jpg)
-
-Figure 14-63 – ODUkP/ODUj-21\_A\_So client specific processes. This block diagram illustrates the internal processing of an ODUj client signal. At the top, the ODUj\_CP[p] signal is split into five inputs: CI\_MFS, CI\_FS, CI\_CK, CI\_D, and CI\_APS. CI\_MFS, CI\_FS, and CI\_CK feed into an 'ODU-LCK generator'. The generator outputs 'LCK' and 'Normal' signals to a 'Select normal/LCK' block. This block also receives 'MI\_AdminState[p]'. The 'Select normal/LCK' block outputs to a 'FAS/MFAS insertion' block. CI\_D and CI\_APS feed into an 'ODUj APS' block, which also receives 'MI\_APS\_EN[p]' and 'MI\_APS\_LVL[p]'. The 'ODUj APS' block outputs to the 'FAS/MFAS insertion' block. The 'FAS/MFAS insertion' block outputs 'CK' and 'D' signals to an 'Elastic store' block. The 'Elastic store' block has 'WR' (write) and 'RD' (read) ports. 'WR' is controlled by 'MI\_ODUType\_Rate[p]' and 'JC' (justification control) signals. The 'Elastic store' block outputs 'D' and 'TS#' signals. The entire process is enclosed in a grey box labeled 'ODUj\_CP[p]' at the top. Below the box, the text 'G.798(17)-Amd.3(21)\_F14-63' is present.
-
-**Figure 14-63 – ODUkP/ODUj-21\_A\_So client specific processes**
-
-### Specific processes
-
-The specific processes are performed independently for each ODUj client signal that is multiplexed into the OPUk. The specific processes perform the mapping of the ODUj into an ODTUjk or ODTUk.M.
-
-**FAS/MFAS insertion:** The function shall extend the ODUj with the frame alignment overhead (FAS and MFAS) in row one bytes 1 to 7 as described in clause 15.6.2 of [ITU-T G.709]. Bytes 8 to 14 of row one are set to all-ZEROs.
-
-**Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process for the ODUj client signal. The data signal ODUj\_CI shall be written into the buffer under the control of the associated input clock.
-
-Two justification methods, as described below, are provided, AMP (*ODTUjk*) and GMP (*ODTUk.M*). The ODU type and rate, as configured via the MI\_ODUType\_Rate[p] input for tributary port #p, determine the mapping method and in the case of GMP mapping, the base value and ranges for the parameters Cn and Cm.
-
-*ODTUjk:* The data shall be read out of the buffer and written onto the D, NJO, PJO1 and PJO2 bytes of the selected ODTUjk frame under the control of the ODUk clock and the asynchronous mapping procedure (AMP) justification decisions as defined in clause 19.5 of [ITU-T G.709].
-
-A justification decision shall be performed two times per OPUk multiframe (jk = 12, 13) and eight times per OPUk multiframe (jk = 23). Justification decisions are taken at the beginning of the OPUk frame carrying an instance of the ODTUjk justification overhead. Each justification decision results
-
-in a corresponding double positive, positive, negative or no justification action in this OPuk frame. Upon a double positive justification action, the reading of two data bytes out of the buffer shall be cancelled once. No ODUj data shall be written onto the PJO2, PJO1 or NJO bytes. Upon a positive justification action, the reading of one data byte out of the buffer shall be cancelled once. No ODUj data shall be written onto the PJO1 or NJO bytes and data shall be written onto the PJO2 byte. Upon a negative justification action, one extra data byte shall be read once out of the buffer. ODUj data shall be written onto the PJO2, PJO1 and NJO bytes. If no justification action is to be performed, ODUj data shall be written onto the PJO2 and PJO1 bytes and no ODUj data shall be written onto the NJO byte. The OPuk frame that contains the PJO2, PJO1 and NJO bytes depends on the tributary slots occupied by the ODTUjk.
-
-The justification decisions determine the phase error introduced by the function.
-
-*ODTUk.M*: The data shall be read out of the buffer and written onto groups of M successive bytes of the ODTUk.M payload area under the control of the ODUk clock and the GMP data/stuff control mechanism as defined in clause 19.6 of [ITU-T G.709].
-
-*Buffer size*: In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the range specified in Table 7-2 of [ITU-T G.709], this mapping process shall not introduce any errors. The maximum buffer hysteresis, and therefore the maximum phase error introduced, shall be as listed in Table 14-29.
-
-**Table 14-29 – Maximum buffer hysteresis**
-
-| Mapping | Maximum buffer hysteresis |
-|----------------|------------------------------------|
-| ODUj → ODTUk.M | M bytes |
-| ODUj → ODTUjk | 2 bytes (j = 1) 8 bytes (j = 2) |
-
-**ODTUjk JC**: The function shall generate the justification control bits based on the justification decision according to the specification in clause 19.5 of [ITU-T G.709]. It shall insert the justification control bits in bit 7 and 8 of all three JC bytes of the frame in which the justification is performed. The remaining (RES) bits of the JC byte shall be set to all-ZEROs. The ODUk frame that contains the JC bytes depends on the time slot(s) of the ODTUjk.
-
-**ODTUK.M JC1/JC2/JC3, JC4/JC5/JC6**: The function shall generate the GMP $C_m$ and GMP $\sum C_{nd}$ information and insert this into the JC1/JC2/JC3 and JC4/JC5/JC6 bytes, respectively, according to the specification in clause 19.6 and Annex D of [ITU-T G.709].
-
-**ODU-LCK**: The function shall generate the ODU-LCK signal as defined in clause 16.5 of [ITU-T G.709]. The clock, frame start and multiframe start are defined by the incoming ODUk signal.
-
-**ODUj server layer APS**: When APS is enabled for tributary signal #p (MI\_APS\_EN[p] is true), the function shall insert the CI\_APS value into the ODU APS/PCC[MI\_APS\_LVL[p]] field, which is available once per eight ODU frames when the value of the MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL[p].
-
-**NOTE** – The ODUj server layer section APS information may be present in the case where the ODUj signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may be inserted in this adaptation source function. ODUj SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-**Selector**: The normal signal for a tributary signal #p may be replaced by the ODU-LCK signal. The ODU-LCK signal is selected if the MI\_AdminState[p] is LOCKED.
-
-## Common processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODUk clock (ODUKP\_AI\_CK) with a frequency as listed in Table 7-2 of [ITU-T G.709] from the synchronization timing information clock input (TI\_CK) or, if the TI\_CK is absent, a free-running oscillator. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**OPU multiframe (OMFI) start signal generation for OPUk with k = 4, 25(u), 50(u):** For k = 4, 25(u), 50(u) in addition to MFAS, a dedicated OPU multiframe indicator is used for the multiplexing of LO ODUs into the OPU payload area. This multiframe structure is locked to the lsb bits of the OMFI byte, as shown in Tables 19-4, 19-5 and 19-6 of [ITU-T G.709], and to be inserted into the OPU overhead. The function shall generate an OPU multiframe and the related start signal (OMFS) dividing the frame signal sequence by the maximum number of tributary slots TSmax. The OMFI start signal may optionally be phase aligned to the ODU multiframe signal. In this case, the OMFI = 0 position is aligned with MFAS = 0 position every 1280 frame periods. See clause 19.4.4 of [ITU-T G.709].
-
-**Multiplexing:** The function assigns the individual ODTUjk or ODTUk.M to specific time slots of the OPUk payload area as defined by the multiplex structure (see clauses 19.3 and 19.4.1 of [ITU-T G.709]).
-
-**MSI:** The function shall insert the TxMSI into the MSI byte positions of the PSI overhead as defined in clauses 19.4.1.4, 19.4.1.5, 19.4.1.6 of [ITU-T G.709]. The TxMSI value, and as such the multiplex structure, is configurable via MI\_TxMSI.
-
-**PT:** The function shall insert code "0010 0001" (ODU multiplex structure supporting ODTUk.ts or ODTUk.ts and ODTUjk) into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709] for k = 4.
-
-**Autonomous payload type for k = 2, 3:** For k = 2, 3 the transmitted PT code shall default to code "0010 0001". This code must be replaced by code "0010 0000" under the control of the PT = 21-to-PT = 20 interworking process described hereafter. When MI\_AutoPayloadtype is activated, the function shall adapt a PT21 supporting port to a PT20 structure.
-
-If the corresponding adaptation sink provides the information of a PT = 20 at the RI\_AcPT, the function shall fall back to PT = 20 under the following conditions: The MI\_AutoPayloadtype is true and the HO ODU source is either not provisioned for any traffic signal structure, or the HO ODU2 source configured for one or more ODU1 signals to be mapped into TS1/TS5 and/or TS2/TS6 and/or TS3/TS7 and/or TS4/TS8, or the HO ODU3 source is configured to support one or more ODU1 signals mapped into TS1/TS17, TS2/TS18, Tsi/TS16+I and/or one or more ODU2 signals mapped into Tsa/TS16+a/TSb/TS16+b/TSc/TS16+c/TSd/TS16+16 and no other ODU type signals. In this case, the function shall insert PT20 into the PSI positions.
-
-The default value of the MI\_AutoPayloadtype activation shall be "true".
-
-In the situation where a PT 21 capable port which has been operating in the PT20 mode is taken out of service or receives PT21, the port shall subsequently fall back to a PT21 structure.
-
-NOTE 1 – Equipment developed prior to Edition 4.0 of this Recommendation may implement a different setting in respect of the default value of the MI\_AutoPayloadtype.
-
-In the case the ODU2 or ODU3 adaptation source is configured for either ODU0, or an ODUflex, or an ODU2e, or for an ODU1 in TSi/TSj with j<>4+I (for ODU2) or j<>16+I (for ODU3) then PT21
-
-is to be inserted. The transmitted PT shall be reported at the ODUkP/ODUj-21\_A\_So\_RI\_TrPT to the corresponding adaptation sink function and the ODUkP/ODUj-21\_A\_So\_MI\_TrPT.
-
-NOTE 2 – The change to PT20 or PT21 means a full adaptation to the related signal structure including the default OH byte insertion.
-
-**RES:** The function shall insert all-ZEROs into the RES bytes.
-
-**ODUk PM APS:** The function shall insert the PI\_APS value into the ODUk path APS/PCC field, which is available once per eight ODUk frames when MFAS bits 6, 7, 8 are 000.
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.10.2 ODUkP to ODUj payload type 21 adaptation sink function (ODUkP/ODUj-21\_A\_Sk)
-
-The ODUkP/ODUj-21\_A\_Sk function extracts the OPUk overhead (PT, MSI, RES and OMFI) and monitors the reception of the correct payload type. It demultiplexes the individual ODTUjk and ODTUk.M from the payload area of the OPUk and recovers the $n \times$ ODUj signals using the justification control information (JC, JC1/2/3/4/5/6 overhead). It determines the frame and multiframe structure of the ODUj. It provides access to ODUk PM APS overhead.
-
-The information flow and processing of the ODUkP/ODUj-21\_A\_Sk function is defined with reference to Figures 14-64, 14-65 and 14-66.
-
-#### Symbol
-
-
-
-The diagram shows a central trapezoidal block labeled "ODUkP/ODUj-21". To its left, two arrows point into the block: "ODUkP/ODUj-21\_A\_Sk\_MP" (top) and "ODUkP\_PP" (bottom). Below the block, an arrow points into it labeled "ODUkP\_AP". To its right, an arrow points out of the block labeled "ODUkP/ODUj-21\_A\_Sk\_RP". Above the block, multiple arrows point out of it, labeled "Tributary port 1", "2", "...", and "n". Above these arrows, the label "ODUj\_CPs" is present. A small text "G.798(17)\_F14-64" is located at the bottom right of the diagram.
-
-Diagram of the ODUkP/ODUj-21\_A\_Sk function symbol. The central block is labeled 'ODUkP/ODUj-21'. It has four input arrows: 'ODUkP/ODUj-21\_A\_Sk\_MP' from the top left, 'ODUkP\_PP' from the bottom left, 'ODUkP\_AP' from the bottom, and 'ODUkP/ODUj-21\_A\_Sk\_RP' from the right. It has multiple output arrows pointing upwards labeled 'Tributary port 1', '2', '...', 'n', and 'ODUj\_CPs'.
-
-**Figure 14-64 – ODUkP/ODUj-21\_A\_Sk function**
-
-## Interfaces
-
-**Table 14-30 – ODUkP/ODUj-21\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS ODUkP_AI_TSF ODUkP_AI_TSD ODUkP/ODUj-21_A_Sk_MP: ODUkP/ODUj-21_A_Sk_MI_ExMSI[1..n] ODUkP/ODUj-21_A_Sk_MI_AdminState[1..n] ODUkP/ODUj- 21_A_Sk_MI_Nominal_Bitrate_and_Tolerance[1..n] ODUkP/ODUj-21_A_Sk_MI_ODUType[1..n] ODUkP/ODUj-21_A_Sk_MI_APS_EN[1..n] ODUkP/ODUj-21_A_Sk_MI_APS_LVL[1..n] ODUkP/ODUj-21_A_Sk_RP: ODUkP/ODUj-21_A_Sk_RI_TrPT (Note) | n × ODUj_C P: ODUj_CI_CK ODUj_CI_D ODUj_CI_FS ODUj_CI_MFS ODUj_CI_SSF ODUj_CI_SSD ODUj_CI_APS ODUk_PP: ODUk_PI_APS ODUk_PI_TSF ODUk_PI_TSD ODUkP/ODUj-21_A_Sk_MP: ODUkP/ODUj-21_A_Sk_MI_cPLM ODUkP/ODUj-21_A_Sk_MI_cLOOMFI ODUkP/ODUj-21_A_Sk_MI_cMSIM ODUkP/ODUj-21_A_Sk_MI_AcPT ODUkP/ODUj-21_A_Sk_MI_AcMSI[1..n] ODUkP/ODUj-21_A_Sk_MI_cLOFLOM[1..n] ODUkP/ODUj-21_A_Sk_RP: ODUkP/ODUj-21_A_Sk_RI_AcPT (Note) |
-| NOTE – For ODU2P/ODUj-21_A_Sk and ODU3P/ODUj-21_A_Sk only. | |
-
-## Processes
-
-The processes associated with the ODUkP/ODUj-21\_A\_Sk function are specific processes for each ODUj\_CP and common processes for the compound (multiplexed) signal as depicted in Figures 14-65 and 14-66.
-
-
-
-The diagram illustrates the internal processes of an ODUkP/ODUj-21\_A\_Sk system. At the top, multiple 'Client specific processes' are shown for ODUj\_CP[1] and ODUj\_CP[n]. Each client process has inputs: AI\_TSD, AI\_TSF, dPLM, dLOOMFI, dMSIM[1..n], MI\_cMSIM[1..n], MI\_cLOFLOM[1..n], MI\_AdminState[1..n], MI\_APS\_EN[1..n], MI\_APS\_LVL[1..n], MI\_Nominal\_Bitrate\_and\_Tolerance[1..n], and MI\_ODUType[1..n]. These clients output signals: CI\_MFS, CI\_FS, CI\_CK, CI\_D, CI\_APS, CI\_SSF, and CI\_SSD. All client outputs feed into a central 'Demultiplexer'.
-
-The Demultiplexer outputs are: OMFS, MFS, FS, CK, D, and TS#. These signals are distributed to several processing blocks:
-
-- Extract MSI** receives CK and D, and outputs to an **MSI process**. The MSI process outputs MI\_ExMSI[1..n] and MI\_AcMSI[1..n], and feeds into a **Multiplex structure**. The Multiplex structure also receives inputs from other processes and outputs dMSIM[1..n] back to the clients.
-- Extract PT** receives CK and D, and outputs to a **PT process**. The PT process outputs MI\_AcPT, RI\_AcPT, and RI\_TrPT, and feeds into the Multiplex structure. It also receives dPLM from the ODUk PM APS block.
-- ODUk PM APS** receives CK and D, and outputs dPLM to the PT process and PI\_APS, PI\_TSF, and PI\_TSD to the right.
-- Extract OMFI** (for k = 4, 25(u), 50(u)) receives CK and D, and outputs to an **OMFI process**. The OMFI process outputs OMFS and dLOOMFI to the right. It also feeds into the Multiplex structure.
-
-On the right side, a **Defect correlations** block receives AI\_TSF, dLOOMFI, and dPLM, and outputs MI\_cLOOMFI, MI\_cPLM, MI\_cMSIM[1..n], MI\_cLOFLOM[1..n], MI\_AdminState[1..n], MI\_APS\_EN[1..n], MI\_APS\_LVL[1..n], MI\_Nominal\_Bitrate\_and\_Tolerance[1..n], and MI\_ODUType[1..n] back to the clients.
-
-At the bottom, the **ODUkP\_AP** block provides inputs: AL\_MFS, AL\_FS, AL\_CK, AL\_D, AL\_TSF, and AL\_TSD to the Extract MSI, Extract PT, ODUk PM APS, and Extract OMFI blocks.
-
-Labels on the far right indicate the output groups: **ODUkP/ODUj-21\_A\_Sk\_MP** for the top client-related outputs, **ODUkP-k/ODUj-21\_A\_Sk\_RP** for the MSI and PT related outputs, and **ODUk\_PP** for the APS and TSF/TSD related outputs.
-
-Reference G.798(17)-Amd.3(21)\_F14-65 is noted at the bottom right of the diagram.
-
-Block diagram of ODUkP/ODUj-21\_A\_Sk processes showing Client specific processes, Demultiplexer, MSI process, PT process, ODUk PM APS, and OMFI process with various input and output signals.
-
-Figure 14-65 – ODUkP/ODUj-21\_A\_Sk processes
-
-![Block diagram of ODUj_CP[p] client specific processes. The diagram shows various functional blocks like 'Select normal/AIS/LCK', 'Generate AIS', 'Generate LCK', 'Frame/multi-frame alignment', 'Elastic store', 'Clock generation (ODCp)', 'Justification control', 'Extract JC', 'ODUj APS', 'Consequent actions', and 'Defect correlations'. It includes input and output signals such as OMFS, MFAS, FS, CK, D, TS#, Active, CI_MFS, CI_FS, CI_CK, CI_D, CI_APS, CI_SSF, CI_SSD, and various management and alarm signals like MI_AdminState[p], MI_Nominal_Bitrate_and_Tolerance[p], MI_APS_EN[p], MI_APS_LVL[p], dLOFLOM, dPLM, dLOOMFI, dMSIM[p], MI_cMSIM[p], MI_cLOFLOM[p], AI_TSD, and AI_TSF. A reference label G.798(17)-Amd.3(21)_F14-66 is present.](a279b24bee8e82a60177168f08cce415_img.jpg)
-
-G.798(17)-Amd.3(21)\_F14-66
-
-Block diagram of ODUj\_CP[p] client specific processes. The diagram shows various functional blocks like 'Select normal/AIS/LCK', 'Generate AIS', 'Generate LCK', 'Frame/multi-frame alignment', 'Elastic store', 'Clock generation (ODCp)', 'Justification control', 'Extract JC', 'ODUj APS', 'Consequent actions', and 'Defect correlations'. It includes input and output signals such as OMFS, MFAS, FS, CK, D, TS#, Active, CI\_MFS, CI\_FS, CI\_CK, CI\_D, CI\_APS, CI\_SSF, CI\_SSD, and various management and alarm signals like MI\_AdminState[p], MI\_Nominal\_Bitrate\_and\_Tolerance[p], MI\_APS\_EN[p], MI\_APS\_LVL[p], dLOFLOM, dPLM, dLOOMFI, dMSIM[p], MI\_cMSIM[p], MI\_cLOFLOM[p], AI\_TSD, and AI\_TSF. A reference label G.798(17)-Amd.3(21)\_F14-66 is present.
-
-**Figure 14-66 – ODUkP/ODUj-21\_A\_Sk client specific processes**
-
-**Common processes**
-
-**OPU multiframe (OMFI) reception for OPUk with k = 4, 25(u), 50(u):** For k = 4, 25(u), 50(u) in addition to MFAS, a dedicated OPU multiframe indicator is used for the multiplexing of LO ODUs into the OPU payload area. This multiframe structure is locked to the lsb bits of the OMFI byte, as shown in Tables 19-4, 19-5 and 19-6 of [ITU-T G.709]. The function shall detect OPU multiframe by searching for the framing pattern in the bits indicated above. The process has two states, out-of-multiframe (OOM) and in-multiframe (IM). The IM state shall be entered if this set is found and confirmed one frame period later and an error-free multiframe sequence is found in the byte positions of the two frames. In the IM state, the frame alignment signal shall be continuously checked with the presumed OMFI frame start position and the expected multiframe sequence. The OOM state shall be entered if this subset is not found at the correct position in five consecutive frames or the received OMFI does not match with the expected multiframe number in five consecutive frames. The OPU multiframe start (OMFS) shall be maintained during the OOM state of the OMFI detection process. The defect dLOOMFI shall be generated based on the state of the OMFI alignment process.
-
-If the OMFI alignment process is persistently in the out-of-multiframe (OOM) state for 3 ms, dLOOMFI shall be declared. dLOOMFI shall be cleared immediately when the OMFI alignment process is in the in-multiframe (IM) state.
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**Autonomous payload type for k = 2, 3:** The accepted PT is provisioned to the RP (RI\_AcPT) for automatic PT adaptation. The PLM detection shall be based on the comparison of the accepted PT with the provided PT on the RP at the RI\_TrPT input.
-
-**MSI:** The function shall extract the MSI from the PSI overhead as defined in clause 8.7.2.1. The accepted MSI for a tributary signal #p (AcMSI[p]) is available at the MP (MI\_AcMSI[p]). The multiplex structure is defined by ExMSI[p], which is either fixed or is configurable via MI\_ExMSI[p].
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**ODUk PM APS:** The function shall extract the information from the ODUk path APS/PCC field, which is available once per eight ODUk frames when MFAS bits 6, 7, 8 are 000 and apply this to the PI\_APS.
-
-**Demultiplexing:** The function activates the ODTUjk or ODTUk.M and assigns the time slots of the ODUk payload area to the individual ODTUjk or ODTUk.M as defined by the multiplex structure (see clauses 19.3 and 19.4.1 of [ITU-T G.709]).
-
-### Specific processes
-
-The specific processes are performed independently for each ODUj client signal that is multiplexed into the OPUk. The specific processes recover the ODUj from the ODTUjk or ODTUk.M.
-
-Two justification methods as described below are provided, AMP (*ODTUjk*) and GMP (*ODTUk.M*). The ODU type, as configured via the MI\_ODUType [p] input for tributary port #p, determines the mapping method. In the case of GMP mapping, the ODU rate, as configured via the MI\_Nominal\_Bitrate\_and\_Tolerance[p] input for tributary port #p, determines the base value and ranges for the parameters $C_n$ and $C_m$ .
-
-**ODTUjk JC:** The function shall interpret the justification control information in bits 7 and 8 of the JC bytes as defined in clause 19.5 of [ITU-T G.709] in order to determine the justification action (double positive, positive, negative, none) for the current frame. A two out of three majority decision is used. RES bits in the JC bytes shall be ignored. The ODUk frame that contains the JC bytes depends on the time slot(s) of the ODTUjk.
-
-**ODTUk.ts JC1/2/3 and JC4/5/6:** The function shall interpret the GMP overhead information in the JC1/2/3 and JC4/5/6 bytes as defined in clause 19.6 of [ITU-T G.709] in order to determine the number of M-byte ODUj entities in the next ODTUk.M multiframe. The OPUk frame that contains the JC1/2/3 and JC4/5/6 bytes depends on the last tributary slot that is occupied by the ODTUk.M.
-
-**Demapping, CBR clock generation:** The function shall provide an elastic store (buffer) process.
-
-*ODTUjk:* The ODUj data shall be written into the buffer from the D, NJO, PJO1 and PJO2 bytes in the ODTUjk frame. The information extraction of the PJO2, PJO1 and NJO bytes shall be under the control of the justification control information.
-
-Upon a double positive justification action, the writing of two data bytes into the buffer shall be cancelled once. No ODUj data shall be read from the PJO2, PJO1 or NJO bytes. Upon a positive justification action, the writing of one data byte into the buffer shall be cancelled once. No ODUj data shall be read from the PJO1 or NJO bytes and data shall be read from the PJO2 byte. Upon a negative justification action, one extra data byte shall be written into the buffer once. ODUj data shall be read from the PJO2, PJO1 and NJO bytes. If no justification action is to be performed, ODUj data shall be
-
-read from the PJO2 and PJO1 bytes and no ODUj data shall be read from the NJO bytes. The OPUk frame that contains the PJO2, PJO1 and NJO bytes depends on the tributary slots occupied by the ODTUjk.
-
-*ODTUk.M:* The ODUj data shall be extracted from the groups of M successive bytes of the ODTUk.M payload area under the control of the GMP data/stuff control mechanism as defined in clause 19.6 of [ITU-T G.709] and be written into the buffer. The $C_n$ information associated with the ODUj is computed from the GMP $C_m$ and $\Sigma C_{ND}$ parameters carried within the JC1/2/3 and JC 4/5/6 overhead of the ODTUk.M as specified in clause 19.6 of [ITU-T G.709]. For the GMP data/stuff control mechanism, refer to Annex D of [ITU-T G.709].
-
-The ODUj data (CI\_D) shall be read out of the buffer under the control of the ODUj clock (CI\_CK).
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The ODUj data signal shall be written into the buffer under the control of the associated (gapped) OPUk input clock (with a frequency accuracy within $\pm 20$ ppm). The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) ODUj clock (the rate is determined by the ODUj signal at the input of the remote ODUkP/ODUj-21\_A\_So).
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-*Buffer size:* In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the tolerance range specified for the ODUj signal in Table 7-2 of [ITU-T G.709], this justification process shall not introduce any errors.
-
-Following a step in frequency of the ODUj signal transported (for example, due to reception of ODUj\_CI from a new ODUj\_TT\_So at the far end or removal of a ODU-AIS signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of one second has been proposed.
-
-**Frame and multiframe alignment:** The function shall perform frame and multiframe alignment as described in clause 8.2.3.
-
-**ODU-LCK, ODU-AIS:** The function shall generate the ODU-LCK and ODU-AIS signals as defined in [ITU-T G.709]. The clock, frame start and multiframe start shall be independent from the incoming clock. The clock has to be within the ODUj frequency tolerance range as specified in Table 7-2 of [ITU-T G.709] provisioned by the MI\_Nominal\_Bitrate\_and\_Tolerance[p] from a free-running oscillator. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-**Selector:** The normal signal for a tributary signal #p may be replaced by either the ODU-AIS or ODU-LCK signal. ODU-LCK is selected if the corresponding MI\_AdminState[p] signal is LOCKED. ODU-AIS is selected if the corresponding MI\_AdminState[p] signal is not LOCKED and aAIS is true.
-
-**ODUj server layer APS:** When APS is enabled for tributary signal #p (MI\_APS\_EN[p] is true), the function shall extract the information from the ODU APS/PCC[MI\_APS\_LVL[p]] field, which is available once per eight ODU frames when the value of the MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL[p], and apply the extracted information to the CI\_APS.
-
-NOTE 1 – The ODUj server layer section APS information may be present in the case where the ODUj signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may have been inserted in the far-end adaptation source function. ODUj SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-## Defects
-
-The function shall detect dPLM, dMSIM, dLOOMFI and dLOFLOM.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is the provided PT on the RP at the RI\_TrPT input (ODU multiplex structure supporting ODTUk.ts or ODTUk.ts and ODTUjk), as defined in [ITU-T G.709].
-
-**dLOOMFI:** dLOOMFI is detected per OPUk with k = 4, 25(u), 50(u). See the OPU multiframe (OMFI) detection process for OPUk with k = 4, 25(u), 50(u).
-
-For each ODUj tributary port #p:
-
-**dMSIM[p]:** See clause 6.2.9.1. dMSIM is detected per active ODUj.
-
-**dLOFLOM[p]:** See clause 6.2.5.3. dLOFLOM is detected per active ODUj.
-
-#### Consequent actions
-
-$PI\_TSF \leftarrow AI\_TSF$
-
-$PI\_TSD \leftarrow AI\_TSD$
-
-For each ODUj tributary port #p:
-
-$aSSF[p] \leftarrow ((AI\_TSF \text{ or } dPLM \text{ or } dLOOMFI \text{ or } dMSIM[p] \text{ or } dLOFLOM[p]) \text{ and } (\text{not } MI\_AdminState[p] = \text{LOCKED}))$
-
-$aSSD[p] \leftarrow AI\_TSD \text{ and } (\text{not } MI\_AdminState[p] = \text{LOCKED})$
-
-$aAIS[p] \leftarrow ((AI\_TSF \text{ or } dPLM \text{ or } dLOOMFI \text{ or } dMSIM[p] \text{ or } dLOFLOM[p]) \text{ and } (\text{not } MI\_AdminState[p] = \text{LOCKED}))$
-
-NOTE 2 – The state of the determination process of the $C_m$ and its contribution to AIS consequent action are for further study.
-
-On declaration of aAIS, the function shall output an all-ONEs pattern/signal within two frames. On clearing aAIS, the all-ONEs pattern/signal shall be removed within two frames, with normal data being output. The AIS clock, frame start and multiframe start shall be independent from the incoming clock, frame start and multiframe start. The clock has to be within the ODUj frequency tolerance range as specified in Table 7-2 of [ITU-T G.709] provisioned by the MI\_Nominal\_Bitrate\_and\_Tolerance from a free-running oscillator. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply.
-
-#### Defect correlations
-
-$cPLM \leftarrow dPLM \text{ and } (\text{not } AI\_TSF)$
-
-For ODUk with k = 4, 25(u), 50(u):
-
-$cLOOMFI \leftarrow dLOOMFI \text{ and } (\text{not } AI\_TSF)$
-
-For each ODUj tributary port #p:
-
-$cMSIM[p] \leftarrow dMSIM[p] \text{ and } (\text{not } dPLM) \text{ and } (\text{not } dLOOMFI) \text{ and } (\text{not } AI\_TSF)$
-
-$cLOFLOM[p] \leftarrow dLOFLOM[p] \text{ and } (\text{not } dPLM) \text{ and } (\text{not } dLOOMFI) \text{ and } (\text{not } AI\_TSF)$
-
-**Performance monitoring:** None.
-
-### 14.3.11 ODUkP to ETH adaptation functions (ODUkP/ETH\_A; k = 0, 1, 2, 3, 4, flex)
-
-#### 14.3.11.1 ODUkP to ETH adaptation source function (ODUkP/ETH\_A\_So)
-
-The ODUkP/ETH\_A\_So function creates the ODUk signal from a free running clock. It maps the ETH\_CI information into the payload of the OPUk, adds OPUk overhead (RES, PT) and default ODUk overhead.
-
-#### Symbol
-
-
-
-Symbol diagram for ODUkP/ETH\_A\_So function. The central block is labeled 'ODUkP/ETH'. Inputs from the top are 'ETH\_TFP' and 'ETH\_FP'. Input from the left is 'ODUkP/ETH\_A\_So\_MP'. Outputs to the right are 'ETH\_TF\_PP' and 'ETH\_F\_PP'. Output from the bottom is 'ODUkP\_AP'. Reference G.798(17)-Amd.1(18)\_F14-66.1 is shown at the bottom right.
-
-Figure 14-66.1 – ODUkP/ETH\_A\_So symbol
-
-#### Interfaces
-
-Table 14-30.1 – ODUkP/ETH\_A\_So interfaces
-
-| Inputs | Outputs |
-|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ETH_TFP: ETH_CI_D ETH_CI_P ETH_CI_DE ETH_FP: ETH_CI_D ETH_CI_P ETH_CI_DE ETH_CI_SSF ETH_CI_SSFrdi ETH_CI_SSFfdi ODUkP/ETH_A_So_MP: ODUkP/ETH_A_So_MI_CSFEnable ODUkP/ETH_A_So_MI_CSFrdifdiEnable | ODUkP_AP: ODUkP_AI_D ODUkP_AI_CK ODUkP_AI_FS ODUkP_AI_MFS ETH_TF_PP: ETH_PI_D ETH_PI_P ETH_PI_D ETH_PI_P ETH_PI_DE |
-
-#### Processes
-
-A process diagram of this function is shown in Figure 14-66.2.
-
-
-
-Figure 14-66.2 – ODUkP/ETH\_A\_So process diagram. The diagram shows a vertical flow of data and control signals within a grey-shaded area. At the top, three input signals (ETH\_CI\_SSF (ETH\_FP), ETH\_CI\_D/P/DE (ETH\_TFP), and ETH\_CI\_D/P/DE SSF/SSFrdi/SSFfdi (ETH\_FP)) enter 'Client-specific processes'. An output signal (ETH\_PI\_D/P/DE (ETHF\_PP)) exits to the right. Below 'Client-specific processes' is '802.3 MAC FCS generation', which outputs 'ETH\_CI' and 'MAC\_Frame'. Below that is 'ETH specific GFP-F processes', which receives 'MAC\_Frame' and control signals (FCSEnable = false, MI\_CSFenable, MI\_CSFrdifdiEnable). It outputs 'GFP\_FS' and 'GFP\_Frame'. Below that is 'Common GFP-F processes', which receives 'GFP\_FS' and 'GFP\_Frame' and control signals (CMuxConfig, CMuxActive = false). It outputs 'GFP\_FS' and 'GFP\_Frame'. Below that is 'ODUkP specific GFP-F processes', which receives 'GFP\_FS' and 'GFP\_Frame' and outputs 'ODUkP\_AI\_D'. Below that is 'ODUkP specific processes', which receives 'ODUkP\_AI\_D' and control signal 'ODUkP\_AI\_CK/FS'. Finally, it outputs 'ODUkP\_AI\_D/CK/FS/MFS' at the bottom. A reference code 'G.798(17)-Amd.4(22)\_F14-66.2' is at the bottom right.
-
-**Figure 14-66.2 – ODUkP/ETH\_A\_So process**
-
-The client-specific processes, and associated MI and PI signals, are specified in clause 9.5 of [ITU-T G.8021].
-
-*802.3 MAC FCS generation:*
-
-See clause 8.6.1 of [ITU-T G.8021].
-
-*Ethernet specific GFP-F source process:*
-
-See clause 8.5.4.1.1 of [ITU-T G.806]. GFP pFCS generation is disabled (FCSEnable=false). The UPI value for frame-mapped Ethernet shall be inserted (Table 6-3 of [ITU-T G.7041]). The Ethernet frames are inserted into the client payload information field of the GFP-F frames according to clause 7.1 of [ITU-T G.7041].
-
-*Common GFP source process:*
-
-See clause 8.5.3.1 of [ITU-T G.806]. GFP channel multiplexing is not supported (CMuxActive=false).
-
-*ODUkP specific GFP source process:*
-
-See clause 8.5.2.1 of [ITU-T G.806]. The GFP frames are mapped into the ODUk payload area according to clause 17.4 of [ITU-T G.709].
-
-*ODUkP specific source process:*
-
-A process diagram for the ODUkP specific source process is shown in Figure 14-66.3.
-
-
-
-Figure 14-66.3 – ODUkP specific source process diagram. The diagram shows the internal components and signal flow of the ODUkP source process. On the left, input signals D, SSF, FS, and CK enter a large grey box labeled 'ODUkP\_AP'. Inside, there are four stacked blocks: 'Insert PT', 'Insert CSF' (with an external SSF input), 'Insert RES', and 'ODUk OH is set to all-0's, except PM STAT = 001'. The output of these blocks is labeled 'AI\_D'. At the top right, a 'Free-running clock generator (ODCa)' receives 'CK' and outputs 'CK'. This 'CK' signal is divided by 122368 to produce 'FS', which is then divided by 256 to produce 'MFS'. The 'AI\_D' signal is combined with 'CK', 'FS', and 'MFS' to produce the final output signals 'AI\_D', 'AI\_CK', 'AI\_FS', and 'AI\_MFS' at the bottom. A reference label 'G.798(17)-Amd.3(21)\_F14-66.3' is present at the bottom right of the diagram.
-
-**Figure 14-66.3 – ODUkP specific source process**
-
-*Clock and (multi)frame start signal generation:*
-
-The function shall generate a local ODUk clock (ODUkP\_AI\_CK) with a clock rate within the minimum to maximum clock rate of the specified ODU signal as given in Table 14-2 of [ITU-T G.798]. The jitter and wander requirements as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-PT: The payload type information is derived directly from the adaptation function type. The value for GFP mapping shall be inserted into the PT byte position of the PSI overhead as defined in clause 15.9.2.1.1 of [ITU-T G.709].
-
-RES: The function shall insert all-zeros into the RES bytes.
-
-CSF: The function shall signal the failure of the client signal to the far end by use of the Bit 1 of the PSI[2] byte of the payload structure identifier as defined in clause 17.1 of [ITU-T G.709].
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the ODUk-PM STAT field which should be set to the value "normal path signal" (001).
-
-*Counter processes:*
-
-For further study.
-
-**Defects:** None.
-
-### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aCSF-RDI $\leftarrow$ CI\_SSFrdi and CSFrdifdiEnable and CSFEnable
-
-aCSF-FDI $\leftarrow$ CI\_SSFfdi and CSFrdifdiEnable and CSFEnable
-
-aCSF-LOS $\leftarrow$ CI\_SSF and CSFEnable
-
-aCSF-OPU $\leftarrow$ CI\_SSF and CSFEnable
-
-**Defect correlations:** None.
-
-### Performance monitoring
-
-For further study.
-
-#### 14.3.11.2 ODUkP to ETH adaptation sink function (ODUkP/ETH\_A\_Sk)
-
-The ODUkP/ETH\_A\_Sk extracts ETH\_CI information from the ODUkP payload area, delivering ETH\_CI to ETH\_TFP and ETH\_FP. It extracts the OPUk overhead (PT and RES) and monitors the reception of the correct payload type.
-
-### Symbol
-
-
-
-G.798(17)-Amd.1(18)\_F14-66.4
-
-Symbol diagram for ODUkP/ETH\_A\_Sk function. The function is represented by a trapezoidal block labeled 'ODUkP/ETH'. It has two input arrows on the left labeled 'ETHF\_PP' and 'ETHF\_PP'. It has two output arrows pointing upwards labeled 'ETH\_TFP' and 'ETH\_FP'. It has one input arrow pointing upwards from below labeled 'ODUkP\_AP'. It has one output arrow pointing to the right labeled 'ODUkP/ETH\_A\_Sk\_MP'. A reference code 'G.798(17)-Amd.1(18)\_F14-66.4' is shown in the bottom right corner of the diagram area.
-
-**Figure 14-66.4 – ODUkP/ETH\_A\_Sk symbol**
-
-## Interfaces
-
-Table 14-30.2 – ODUkP/ETH\_A\_Sk interfaces
-
-| Inputs | Outputs |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_D ODUkP_AI_CK ODUkP_AI_FS ODUkP_AI_MFS ODUkP_AI_TSF ETH_TTF_PP: ETH_PI_D ETH_PI_P ETH_PI_DE ETHF_PP: ETH_PI_D ETH_PI_P ETH_PI_DE ODUkP/ETH_A_Sk_MP: ODUkP/ETH_A_Sk_MI_CSF_Reported ODUkP/ETH_A_Sk_MI_MAC_Length ODUkP/ETH_A_Sk_MI_CSFrdifdiEnable | ETH_TFP: ETH_CI_D ETH_CI_P ETH_CI_DE ETH_CI_SSF ETH_FP: ETH_CI_D ETH_CI_P ETH_CI_DE ETH_CI_SSF ETH_CI_SSFrdi ETH_CI_SSFfdi ODUkP/ETH_A_Sk_MP: ODUkP/ETH_A_Sk_MI_AcPT ODUkP/ETH_A_Sk_MI_AcEXI ODUkP/ETH_A_Sk_MI_AcUPI ODUkP/ETH_A_Sk_MI_cPLM ODUkP/ETH_A_Sk_MI_cLFD ODUkP/ETH_A_Sk_MI_cUPM ODUkP/ETH_A_Sk_MI_cEXM ODUkP/ETH_A_Sk_MI_cCSF ODUkP/ETH_A_Sk_MI_pFCSError |
-
-## Processes
-
-A process diagram of this function is shown in Figure 14-66.5.
-
-
-
-The diagram illustrates the ODUkP/ETH\_A\_Sk process, showing the flow of data and management signals through various processing stages:
-
-- Client-specific processes:** The top-level process. It receives **ETH\_PI\_D/P/DE (ETHF\_PP)** from the left and **ETH\_CI\_D/P/DE (ETH\_TFP)** and **ETH\_CI\_D/P/DE (ETH\_FP)** from the top. It outputs **ETH\_PI\_D/P/DE (ETHF\_PP)** to the right and **ETH\_CI\_D/P/DE (ETH\_TFP)** and **ETH\_CI\_D/P/DE (ETH\_FP)** to the top. It is associated with **MI\_pFCSerrors** and **MI\_MAC\_Length**.
-- 802.3 MAC FCS check:** Receives **SF** and **MAC Frame** from the process below. It outputs **SF** and **MAC Frame** to the process above. It is associated with **MI\_pFCSerrors**.
-- MAC Length check:** Receives **SF** and **MAC Frame** from the process below. It outputs **SF** and **MAC Frame** to the process above. It is associated with **MI\_MAC\_Length**.
-- ETH specific GFP-F processes:** Receives **SF** and **MAC Frame** from the process below. It outputs **SF** and **MAC Frame** to the process above. It is associated with **MI\_AcUPI** (left), **MI\_cUPM** (right), and **FCSdiscard = false** (dashed line).
-- Common GFP-F processes:** Receives **GFP\_Frame/FS/SF** from the process below. It outputs **GFP\_Frame/FS/SF** to the process above. It is associated with **MI\_AcEXI** (left), **MI\_cEXM** (right), **CMuxConfig** (dashed line), and **CMuxActive = false** (dashed line).
-- ODUkP specific GFP-F processes:** Receives **GFP\_Frame/FS/SF** from the process below. It outputs **GFP\_Frame/FS/SF** to the process above. It is associated with **MI\_cLFD** (right) and **MI\_CSFrdifdiEnable** (left).
-- ODUkP specific processes:** The bottom-level process. It receives **ODUkP\_AI\_D/CK/FS/MFS/TSF** from the bottom. It outputs **ODUkP\_AI\_D/CK/FS/TSF** to the bottom. It is associated with **MI\_AcPT** (left), **MI\_cPLM** (right), and **MI\_cCSF** (right).
-
-Reference: G.798(17)-Amd.4(22)\_F14-66.5
-
-Diagram of the ODUkP/ETH\_A\_Sk process showing data flow from client-specific processes down to ODUkP specific processes, with associated management interfaces (MI) and physical interfaces (PI).
-
-**Figure 14-66.5 – ODUkP/ETH\_A\_Sk process**
-
-The client-specific processes, and associated MI and PI signals, are specified in clause 9.5 of [ITU-T G.8021].
-
-*802.3 MAC FCS check process:*
-
-See clause 8.6.2 of [ITU-T G.8021].
-
-*MAC length check process:*
-
-See clause 8.5 of [ITU-T G.8021].
-
-*Ethernet specific GFP-F sink process:*
-
-See clause 8.5.4.1.2 of [ITU-T G.806]. GFP pFCS checking, GFP p\_FCSerror, p\_FDis are not supported (FCSdiscard=false). The UPI value for frame-mapped Ethernet shall be expected (Table 6-3 of [ITU-T G.7041]). The Ethernet frames are extracted from the client payload information field of the GFP-F frames according to clause 7.1 of [ITU-T G.7041].
-
-*Common GFP sink process:*
-
-See clause 8.5.3.2 of [ITU-T G.806]. GFP channel multiplexing is not supported (MI\_CMuxActive=false).
-
-*ODUkP specific GFP sink process:*
-
-See clause 8.5.2.2 of [ITU-T G.806]. The GFP frames are demapped from the ODUk payload area according to clause 17.4 of [ITU-T G.709].
-
-ODUkP specific sink process:
-
-
-
-Diagram of the ODUkP specific sink process. The diagram shows the flow of signals from the ODUkP\_AP input to various management interfaces. The input ODUkP\_AP is split into four main paths: AI\_D, AI\_CK, AI\_FS, and AI\_MFS. AI\_D and AI\_CK are direct outputs. AI\_FS and AI\_MFS are processed by 'Extract CSF' and 'Extract PT' blocks. 'Extract CSF' outputs dCSF, which is then processed by 'Defect correlations' along with AI\_TSF and dPLM to produce MI\_cCSF and MI\_cPLM. 'Extract PT' outputs to 'PT process', which produces MI\_AcPT and dPLM. dPLM is also processed by 'Defect correlations'. MI\_Active is an input to 'Defect correlations'. The diagram is labeled ODUkP\_AP and G.798(17)-Amd.1(18)\_F14-66.6.
-
-Figure 14-66.6 – ODUkP specific sink process
-
-PT: The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1 of [ITU-T G.798]. The payload type value for GFP mapping in clause 15.9.2.1.1 of [ITU-T G.709] shall be expected. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-RES: The value in the RES bytes shall be ignored.
-
-CSF: The function shall extract the CSF signal indicating the failure of the client signal out of the Bit 1 of the PSI[2] byte of the payload structure identifier as defined in clause 17.1 of [ITU-T G.709].
-
-#### Defects
-
-dPLM – See clause 6.2.4.1 of [ITU-T G.798].
-
-dLFD – See clause 6.2.5.2 of [ITU-T G.806].
-
-dUPM – See clause 6.2.4.3 of [ITU-T G.806].
-
-dEXM – See clause 6.2.4.4 of [ITU-T G.806].
-
-dCSF-LOS – See clause 8.6.4.2 of [ITU-T G.8021].
-
-dCSF-RDI – See clause 8.6.4.2 of [ITU-T G.8021].
-
-dCSF-FDI – See clause 8.6.4.2 of [ITU-T G.8021].
-
-#### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aSSF ← AI\_TSF or dPLM or dLFD or dUPM or dEXM or dCSF-LOS
-
-aSSFrdfi ← dCSF-RDI and CSFrdifdiEnable
-
-aSSFfdi ← dCSF-FDI and CSFrdifdiEnable
-
-#### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause (see clause 6.4 of [ITU-T G.806]). This fault cause shall be reported to the EMF.
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-cLFD $\leftarrow$ dLFD and (not dPLM) and (not AI\_TSF)
-cUPM $\leftarrow$ dUPM and (not dEXM) and (not dPLM) and (not dLFD) and (not AI\_TSF)
-cEXM $\leftarrow$ dEXM and (not dPLM) and (not dLFD) and (not AI\_TSF)
-cCSF $\leftarrow$ (dCSF-LOS or dCSF-OPU or dCSF-FDI) and (not dEXM) and (not dUPM) and (not dPLM) and (not dLFD) and (not AI\_TSF) and CSF\_Reported
-
-### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the EMF.
-
-pFCSErrors: count of FrameCheckSequenceErrors per second.
-
-NOTE – This primitive is calculated by the MAC FCS Check process.
-
-### 14.3.12 HAO-capable ODUk to ETH adaptation functions (ODUkP-h/ETH\_A; k = flex)
-
-#### 14.3.12.1 HAO-capable ODUk to ETH adaptation source function (ODUkP-h/ETH\_A\_So)
-
-The ODUkP-h/ETH\_A\_So function creates the ODUk signal from a free-running clock. It maps the ETH\_CI information into the payload of the OPUk (k = flex), adds the OPUk overhead (CSF, RCOH, RES, PT) and default ODUk overhead.
-
-#### Symbol
-
-
-
-Symbol diagram for ODUkP-h/ETH\_A\_So function. The central block is labeled 'ODUkP-h/ETH'. Inputs from the top are ETH\_TFP and ETH\_FP. Inputs from the left are ODUkP-h/ETH\_A\_So\_MP and ETH\_RP. Outputs to the right are ETHTF\_PP and ETHF\_PP. Output to the bottom is ODUkP\_AP. Reference G.798(17)\_F14-67 is shown at the bottom right.
-
-Figure 14-67 – ODUkP-h/ETH\_A\_So symbol
-
-#### Interfaces
-
-Table 14-31 – ODUkP-h/ETH\_A\_So interfaces
-
-| Inputs | Outputs |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ETH_TFP: ETH_CI_D ETH_CI_P ETH_CI_DE
ODUkP-h/ETH_A_So_MP: ODUkP-h/ETH_A_So_MI_ADJSTATE |
-| NOTE – (A/M)I_xxx indicates that the xxx signal may either be an AI_xxx or an MI_xxx signal. | |
-
-**Processes**
-
-A process diagram of this function is shown in Figure 14-68.
-
-
-
-The diagram illustrates the ODUkP-h/ETH\_A\_So process flow. It shows the following components and signal paths:
-
-- External Inputs:**
- - ETH\_CI\_SSF (ETH\_FP) and ETH\_CI\_D/P/DE (ETH\_TFP) enter from the top.
- - ETH\_CI\_D/P/DE SSF/SSFrdi/SSFfdi (ETH\_FP) enters from the top right.
- - MI\_CSFenable and MI\_CSFrdifdiEnable enter from the left.
- - FCSEnable = false, CMuxConfig, and CMuxActive = false enter from the left.
-- Internal Process Flow:**
- - Inputs enter a large grey box containing several process blocks.
- - Top level: **Client-specific processes** receive inputs and output **ETH\_PI\_D/P/DE (ETHF\_PP)** to the right.
- - Below this, **802.3 MAC FCS generation** receives **ETH\_CI** and outputs a **MAC Frame**.
- - The **MAC Frame** and other inputs enter **ETH specific GFP-F processes**.
- - Output from this block is **GFP\_FS** and **GFP\_Frame**.
- - These enter **Common GFP-F processes**.
- - Output is again **GFP\_FS** and **GFP\_Frame**.
- - These enter **ODUkP specific GFP-F processes**.
- - Output is **ODUkP\_AI\_D**.
- - This enters the bottom **ODUkP specific processes** block, which also receives **ODUkP\_AI\_CK/FS**.
- - The final output from the bottom block is **ODUkP\_AI\_D/CK/FS/MFS**.
-- External Output:**
- - ODUkP\_AI\_D/CK/FS/MFS** exits from the bottom of the grey box.
-
-G.798(17)-Amd.4(22)\_F14-68
-
-Figure 14-68 – ODUkP-h/ETH\_A\_So process diagram showing the flow of data and control signals through various processing blocks.
-
-**Figure 14-68 – ODUkP-h/ETH\_A\_So process**
-
-The client-specific processes, and associated MI and PI signals, are specified in clause 9.5 of [ITU-T G.8021].
-
-### 802.3 MAC FCS generation:
-
-See clause 8.6.1 of [ITU-T G.802.1].
-
-### Ethernet specific GFP-F source process:
-
-See clause 8.5.4.1.1 of [ITU-T G.806]. GFP pFCS generation is disabled (FCSenable=false). The UPI value for frame-mapped Ethernet shall be inserted (Table 6-3 of [ITU-T G.704]). The Ethernet frames are inserted into the client payload information field of the GFP-F frames according to clause 7.1 of [ITU-T G.704].
-
-### Common GFP source process:
-
-See clause 8.5.3.1 of [ITU-T G.806]. GFP channel multiplexing is not supported (CMuxActive=false).
-
-### ODUkP specific GFP source process:
-
-See clause 8.5.2.1 of [ITU-T G.806]. The GFP frames are mapped into the ODUk payload area according to clause 17.4 of [ITU-T G.709].
-
-### ODUkP specific source process:
-
-
-
-Block diagram of the ODUkP-h (k=flex) specific source process. The diagram shows the internal components and signal flow for generating the ODUkP signal. On the left, input signals D, SSF, and FS CK enter the process. The D signal is processed through a series of blocks: 'Insert RCOH', 'Insert PT', 'Insert CSF', 'Insert RES', and 'ODUk OH is set to all-0's, except PM STAT = 001'. The SSF signal is used in the 'Insert CSF' block. The FS CK signal is fed into an 'Adjustable free-running clock generator (ODCa)'. The ODCa generates a CK signal, which is divided by 122368 to produce an FS signal, and then by 256 to produce an MFS signal. These signals (CK, FS, MFS) are fed into a 'BWR generator'. The BWR generator also receives control signals: MI\_ODUflexRate, MI\_INCREASE, MI\_DECREASE, MI\_TSNUM, MI\_ADJSTATE, RI\_RP, RI\_TSCC, and RI\_NCS. It outputs NCS and BWR\_IND signals. The BWR\_IND signal is fed back to the 'Insert RCOH' and 'Insert CSF' blocks. The final output signals are AI\_D, AI\_CK, AI\_FS, AI\_MFS, xL\_RP, xL\_TSCC, and x = A/M. The diagram is labeled G.798(23)\_F14-69.
-
-**Figure 14-69 – ODUkP-h (k=flex) specific source process**
-
-### Adjustable clock and (multi)frame start signal generation:
-
-The function shall generate a local ODUk clock (ODUkP\_AI\_CK) with a clock rate within the minimum to maximum clock rate of the ODUflex signal as given in Table 7-2 of [ITU-T G.709]. The jitter and wander requirements as defined in Annex A of [ITU-T G.825] (ODCa clock) apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-PT: The payload type information is derived directly from the adaptation function type. The value for "GFP mapping" shall be inserted into the PT byte position of the PSI overhead as defined in clause 15.9.2.1.1 of [ITU-T G.709]. The PT value of a hao-capable adaptation function should remain the same as a non-hao-capable one.
-
-RES: The function shall insert all-ZEROs into the RES bytes.
-
-CSF: The function shall signal the failure of the client signal to the far end by use of Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-*Counter processes:*
-
-For further study.
-
-**RCOH generator:** This process inserts the NCS generated by the HAO process into the NCS field of the RCOH in OPUflex.
-
-**BWR\_Generator:** This process is used for BWR protocol adjustment processing and the generation of the BWR protocol overhead. It contains the following processes as shown in Figure 14-70.
-
-*Adjustment activation:* When MI\_INCREASE or MI\_DECREASE is true, the BWR protocol is activated and RI processing is started.
-
-*Rate adjustment control:* Generates ODUflex clock control signal. The original ODUflex clock rate will gradually change to the new ODUflex clock rate so that no GMP buffer overflow or underflow will occur in the ODUflex network connection. Refer to [ITU-T G.7044].
-
-
-
-Figure 14-70 – BWR\_Generator process block diagram. The diagram shows a large grey box representing the BWR\_Generator process. Inside, there are three main components: 'Adjustment activation', 'RI processing', and 'Rate adjustment control'. 'Adjustment activation' receives 'CK', 'FS', and 'MFS' inputs from the top and 'MI\_INCREASE' and 'MI\_DECREASE' inputs from the right. It outputs to 'RI processing'. 'RI processing' receives 'RI\_RP', 'RI\_TSCC', and 'RI\_NCS' inputs from the left and an input from 'Adjustment activation'. It outputs 'NCS' and 'BWR\_IND' to the left, 'MI\_ADJSTATE' to the right, and 'xl\_RP' and 'xl\_TSCC' to the bottom. 'Rate adjustment control' receives an input from 'RI processing' and 'MI\_TSNUM' from the right. It outputs 'ODUflex clock control information' to the bottom. The 'BWR\_generator' label is at the bottom right of the box. The diagram is labeled G.798(17)\_F14-70.
-
-**Figure 14-70 – BWR\_Generator process**
-
-*RI processing:* This performs BWR protocol processing according to the RI\_RP, RI\_TSCC, RI\_NCS signals received from the BWR\_Receiver process.
-
-- When RI processing is activated, xl\_RP and xl\_TSCC (x is A or M) signals are set to one (1).
-- The value of the NCS signal is set to ACK(1) when receiving RI\_RP=1 and the value of RI\_TSCC is changed from 0 to 1.
-
-- Rate adjustment control is activated when receiving RI\_RP=1 and RI\_TSCC=1 and RI\_NCS=ACK(1).
-- BWR\_IND is set to "1" x $\mu$ s before the ODUflex signal's bit rate adjustment starts, and is set to "0" y $\mu$ s before the ODUflex signal's bit rate adjustment is completed. x is almost equal to y and shall be in the range of 125 to 250 $\mu$ s.
-- The value of xI\_TSCC signal is set to 0 when rate adjustment is completed.
-- The value of the NCS signal is set to NACK(0) when receiving RI\_RP=1 and the value of RI\_TSCC is changed from 1 to 0.
-- The value of the RP signal is set to 0 when receiving RI\_NCS=NACK(0) and sending NCS=NACK(0).
-- The completion of the resize process is reported to the NMS when receiving RI\_RP=0.
-
-### Defects
-
-None.
-
-### Consequent actions
-
-aCSF-RDI $\leftarrow$ CI\_SSFrdi and CSFrdifdiEnable and CSFEnable
-
-aCSF-FDI $\leftarrow$ CI\_SSFfdi and CSFrdifdiEnable and CSFEnable
-
-aCSF-LOS $\leftarrow$ CI\_SSF and CSFEnable
-
-aCSF-OPU $\leftarrow$ CI\_SSF and CSFEnable
-
-### Defect correlations
-
-None.
-
-### Performance monitoring
-
-For further study.
-
-### 14.3.12.2 HAO-capable ODUk to ETH adaptation sink function (ODUkP-h/ETH\_A\_Sk)
-
-The ODUkP-h/ETH\_A\_Sk extracts ETH\_CI information from the ODUkP payload area, delivering ETH\_CI to ETH\_TFP and ETH\_FP. It extracts the OPUk overhead (PT, RCOH, CSF and RES) and monitors the reception of the correct payload type.
-
-### Symbol
-
-
-
-Symbol diagram for ODUkP-h/ETH\_A\_Sk. The central block is labeled 'ODUkP-h/ETH'. It has two input arrows on the left labeled 'ETHF\_PP' and 'ETHF\_PP'. It has two output arrows on top labeled 'ETH\_TFP' and 'ETH\_FP'. It has one output arrow on the right labeled 'ODUkP-h/ETH\_A\_Sk\_MP'. It has one input arrow on the bottom labeled 'ODUkP\_AP'. The text 'G.798(17)\_F14-71' is located at the bottom right of the diagram.
-
-Figure 14-71 – ODUkP-h/ETH\_A\_Sk symbol
-
-## Interfaces
-
-Table 14-32 – ODUkP-h/ETH\_A\_Sk interfaces
-
-| Inputs | Outputs |
-|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_Data ODUkP_AI_ClocK ODUkP_AI_FrameStart ODUkP_AI_MultiframeStart ODUkP_AI_TSF ODUkP_(A/M)I_RP ODUkP_(A/M)I_TSCC
ODUkP-h/ETH_A_Sk_MP: ODUkP-h/ETH_A_Sk_MI_AcPT ODUkP-h/ETH_A_Sk_MI_AcEXI ODUkP-h/ETH_A_Sk_MI_AcUPI ODUkP-h/ETH_A_Sk_MI_cPLM ODUkP-h/ETH_A_Sk_MI_cLFD ODUkP-h/ETH_A_Sk_MI_cUPM ODUkP-h/ETH_A_Sk_MI_cEXM ODUkP-h/ETH_A_Sk_MI_cCSF ODUkP-h/ETH_A_Sk_MI_pFCSErrors |
-
-## Processes
-
-A process diagram of this function is shown in Figure 14-72.
-
-
-
-Diagram of the ODUkP-h/ETH\_A\_Sk process stack. The stack consists of several layers: Client-specific processes (top), 802.3 MAC FCS check, MAC length check, ETH specific GFP-F processes, Common GFP-F processes, ODUkP specific GFP-F processes, and ODUkP specific processes (bottom). Data flows upwards through the stack, with various signals and parameters like SF, MAC Frame, GFP\_Frame/FS/SF, and ODUkP\_AI\_D/CK/FS/MFS/TSF being passed between layers. External signals include ETH\_CI\_D/P/DE/SSF (ETH\_TFP), ETH\_CI\_D/P/DE/SSF/SSFrdi/SSFrdi (ETH\_FP), ETH\_PI\_D/P/DE (ETHF\_PP), MI\_pFCSErrors, MI\_MAC\_Lenght, MI\_cUPM, MI\_cEXM, MI\_cLFD, MI\_cPLM, MI\_cCSF, MI\_AcUPI, MI\_AcEXI, MI\_CSFrdifdiEnable, CMuxConfig, CMuxActive = false, FCSdiscard = false, and MI\_AcPT. The diagram is labeled G.798(17)-Amd.4(22)\_F14-72.
-
-**Figure 14-72 – ODUkP-h/ETH\_A\_Sk process**
-
-The client-specific processes, and associated MI and PI signals, are specified in clause 9.5 of [ITU-T G.8021].
-
-*802.3 MAC FCS check process:*
-
-See clause 8.6.2 of [ITU-T G.8021].
-
-*MAC length check process:*
-
-See clause 8.5 of [ITU-T G.8021].
-
-*Ethernet specific GFP-F sink process:*
-
-See clause 8.5.4.1.2 of [ITU-T G.806]. GFP pFCS checking, GFP p\_FCSError, p\_FDis are not supported (FCSdiscard=false). The UPI value for frame-mapped Ethernet shall be expected (Table 6-3 of [ITU-T G.7041]). The Ethernet frames are extracted from the client payload information field of the GFP-F frames according to clause 7.1 of [ITU-T G.7041].
-
-*Common GFP sink process:*
-
-See clause 8.5.3.2 of [ITU-T G.806]. GFP channel multiplexing is not supported (MI\_CMuxActive=false).
-
-*ODUkP specific GFP sink process:*
-
-See clause 8.5.2.2 of [ITU-T G.806]. The GFP frames are demapped from the ODUk payload area according to clause 17.4 of [ITU-T G.709].
-
-ODUkP specific sink process:
-
-
-
-Figure 14-73 – ODUkP (k=flex) specific sink process. This block diagram shows the internal components of an ODUkP sink. On the left, external signals MI\_INCREASE, MI\_DECREASE, RI\_RP, RI\_TSCC, and RI\_NCS enter a 'BWR receiver' block. The 'BWR receiver' outputs NCS to three parallel extraction blocks: 'Extract RCOH', 'Extract CSF', and 'Extract PT'. 'Extract RCOH' outputs NCS, 'Extract CSF' outputs dCSF, and 'Extract PT' outputs to a 'PT process' block. The 'PT process' outputs MI\_AcPT and dPLM. A 'Defect correlations' block receives dPLM, dCSF, and AI\_TSF as inputs and outputs MI\_cPLM and MI\_cCSF. External signals D, CK, and FS enter from the top, while AI\_D, AI\_MFS, AI\_CK, AI\_FS, and AI\_TSF enter from the bottom. The entire process is labeled ODUkP\_AP and G.798(23)\_F14-73.
-
-Figure 14-73 – ODUkP (k=flex) specific sink process
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The payload type value for "GFP mapping" in clause 15.9.2.1.1 of [ITU-T G.709] shall be expected. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection. The PT value of a hao-capable adaptation function should remain the same as a non-hao-capable one.
-
-**CSF:** The function shall extract the CSF signal indicating the failure of the client signal out of Bit 1 of the PSI[2] byte of the payload structure identifier as defined in [ITU-T G.709], clause 17.1.
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**RCOH receiver:** This process extracts the NCS from the RCOH overhead area, and then forwards it to BWR\_Receiver.
-
-**BWR\_Receiver:** This process extracts and detects the BWR protocol overhead, with the exception of the BWR\_IND signal. It is shown in Figure 14-74.
-
-When MI\_INCREASE or MI\_DECREASE is true, the BWR protocol is activated and starts to receive AI\_RP/MI\_RP, AI\_TSCC/MI\_TSCC from the BWR\_RELAY\_Receiver process and the NCS from the extract NCS process. Then the detected values of the RP, TSCC and NCS are sent to the BWR generator.
-
-
-
-Figure 14-74 – BWR\_Receiver process. This block diagram shows the internal components of a BWR receiver. External signals NCS, xI\_RP, CK, FS, and MFS enter from the top. MI\_INCREASE and MI\_DECREASE enter from the right. The 'BWR OH detecting processing' block receives NCS, xI\_RP, CK, FS, MFS, MI\_INCREASE, and MI\_DECREASE. It outputs to the 'Forwarding processing' block. The 'Forwarding processing' block outputs RI\_RP, RI\_TSCC, and RI\_NCS to the left. The entire process is labeled BWR\_receiver and G.798(17)\_F14-74.
-
-Figure 14-74 – BWR\_Receiver process
-
-## Defects
-
-dPLM – See clause 6.2.4.1.
-
-dLFD – See clause 6.2.5.2 of [ITU-T G.806].
-dUPM – See clause 6.2.4.3 of [ITU-T G.806].
-dEXM – See clause 6.2.4.4 of [ITU-T G.806].
-dCSF-LOS – See clause 8.6.4.2 of [ITU-T G.8021].
-dCSF-RDI – See clause 8.6.4.2 of [ITU-T G.8021].
-dCSF-FDI – See clause 8.6.4.2 of [ITU-T G.8021].
-dCSF-OPU – See clause 6.2.10.
-
-### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aSSF $\leftarrow$ AI\_TSF or dPLM or dLFD or dUPM or dEXM or dCSF-LOS
-aSSRdi $\leftarrow$ dCSF-RDI and CSFrdifdiEnable
-aSSRfdi $\leftarrow$ dCSF-FDI and CSFrdifdiEnable
-
-### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause (see clause 6.4 of [ITU-T G.806]). This fault cause shall be reported to the EMF.
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF);
-cLFD $\leftarrow$ dLFD and (not dPLM) and (not AI\_TSF);
-cUPM $\leftarrow$ dUPM and (not dEXM) and (not dPLM) and (not dLFD) and (not AI\_TSF);
-cEXM $\leftarrow$ dEXM and (not dPLM) and (not dLFD) and (not AI\_TSF)
-cCSF $\leftarrow$ (dCSF-LOS or dCSF-OPU or dCSF-FDI) and (not dEXM) and (not dUPM) and (not dPLM) and (not dLFD) and (not AI\_TSF) and CSF\_Reported
-
-### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the EMF.
-
-pFCSErrors: count of FrameCheckSequenceErrors per second.
-
-NOTE – This primitive is calculated by the MAC FCS check process.
-
-### 14.3.13 HAO-capable ODUkP-h to ODUj payload type 21 adaptation function (ODUkP-h/ODUj-21\_A)
-
-The HAO-capable ODUkP to ODUj payload type 21 adaptation functions perform the adaptation between the ODUkP ( $k = 2, 3, 4, 25u, 25, 50u, 50$ ) layer adapted information and the characteristic information of ODUj ( $j = 0, 1, 2, 2e, 3, flex$ ) signals.
-
-
-
-Diagram of HAO-capable ODUkP-h/ODUj-21\_A function. A central trapezoidal block labeled 'ODUkP-h/ODUj-21' has multiple tributary ports (1, 2, ..., n) at the top, each connected to an 'ODUj\_CP'. Below the block, a single connection point is labeled 'ODUkP\_AP'. The text 'G.798(17)\_F14-75' is at the bottom right.
-
-**Figure 14-75 – HAO-capable ODUkP-h/ODUj-21\_A function**
-
-Three different types of functions are possible:
-
-- the ODU2P-h/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU2 payload bit rate into an OPU2;
-- the ODU3P-h/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU3 payload bit rate into an OPU3;
-- the ODU4P-h/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU4 payload bit rate into an OPU4;
-- the ODU25(u)P-h/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU25(u) payload bit rate into an OPU25(u);
-- the ODU50(u)P-h/ODUj-21\_A performs multiplexing/demultiplexing of any LO ODU with a bit rate less than the OPU50(u) payload bit rate into an OPU50(u).
-
-Tributary ports are dynamically created and deleted under the control of management. Each tributary port is associated with one ODUj connection point on one side, and the M OPUk tributary slots on the other. The multiplex structure identifier (MSI) carries the configuration of tributary ports to tributary slots.
-
-**14.3.13.1 HAO-capable ODUkP to ODUj payload type 21 adaptation source function (ODUkP-h/ODUj\_A\_So)**
-
-The HAO-capable ODUkP/ODUj-21\_A\_So function creates the ODUk signal from a free-running clock. It asynchronously maps the ODUj client signal from the $n \times$ ODUj CPs into ODTUjk or ODTUk.M including the justification control (JC) information. The ODTUjk and ODTUk.M are multiplexed into the tributary slots of the OPUk. It adds the OPUk overhead (RES, PT, MSI, OMFI) and default ODUk overhead. It provides access to the ODUk PM APS overhead.
-
-The information flow and processing of the HAO-capable ODUkP/ODUj-21\_A\_So function is defined with reference to Figures 14-76, 14-77 and 14-78.
-
-**Symbol**
-
-
-
-Diagram of ODUkP-h/ODUj-21\_A\_So function. A central trapezoidal block labeled 'ODUkP-h/ODUj-21' has multiple tributary ports (1, 2, ..., n) at the top, each connected to an 'ODUj\_CP'. On the left side, there are two input arrows labeled 'ODUkP-h/ODUj-21\_A\_So\_MP' and 'ODUkP\_PP'. On the right side, there are two output arrows labeled 'ODUkP-h/ODUj-21\_A\_So\_RP' and 'ODUk\_TP'. Below the block, a single connection point is labeled 'ODUkP\_AP'. The text 'G.798(17)\_F14-76' is at the bottom right.
-
-**Figure 14-76 – ODUkP-h/ODUj-21\_A\_So function**
-
-## Interfaces
-
-Table 14-33 – ODUkP-h/ODUj-21\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| n x ODUj_CP: ODUj_CI_CK ODUj_CI_D ODUj_CI_FS ODUj_CI_MFS ODUj_CI_APS ODUj-21_(C/M)I_RP ODUj-21_(C/M)I_TSCC ODUk_PP: ODUk_PI_APS ODUk_TP: ODUk_TI_CK ODUkP-h/ODUj-21_A_So_MP: ODUkP-h/ODUj-21_A_So_MI_TxMSI ODUkP-h/ODUj-21_A_So_MI_AUTOpayloadtype (Note 2) ODUkP-h/ODUj-21_A_So_MI_ODUType_Rate[1..n] ODUkP-h/ODUj_A_So_MI_AdminState[1..n] ODUkP-h/ODUj_A_So_MI_APS_EN[1..n] ODUkP-h/ODUj_A_So_MI_APS_LVL[1..n] ODUkP-h/ODUj-21_A_So_MI_INCREASE ODUkP-h/ODUj-21_A_So_MI_DECREASE ODUkP-h/ODUj-21_A_So_MI_TSMAP ODUkP-h/ODUj-21_A_So_MI_TPID ODUkP-h/ODUj-21_A_So_RP: ODUkP-h/ODUj-21_A_So_RI_AcPT (Note 2) ODUkP-h/ODUj-21_A_So_RI_RP ODUkP-h/ODUj-21_A_So_RI_CTRL ODUkP-h/ODUj-21_A_So_RI_TSGS ODUkP-h/ODUj-21_A_So_RI_TPID | ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS ODUkP-h/ODUj-21_A_So_RP: ODUkP-h/ODUj-21_A_So_RI_TrPT (Note 2) ODUkP-h/ODUj-21_A_So_MP: ODUkP-h/ODUj-21_A_So_MI_TrPT (Note 2) ODUkP-h/ODUj-21_A_So_MI_ADJSTATE |
-| NOTE 1 – (C/M)I_xxx indicates that the xxx signal may either be a CI_xxx or a MI_xxx signal. | |
-| NOTE 2 – For ODU2P-h/ODUj-21_A_So and ODU3P-h/ODUj-21_A_So only. | |
-
-## Processes
-
-The processes associated with the HAO-capable ODUkP-h/ODUj-21\_A\_So function are specific processes for each ODUj\_CP and common processes for the compound (multiplexed) signal as depicted in Figures 14-77 and 14-78.
-
-![Figure 14-77 – ODUkP-h/ODUj-21_A_So processes. This block diagram illustrates the internal structure of the ODUkP-h/ODUj-21_A_So processes. At the top, multiple client-specific processes (ODUj_CP[1] to ODUj_CP[n]) are shown, each with inputs like CI_MFS, CI_FS, CI_CK, CI_D, and CI_APS. These connect to a central 'Multiplexer' block. The multiplexer outputs are labeled OMFS, MFS, FS, CK, and TS#. Below the multiplexer, the 'Multiplex structure identifier (MSI)' is generated, taking inputs from the multiplexer and MGSI. The 'Payload type (PT)' and 'RES' fields are also processed. The 'ODUk PM APS' field is generated from the multiplexer outputs. A block for 'for k = 4, 25(u), 50(u)' contains an 'OMFI' block and a '1/80' divider. The 'ODUk OH is set to all-0's, except PM STAT = 001' block is also present. An 'RCOH generator' block produces various overhead signals. At the bottom, the 'ODUkP_AP' section includes 'AI_D', 'AI_MFS', 'AI_FS', and 'AI_CK' signals. On the right, a 'HAO process (if needed)' block is shown with various input and output signals. The entire diagram is labeled with 'G.798(17)-Amd.3(21)_F14-77'.](9e290fa7e4578ba0a8b8c5008c99b564_img.jpg)
-
-The diagram illustrates the internal structure of the ODUkP-h/ODUj-21\_A\_So processes. At the top, multiple client-specific processes (ODUj\_CP[1] to ODUj\_CP[n]) are shown, each with inputs like CI\_MFS, CI\_FS, CI\_CK, CI\_D, and CI\_APS. These connect to a central 'Multiplexer' block. The multiplexer outputs are labeled OMFS, MFS, FS, CK, and TS#. Below the multiplexer, the 'Multiplex structure identifier (MSI)' is generated, taking inputs from the multiplexer and MGSI. The 'Payload type (PT)' and 'RES' fields are also processed. The 'ODUk PM APS' field is generated from the multiplexer outputs. A block for 'for k = 4, 25(u), 50(u)' contains an 'OMFI' block and a '1/80' divider. The 'ODUk OH is set to all-0's, except PM STAT = 001' block is also present. An 'RCOH generator' block produces various overhead signals. At the bottom, the 'ODUkP\_AP' section includes 'AI\_D', 'AI\_MFS', 'AI\_FS', and 'AI\_CK' signals. On the right, a 'HAO process (if needed)' block is shown with various input and output signals. The entire diagram is labeled with 'G.798(17)-Amd.3(21)\_F14-77'.
-
-Signals and blocks include:
-- ODUj\_CP[1] ... ODUj\_CP[n]
-- CI\_MFS, CI\_FS, CI\_CK, CI\_D, CI\_APS
-- MI\_AdminState[1..n], MI\_APS\_EN[1..n], MI\_APS\_LVL[1..n], MI\_ODUType\_Rate[1..n], BWR\_IND, MGSI, GMP\_MODE, CK\_Control
-- Multiplexer (OMFS, MFS, FS, CK, D, TS#)
-- Multiplex structure identifier (MSI)
-- Payload type (PT)
-- RES
-- ODUk PM APS
-- OMFI, $\frac{1}{80}$
-- ODUk OH is set to all-0's, except PM STAT = 001
-- $\frac{1}{256}$ , $\frac{1}{122368}$
-- ODCa clock generator, Free-running clock generator
-- RCOH generator (MI\_INCREASE, MI\_DECREASE, MI\_TSMAP, RP, TSCC, CTRL, TSGS, TPID)
-- HAO process (if needed) (RP, CTRL, TSGS, TPID, TSCC, CK, FS, (O)MFS, BWR\_IND)
-- RI\_RP, RI\_CTRL, RI\_TSGS, RI\_TPID, MI\_INCREASE, MI\_DECREASE, MI\_TSMAP, MI\_TPID, MI\_ADJSTATE
-- MI\_TxMSI, MI\_AUTOPayloadtype, MI\_TrPT, RI\_TrPT, RI\_AcPT, RI\_RP, RI\_CTRL, RI\_TSGS, RI\_TPID, PI\_APS, TI\_CK
-- AI\_D, AI\_MFS, AI\_FS, AI\_CK (ODUkP\_AP)
-
-Figure 14-77 – ODUkP-h/ODUj-21\_A\_So processes. This block diagram illustrates the internal structure of the ODUkP-h/ODUj-21\_A\_So processes. At the top, multiple client-specific processes (ODUj\_CP[1] to ODUj\_CP[n]) are shown, each with inputs like CI\_MFS, CI\_FS, CI\_CK, CI\_D, and CI\_APS. These connect to a central 'Multiplexer' block. The multiplexer outputs are labeled OMFS, MFS, FS, CK, and TS#. Below the multiplexer, the 'Multiplex structure identifier (MSI)' is generated, taking inputs from the multiplexer and MGSI. The 'Payload type (PT)' and 'RES' fields are also processed. The 'ODUk PM APS' field is generated from the multiplexer outputs. A block for 'for k = 4, 25(u), 50(u)' contains an 'OMFI' block and a '1/80' divider. The 'ODUk OH is set to all-0's, except PM STAT = 001' block is also present. An 'RCOH generator' block produces various overhead signals. At the bottom, the 'ODUkP\_AP' section includes 'AI\_D', 'AI\_MFS', 'AI\_FS', and 'AI\_CK' signals. On the right, a 'HAO process (if needed)' block is shown with various input and output signals. The entire diagram is labeled with 'G.798(17)-Amd.3(21)\_F14-77'.
-
-**Figure 14-77 – ODUkP-h/ODUj-21\_A\_So processes**
-
-![Figure 14-78 – ODUkP-h/ODUj-21_A_So client specific processes. This block diagram illustrates the internal processes of an ODUj client signal. At the top, the ODUj_CP[p] signal is shown with its components: CL_MFS, CL_FS, CL_CK, CL_D, and CL_APS. The diagram shows the flow of data and control signals through various functional blocks: an OPUflex RCOH receiver, an ODU-LCK generator, a 'Select normal/LCK' block, an ODUj APS block, a FAS/MFAS insertion block, an Elastic store (buffer), and a Justification control and JC generation block. External control signals include BWR_IND, MI_AdminState[p], MI_APS_EN[p], MI_APS_LVL[p], MGSI, GMP_MODE, CK_Control, and MI_ODUType_Rate[p]. Input signals at the bottom are OMFS, MFS, FS, CK, D, and TS#.](169044aee9e8adb39eed822364eed8aa_img.jpg)
-
-G.798(17)-Amd.3(21)\_F14-78
-
-Figure 14-78 – ODUkP-h/ODUj-21\_A\_So client specific processes. This block diagram illustrates the internal processes of an ODUj client signal. At the top, the ODUj\_CP[p] signal is shown with its components: CL\_MFS, CL\_FS, CL\_CK, CL\_D, and CL\_APS. The diagram shows the flow of data and control signals through various functional blocks: an OPUflex RCOH receiver, an ODU-LCK generator, a 'Select normal/LCK' block, an ODUj APS block, a FAS/MFAS insertion block, an Elastic store (buffer), and a Justification control and JC generation block. External control signals include BWR\_IND, MI\_AdminState[p], MI\_APS\_EN[p], MI\_APS\_LVL[p], MGSI, GMP\_MODE, CK\_Control, and MI\_ODUType\_Rate[p]. Input signals at the bottom are OMFS, MFS, FS, CK, D, and TS#.
-
-**Figure 14-78 – ODUkP-h/ODUj-21\_A\_So client specific processes**
-
-### Specific processes
-
-The specific processes are performed independently for each ODUj client signal that is multiplexed into the OPUk. The specific processes perform the mapping of the ODUj into an ODTUjk or ODTUk.M.
-
-**FAS/MFAS insertion:** The function shall extend the ODUj with the frame alignment overhead (FAS and MFAS) in row one bytes 1 to 7, as described in clause 15.6.2 of [ITU-T G.709]. Bytes 8 to 14 of row one are set to all-ZEROs.
-
-**Mapping, frequency justification and bit rate adaptation:** The function shall provide an elastic store (buffer) process for the ODUj client signal. The data signal ODUj\_CI shall be written into the buffer under the control of the associated input clock.
-
-Two justification methods as described below are provided, AMP (*ODTUjk*) and GMP (*ODTUk.M*). The ODU type and rate, as configured via the MI\_ODUType\_Rate[p] input for tributary port #p, determine the mapping method and in the case of GMP mapping, the base value and ranges for the parameters Cn and Cm.
-
-*ODTUjk:* The data shall be read out of the buffer and written onto the D, NJO, PJO1 and PJO2 bytes of the selected ODTUjk frame under the control of the ODUk clock and the AMP justification decisions, as defined in clause 19.5 of [ITU-T G.709].
-
-A justification decision shall be performed two times per OPUk multiframe (jk=12, 13) and eight times per OPUk multiframe (jk=23). Justification decisions are taken at the beginning of the OPUk frame carrying an instance of the ODTUjk justification overhead. Each justification decision results in a corresponding double positive, positive, negative or no justification action in this OPUk frame. Upon a double positive justification action, the reading of two data bytes out of the buffer shall be cancelled once. No ODUj data shall be written onto the PJO2, PJO1 or NJO bytes. Upon a positive justification action, the reading of one data byte out of the buffer shall be cancelled once. No ODUj data shall be written onto the PJO1 or NJO bytes and data shall be written onto the PJO2 byte. Upon a negative justification action, one extra data byte shall be read once out of the buffer. ODUj data shall be written onto the PJO2, PJO1 and NJO bytes. If no justification action is to be performed, ODUj data shall be written onto the PJO2 and PJO1 bytes and no ODUj data shall be written onto the NJO byte. The OPUk frame that contains the PJO2, PJO1 and NJO bytes depends on the tributary slots occupied by the ODTUjk.
-
-The justification decisions determine the phase error introduced by the function.
-
-*ODTUk.M:* The data shall be read out of the buffer and written onto groups of M successive bytes of the ODTUk.M payload area under the control of the ODUk clock and the GMP data/stuff control mechanism, as defined in clause 19.6 of [ITU-T G.709].
-
-*Buffer size:* In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the range specified in Table 7-2 of [ITU-T G.709], this mapping process shall not introduce any errors. The maximum buffer hysteresis, and therefore the maximum phase error introduced, shall be as listed in Table 14-34.
-
-**Table 14-34 – Maximum buffer hysteresis**
-
-| Mapping | Maximum buffer hysteresis |
-|----------------|------------------------------------|
-| ODUj → ODTUk.M | 4*M bytes |
-| ODUj → ODTUjk | 2 bytes (j = 1) 8 bytes (j = 2) |
-
-**ODTUjk JC:** The function shall generate the justification control bits based on the justification decision according to the specification in clause 19.5 of [ITU-T G.709]. It shall insert the justification control bits in bit 7 and 8 of all three JC bytes of the frame in which the justification is performed. The remaining (RES) bits of the JC byte shall be set to all-ZEROs. The ODUk frame that contains the JC bytes depends on the time slot(s) of the ODTUjk.
-
-**ODTUk.M JC1/JC2/JC3, JC4/JC5/JC6:** The function shall generate the GMP $C_m$ and GMP $\Sigma C_{nD}$ information and insert this into the JC1/JC2/JC3 and JC4/JC5/JC6 bytes respectively, according to the specification in clause 19.6 and Annex D of [ITU-T G.709].
-
-The function shall generate the GMP $C_m$ information (without the GMP $\Sigma C_{nD}$ information) and insert this into the JC1/JC2/JC3 bytes during the GMP special mode, as defined in clauses 7.1.2 and 7.2.2 of [ITU-T G.7044].
-
-**ODUj server layer APS:** When APS is enabled for tributary signal #p (MI\_APS\_EN[p] is true), the function shall insert the CI\_APS value into the ODU APS/PCC[MI\_APS\_LVL[p]] field, which is available once per eight ODU frames when the value of the MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL[p].
-
-NOTE – The ODUj server layer section APS information may be present in the case where the ODUj signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may be inserted in this adaptation source function. ODUj SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-**ODU-LCK:** The function shall generate the ODU-LCK signal as defined in clause 16.5 of [ITU-T G.709]. The clock, frame start and multiframe start are defined by the incoming ODUk signal.
-
-**Selector:** The normal signal for a tributary signal #p may be replaced by the ODU-LCK signal. The ODU-LCK signal is selected if the MI\_AdminState[p] is LOCKED.
-
-**OPUflex RCOH Receiver:** This function shall monitor the OPUflex RCOH overhead and extract the BWR\_IND signal as defined in clause 6.2.7 of [ITU-T G.7044].
-
-**RCOH generator:** When MI\_INCREASE or MI\_DECREASE is true, this process inserts the RP, TSCC, CTRL, TSGS and TPID in the RCOH fields of the tributary slots identified in the MI\_TSMAP.
-
-### Common processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODUk clock (ODUKP\_AI\_CK) with a frequency as listed in Table 7-2 of [ITU-T G.709] from the synchronization timing information clock input (TI\_CK) or, if the TI\_CK is absent, a free-running oscillator. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**OPU multiframe (OMFI) start signal generation for OPUk with k=4, 25(u), 50(u):** For k = 4, 25(u), 50(u) in addition to MFAS, a dedicated OPU multiframe indicator is used for the multiplexing of LO ODUs into the OPU payload area. This multiframe structure is locked to the lsb bits of the OMFI byte as shown in Tables 19-4, 19-5 and 19-6 of [ITU-T G.709], and to be inserted into the OPU overhead. The function shall generate an OPU multiframe and the related start signal (OMFS) dividing the frame signal sequence by the maximum number of tributary slots TSmax. The OMFI start signal may optionally be phase aligned to the ODU multiframe signal. In this case the OMFI = 0 position is aligned with MFAS = 0 position every 1280 frame periods See clause 19.4.4 of [ITU-T G.709].
-
-**Multiplexing:** The function assigns the individual ODTUjk or ODTUk.M to specific time slots of the OPUk payload area as defined by the multiplex structure (see clauses 19.3 and 19.4.1 of [ITU-T G.709]).
-
-**MSI:** The function shall insert TxMSI into the MSI byte positions of the PSI overhead as defined in clauses 19.4.1.4, 19.4.1.5, 19.4.1.6 of [ITU-T G.709]. The TxMSI value, and as such the multiplex structure, is configurable via MI\_TxMSI. *During the HAO process, the TxMSI value should be configured X resizing multiframes prior to the re-enabling of dMSIM[p] detection; as defined in clause 14.3.10.2. X shall be 3.*
-
-**PT:** The function shall insert code "0010 0001" (ODU multiplex structure supporting ODTUk.ts or ODTUk.ts and ODTUjk) into the PT byte position of the PSI overhead, as defined in clause 15.9.2.1 of [ITU-T G.709] for k = 4.
-
-**Autonomous payload type for k = 2, 3:** For k = 2, 3 the transmitted PT code shall default to code "0010 0001". This code must be replaced by code "0010 0000" under the control of the PT = 21-to-PT = 20 interworking process described hereafter. When MI\_AutoPayloadtype is activated the function shall adapt a PT21 supporting port to a PT20 structure. If the corresponding adaptation sink provides the information of a PT = 20 at the RI\_AcPT, the function shall fall back to PT = 20 under the following conditions: The MI\_AutoPayloadtype is true and the HO ODU source is either not provisioned for any traffic signal structure, or the HO ODU2 source configured for one or more ODU1 signals is to be mapped into TS1/TS5 and/or TS2/TS6 and/or TS3/TS7 and/or TS4/TS8, or the HO ODU3 source is configured to support one or more ODU1 signals mapped into TS1/TS17, TS2/TS18, TSi/TS16+I and/or one or more ODU2 signals mapped into
-
-TSa/TS16+a/TSb/TS16+b/TSc/TS16+c/TSd/TS16+d and no other ODU type signals. In this case, the function shall insert PT20 into the PSI positions. The default value of the MI\_AUTO payload type activation shall be "true". In the situation where a PT 21 capable port which has been operating in the PT20 mode is taken out of service or receives PT21, the port shall subsequently fall back to a PT21 structure.
-
-In the case where the ODU2 or ODU3 adaptation source is configured for either ODU0, or ODUflex, or ODU2e, or for an ODU1 in TSi/TSj with $j < 4+i$ (for ODU2) or $j < 16+i$ (for ODU3), then PT21 is to be inserted. The transmitted PT shall be reported at the ODUkP-h/ODUj-21\_A\_So\_RI\_TrPT to the corresponding adaptation sink function and the ODUkP-h/ODUj-21\_A\_So\_MI\_TrPT.
-
-NOTE – The change to PT20 or PT21 means a full adaptation to the related signal structure including the default OH byte insertion.
-
-**HAO processes:** The HAO process includes LCR\_Generator and BWR\_RELAY\_Generator processes.
-
-**LCR\_Generator:** This process is used for LCR protocol adjustment processing and generation of the LCR protocol overhead.
-
-*Tributary slot (TS) adjustment activation:* When the MI\_INCREASE or MI\_DECREASE signal's value changes from false to true, the link connection resize (LCR) protocol is activated.
-
-- For the case where MI\_INCREASE is true and MI\_DECREASE is false, the *CTRL* field is set to ADD(01) and the *TSGS* bit is set to NACK(0).
-- For the case where MI\_DECREASE is true and MI\_INCREASE is false, the *CTRL* field is set to REMOVE(10) and the *TSGS* bit is set to NACK(0).
-- In any other case, the *CTRL* field is set to IDLE(00) and the *TSGS* bit is set to NACK(0).
-
-**Table 14-35 – Significance of the control fields during LCR generator processing**
-
-| MI_INC | MI_DEC | RMF boundary | CTRL | TSGS |
-|--------|--------|--------------|------|------|
-| 0 | 0 | 0 | 00 | NACK |
-| 0 | 0 | 1 | 00 | NACK |
-| 0 | 1 | 0 | 10 | NACK |
-| 0 | 1 | 1 | 10 | NACK |
-| 1 | 0 | 0 | 01 | NACK |
-| 1 | 0 | 1 | 01 | NACK |
-| 1 | 1 | 0 | N/A | N/A |
-| 1 | 1 | 1 | N/A | N/A |
-
-
-
-Figure 14-79: LCR Generator and BWR\_RELAY\_generator processes block diagram. The diagram shows a large 'HAO process' block containing two main sub-processes: 'LCR\_generator' and 'BWR\_RELAY\_generator'. The 'LCR\_generator' sub-process includes 'TS adjustment activation', 'RI processing', 'TS switch processing', and 'TS adjustment completion process'. The 'BWR\_RELAY\_generator' sub-process includes 'xI process', 'GMP mode process', 'RP relay process', 'TSCC relay process', and 'Ramp follow process'. External inputs include MI\_INCREASE, MI\_DECREASE, MI\_TSMAP, MI\_TPID, CK, FS, MFS, OPU4 MFS, xI\_RP, xI\_TSCC (X = C or M), and BWR\_IND. External outputs include CTRL, TSGS, TPID, MI\_ADJUSTATE, RP, GMP\_MODE, TSCC, and CK\_Control. Internal signals include LCR reactive indication, TSCC relay indication, and TS adjustment completion indication. The diagram is labeled G.798(17)\_F14-79.
-
-**Figure 14-79 – LCR Generator and BWR\_RELAY\_generator processes**
-
-*Remote information (RI) processing:* This performs LCR protocol processing according to the RI\_RP, RI\_CTRL, RI\_TSGS, RI\_TPID signals received from the LCR\_Receiver process.
-
-Increase case:
-
-- The *TSGS* signal is set to ACK(1) when receiving RI\_RP=1 and RI\_CTRL=ADD(01).
-- The *TS switch processing* is activated when receiving RI\_RP=1 and RI\_CTRL=ADD(01) and RI\_TSGS=ACK(1).
-- The *TS adjustment completion* process is activated when receiving RI\_RP=1 and RI\_CTRL=NORM(11) and RI\_TSGS=ACK(1).
-- The *TSCC relay indication* signal is generated and sent to the BWR\_RELAY\_generator process when receiving RI\_RP=1 and RI\_CTRL=IDLE(00) and RI\_TSGS=NACK(0).
-
-Decrease case:
-
-- The *TSCC relay indication* signal is generated and sent to the BWR\_RELAY\_generator process and the LCR protocol is put on hold when receiving RI\_RP=1 and RI\_CTRL=REMOVE(10).
-- The *TSGS* signal is set to ACK(1) when the *LCR reactive indication* signal is valid.
-- The *TS switch processing* process is activated when receiving RI\_RP=1 and RI\_CTRL=NORM(11) and RI\_TSGS=ACK(1).
-- The *TS adjustment completion* process is activated when receiving RI\_RP=1 and RI\_CTRL=NORM(11) and RI\_TSGS=ACK(1).
-- The *TS adjustment completion indication* signal is generated and sent to the BWR\_Generator\_Relay process when receiving RI\_RP=1 and RI\_CTRL=IDLE(00) and RI\_TSGS=NACK(0).
-
-**Table 14-36 – Significance of the control fields during RI processing**
-
-| RI_RP | RI_TSGS | RI_CTRL | INCREASE | DECREASE |
-|-------|---------|---------|-------------------------------------------|-------------------------------------------------------------|
-| 0 | 0 | 00 | | |
-| 0 | 0 | 01 | | |
-| 0 | 0 | 10 | | |
-| 0 | 0 | 11 | | |
-| 0 | 1 | 00 | | |
-| 0 | 1 | 01 | | |
-| 0 | 1 | 10 | | |
-| 0 | 1 | 11 | | |
-| 1 | 0 | 00 | TSCC relay indication | TS adjustment completion indication |
-| 1 | 0 | 01 | TSGS = ACK | |
-| 1 | 0 | 10 | | TSCC relay indication |
-| 1 | 0 | 11 | | |
-| 1 | 1 | 00 | | |
-| 1 | 1 | 01 | TSGS = ACK TS switch processing | |
-| 1 | 1 | 10 | | TSCC relay indication TS switch processing |
-| 1 | 1 | 11 | TS adjustment completion | TS adjustment completion |
-
-Output adjustment state signal (*MI\_ADJSTATE*).
-
-*TS switch processing:*
-
-- The *CTRL* signal is set to NORM(11) and the *TSGS* signal is set to ACK(1) when MFAS is 0 (k = 2, 3) or MFAS and OMFI are both 0 (k = 4).
-- The *mapping granularity switch indication* (MGSI) signal is generated and sent towards the mapping process.
-- The related MSI overhead bytes are to be updated according to the renewed TS information at the resize multiframe boundary (see [ITU-T G.7044] clauses 7.1.2 and 7.2.2).
-
-**Table 14-37 – Significance of the control fields during TS switch processing**
-
-| TS adjustment completion | TS switch | RMF boundary | CTRL | TSGS | MGSI |
-|--------------------------|-----------|--------------|------|------|------|
-| 0 | 0 | 0 | | | |
-| 0 | 0 | 1 | | | |
-| 0 | 1 | 0 | FFS | FFS | 1 |
-| 0 | 1 | 1 | 11 | ACK | 1 |
-| 1 | 0 | 0 | FFS | FFS | |
-| 1 | 0 | 1 | 00 | NACK | |
-| 1 | 1 | 0 | N/A | N/A | 1 |
-| 1 | 1 | 1 | N/A | N/A | 1 |
-
-*TS adjustment completion processing:* The *CTRL* signal is set to IDLE and the *TSGS* signal is set to NACK(0) when MFAS is 0 (k = 2, 3) or OMFI and MFAS are both 0 (k = 4).
-
-**BWR Generator Relay process:** This process forwards the RP signal and TSCC signal of the BWR protocol, determines the status of GMP mode and triggers the resize ramp follow mode according to the transition of the BWR\_IND bit to prevent buffer overflow or underflow in the downstream nodes.
-
-*xI process (x=C or M):* This process detects the input xI\_RP and xI\_TSCC from BWR\_Generator or BWR\_RELAY\_receiver.
-
-- In the decrease case, the *LCR reactive indication* signal is set to TRUE when xI\_RP=1 and the value of xI\_TSCC changes from 1 to 0 and the GMP source is in normal mode.
-- In the increase case, this process is not deployed.
-
-*GMP mode process:* The *GMP MODE* signal is set to "special mode" when the *TSCC relay indication* signal is true. The *GMP MODE* signal is set to "normal mode" when the value of the xI\_TSCC signal changes from 1 to 0.
-
-*TSCC relay process:* The value of the xI\_TSCC signal is passed through to the *TSCC signal* when TSCC relay indication signal has the value True and the GMP MODE is set to special mode; otherwise TSCC is 0.
-
-*RP relay process:* When MI\_INCREASE or MI\_DECREASE is true, the RP signal is set to 1. The value of xI\_RP is passed through to the RP signal (RP = xI\_RP) when TS adjustment completion indication is true; otherwise RP = 1.
-
-*Ramp Follow process:* This process detects the BWR\_IND signal from OPUflex RCOH monitor. Once the process detects the transition of BWR\_IND signal from "0" to "1", the ODUflex source shall start ramp follow mode. When the process detects the transition of BWR\_IND signal from "1" to "0", the ODUflex source shall stop ramp follow mode as defined in clauses 7.1.1 and 7.2.1 of [ITU-T G.7044]. The CK\_control signal is generated and sent to Justification control and JC generation process to control the ODUflex mapping clock.
-
-**RES:** The function shall insert all-ZEROs into the RES bytes.
-
-**ODUk PM APS:** The function shall insert the PI\_APS value into the ODUk Path APS/PCC field, which is available once per eight ODUk frames when MFAS bits 6,7,8 are 000.
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### **14.3.13.2 HAO-capable ODUkP to ODUj payload type 21 adaptation sink function (HAO-capable ODUkP-h/ODUj-21\_A\_Sk)**
-
-The HAO-capable ODUkP-h/ODUj-21\_A\_Sk function extracts the OPUk overhead (PT, MSI, RES and OMFI) and monitors the reception of the correct payload type. It demultiplexes the individual ODTUjk and ODTUk.M from the payload area of the OPUk and recovers the $n \times$ ODUj signals using the justification control information (JC, JC1/2/3/4/5/6 overhead). It determines the frame and multiframe structure of the ODUj. It provides access to ODUk PM APS Overhead. It provides access to ODUj APS overhead.
-
-The information flow and processing of the HAO-capable ODUkP-h/ODUj-21\_A\_Sk function is defined with reference to Figures 14-80, 14-81 and 14-82.
-
-## Symbol
-
-
-
-Diagram of the HAO-capable ODUkP-h/ODUj-21\_A\_Sk function symbol. The symbol is a trapezoid labeled 'ODUkP-h/ODUj-21'. Inputs include 'ODUkP\_PP' from the left, 'ODUkP-h/ODUj-21\_A\_Sk\_MP' from the left, and 'ODUkP\_AP' from the bottom. Outputs include 'ODUkP-h/ODUj-21\_A\_Sk\_RP' to the right and 'Tributary port' outputs labeled 1, 2, ..., n, collectively labeled 'ODUj\_CPs'.
-
-Figure 14-80 – HAO-capable ODUkP-h/ODUj-21\_A\_Sk function
-
-## Interfaces
-
-Table 14-38 – ODUkP-h/ODUj-21\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS ODUkP_AI_TSF ODUkP_AI_TSD ODUkP-h/ODUj-21_A_Sk_MP: ODUkP-h/ODUj-21_A_Sk_MI_ExMSI[1..n] ODUkP-h/ODUj-21_A_Sk_MI_AdminState[1..n] ODUkP-h/ODUj-21_A_Sk_MI_APS_EN[1..n] ODUkP-h/ODUj-21_A_Sk_MI_APS_LVL[1..n] ODUkP-h/ODUj-21_A_Sk_MI_Nominal_Bitrate_and_Tolerance[1..n] ODUkP-h/ODUj-21_A_Sk_MI_ODUType[1..n] ODUkP-h/ODUj-21_A_Sk_MI_INCREASE ODUkP-h/ODUj-21_A_Sk_MI_DECREASE ODUkP-h/ODUj-21_A_Sk_MI_TSMAP ODUkP-h/ODUj-21_A_Sk_MI_TPID ODUkP-h/ODUj-21_A_Sk_RP: ODUkP-h/ODUj-21_A_Sk_RI_TrPT (Note) | n × ODUj_CP: ODUj_CI_CK ODUj_CI_D ODUj_CI_FS ODUj_CI_MFS ODUj_CI_SSF ODUj_CI_SSD ODUj_CI_APS ODUj-21_(C/M)I_RP ODUj-21_(C/M)I_TSCC ODUk_PP: ODUk_PI_APS ODUk_PI_TSF ODUk_PI_TSD ODUkP-h/ODUj-21_A_Sk_MP: ODUkP-h/ODUj-21_A_Sk_MI_cPLM ODUkP-h/ODUj-21_A_Sk_MI_cLOOMFI ODUkP-h/ODUj-21_A_Sk_MI_cMSIM[1..n] ODUkP-h/ODUj-21_A_Sk_MI_AcPT ODUkP-h/ODUj-21_A_Sk_MI_AcMSI[1..n] ODUkP-h/ODUj-21_A_Sk_MI_cLOFLOM[1..n] ODUkP-h/ODUj-21_A_Sk_MI_cRCOHM ODUkP-h/ODUj-21_A_Sk_RP: ODUkP-h/ODUj-21_A_Sk_RI_AcPT (Note) ODUkP-h/ODUj-21_A_Sk_RI_RP ODUkP-h/ODUj-21_A_Sk_RI_CTRL ODUkP-h/ODUj-21_A_Sk_RI_TSGS ODUkP-h/ODUj-21_A_Sk_RI_TPID |
-
-NOTE – For ODU2P-h/ODUj-21\_A\_Sk and ODU3P-h/ODUj-21\_A\_Sk only.
-
-## Processes
-
-The processes associated with the HAO-capable ODUkP-h/ODUj-21\_A\_Sk function are specific processes for each ODUj\_CP and common processes for the compound (multiplexed) signal as depicted in Figures 14-81 and 14-82.
-
-![Figure 14-81 – ODUkP-h/ODUj-21_A_Sk processes. This functional block diagram shows the internal architecture of the ODUkP-h/ODUj-21_A_Sk sink function. At the top, multiple ODUj_CP[1] to ODUj_CP[n] interfaces receive signals like CI_MFS, CI_FS, CI_CK, CI_D, CI_APS, CI_SSF, and CI_SSD. These feed into 'Client specific processes' blocks which interact with a 'Demultiplexer'. The demultiplexer handles signals like OMFS, MFS, FS, CK, D, TS#, and Active. Below the demultiplexer, there are blocks for 'Extract MSI' and 'Extract PT' feeding into 'MSI process' blocks. There is also an 'ODUk PM APS' block. For specific values of k (4, 25(u), 50(u)), there is an 'Extract OMFI' and 'OMFI process' loop. A 'Defect correlations' block monitors signals like dRCOHM, dPLM, dLOOMFI, and AI_TSF. A 'HAO process (if needed)' block handles hitless adjustment of ODUflex. An 'RCOH monitor' block is shown at the bottom left. Various MI (Management Information) and RI (Remote Information) signals are shown on the right side, including MI_cMSIM, MI_AdminState, RI_RP, RI_CTRL, etc. The bottom of the diagram shows the ODUkP_AP interface with signals AI_MFS, AI_FS, AI_CK, AI_D, AI_TSF, and AI_TSD.](87f2c7d96e398885a4108ecbf1aa9499_img.jpg)
-
-G.798(17)-Amd.3(21)\_F14-81
-
-Figure 14-81 – ODUkP-h/ODUj-21\_A\_Sk processes. This functional block diagram shows the internal architecture of the ODUkP-h/ODUj-21\_A\_Sk sink function. At the top, multiple ODUj\_CP[1] to ODUj\_CP[n] interfaces receive signals like CI\_MFS, CI\_FS, CI\_CK, CI\_D, CI\_APS, CI\_SSF, and CI\_SSD. These feed into 'Client specific processes' blocks which interact with a 'Demultiplexer'. The demultiplexer handles signals like OMFS, MFS, FS, CK, D, TS#, and Active. Below the demultiplexer, there are blocks for 'Extract MSI' and 'Extract PT' feeding into 'MSI process' blocks. There is also an 'ODUk PM APS' block. For specific values of k (4, 25(u), 50(u)), there is an 'Extract OMFI' and 'OMFI process' loop. A 'Defect correlations' block monitors signals like dRCOHM, dPLM, dLOOMFI, and AI\_TSF. A 'HAO process (if needed)' block handles hitless adjustment of ODUflex. An 'RCOH monitor' block is shown at the bottom left. Various MI (Management Information) and RI (Remote Information) signals are shown on the right side, including MI\_cMSIM, MI\_AdminState, RI\_RP, RI\_CTRL, etc. The bottom of the diagram shows the ODUkP\_AP interface with signals AI\_MFS, AI\_FS, AI\_CK, AI\_D, AI\_TSF, and AI\_TSD.
-
-Figure 14-81 – ODUkP-h/ODUj-21\_A\_Sk processes
-
-![Block diagram of ODUj_CP[p] client specific processes. The diagram shows the internal structure of an ODUj client, including OPUflex RCOH monitor, Select normal/AIS/LCK, Generate AIS/LCK, ODUj APS, Frame/multi-frame alignment, Elastic store, Clock generation (ODCp), Justification control, Extract JC, and Defect correlation. It also shows various input and output signals like OMFI, MFAS, FS, CK, D, TS#, Active, CL_MFS, CL_FS, CL_CK, CL_D, CL_APS, CL_SSF, CL_SSD, BWR_IND, MI_AdminState[p], AI_TSD, AI_TSF, MI_APS_EN[p], MI_APS_LVL[p], dPLM, dLOOMFI, dMSIM[p], MI_cMSIM[p], MI_cLOFLOM[p], DMGSI, GMP_MODE, CK_Control, MI_Nominal_Bitrate_and_Tolerance[p], and MI_ODUType[p].](b35608e925cb6a7c0aa0db30d2db9d66_img.jpg)
-
-The diagram illustrates the internal processes of an ODUj client, labeled as ODUj\_CP[p]. At the top, a bracket groups several output signals: CL\_MFS, CL\_FS, CL\_CK, CL\_D, CL\_APS, CL\_SSF, and CL\_SSD. Below this, the diagram is divided into several functional blocks. On the left, an 'OPUflex RCOH monitor' block receives inputs from the top signals and outputs 'BWR\_IND'. Below it, a 'Select normal/AIS/LCK' block contains sub-blocks 'Normal', 'AIS', and 'LCK', which receive inputs from 'Generate AIS' and 'Generate LCK' blocks. These generation blocks are influenced by 'MI\_Nominal\_Bitrate\_and\_Tolerance[p]'. The 'Select normal/AIS/LCK' block outputs 'MI\_AdminState[p]'. In the center, an 'ODUj APS' block receives inputs from 'MI\_APS\_EN[p]' and 'MI\_APS\_LVL[p]'. Below the APS block, a 'Frame/multi-frame alignment' block receives 'MFAS', 'FS', 'CK', and 'D' inputs and outputs 'D' and 'CK' signals. These signals go to an 'Elastic store' block, which has 'RD' (Read) and 'WR' (Write) ports. The 'Elastic store' is connected to a 'Clock generation (ODCp)' block. The 'Clock generation' block outputs 'dLOFLOM' and 'AI\_TSF' signals. Below the clock generation, there are 'Justification control' and 'Extract JC' blocks, which receive inputs from 'MI\_Nominal\_Bitrate\_and\_Tolerance[p]' and 'MI\_ODUType[p]'. On the right, a 'Defect correlation' block receives inputs from 'dLOFLOM', 'dPLM', 'dLOOMFI', 'dMSIM[p]', 'MI\_cMSIM[p]', 'MI\_cLOFLOM[p]', 'DMGSI', 'GMP\_MODE', and 'CK\_Control'. It outputs 'aAIS', 'aSSF', and 'aSSD' signals to a 'Consequent actions' block, which in turn outputs 'AI\_TSD' and 'AI\_TSF' signals. At the bottom, input signals include OMFI, MFAS, FS, CK, D, TS#, and Active. A reference label 'G.798(17)-Amd.3(21)\_F14-82' is present at the bottom right of the diagram area.
-
-Block diagram of ODUj\_CP[p] client specific processes. The diagram shows the internal structure of an ODUj client, including OPUflex RCOH monitor, Select normal/AIS/LCK, Generate AIS/LCK, ODUj APS, Frame/multi-frame alignment, Elastic store, Clock generation (ODCp), Justification control, Extract JC, and Defect correlation. It also shows various input and output signals like OMFI, MFAS, FS, CK, D, TS#, Active, CL\_MFS, CL\_FS, CL\_CK, CL\_D, CL\_APS, CL\_SSF, CL\_SSD, BWR\_IND, MI\_AdminState[p], AI\_TSD, AI\_TSF, MI\_APS\_EN[p], MI\_APS\_LVL[p], dPLM, dLOOMFI, dMSIM[p], MI\_cMSIM[p], MI\_cLOFLOM[p], DMGSI, GMP\_MODE, CK\_Control, MI\_Nominal\_Bitrate\_and\_Tolerance[p], and MI\_ODUType[p].
-
-Figure 14-82 – ODUkP-h/ODUj-21\_A\_Sk client specific processes
-
-### Common processes
-
-**OPU multiframe (OMFI) reception for OPUk with k=4, 25(u), 50(u):** For k = 4, 25(u), 50(u) in addition to MFAS, a dedicated OPU multiframe indicator is used for the multiplexing of LO ODUs into the OPU payload area. This multiframe structure is locked to the lsb bits of the OMFI byte as shown in Tables 19-4, 19-5 and 19-6 of [ITU-T G.709]. The function shall detect an OPU multiframe by searching for the framing pattern in the bits indicated above. The process has two states, out-of-multiframe (OOM) and in-multiframe (IM). The IM state shall be entered if this set is found and confirmed one frame period later and an error-free multiframe sequence is found in the byte positions of the two frames. In the IM state, the frame alignment signal shall be continuously checked with the presumed OMFI frame start position and the expected multiframe sequence. The OOM state shall be entered if this subset is not found at the correct position in five consecutive frames or the received OMFI does not match with the expected multiframe number in five consecutive frames. The OPU4
-
-multiframe start (OMFS) shall be maintained during the OOM state of the OMFI detection process. The defect dLOOMFI shall be generated based on the state of the OMFI alignment process. If the OMFI alignment process is persistently in the out-of-multiframe (OOM) state for 3 ms, dLOOMFI shall be declared. dLOOMFI shall be cleared immediately when the OMFI alignment process is in the in-multiframe (IM) state.
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**Autonomous payload type for k = 2, 3:** The accepted PT is provisioned to the RP (RI\_AcPT) for automatic PT adaptation. The PLM detection shall be based on the comparison of the accepted PT with the provided PT on the RP at the RI\_TrPT input.
-
-**MSI:** The function shall extract the MSI from the PSI overhead as defined in clause 8.7.2.1. The accepted MSI for a tributary signal #p (AcMSI[p]) is available at the MP (MI\_AcMSI[p]). The multiplex structure is defined by ExMSI[p], which is either fixed or is configurable via MI\_ExMSI[p]. During the HAO process, ExMSI[p] updates should be configured at the resizing multiframe boundary with signals [NORM, (TPID#), ACK].
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**ODUk PM APS:** The function shall extract the information from the ODUk path APS/PCC field, which is available once per eight ODUk frames when MFAS bits 6,7,8 are 000 and apply this to the PI\_APS.
-
-**Demultiplexing:** The function activates the ODTUjk or ODTUk.M and assigns the time slots of the ODUk payload area to the individual ODTUjk or ODTUk.M, as defined by the multiplex structure (see clauses 19.3 and 19.4.1 of [ITU-T G.709]) and clauses 7.1 and 7.2 of [ITU-T G.7044]).
-
-### Specific processes
-
-The specific processes are performed independently for each ODUj client signal that is multiplexed into the OPUk. The specific processes recover the ODUj from the ODTUjk or ODTUk.M.
-
-Two justification methods as described below are provided, AMP (*ODTUjk*) and GMP (*ODTUk.M*). The ODU type, as configured via the MI\_ODUType [p]input for tributary port #p, determines the mapping method. In the case of GMP mapping, the ODU rate, as configured via the MI\_Nominal\_Bitrate\_and\_Tolerance[p] input for tributary port #p, determines the base value and ranges for the parameters $C_n$ and $C_m$ .
-
-**ODTUjk JC:** The function shall interpret the justification control information in bits 7 and 8 of the JC bytes as defined in clause 19.5 of [ITU-T G.709], in order to determine the justification action (double positive, positive, negative, none) for the current frame. A two out of three majority decision is used. RES bits in the JC bytes shall be ignored. The ODUk frame that contains the JC bytes depends on the time slot(s) of the ODTUjk.
-
-**ODTUk.ts JC1/2/3 and JC4/5/6:** The function shall interpret the GMP overhead information in the JC1/2/3 and JC4/5/6 bytes as defined in clause 19.6 of [ITU-T G.709] and in clauses 7.1.2 and 7.2.2 of [ITU-T G.7044], in order to determine the number of M-byte ODUj entities in the next ODTUk.M multiframe. The OPUk frame that contains the JC1/2/3 and JC4/5/6 bytes depends on the last tributary slot that is occupied by the ODTUk.M.
-
-**Demapping, CBR clock generation:** The function shall provide an elastic store (buffer) process.
-
-*ODTUjk:* The ODUj data shall be written into the buffer from the D, NJO, PJO1 and PJO2 bytes in the ODTUjk frame. The information extraction of the PJO2, PJO1 and NJO bytes shall be under the control of the justification control information.
-
-Upon a double positive justification action, the writing of two data bytes into the buffer shall be cancelled once. No ODUj data shall be read from the PJO2, PJO1 or NJO bytes. Upon a positive
-
-justification action, the writing of one data byte into the buffer shall be cancelled once. No ODUj data shall be read from the PJO1 or NJO bytes and data shall be read from the PJO2 byte. Upon a negative justification action, one extra data byte shall be written into the buffer once. ODUj data shall be read from the PJO2, PJO1 and NJO bytes. If no justification action is to be performed, ODUj data shall be read from the PJO2 and PJO1 bytes and no ODUj data shall be read from the NJO bytes. The OPUk frame that contains the PJO2, PJO1 and NJO bytes depends on the tributary slots occupied by the ODTUjk.
-
-*ODTUk.M:* The ODUj data shall be extracted from the groups of M successive bytes of the ODTUk.M payload area under the control of the GMP data/stuff control mechanism as defined in clause 19.6 of [ITU-T G.709] and clauses 7.1 and 7.2 [ITU-T G.7044] and be written into the buffer. The $C_n$ information associated with the ODUj is computed from the GMP $C_m$ and $\sum C_{nD}$ parameters carried within the JC1/2/3 and JC 4/5/6 overhead of the ODTUk.M, as specified in clause 19.6 of [ITU-T G.709]. For the GMP data/stuff control mechanism refer to Annex D of [ITU-T G.709].
-
-The ODUj data (CI\_D) shall be read out of the buffer under the control of the ODUj clock (CI\_CK).
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The ODUj data signal shall be written into the buffer under the control of the associated (gapped) OPUk input clock (with a frequency accuracy within $\pm 20$ ppm). The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) ODUj clock (the rate is determined by the ODUj signal at the input of the remote ODUkP-h/ODUj-21\_A\_So).
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock) apply.
-
-*Buffer size:* In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the tolerance range specified for the ODUj signal in Table 7-2 of [ITU-T G.709], this justification process shall not introduce any errors.
-
-Following a step in frequency of the ODUj signal transported (for example, due to receiving ODUj\_CI from a new ODUj\_TT\_So at the far end or removal of an ODU-AIS signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of one second has been proposed.
-
-**RCOH receiver:** When MI\_INCREASE or MI\_DECREASE is true, this process extracts RP, TSCC, CTRL, TPID and TSGS signals from the RCOH overhead for the set of M tributary slots configured via MI\_TSMAP. The values of the RCOH fields for each of the TS in TSMAP are compared. If the values are the same and the received TPID value matches the MI\_TPID, those values are forwarded to the HAO process. If the values are not the same, a RCOH mismatch defect (dRCOHM) is detected. When MI\_INCREASE or MI\_DECREASE is false, this process is disabled and RP, TSCC, CTRL, TPID and TSGS signals are all set to 0.
-
-**OPUflex RCOH Receiver:** This function shall monitor the OPUflex RCOH overhead and extract the BWR\_IND signal as defined in clause 6.2.7 of [ITU-T G.7044].
-
-**Frame and multiframe alignment:** The function shall perform frame and multiframe alignment as described in clause 8.2.3.
-
-**ODU-LCK, ODU-AIS:** The function shall generate the ODU-LCK and ODU-AIS signals as defined in [ITU-T G.709]. The clock, frame start and multiframe start shall be independent from the incoming clock. The clock has to be within the ODUj frequency tolerance range as specified in Table 7-2 of [ITU-T G.709] provisioned by the MI\_Nominal\_Bitrate\_and\_Tolerance[n] from a free-running oscillator. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply.
-
-**Selector:** The normal signal for a tributary signal #p may be replaced by either the ODU-AIS or ODU-LCK signal. ODU-LCK is selected if the corresponding MI\_AdminState[p] signal is LOCKED. ODU-AIS is selected if the corresponding MI\_AdminState[p] signal is not LOCKED and aAIS is true.
-
-**ODUj server layer APS:** When APS is enabled for tributary signal #p (MI APS\_EN[p] is true), the function shall extract the information from the ODU APS/PCC[MI APS\_LVL[p]] field, which is available once per eight ODU frames when the value of the MFAS bits 6, 7, 8 is equal to MI APS\_LVL[p], and apply the extracted information to the CI APS.
-
-NOTE – The ODUj server layer section APS information may be present in the case where the ODUk signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may have been inserted in the far-end adaptation source function. ODUj SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-## HAO processes
-
-The HAO process includes the LCR\_Receiver and BWR\_RELAY\_Receiver processes.
-
-
-
-Figure 14-83 – LCR\_Receiver and BWR\_Receiver\_Relay processes. This block diagram shows the internal structure of the HAO process. It is divided into two main sub-processes: LCR\_receiver and BWR\_RELAY\_receiver. The LCR\_receiver contains 'LCR OH detecting processing' and 'TS switch processing'. Inputs to the LCR\_receiver include MI\_INCREASE, MI\_DECREASE, MI\_TSMAP, MI\_TPID, CK, FS, MFS, OPU4 MFS, TPID, TSGS, CTRL, and RP. Outputs from the LCR\_receiver include RI\_RP, RI\_CTRL, RI\_TSGS, RI\_TPID, and DMGSI. The BWR\_RELAY\_receiver contains 'Ramp follow process', 'GMP mode process', 'RP forwarding processing', and 'TSCC forwarding processing'. Inputs to the BWR\_RELAY\_receiver include CK\_Control, BWR\_IND, (C/M)\_RP, and TSCC. Outputs from the BWR\_RELAY\_receiver include GMP\_MODE. The entire HAO process is shown within a larger system context.
-
-Figure 14-83 – LCR\_Receiver and BWR\_Receiver\_Relay processes
-
-**LCR\_Receiver:** This process completes the receiving LCR protocol. It contains the following sub-processes:
-
-*LCR OH detecting processing:* When MI\_INCREASE or MI\_DECREASE is true, the LCR protocol would be activated and RCOH information (RP, CTRL, TPID, TSGS) would be detected. This information is then sent to LCR\_Generator.
-
-*TS switch processing:* When CTRL is detected as NORM, the *demapping granularity switch indication* (DMGSI) signal would be generated towards the demapping processing.
-
-**BWR\_Receiver\_Relay:** This process forwards the RP signal and TSCC signal of the BWR protocol, determines the status of GMP mode and triggers the resize ramp follow mode according to the transition of the BWR\_IND bit to prevent buffer overflow or underflow in the downstream nodes. It contains the following sub-processes:
-
-*GMP mode process:* Change of TSCC from 0 to 1 is used to trigger the GMP process into special mode. Change of TSCC from 1 to 0 is used to trigger the GMP process into normal mode.
-
-*TSCC forwarding process:* This passes through TSCC=1 when the *GMP process is set into special mode*, that is (C/M)I\_TSCC=TSCC(1). This passes through TSCC=0 when *GMP has also been set into normal mode*, that is (C/M)I\_TSCC=TSCC(0). The initial value of CI\_TSCC is 0.
-
-*RP forwarding process:* RP is passed through to either a BWR\_RELAY\_Generator process or a BWR\_Receiver process ((C/M)I\_RP=RP).
-
-*Ramp follow process:* This process detects the BWR\_IND signal from the OPUflex RCOH monitor. Once the process detects the transition of the BWR\_IND signal from "0" to "1", the ODUflex source shall start the ramp follow mode. When the process detects the transition of the BWR\_IND signal from "1" to "0", the ODUflex source shall stop the ramp follow mode, as defined in clauses 7.1.1 and 7.2.1 of [ITU-T G.7044]. The CK\_control signal is generated and sent to the clock generator process to control the ODUflex demapping clock.
-
-## Defects
-
-The function shall detect dPLM, dMSIM, dLOOMFI and dLOFLOM.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is the provided PT on the RP at the RI\_TrPT input (ODU multiplex structure supporting ODTUk.ts or ODTUk.ts and ODTUjk) as defined in [ITU-T G.709].
-
-**dLOOMFI:** dLOOMFI is detected per OPUk with k = 4, 25(u), 50(u). See the OPU multiframe (OMFI) detection process for OPUk with k = 4, 25(u), 50(u).
-
-**dRCOHM:** RCOH mismatch defect. The values of the RCOH fields for each of the TS in TSMAP are compared. If the values are not the same, a RCOH mismatch defect (dRCOHM) is raised. If the values are the same and the received TPID value matches the MI\_TPID, those values are forwarded to the HAO process and the dRCOHM is cleared.
-
-For each ODUj tributary port #p:
-
-**dMSIM[p]:** See clause 6.2.9.1. dMSIM[p] is detected per active ODUj. During the HAO process, the detection of dMSIM[p] is disabled at the next resize multiframe boundary after receiving RP = 1, as defined in clause 6.2.6 of [ITU-T G.7044]. The detection of dMSIM[p] is enabled at the next resize multiframe boundary after receiving RP=0, as defined in clause 6.2.6 of [ITU-T G.7044].
-
-**dLOFLOM[p]:** See clause 6.2.5.3. dLOFLOM is detected per active ODUj.
-
-## Consequent actions
-
-PI\_TSF $\leftarrow$ AI\_TSF
-
-PI\_TSD $\leftarrow$ AI\_TSD
-
-For each ODUj tributary port #p:
-
-aSSF[p] $\leftarrow$ ((AI\_TSF or dPLM or dLOOMFI or dMSIM[p] or dLOFLOM[p]) and (not MI\_AdminState[p]=LOCKED))
-
-aSSD[p] $\leftarrow$ AI\_TSD and (not MI\_AdminState[p] = LOCKED)
-
-aAIS[p] $\leftarrow$ ((AI\_TSF or dPLM or dMSIM[p] or dLOOMFI or dLOFLOM[p]) and (not MI\_AdminState[p] = LOCKED))
-
-NOTE – The state of the determination process of the Cm and its contribution to AIS consequent action are for further study.
-
-On declaration of aAIS, the function shall output an all-ONEs pattern/signal within 2 frames. On clearing aAIS, the all-ONEs pattern/signal shall be removed within 2 frames, with normal data being output. The AIS clock, frame start and multiframe start shall be independent from the incoming clock, frame start and multiframe start. The clock has to be within the ODUj frequency tolerance range as specified in Table 7-2 of [ITU-T G.709] provisioned by the MI\_Nominal\_Bitrate\_and\_Tolerance
-
-from a free-running oscillator. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply.
-
-#### Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cRCOHM $\leftarrow$ dRCOHM and (not AI\_TSF)
-
-For ODUk with k=4, 25(u), 50(u)
-
-cLOOMFI $\leftarrow$ dLOOMFI and (not AI\_TSF)
-
-For each ODUj tributary port #p:
-
-cMSIM[p] $\leftarrow$ dMSIM[p] and (not dPLM) and (not dLOOMFI) and (not AI\_TSF)
-
-cLOFLOM[p] $\leftarrow$ dLOFLOM[p] and (not dPLM) and (not dLOOMFI) and (not AI\_TSF)
-
-**Performance monitoring:** None.
-
-#### 14.3.14 HAO capable ODUk to MPLS-TP Adaptation functions (ODUkP-h/MT\_A; k=ODUflex)
-
-See [ITU-T G.8121] for this adaptation function.
-
-#### 14.3.15 ODU2eP to FC-1200 client adaptation function (ODU2eP/FC-1200\_A)
-
-The ODU2eP to FC-1200 adaptation functions perform the adaptation between the ODU2eP layer adapted information and the characteristic information of a FC-1200 signal. As described in clause 17.8.2 of [ITU-T G.709], a timing transparent adaptation with compression factor 50/51 is used to produce a signal with a rate of approximately 10 312 500 kbit/s that is mapped into the OPU2e.
-
-##### 14.3.15.1 ODU2eP to FC-1200 client adaptation source function (ODU2eP/FC-1200\_A\_So)
-
-The ODU2eP/FC-1200\_A\_So function creates the ODU2e signal from a clock, derived from the incoming FC-1200\_CI clock. It byte synchronously maps the transcoded constant bit-rate client signal from the FC-1200\_CP into the payload area of the OPU2e as defined in clause 17.8.2 of [ITU-T G.709], and adds OPU2e overhead (RES, PT) and default ODU2e overhead.
-
-The information flow of the ODU2eP/FC-1200\_A\_So function is defined with reference to Figure 14-84 and the processing of the ODU2eP/FC-1200\_A\_So function is defined with reference to Figure 14-85.
-
-#### Symbol
-
-
-
-```
-graph TD; A[FC-1200_CP] --> B[ODU2eP/FC-1200]; B --> C[ODU2eP_AP];
-```
-
-G.798(17)\_F14-84
-
-Diagram of the ODU2eP/FC-1200\_A\_So function symbol. It shows an input 'FC-1200\_CP' entering a trapezoidal block labeled 'ODU2eP/FC-1200', which then outputs 'ODU2eP\_AP'.
-
-**Figure 14-84 – ODU2eP/FC-1200\_A\_So function**
-
-## Interfaces
-
-**Table 14-39 – ODU2eP/FC-1200\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------|-----------------------------------------------------------------------------------|
-| FC-1200_CP: FC-1200_CI_CK FC-1200_CI_D FC-1200_CI_SSF | ODU2eP_AP: ODU2eP_AI_CK ODU2eP_AI_D ODU2eP_AI_FS ODU2eP_AI_MFS |
-
-## Processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODU2e clock (ODU2eP\_AI\_CK) by multiplying the incoming FC-1200 clock (CI\_CK) by a factor of $239/237 \times 50/51$ . The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCb clock), apply.
-
-During failure conditions of the incoming CBR clock signal (CI\_CK), the ODU2e clock shall stay within its limits as defined in [ITU-T G.8251] and no frame phase discontinuity shall be introduced.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODU2e signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Timing transparent transcoding:** The function shall compress the FC-1200 signal by a factor 50/51 through timing transparent transcoding. The result is a stream of equal length GFP data frames without GFP idle frames.
-
-**66B block synchronization:** The function shall recover 66B block synchronization.
-
-**66B to 513B transcoding:** The function shall transcode the 66B symbols to 513B symbols as specified in Annex B of [ITU-T G.709].
-
-**Superblock construction and CRC-24 generation:** The process constructs a superblock from eight received 513B data words as defined in clause 17.8.2 of [ITU-T G.709]. A CRC-24 is calculated over the 65 bytes of "control" information located in the superblock and inserted at the end of the superblock as defined in clause 17.8.2 of [ITU-T G.709].
-
-**Superblock mapping:** Seventeen superblocks are grouped together and prepended with 16 bytes of fixed stuff bytes into the payload information field of the GFP frame.
-
-**pFCS generation:** The FCS is calculated over the payload information field of a frame and inserted into the pFCS fields of the frame as defined in clause 6.1.2.2.1 of [ITU-T G.7041].
-
-**Type header generation:** The type header of the GFP data frame is generated by setting the PTI field to "000", the PFI field to "1", the EXI field to "0000" and the UPI field to 0001 0101" (Transparent transcoded FC-1200) as defined in Table 6-3 of [ITU-T G.7041]. The tHEC of the payload header is generated as defined in clause 6.1.2.1.2 of [ITU-T G.7041].
-
-**Payload scrambler:** The GFP payload area is scrambled as defined in clause 6.1.2.3 of [ITU-T G.7041].
-
-**Core header generation:** The core header of the GFP data frame is generated as specified in clause 8.5.3.1 of [ITU-T G.806]. The length of the GFP payload area is always 8800 bytes.
-
-**Mapping:** The function shall provide an elastic store (buffer) process. The transcoded FC-1200 signal consists of a stream of GFP data frames. The data bytes of the GFP stream shall be written into the buffer under control of the associated input clock. The data bytes of the GFP stream shall be read out
-
-of the buffer and written byte-synchronously onto the D bytes in the OPU2e frame under control of the ODU2e clock as defined in clause 17.8.2 of [ITU-T G.709].
-
-*Buffer size:* In the presence of jitter as specified by [b-ANSI INCITS 364], this mapping process shall not introduce any errors.
-
-Following a step in frequency of the CI\_CK signal (for example, due to removal of the ingress replacement signal), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of 1 second has been proposed.
-
-**PT:** The function shall insert payload type code "0000 1000" (FC-1200 into OPU2e mapping) into the PT byte position of the PSI overhead as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**Client signal fail:** The function shall signal the failure of the client signal to the far end by use of the Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-NOTE – Equipment developed prior to Edition 4.0 of this Recommendation will not support the CSF processing.
-
-**RES:** The function shall insert all-0's into the RES bytes and reserved bits within the JC bytes.
-
-All other bits of the ODU2e overhead should be sourced as "0"s, except the ODU2e-PM STAT field which should be set to the value "normal path signal" (001).
-
-
-
-**FC-1200\_CP**
-
-**CI\_D CI\_CK** **CI\_SSF**
-
-Timing transparent transcoding
-
-66B block synchronization
-
-66B\_Data 66B\_CK
-
-66B to 513B transcoding
-
-513B\_Data 513B\_CK
-
-Superblock construction and
-CRC-24 generation
-
-SB\_Data SB\_FS
-
-Superblock mapping
-
-GFP\_Frame GFP\_FS
-
-pFCS generation
-
-GFP\_Frame GFP\_FS
-
-Type header generation
-
-GFP\_Frame GFP\_FS
-
-Payload scrambler
-
-GFP\_Frame GFP\_FS
-
-Core header generation (PLI,
-cHEC, scrambler)
-
-GFP\_Frame GFP\_FS
-
-
-
-Elastic store
-
-ODU clock generator locked
-to FC-1200 clock (ODCb)
-
-
-
-Justification control
-
-CK
-
-$\frac{1}{122368}$
-
-FS
-
-$\frac{1}{256}$
-
-MFS
-
-
-
-Insert PT
-
-Insert CSF ← CI\_SSF
-
-Insert RES
-
-ODUk OH is set to all-0's,
-except PM STAT = 001
-
-
-
-**AI\_D**
-**AI\_CK**
-**AI\_FS**
-**AI\_MFS**
-
-**ODU2eP\_AP**
-
-G.798(17)\_F14-85
-
-Diagram of an elastic store with a circular buffer and WR/RD pointers.
-
-**Figure 14-85 – ODU2eP/Client\_A\_So function**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.15.2 ODU2eP to FC-1200 client adaptation sink function (ODU2eP/FC-1200\_A\_Sk)
-
-The ODU2eP/FC-1200\_A\_Sk recovers the FC-1200 client signal from the OPU2e payload. It extracts the OPU2e overhead (PT and RES) and monitors the reception of the correct payload type. Under signal fail condition the replacement signal as defined in clause 17.8.2 of [ITU-T G.709] shall be inserted.
-
-The information flow of the ODU2eP/FC-1200\_A\_Sk function is defined with reference to Figure 14-86 and the processing of the ODU2eP/FC-1200\_A\_Sk function is defined with reference to Figure 14-87.
-
-##### Symbol
-
-
-
-Diagram of the ODU2eP/FC-1200\_A\_Sk function symbol. A central trapezoidal block labeled 'ODU2eP/FC-1200' has an input arrow from below labeled 'ODU2eP\_AP' and an output arrow pointing left labeled 'ODU2eP/FC-1200\_A\_Sk\_MP'. Above the block, an arrow points up to 'FC-1200\_CP'. The diagram is labeled G.798(17)\_F14-86.
-
-**Figure 14-86 – ODU2eP/Client\_A\_Sk function**
-
-##### Interfaces
-
-**Table 14-40 – ODU2eP/Client\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU2eP_AP: ODU2eP_AI_CK ODU2eP_AI_D ODU2eP_AI_FS ODU2eP_AI_MFS ODU2eP_AI_TSF | FC-1200_CP: FC-1200_CI_CK FC-1200_CI_D FC-1200_CI_SSF ODU2eP/FC-1200_A_Sk_MP: ODU2eP/FC-1200_A_Sk_MI_cPLM ODU2eP/FC-1200_A_Sk_MI_cCSF ODU2eP/FC-1200_A_Sk_MI_cLFD ODU2eP/FC-1200_A_Sk_MI_AcPT |
-
-##### Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**Client signal fail:** The function shall extract the CSF signal indicating the failure of the client signal out of bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**NOTE** – Equipment developed prior to Edition 4.0 of this Recommendation will not support the CSF processing.
-
-**Timing transparent transcoding:** The function shall uncompress the FC-1200 signal by a factor 51/50 through timing transparent transcoding. The result is a stream of 66B symbols.
-
-*GFP frame delineation:* The function shall delineate the GFP data frame as specified in clause 8.5.2.2 of [ITU-T G.806].
-
-*Payload descrambler:* The GFP payload area is descrambled as defined in clause 6.1.2.3 of [ITU-T G.7041].
-
-*tHEC check:* The tHEC of the payload header shall be processed as defined in clause 8.5.3.2 of [ITU-T G.806].
-
-*PTI and UPI:* The function shall ignore the PTI and UPI fields.
-
-*pFCS supervision:* The function shall ignore the FCS field.
-
-*Superblock demapping:* The prepended 16 bytes of fixed stuff are stripped and the 17 superblocks are extracted from the payload information field of the GFP frame.
-
-*CRC-24 supervision and superblock destruction:* This process checks the CRC-24 of a received superblock for errors. If an error is detected all 66B symbols of the superblock are replaced by 66B error control blocks.
-
-*513B to 66B transcoding:* The function shall transcode the 513B symbols to 66B symbols as specified in Annex B of [ITU-T G.709].
-
-**CBR clock generation:** The function shall provide an elastic store (buffer) process. The 66B symbols resulting from the timing transparent transcoding shall be written into the buffer. The FC-1200 data (CI\_D) shall be read out of the buffer under control of the FC-1200 clock (CI\_CK).
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The data bytes shall be written into the buffer under control of the associated (gapped) input clock. The data signal shall be read out of the buffer under control of a smoothed (equally spaced) clock at a rate and frequency accuracy determined by the client signal rate at the input of the remote ODU2eP/FC-1200\_a\_So.
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-*Buffer size:* In the presence of jitter as specified by [b-ANSI INCITS 364] and an ODU2e frequency within the range $10\,399\,525.316\text{ kbit/s} \pm 100\text{ ppm}$ , this justification process shall not introduce any errors.
-
-Following a step in frequency of the signal transported by the ODU2eP\_AI (for example, due to reception of FC-1200\_CI from a new CBR\_TT\_So at the far end or removal of the replacement signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of 1 second has been proposed.
-
-
-
-The diagram illustrates the internal processes of an ODU2eP/Client\_A\_Sk. At the top, the **FC-1200\_CP** interface provides **CI\_D** and **CI\_CK** signals. These pass through a **Replacement signal generator** and a **Replacement signal insertion** block, which also receives an **aAIS** signal. The **CI\_SSF** signal is output from the **Consequent actions** block. Below the insertion block, the data and clock signals enter an **Elastic store** (with **WR** and **RD** ports). The **Elastic store** outputs **WR** and **RD** signals to a **CBR clock generator (ODCp)**, which provides a **CK** signal. The data from the **Elastic store** is then processed through a series of stages within a **Timing transparent transcoding** block: **66B\_Data** and **66B\_CK** are processed through **513B to 66B transcoding** to produce **513B\_Data** and **513B\_CK**. These are followed by **CRC-24 supervision and superblock de-construction** (outputting **SB\_Data** and **SB\_FS**), **Superblock demapping** (outputting **GFP\_Frame** and **GFP\_FS**), **pFCS supervision** (outputting **GFP\_Frame** and **GFP\_FS**), **PTI and UPI supervision** (outputting **GFP\_Frame** and **GFP\_FS**), **tHEC check** (outputting **GFP\_Frame** and **GFP\_FS**), **Payload descrambler** (outputting **GFP\_Frame** and **GFP\_FS**), and **GFP frame delineation** (outputting **D** and **CK**). The **Demapping** block receives **AI\_CK** and **AI\_FS** signals and outputs **AI\_D**, **AI\_MFS**, **AI\_CK**, and **AI\_FS** signals. Below the transcoding block, the **Extract CSF** block outputs **dCSF**, and the **Extract PT** block outputs **dPLM** to a **PT process** block, which outputs **MI\_AcPT**. The **Defect correlations** block receives **dLFD**, **dPLM**, **dCSF**, and **AI\_TSF** signals and outputs **MI\_cLFD**, **MI\_cPLM**, and **MI\_cCSF** signals. The **Consequent actions** block also receives **dPLM**, **dLFD**, and **AI\_TSF** signals. The **ODU2eP\_AP** interface provides **AI\_D**, **AI\_MFS**, **AI\_CK**, **AI\_FS**, and **AI\_TSF** signals. The diagram is labeled **ODU2eP/FC-1200\_A\_Sk\_MP** on the right and **G.798(17)\_F14-87** at the bottom right.
-
-Block diagram of ODU2eP/Client\_A\_Sk processes showing data flow from FC-1200\_CP and ODU2eP\_AP through various processing stages including transcoding, supervision, and defect detection.
-
-**Figure 14-87 – ODU2eP/Client\_A\_Sk processes**
-
-**Defects**
-
-The function shall detect for dPLM, dLFD, and dCSF defects.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "0000 1000" (FC-1200 into OPU2e mapping) as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**dCSF:** See clause 6.2.10.
-
-**dLFD:** See clause 6.2.5.2 of [ITU-T G.806].
-
-### Consequent actions
-
-aSSF $\leftarrow$ AI\_TSF or dPLM or dLFD
-
-aAIS $\leftarrow$ AI\_TSF or dPLM or dLFD
-
-On declaration of aAIS the function shall output a replacement signal as defined in clause 17.8.2 of [ITU-T G.709] within two frames. On clearing of aAIS the replacement signal shall be removed within two frames and normal data being output. The replacement signal clock shall be independent from the incoming clock. The replacement signal clock has to be within the frequency, jitter, and wander tolerance specifications of the FC-1200 client signal as defined in [b-ANSI INCITS 364].
-
-### Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cLFD $\leftarrow$ dLFD and (not dPLM) and (not AI\_TSF)
-
-cCSF $\leftarrow$ dCSF and (not dPLM) and (not AI\_TSF)
-
-**Performance monitoring:** None.
-
-### 14.3.16 ODUCnP to ODUk adaptation function (ODUCnP/ODUk\_A)
-
-The ODUCnP to ODUk adaptation functions perform the adaptation between the ODUCnP layer adapted information and the characteristic information of ODUk ( $k = 0, 1, 2, 2e, 3, 4, \text{flex}$ ) signals.
-
-
-
-The diagram illustrates the ODUCnP/ODUk\_A function. A central trapezoidal block represents the adaptation function. Above the block, multiple tributary ports are shown, labeled 1, 2, ..., m. Each port has a bidirectional arrow connecting it to the block. Above these ports, the label 'ODUk\_CP's' indicates the client signals. To the right of the block, an arrow labeled 'ODUCnP\_TI' points into the block, representing the incoming signal. Below the block, an arrow labeled 'ODUCnP\_AP' points out, representing the adapted signal. The diagram is identified by the code 'G.798(17)\_F14-88' in the bottom right corner.
-
-Diagram of the ODUCnP/ODUk\_A function. A central trapezoidal block is labeled 'ODUCnP/ODUk'. Above the block, 'Tributary port' is labeled with arrows pointing to ports 1, 2, ..., m. Above these ports, 'ODUk\_CP's' is labeled. To the right of the block, an arrow labeled 'ODUCnP\_TI' points into the block. Below the block, an arrow labeled 'ODUCnP\_AP' points out. The diagram is labeled 'G.798(17)\_F14-88' in the bottom right corner.
-
-**Figure 14-88 – ODUCnP/ODUk\_A function**
-
-Tributary ports are dynamically created and deleted under the control of management. Each tributary port is associated with one ODUk connection point on one hand, and $M$ OPUCn tributary slots on the other hand. The multiplex structure identifier (MSI) carries the configuration of tributary ports to tributary slots.
-
-#### 14.3.16.1 ODUCnP to ODUk adaptation source function (ODUCnP/ODUk\_A\_So)
-
-The ODUCnP/ODUk\_A\_So function creates the ODUCn signal from a free-running clock or a external synchronization clock. It asynchronously maps the ODUk client signal from the $m \times$ ODUk CPs into ODTUCn.M including justification control (JC) information. The ODTUCn.M is multiplexed into the tributary slots of the OPUCn. It adds OPUCn overhead (RES, PT, MSI, OMFI) and default ODUCn overhead. It provides access to ODUCn APS overhead. It provides access to the ODUk APS overhead.
-
-The information flow and processing of the ODUCnP/ODUk\_A\_So function is defined with reference to Figures 14-88 and 14-89.
-
-### Symbol
-
-
-
-Diagram of the ODUCnP/ODUk\_A\_So function symbol. The symbol is a trapezoid labeled 'ODUCnP/ODUk'. Inputs include 'Tributary port' (1, 2, ..., m) and 'ODUk\_CPs' entering from the top; 'ODUCn\_PP' entering from the left; 'ODUCnP/ODUk\_A\_So\_MP' entering from the left via a double-headed arrow; and 'ODUCn\_TP' entering from the right. The output is 'ODUCnP\_AP' exiting from the bottom. A reference label 'G.798(17)\_F14-89' is present at the bottom right.
-
-Figure 14-89 – ODUCnP/ODUk\_A\_So function
-
-### Interfaces
-
-Table 14-41 – ODUCnP/ODUk\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|
-| m × ODUk_CP: ODUk_CI_CK ODUk_CI_D ODUk_CI_FS ODUk_CI_MFS ODUk_CI_APS ODUCn_PP: ODUCn_PI_APS ODUCn_TP: ODUCn_TI_CK ODUCnP/ODUk_A_So_MP: ODUCnP/ODUk_A_So_MI_TxMSI ODUCnP/ODUk_A_So_MI_Nominal_Bitrate_and_Tolerance[1..m] ODUCnP/ODUk_A_So_MI_AdminState[1..m] ODUCnP/ODUk_A_So_MI_APS_EN[1..m] ODUCnP/ODUk_A_So_MI_APS_LVL[1..m] | ODUCnP_AP: ODUCnP_AI_CK ODUCnP_AI_D ODUCnP_AI_FS ODUCnP_AI_MFS |
-
-### Processes
-
-The processes associated with the ODUCnP/ODUk\_A\_So function are specific processes for each ODUk\_CP and common processes for the compound (multiplexed) signal as depicted in Figures 14-90 and 14-91.
-
-
-
-The diagram illustrates the internal processes of an ODUCnP/ODUk\_A\_So system. At the top, multiple client processes, labeled **ODUk\_CP[1]** through **ODUk\_CP[m]**, are shown. Each client process has input signals **CL\_MFS**, **CL\_FS**, **CL\_CK**, **CL\_D**, and **CL\_APS**. Each client process outputs management and control signals: **MI\_AdminState**, **MI\_APS\_EN**, **MI\_APS\_LVL**, and **MI\_Nominal\_Bitrate\_and\_Tolerance**. These are grouped as **MI\_AdminState[1..m]**, **MI\_APS\_EN[1..m]**, **MI\_APS\_LVL[1..m]**, and **MI\_Nominal\_Bitrate\_and\_Tolerance[1..m]**. The client processes also output data signals: **OMFS**, **MFS**, **FS**, **CK**, **D**, and **TS#**.
-
-The data signals from all client processes are fed into a **Multiplexer**. The multiplexer outputs a **Multiplex structure** which includes: **Multiplex structure identifier (MSI)**, **Payload type (PT)**, **RES**, and **ODUCn PM APS**. The MSI signal is also labeled as **MI\_TxMSI**. The PM APS signal is labeled as **PI\_APS**.
-
-Below the multiplexer, the **ODUCn PM APS** signal is processed by an **OMFI** block (which is **optional**) and a $\frac{1}{20}$ divider to produce **OPMFS**. The **OMFI** block also outputs **MFS** and **FS** signals. The **MFS** signal is also labeled as **AI\_MFS** and the **FS** signal as **AI\_FS**. The **CK** signal is also labeled as **AI\_CK**. These three signals (**AI\_MFS**, **AI\_FS**, **AI\_CK**) are grouped as **ODUCnP\_AP**.
-
-The **MFS** signal is also fed into a $\frac{1}{256}$ divider, and the **FS** signal into a $\frac{1}{122368}$ divider. The outputs of these dividers are fed into an **ODCa clock generator**. The **ODCa clock generator** also receives a **TI\_CK** signal and outputs a **TI\_CK** signal. The **ODCa clock generator** is also labeled as **ODUCn\_TP**.
-
-A **Free-running clock generator** is also shown, which outputs a **CK** signal to the **ODCa clock generator**.
-
-On the left side, a block indicates that **ODUCn OH is set to all-0's, except PM STAT = 001**.
-
-On the right side, a large bracket groups the client process outputs and the multiplexer outputs as **ODUCnP/ODUk\_A\_So\_MP**. Other brackets on the right label the **PI\_APS** signal as **ODUCn\_PP** and the **ODCa clock generator** as **ODUCn\_TP**.
-
-The diagram is labeled **G.798(17)\_F14-90** at the bottom right.
-
-Block diagram of ODUCnP/ODUk\_A\_So processes showing client processes, multiplexing, and clock generation.
-
-Figure 14-90 – ODUCnP/ODUk\_A\_So processes
-
-![Block diagram of ODUkP_CP[p] client specific processes. The diagram shows the flow of signals CI_MFS, CI_FS, CI_CK, CI_D, and CI_APS through various functional blocks: ODU-LCK generator, LCK/Normal selection, FAS/MFAS insertion, Elastic store, and Justification control and JC generation. External inputs include MI_AdminState[p], MI_APS_EN[p], MI_APS_LVL[p], and MI_Nominal_Bitrate_and_Tolerance[p]. Output signals include OMFS, MFS, FS, CK, D, TS#, and Active. Reference G.798(17)-Amd.3(21)_F14-91 is noted at the bottom.](ba596ecf0bd3f3520b7b5c2c857a9ec3_img.jpg)
-
-G.798(17)-Amd.3(21)\_F14-91
-
-Block diagram of ODUkP\_CP[p] client specific processes. The diagram shows the flow of signals CI\_MFS, CI\_FS, CI\_CK, CI\_D, and CI\_APS through various functional blocks: ODU-LCK generator, LCK/Normal selection, FAS/MFAS insertion, Elastic store, and Justification control and JC generation. External inputs include MI\_AdminState[p], MI\_APS\_EN[p], MI\_APS\_LVL[p], and MI\_Nominal\_Bitrate\_and\_Tolerance[p]. Output signals include OMFS, MFS, FS, CK, D, TS#, and Active. Reference G.798(17)-Amd.3(21)\_F14-91 is noted at the bottom.
-
-**Figure 14-91 – ODUCnP/ODUk\_A\_So client specific processes**
-
-### Specific processes
-
-The specific processes are performed independently for each ODUk client signal that is multiplexed into the OPUCn. The specific processes perform the mapping of the ODUk into an ODTUCn.M.
-
-**FAS/MFAS insertion:** The function shall extend the ODUk with the frame alignment overhead (FAS and MFAS) in row one bytes 1 to 7 as described in clause 15.6.2 of [ITU-T G.709]. Bytes 8 to 14 of row one are set to all-ZEROs.
-
-**Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process for the ODUk client signal. The data signal ODUk\_CI shall be written into the buffer under the control of the associated input clock.
-
-Justification methods GMP (*ODTUCn.M*), as described below, is provided, The ODU rate, as configured via the ODUCnP/ODUk\_A\_So\_MI\_Nominal\_Bitrate\_and\_Tolerance[p] input for tributary port #p, determines the base value and ranges for the parameters Cn and Cm.
-
-*ODTUCn.M:* The data shall be read out of the buffer and written onto groups of 16M successive bytes of the ODTUCn.M payload area under the control of the ODUCn clock and the GMP data/stuff control mechanism as defined in clause 20.5 of [ITU-T G.709]. The 16-byte word alignment of the extended ODUk is preserved through the mapping procedure; i.e., the position of the first 16 overhead bytes of the ODUk is always located after an integer number of 16-byte words from the start of the ODTUCn.M structure.
-
-**Buffer size:** In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the range specified in Table 7-2 of [ITU-T G.709], this mapping process shall not introduce any errors. The maximum buffer hysteresis, and therefore the maximum phase error introduced, is for further study.
-
-**ODTUCn.M JC1/JC2/JC3, JC4/JC5/JC6:** The function shall generate the GMP $C_m$ and GMP $\sum C_{nD}$ information and insert this into the JC1/JC2/JC3 and JC4/JC5/JC6 bytes, respectively, according to the specification in clause 20.5 and Annex D of [ITU-T G.709].
-
-**ODUk server layer APS:** When APS is enabled for tributary signal #p (MI\_APS\_EN[p] is true), the function shall insert the CI\_APS value into the ODU APS/PCC[MI\_APS\_LVL[p]] field, which is available once per eight ODU frames when the value of the MFAS bits 6, 7, 8 are equal to MI\_APS\_LVL[p].
-
-**NOTE –** The ODUk server layer section APS information may be present in the case where the ODUk signal contains an ODU-AIS, ODU-LCK or ODU-OCI maintenance signal. The ODU-LCK maintenance signal may be inserted in this adaptation source function. ODUk SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-**ODU-LCK:** The function shall generate the ODU-LCK signal as defined in clause 16.5 of [ITU-T G.709]. The clock, frame start and multiframe start are defined by the incoming ODUk signal.
-
-**Selector:** The normal signal for a tributary signal #p may be replaced by the ODU-LCK signal. The ODU-LCK signal is selected if the MI\_AdminState[p] is LOCKED.
-
-#### Common processes
-
-**Clock and (multi)frame start signal generation:** The function shall generate a local ODUCn clock (ODUCnP\_AI\_CK) of " $n \times 239/226 \times 40 \times 2\,488\,320\text{ kHz} \pm 20\text{ ppm}$ " from the synchronization timing information clock input (TI\_CK) or, if the TI\_CK is absent, a free-running oscillator. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUCn signal. The AI\_FS signal shall be active once per $n \times 122\,368$ clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**OPU multiframe (OMFI) start signal generation for OPUCn:** For OPUCn in addition to MFAS, a dedicated 20-frame OPU multiframe indicator is used for the multiplexing of LO ODUs into the OPUCn. This multiframe structure is locked to bits 4, 5, 6, 7 and 8 of the OMFI byte, as shown in Table 20-1 of [ITU-T G.709], and to be inserted into the OPU overhead. The function shall generate OPUCn multiframe and the related start signal (OMFS) dividing the frame signal sequence by 20. The OMFI start signal may optionally be phase aligned to the ODU multiframe signal. In this case, the OMFI = 0 position is aligned with MFAS = 0 position every 1280 frame periods. See clause 20.4.4 of [ITU-T G.709].
-
-**Multiplexing:** The function assigns the individual ODTUCn.M to specific time slots of the OPUCn payload area as defined by the multiplex structure (see clauses 20.3 and 20.4.1 of [ITU-T G.709]).
-
-**MSI:** The function shall insert the TxMSI into the MSI byte positions of the PSI overhead as defined in clauses 20.4.1.4, 20.4.1.5, 20.4.1.6 of [ITU-T G.709]. The TxMSI value, and as such the multiplex structure, is configurable via MI\_TxMSI.
-
-**PT:** The function shall insert code "0010 0010" (ODU multiplex structure supporting ODTUCn.ts) into the PT byte position of the PSI overhead as defined in clause 15.13.2.1 of [ITU-T G.709].
-
-**ODUCn APS:** The function shall insert the PI\_APS value into the ODUCn path APS/PCC field, which is available once per ODUCn frame.
-
-**RES:** The function shall insert all-ZEROs into the RES bytes.
-
-All other bits of the ODUCn overhead should be sourced as "0"s, except the PMOH STAT field which should be set to the value "normal path signal" (001).
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.16.2 ODUCnP to ODuk adaptation sink function (ODUCnP/ODuk\_A\_Sk)
-
-The ODUCnP/ODuk\_A\_Sk function extracts the OPUCn overhead (PT, MSI, RES and OMFI) and monitors the reception of the correct payload type. It demultiplexes the individual ODTUCn.M from the payload area of the OPUCn and recovers the $m \times$ ODuk signals using the justification control information (JC, JC1/2/3/4/5/6 overhead). It determines the frame and multiframe structure of the ODuk. It provides access to ODUCn APS overhead.
-
-The information flow and processing of the ODUCnP/ODuk\_A\_Sk function is defined with reference to Figures 14-92 and 14-93.
-
-#### Symbol
-
-
-
-The diagram shows a central trapezoidal block labeled "ODUCnP/ODuk". To its left, there are two input ports: "ODUCnP/ODuk\_A\_Sk\_MP" with a double-headed arrow and "ODUCn\_PP" with a single-headed arrow pointing into the block. To its right, there is one input port: "ODUCn\_TP" with a single-headed arrow pointing into the block. Below the block, there is one input port: "ODUCnP\_AP" with a single-headed arrow pointing into the block. Above the block, there are multiple output ports labeled "Tributary port" with sub-labels "1", "2", "...", and "m". Above these output ports is the label "ODuk\_CPs". The diagram is labeled "G.798(17)\_F14-92" in the bottom right corner.
-
-Diagram of the ODUCnP/ODuk\_A\_Sk function symbol. The central block is labeled 'ODUCnP/ODuk'. It has four input ports: 'ODUCnP/ODuk\_A\_Sk\_MP' (left, double-headed arrow), 'ODUCn\_PP' (left, single-headed arrow), 'ODUCn\_TP' (right, single-headed arrow), and 'ODUCnP\_AP' (bottom, single-headed arrow). It has multiple output ports labeled 'Tributary port' with sub-labels '1', '2', '...', and 'm'. Above these output ports is the label 'ODuk\_CPs'. The diagram is labeled 'G.798(17)\_F14-92' in the bottom right corner.
-
-**Figure 14-92 – ODUCnP/ODuk\_A\_Sk function**
-
-## Interfaces
-
-**Table 14-42 – ODUCnP/ODUk\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUCnP_AP: ODUCnP_AI_CK ODUCnP_AI_D ODUCnP_AI_FS ODUCnP_AI_MFS ODUCnP_AI_TSF ODUCnP_AI_TSD ODUCnP/ODUk_A_Sk_MP: ODUCnP/ODUk_A_Sk_MI_ExMSI ODUCnP/ODUk_A_Sk_MI_AdminState[1..m] ODUCnP/ODUk_A_Sk_MI_Nominal_Bitrate_and_Tolerance[1..m] ODUCnP/ODUk_A_Sk_MI_APS_EN[1..m] ODUCnP/ODUk_A_Sk_MI_APS_LVL[1..m] | m × ODUk_CP: ODUk_CI_CK ODUk_CI_D ODUk_CI_FS ODUk_CI_MFS ODUk_CI_SSF ODUk_CI_SSD ODUk_CI_APS ODUCnP_PP: ODUCnP_PI_APS ODUCnP_PI_TSF ODUCnP_PI_TSD ODUCnP/ODU[i]j_A_Sk_MP: ODUCnP/ODUk_A_Sk_MI_cPLM ODUCnP/ODUk_A_Sk_MI_cLOOMFI ODUCnP/ODUk_A_Sk_MI_cMSIM[1..m] ODUCnP/ODUk_A_Sk_MI_AcPT ODUCnP/ODUk_A_Sk_MI_AcMSI ODUCnP/ODUk_A_Sk_MI_cLOFLOM[1..m] |
-
-## Processes
-
-The processes associated with the ODUCnP/ODUk\_A\_Sk function are specific processes for each ODUk\_CP and common processes for the compound (multiplexed) signal as depicted in Figure 14-93.
-
-
-
-The diagram illustrates the internal architecture of ODUCnP/ODUk\_A\_Sk processes. At the top, multiple client-specific processes are shown, labeled ODUk\_CP[1] through ODUk\_CP[m]. Each client process has a set of input signals (AI\_TSD, AI\_TSF, dPLM, dLOOMFI, dMSIM[i], MI\_cMSIM[i], MI\_cLOFLOM[i], MI\_AdminState[i], MI\_APS\_EN[i], MI\_APS\_LVL[i], MI\_Nominal\_Bitrate\_and\_Tolerance[i]) and output signals (CL\_MFS, CL\_FS, CL\_CK, CL\_D, CL\_APS, CL\_SSF, CL\_SSD). The outputs from all client processes are fed into a central 'Demultiplexer' block. The demultiplexer has a 'Multiplex structure' output and several processing paths. One path goes through 'Extract MSI' and 'MSI process' to produce MI\_ExMSI and MI\_AcMSI. Another path goes through 'Extract PT' and 'PT process' to produce MI\_AcPT. A third path goes through 'ODUCn PM APS' to produce PI\_APS. A fourth path goes through 'Extract OMFI' and 'OMFI process' to produce OMFS. A 'Defect correlations' block receives AI\_TSF and dPLM from the client processes and produces MI\_cLOOFMI, MI\_cPLM, MI\_cMSIM[1..m], MI\_cLOFLOM[1..m], MI\_AdminState[1..m], MI\_APS\_EN[1..m], MI\_APS\_LVL[1..m], and MI\_Nominal\_Bitrate\_and\_Tolerance[1..m]. The bottom section, labeled ODUCnP\_AP, shows the final output interfaces: AI\_MFS, AI\_FS, AI\_CK, AI\_D, AI\_TSF, and AI\_TSD. The right side of the diagram is divided into two main output groups: ODUCnP/ODUk\_A\_Sk\_MP and ODUCnP\_PP. The ODUCnP/ODUk\_A\_Sk\_MP group includes MI\_cLOOFMI, MI\_cPLM, MI\_cMSIM[1..m], MI\_cLOFLOM[1..m], MI\_AdminState[1..m], MI\_APS\_EN[1..m], MI\_APS\_LVL[1..m], MI\_Nominal\_Bitrate\_and\_Tolerance[1..m], MI\_ExMSI, MI\_AcMSI, and MI\_AcPT. The ODUCnP\_PP group includes PI\_APS, PI\_TSF, and PI\_TSD. The diagram is labeled G.798(17)\_F14-93.
-
-Block diagram of ODUCnP/ODUk\_A\_Sk processes showing signal flow from multiple client processes through a demultiplexer and various processing blocks to output interfaces.
-
-Figure 14-93 – ODUCnP/ODUk\_A\_Sk processes
-
-
-
-The diagram illustrates the internal processes of an ODUCnP/ODUk\_A\_Sk client. At the bottom, input signals (OMFS, MFAS, FS, CK, D, TS#, Active) enter the system. The 'Elastic store' block receives 'D' and 'CK' signals and has 'RD' (Read) and 'WR' (Write) ports. The 'WR' port is connected to 'Clock generation (ODCp)', which in turn connects to 'Justification control' and 'Extract JC'. The 'Justification control' connects to 'Frame/multi-frame alignment'. The 'Elastic store' also connects to 'Frame/multi-frame alignment' via 'RD' and 'CK' signals. The 'Frame/multi-frame alignment' block outputs 'D' and 'CK' signals to 'dLOFLOM detection'. The 'dLOFLOM detection' block outputs 'dLOFLOM' to 'Defect correlations'. The 'Defect correlations' block receives 'AI\_TSF' and various management information (MI) signals: 'dPLM', 'dLOOMFI', 'dMSIM[p]', 'MI\_cMSIM[p]', and 'MI\_cLOFLOM[p]'. It also outputs 'aAIS', 'aSSF', and 'aSSD' to 'Consequent actions'. The 'Consequent actions' block receives 'MI\_AdminState[p]', 'AI\_TSD', and 'AI\_TSF' signals. The 'Consequent actions' block also connects to 'Generate AIS' and 'Generate LCK' blocks. These blocks receive 'MI\_Nominal\_Bitrate\_and\_Tolerance[p]' and output signals to 'Select normal/AIS/LCK'. The 'Select normal/AIS/LCK' block outputs 'Normal', 'AIS', and 'LCK' signals. These signals are then processed by 'ODUk APS', which receives 'MI\_APS\_EN[p]' and 'MI\_APS\_LVL[p]' signals. The 'ODUk APS' block outputs 'CI\_APS' signal. Finally, the 'Select normal/AIS/LCK' block outputs 'CI\_MFS', 'CI\_FS', 'CI\_CK', and 'CI\_D' signals. The 'Consequent actions' block also outputs 'CI\_SSF' and 'CI\_SSD' signals. The entire process is labeled 'ODUk\_CP[p]' at the top. A reference 'G.798(17)-Amd.3(21)\_F14-94' is noted at the bottom right of the diagram.
-
-Block diagram of ODUCnP/ODUk\_A\_Sk client specific processes. The diagram shows the internal architecture of the client-specific processes, including signal flow from input (OMFS, MFAS, FS, CK, D, TS#, Active) through various functional blocks like Elastic store, Clock generation (ODCp), Justification control, Extract JC, Frame/multi-frame alignment, dLOFLOM detection, Defect correlations, ODuk APS, Generate AIS, Generate LCK, Select normal/AIS/LCK, and Consequent actions. Output signals include CI\_MFS, CI\_FS, CI\_CK, CI\_D, CI\_APS, CI\_SSF, and CI\_SSD. Management interfaces (MI) and alarm signals (AI) are also shown.
-
-**Figure 14-94 – ODUCnP/ODUk\_A\_Sk client specific processes**
-
-### Common processes
-
-**OPU multiframe (OMFI) reception for OPUCn:** For OPUCn in addition to MFAS, a dedicated 20-frame OPU multiframe indicator is used for the multiplexing of LO ODUs into the OPUCn. This multiframe structure is locked to bits 4, 5, 6, 7 and 8 of the OMFI byte, as shown in Table 20-1 of [ITU-T G.709]. The function shall detect OPU multiframe by searching for the framing pattern in the bits indicated above. The process has two states, out-of-multiframe (OOM) and in-multiframe (IM). The IM state shall be entered if this set is found and confirmed one frame period later and an error-free multiframe sequence is found in the byte positions of the two frames. In the IM state, the frame alignment signal shall be continuously checked with the presumed OMFI frame start position and the expected multiframe sequence. The OOM state shall be entered if this subset is not found at the correct position in five consecutive frames or the received OMFI does not match with the expected multiframe number in five consecutive frames. The OPUCn multiframe start (OMFS) shall be maintained during the OOM state of the OMFI detection process. The defect dLOOMFI shall be generated based on the state of the OMFI alignment process.
-
-If the OMFI alignment process is persistently in the out-of-multiframe (OOM) state for 3 ms, dLOOMFI shall be declared. dLOOMFI shall be cleared immediately when the OMFI alignment process is in the in-multiframe (IM) state.
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection. The PLM detection shall be based on the comparison of the accepted PT with the value 0x22.
-
-**MSI:** The function shall extract the MSI from the PSI overhead as defined in clause 8.7.2.2. The accepted MSI (AcMSI) is available at the MP (MI\_AcMSI). The multiplex structure is defined by ExMSI, which is configurable via MI\_ExMSI.
-
-**RES:** The value in the RES bytes shall be ignored.
-
-**ODUCn APS:** The function shall extract the information from the ODUCn APS/PCC field and apply this to the PI\_APS.
-
-**Demultiplexing:** The function activates the ODTUCn.M and assigns the time slots of the ODUCn payload area to the individual ODTUCn.M as defined by the multiplex structure (see clauses 20.3 and 20.4.1 of [ITU-T G.709]).
-
-### Specific processes
-
-The specific processes are performed independently for each ODUk client signal that is multiplexed into the OPUCn. The specific processes recover the ODUk from the ODTUCn.M.
-
-Justification method GMP (*ODTUCn.M*) as described below is provided. The ODU rate, as configured via the MI\_Nominal\_Bitrate\_and\_Tolerance[p] input for tributary port #p, determines the base value and ranges for the parameters $C_n$ and $C_m$ .
-
-**ODTUCn.ts JC1/2/3 and JC4/5/6:** The function shall interpret the GMP overhead information in the JC1/2/3 and JC4/5/6 bytes as defined in clause 20.5 of [ITU-T G.709] in order to determine the number of 16M-byte ODUk entities in the next ODTUCn.M multiframe. The OPUCn frame that contains the JC1/2/3 and JC4/5/6 bytes depends on the last tributary slot that is occupied by the ODTUCn.M.
-
-**Demapping, CBR clock generation:** The function shall provide an elastic store (buffer) process.
-
-*ODTUCn.M:* The ODUk data shall be extracted from the groups of 16M successive bytes of the ODTUCn.M payload area under the control of the GMP data/stuff control mechanism as defined in clause 20.5 of [ITU-T G.709] and be written into the buffer. The $C_n$ information associated with the ODUk is computed from the GMP $C_m$ and $\Sigma C_{nD}$ parameters carried within the JC1/2/3 and JC 4/5/6 overhead of the ODTUCn.M as specified in clause 20.5 of [ITU-T G.709]. For the GMP data/stuff control mechanism, refer to Annex D of [ITU-T G.709].
-
-The ODUk data (CI\_D) shall be read out of the buffer under the control of the ODUk clock (CI\_CK).
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The ODUk data signal shall be written into the buffer under the control of the associated (gapped) OPUCn input clock (with a frequency accuracy within ± 20 ppm). The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) ODUk clock (the rate is determined by the ODUk signal at the input of the remote ODUCnP/ODUk\_A\_So).
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-*Buffer size:* In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the tolerance range specified for the ODUk signal in Table 7-2 of [ITU-T G.709], this justification process shall not introduce any errors.
-
-Following a step in frequency of the ODUk signal transported (for example, due to reception of ODUk\_CI from a new ODUk\_TT\_So at the far end or removal of a ODU-AIS signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of one second has been proposed.
-
-**Frame and multiframe alignment:** The function shall perform frame and multiframe alignment as described in clause 8.2.3.
-
-NOTE 1 – The 16-byte word alignment of the extended ODUk is preserved through the mapping procedure; e.g., the position of the first 16 OH bytes of the ODUk is always located after an integer number of 16-byte words from the start of the ODTUCn.M structure.
-
-**ODU-LCK, ODU-AIS:** The function shall generate the ODU-LCK and ODU-AIS signals as defined in [ITU-T G.709]. The clock, frame start and multiframe start shall be independent from the incoming clock. The clock has to be within the ODUk frequency tolerance range as specified in Table 7-2 of [ITU-T G.709] provisioned by the MI\_Nominal\_Bitrate\_and\_Tolerance[p] from a free-running oscillator. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-**Selector:** The normal signal for a tributary signal #p may be replaced by either the ODU-AIS or ODU-LCK signal. ODU-LCK is selected if the corresponding MI\_AdminState[p] signal is LOCKED. ODU-AIS is selected if the corresponding MI\_AdminState[p] signal is not LOCKED and aAIS is true.
-
-**ODUk server layer APS:** When APS is enabled for tributary signal #p (MI\_APS\_EN[p] is true), the function shall extract the information from the ODU APS/PCC[MI\_APS\_LVL[p]] field, which is available once per eight ODU frames when the value of the MFAS bits 6, 7, 8 is equal to MI\_APS\_LVL[p], and apply the extracted information to the CI\_APS.
-
-NOTE – The ODUk server layer section APS information may be present in the case where the ODUk signal contains an ODU-AIS or ODU-LCK maintenance signal. The ODU-LCK maintenance signal may have been inserted in the far-end adaptation source function. ODUk SNC/I protection is unable to detect the insertion of such ODU-LCK and will not perform a protection switch.
-
-## Defects
-
-The function shall detect dPLM, dMSIM, dLOOMFI and dLOFLOM.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "0010 0010" (ODU multiplex structure supporting ODTUCn.ts) as defined in [ITU-T G.709].
-
-**dLOOMFI:** dLOOMFI is detected per OPUCn. See the OPU multiframe (OMFI) detection process for OPUCn.
-
-For each ODUk tributary port #p:
-
-**dMSIM[p]:** See clause 6.2.9.2. dMSIM is detected per active ODUk.
-
-**dLOFLOM[p]:** See clause 6.2.5.3. dLOFLOM is detected per active ODUk.
-
-## Consequent actions
-
-PI\_TSF $\leftarrow$ AI\_TSF
-
-PI\_TSD $\leftarrow$ AI\_TSD
-
-For each ODUk tributary port #p:
-
-aSSF[p] $\leftarrow$ ((AI\_TSF or dPLM or dLOOMFI or dMSIM[p] or dLOFLOM[p]) and (not MI\_AdminState[p] = LOCKED))
-
-aSSD[p] $\leftarrow$ AI\_TSD and (not MI\_AdminState[p] = LOCKED)
-
-$aAIS[p] \leftarrow ((AI\_TSF \text{ or } dPLM \text{ or } dLOOMFI \text{ or } dMSIM[p] \text{ or } dLOFLOM[p]) \text{ and } (\text{not } MI\_AdminState[p] = \text{LOCKED}))$
-
-NOTE – The state of the determination process of the $C_m$ and its contribution to AIS consequent action are for further study.
-
-On declaration of $aAIS$ , the function shall output an all-ONEs pattern/signal within two frames. On clearing $aAIS$ , the all-ONEs pattern/signal shall be removed within two frames, with normal data being output. The AIS clock, frame start and multiframe start shall be independent from the incoming clock, frame start and multiframe start. The clock has to be within the ODUk frequency tolerance range as specified in Table 7-2 of [ITU-T G.709] provisioned by the $MI\_Nominal\_Bitrate\_and\_Tolerance[p]$ from a free-running oscillator. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply.
-
-#### Defect correlations
-
-$cPLM \leftarrow dPLM \text{ and } (\text{not } AI\_TSF)$
-
-$cLOOMFI \leftarrow dLOOMFI \text{ and } (\text{not } AI\_TSF)$
-
-For each ODUk tributary port #p:
-
-$cMSIM[p] \leftarrow dMSIM[p] \text{ and } (\text{not } dPLM) \text{ and } (\text{not } dLOOMFI) \text{ and } (\text{not } AI\_TSF)$
-
-$cLOFLOM[p] \leftarrow dLOFLOM[p] \text{ and } (\text{not } dPLM) \text{ and } (\text{not } dLOOMFI) \text{ and } (\text{not } AI\_TSF)$
-
-**Performance monitoring:** None.
-
-#### 14.3.17 ODUflexP to FlexE client adaptation function using IMP (ODUflexP/FlexEC\_A)
-
-The ODUflexP/FlexEC\_A performs the adaptation between the ODUflexP layer adapted information and the characteristic information of the indicated FlexE client signals transported as flexible bit-rate streams.
-
-The bit rates of FlexEC are 10, 40 and $n \times 25$ Gbit/s ( $n \geq 1$ ) given in Table 14-43 as described in clause 17.11 of [ITU-T G.709].
-
-**Table 14-43 – Defined FlexEC for ODUflex clients**
-
-| FlexEC bit rate | Bit rate | Clock tolerance |
-|-----------------|----------------------------------|-----------------|
-| 10G | 10 312 500 (kbit/s) | $\pm 100$ ppm |
-| 40G | 41 250 000 (kbit/s) | $\pm 100$ ppm |
-| $n \times 25G$ | $n \times 25\ 781\ 250$ (kbit/s) | $\pm 100$ ppm |
-
-##### 14.3.17.1 ODUflexP to FlexE client adaptation source function using IMP (ODUflexP/FlexEC\_A\_So)
-
-The ODUflexP/FlexEC\_A\_So function creates the ODUflex signal from the FlexE client clock or a local clock. It maps the flexible bit-rate client signal from the FlexEC\_CP into the payload area of the OPUflex using IMP as defined in clause 17.11 of [ITU-T G.709], and adds OPUflex overhead (PT, CSF and RES) and default ODUflex overhead.
-
-The information flow of the ODUflexP/FlexEC\_A\_So function is defined with reference to Figure 14-95 and the processing of the ODUflexP/FlexEC\_A\_So function is defined with reference to Figure 14-96.
-
-## Symbol
-
-
-
-Symbol diagram for the ODUflexP/FlexEC\_A\_So function. It shows a trapezoidal block labeled 'ODUflexP/FlexEC'. An arrow labeled 'FlexEC\_CP' points into the top of the block, and an arrow labeled 'ODUflexP\_AP' points out from the bottom. Below the block is the reference code 'G.798(17)\_F14-95'.
-
-**Figure 14-95 – ODUflexP/FlexEC\_A\_So function**
-
-## Interfaces
-
-**Table 14-44 – ODUflexP/FlexEC\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
-| FlexEC_CP: FlexEC_CI_CK FlexEC_CI_D FlexEC_CI_SSF | ODUflexP_AP: ODUflexP_AI_CK ODUflexP_AI_D ODUflexP_AI_FS ODUflexP_AI_MFS |
-
-## Processes
-
-**Clock generation:** The function shall generate an ODUflex clock (ODUflexP\_AI\_CK) – according to one of the methods described in clause 12.2.6 of [ITU-T G.709] – with a bit rate as specified in Table 7-2 of [ITU-T G.709]. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (in case of methods 1 and 2 ODCa clock, in case of method 3 ODCb clock), apply.
-
-**FS & MFS generation:** The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUflex signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Bit-rate adaptation, scrambler, mapping and frequency justification:** The function shall provide an elastic store (buffer) process. The data signal of 66b blocks shall be written into the buffer under the control of the associated input clock. The adjusted data signal of 66b blocks shall be read out of the buffer, scrambled and be written onto the OPUflex payload under the control of IMP as defined in clause 17.11 of [ITU-T G.709]. The 66b blocks are aligned so that the first bit of the sync header appears in one of the bit positions 1, 3, 5, or 7 of a byte in the OPUflex payload. *Scrambler:* The function shall scramble 66b block stream after rate adaptation and before mapping into the OPUflex.
-
-*Buffer size:* In the presence of bit rate differences between OPUflex and FlexEC signals, this mapping process shall not insert or delete a 66b block between a Start (0x78) and Terminate (0x87/0x99/0xAA/0xB4/0xCC/0xD2/0xE1/0xFF) control block.
-
-**PT:** The function shall insert the payload type code "0001 1101" (0x1D) into the PT byte position of the PSI overhead, as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**Client signal fail:** The function shall signal the failure of the client signal to the far end by use of the Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**RES:** The function shall insert all-ZEROs into the RES bytes and reserved bits within the JC bytes.
-
-All other bits of the ODUflex overhead should be sourced as "0"s, except the ODUflex-PM STAT field which should be set to the value "normal path signal" (001).
-
-
-
-Block diagram of the ODUflexP/FlexEC\_A\_So function. The diagram shows the internal processing of a FlexE client signal (CI\_D, CI\_CK, CI\_SSF) through rate adaptation, scrambling, and elastic store. The elastic store is controlled by a Justification control (IMP) block. The IMP block also receives inputs from a clock generator (which is fed by a free-running clock generator ODCa) and a frequency synthesizer (1/122368). The output of the elastic store is processed by an Insert PT, Insert CSF, and Insert RES block, and then an ODU OH is set to all-0's, except PM STAT = 001. The final output is AI\_D, AI\_CK, AI\_FS, and AI\_MFS. The diagram is labeled FlexEC\_CP at the top and ODUflexP\_AP at the bottom. A reference G.798(17)-Amd.2(19)\_F14-96 is also present.
-
-Figure 14-96 – ODUflexP/FlexEC\_A\_So function
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.17.2 ODUflexP to FlexE client adaptation sink function using IMP (ODUflexP/FlexEC\_A\_Sk)
-
-The ODUflexP/FlexEC\_A\_Sk recovers the FlexE client signal from the OPUflex payload using the justification control of IMP. It extracts the OPUflex overhead (PT and CSF) and monitors the reception of the correct payload type. Under signal fail condition, a replacement signal as specified in clause 17.11 of [ITU-T G.709] shall be inserted.
-
-The information flow and processing of the ODUflexP/FlexEC\_A\_Sk function is defined with reference to Figures 14-97 and 14-98.
-
-## Symbol
-
-
-
-Symbol diagram for the ODUflexP/FlexEC\_A\_Sk function. A central trapezoidal block labeled 'ODUflexP/FlexEC' has three connections: an input arrow from the bottom labeled 'ODUflexP\_AP', an output arrow pointing up labeled 'FlexEC\_CP', and an output arrow pointing left labeled 'ODUflexP/FlexEC\_A\_Sk\_MP'. A small reference code 'G.798(17)\_F14-97' is located below the block.
-
-**Figure 14-97 – ODUflexP/FlexEC\_A\_Sk function**
-
-## Interfaces
-
-**Table 14-45 – ODUflexP/FlexEC\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUflexP_AP: ODUflexP_AI_CK ODUflexP_AI_D ODUflexP_AI_FS ODUflexP_AI_MFS ODUflexP_AI_TSF | FlexEC_CP: FlexEC_CI_CK FlexEC_CI_D FlexEC_CI_SSF ODUflexP/FlexEC_A_Sk_MP: ODUflexP/FlexEC_A_Sk_MI_cPLM ODUflexP/FlexEC_A_Sk_MI_AcPT ODUflexP/FlexEC_A_Sk_MI_cCSF ODUflexP/FlexEC_A_Sk_MI_cLCS |
-
-## Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**Client signal fail:** The function shall extract the CSF signal indicating the failure of the client signal out of Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**Demapping:** The function shall extract the client data from the payload bytes in the OPUflex frames. The information extraction of the payload area shall be under the control of IMP.
-
-**Block synchronization:** See clause 8.2.7.1 for mapping procedures preserving the 2-bit alignment.
-
-**Descrambler:** The function shall descramble the 66b block stream before the rate adaptation.
-
-**Rate adaptation and FlexEC clock generation:** The function shall provide an elastic store (buffer) process. It writes the descrambled 66b block data stream into the buffer. The information extraction of the payload area shall be under the control of IMP. The FlexEC data (CI\_D) shall be read out of the buffer under the control of the FlexEC clock (CI\_CK).
-
-**FlexE client clock generation:** The function shall provide for a FlexEC clock generation process which generates a clock with a bit rate as specified in Table 14-43.
-
-**Buffer size:** In the presence of bit rate differences between OPUflex and FlexEC signals, this demapping process shall not insert or delete a 66b block between a Start (0x78) and Terminate (0x87/0x99/0xAA/0xB4/0xCC/0xD2/0xE1/0xFF) control block.
-
-**Replacement signal generation:** The function shall provide for an FlexEC replacement signal and clock generation process that generates a stream of local fault sequence ordered sets as specified in clause 17.11 of [ITU-T G.709] with a bit rate as specified in Table 14-43.
-
-
-
-Figure 14-98 – ODUflexP/FlexEC\_A\_Sk processes. This block diagram illustrates the internal architecture of the ODUflexP/FlexEC\_A\_Sk process. At the bottom, the ODUflexP\_AP interface provides inputs AI\_D, AI\_MFS, AI\_CK, AI\_FS, and AI\_TSF. AI\_D and AI\_MFS feed into an Elastic store (with WR and RD ports). AI\_CK and AI\_FS feed into an ETCflex clock generator (IMP) and the Elastic store. AI\_TSF feeds into a PT process and Defect correlations. The Elastic store's WR output goes to the IMP and a Block synchronization block. The Block synchronization block outputs dLCS to a Descrambler and the Selector. The Descrambler's output goes to the Selector. The Selector outputs CI\_D, CI\_CK, and CI\_SSF to the FlexEC\_CP. The IMP outputs CK to the Descrambler and Defect correlations. The Defect correlations block receives dLCS, dPLM, dCSF, and AI\_TSF as inputs and outputs MI\_cLCS, MI\_cPLM, and MI\_cCSF. The Extract CSF block receives AI\_D and AI\_MFS and outputs dCSF. The Extract PT block receives AI\_D and AI\_MFS and outputs dPLM. The PT process receives dPLM and AI\_TSF and outputs MI\_AcPT. The Replacement signal generator receives aAIS from the Consequent actions block and outputs CI\_CK to the Selector. The Consequent actions block receives dLCS, dPLM, dCSF, and AI\_TSF and outputs aAIS to the Replacement signal generator. The entire process is labeled ODUflexP/FlexEC\_A\_Sk\_MP on the right side.
-
-**Figure 14-98 – ODUflexP/FlexEC\_A\_Sk processes**
-
-### Defects
-
-The function shall detect dPLM, dCSF and dLCS.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "0001 1101" as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**dCSF:** See clause 6.2.10.
-
-**dLCS:** See clause 6.2.5.7.1.
-
-### Consequent actions
-
-aSSF $\leftarrow$ AI\_TSF or dPLM or dLCS
-
-aAIS $\leftarrow$ AI\_TSF or dPLM or dLCS
-
-For FlexE clients, on declaration of aAIS, the function shall output the FlexE client replacement signal within two ODUflex frames. On clearing aAIS, the replacement signal shall be removed within two ODUflex frames and normal data being output.
-
-## Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cCSF $\leftarrow$ dCSF and (not dPLM) and (not AI\_TSF)
-
-cLCS $\leftarrow$ dLCS and (not dPLM) and (not AI\_TSF)
-
-Performance monitoring: None.
-
-### 14.3.18 ODUflexP to FlexE sub-group adaptation function using BGMP (ODUflexP/FlexESG\_A)
-
-The ODUflexP/FlexESG\_A performs the adaptation between the ODUflexP layer adapted information and the characteristic information of the FlexE partial rate (sub)group signals (FlexESGM\_CI).
-
-#### 14.3.18.1 ODUflexP to FlexE sub-group adaptation source function using BGMP (ODUflexP/FlexESG\_A\_So)
-
-The ODUflexP/FlexESG\_A\_So function creates the ODUflex signal from the FlexE partial rate (sub)group signal clock. It maps the flexible bit-rate client signal from the FlexE partial rate (sub)group into the payload area of the OPUflex using BGMP as defined in clause 17.12 of [ITU-T G.709], and adds OPUflex overhead (PT, PSI, JC and CSF) and default ODUflex overhead.
-
-The information flow of the ODUflexP/FlexESG\_A\_So function is defined with reference to Figure 14-99 and the processing of the ODUflexP/FlexESG\_A\_So function is defined with reference to Figure 14-100.
-
-## Symbol
-
-
-
-Diagram illustrating the ODUflexP/FlexESG\_A\_So function symbol. The symbol is a trapezoid labeled "ODUflexP/FlexESG". Inputs from the top are labeled "FlexESGM\_CPs" with subscripts 1, 2, ..., p. An input from the left is labeled "ODUflexP/FlexESG\_A\_So\_MP". The output from the bottom is labeled "ODUflexP\_AP". Below the output label is the text "G.798(17)-Amd.4(22)\_F14-F99".
-
-Diagram of the ODUflexP/FlexESG\_A\_So function symbol. The symbol is a trapezoid labeled 'ODUflexP/FlexESG'. It has multiple inputs from the top labeled 'FlexESGM\_CPs' with subscripts 1, 2, ..., p. It has one input from the left labeled 'ODUflexP/FlexESG\_A\_So\_MP'. It has one output from the bottom labeled 'ODUflexP\_AP'. Below the output label is the text 'G.798(17)-Amd.4(22)\_F14-F99'.
-
-Figure 14-99 – ODUflexP/FlexESG\_A\_So function
-
-## Interfaces
-
-**Table 14-46 – ODUflexP/FlexESG\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| p × FlexESGM_CP: FlexESGM_CI_CK FlexESGM_CI_D FlexESGM_CI_FS FlexESGM_CI_MFS FlexESGM_CI_CRCerr FlexESGM_CI_SSF ODUflexP/FlexESG_A_So_MP: ODUflexP/FlexESG_A_So_MI_ExGID ODUflexP/FlexESG_A_So_MI_ExFMAP ODUflexP/FlexESG_A_So_MI_CS_n[1..p] | ODUflexP_AP: ODUflexP_AI_CK ODUflexP_AI_D ODUflexP_AI_FS ODUflexP_AI_MFS ODUflexP/FlexESG_A_So_MP: ODUflexP/FlexESG_A_Sk_MI_AcGID[1..p] ODUflexP/FlexESG_A_Sk_MI_AcFMAP[1..p] ODUflexP/FlexESG_A_Sk_MI_AcIID[1..p] ODUflexP/FlexESG_A_So_MI_AcCC[1..p] ODUflexP/FlexESG_A_So_MI_AcCCA[1..p] ODUflexP/FlexESG_A_So_MI_AcCCB[1..p] ODUflexP/FlexESG_A_So_MI_cFMM ODUflexP/FlexESG_A_So_MI_cGIDM ODUflexP/FlexESG_A_So_MI_cLOL ODUflexP/FlexESG_A_So_MI_cCSUM |
-
-## Processes
-
-**FlexE OH Monitor:** The function shall monitor the overhead of FlexE group interface (GID, PID, MAP and Client Calendar) from each of the p FlexESGM\_CI signals as defined in clause 7.3 of [OIF FlexE IA].
-
-- **FlexE GID:** The GID fields shall be read from the FlexE overhead and processed as specified in clause B.2.2.1. The accepted GID values are available at the MP (MI\_AcGID[i]) and are used for dGIDM defect detection.
-- **FlexE IID:** The PID fields shall be read from the FlexE overhead and processed as specified in clause B.2.2.2. The accepted IID values are available at the MP (MI\_AcIID[i]) and are used for dFMM defect detection.
-- **FlexE MAP:** The FlexE MAP fields shall be read from the FlexE overhead and processed as specified in clause B.2.2.3. The accepted MAP values are available at the MP (MI\_AcFMAP[i]) and are used for dFMM defect detection.
-
-**Clock generation:** The function shall generate an ODUflex clock (ODUflexP\_AI\_CK) as given in Table 7-2 of [ITU-T G.709] from the incoming client. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCb clock), apply. During failure conditions of an incoming FlexESGM signal (CI\_CK), the ODUflex clock shall stay within its limits as defined in [ITU-T G.8251] and no frame phase discontinuity shall be introduced.
-
-**FS & MFS generation:** The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUflex signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**FlexESG Deskew:** The function shall compensate the skew between p FlexESGM signals as described in clause 17.12 of [ITU-T G.709]. The alignment process shall establish the delay compensation, compensating the differential delay between the FlexE Instances as given in clause 6.4 of [OIF FlexE IA]. The compensation between the FlexE Instances is achieved by an elastic store per
-
-FlexE Instance. Each elastic store shall be capable of compensating at least 300 ns of absolute differential delay between the FlexE Instances.
-
-**FlexE OH client calendar:** The calendar information shall be read from the calendar configuration in use (C), client calendar A and B, calendar switch request (CR) and calendar switch acknowledge (CA) overheads as defined in clauses 6.4, 7.3.2 and 7.3.4 of [OIF FlexE IA].
-
-- *Calendar configuration in use overhead (C):* The "calendar configuration in use" overhead from each member shall be accepted (AcCC[i]) by majority vote of the 3 C overhead bits. Furthermore, it shall confirm the accepted "AcCC" by unanimity of n FlexE Instances of the FlexE group.
-- *Client calendar A and B overheads:* The "client calendar A" and "client calendar B" overhead fields from each member shall be read and the calendar slot information shall be accepted in overhead frames with good CRC ( AcCCA[i] and AcCCB[i]).
-
-**Crunching:** The function shall remove the FlexE (sub)group calendar slots indicated by MI\_CS\_n[1..p] if and only if these calendar slots are marked as unavailable calendar slots in the active FlexE client calendar overhead as described in clause 17.12 of [ITU-T G.709].
-
-**Padding:** The function shall add $n_i-1$ padding blocks between the overhead block and the first sub-calendar block in each of the p FlexESGM signals as described in clause 17.12 of [ITU-T G.709].
-
-**Interleaving:** The function shall interleave the p crunched and padded FlexESGM signals into a 66b block stream as described in clause 17.12 of [ITU-T G.709]. This 66b block stream is referred to as a FlexE sub-group signal which includes n available calendar slots with $n = n_1 + n_2 + \dots + n_p$ . $n_i$ (i = 1..p) represents the number of FlexE calendar slots that are available (to be transferred).
-
-**Replacement signal generator:** The function shall provide for a FlexE sub-group replacement signal that generates a stream of local fault sequence ordered sets as specified in clause 17.12 of [ITU-T G.709].
-
-**Selector:** The function shall select between the interleaved FlexE sub-group signal and the replacement signal. During a signal fail condition of an incoming FlexESGM signal, it shall select the replacement signal to be mapped into the OPUflex payload as described in clause 17.12 of [ITU-T G.709].
-
-**Scrambler:** The function shall scramble the 66b block stream before mapping into the OPUflex as described in clause 17.12 of [ITU-T G.709].
-
-**Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process. The scrambled data signal shall be written into the buffer under the control of the associated input clock. The scrambled data shall be read out of the buffer and then be written onto the OPUflex payload under the control of BGMP as defined in clause 17.12 of [ITU-T G.709].
-
-*Buffer size:* In the presence of jitter, this mapping process shall not introduce any errors.
-
-**JC:** The function shall insert the justification control information in the JC bytes (the Cm value and the calculated CRC-8 value), as defined in clause 17.12 of [ITU-T G.709].
-
-**PT:** The function shall insert the payload type code "0001 1101" (0x1E) into the PT byte position of the PSI overhead, as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**PSI[3..3+p]:** The function shall insert the values of p, $n_1$ to $n_p$ in the PSI[3] to PSI[3+p] fields, as defined in clause 17.12 of [ITU-T G.709].
-
-**Client signal fail:** The function shall signal the failure of the client signal to the far end by use of the Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**RES:** The function shall insert all-ZEROs into the RES bytes.
-
-All other bits of the ODUflex overhead should be sourced as "0"s, except the ODUflex-PM STAT field which should be set to the value "normal path signal" (001).
-
-![Figure 14-100 – ODUflexP/FlexESG_A_So function block diagram. The diagram shows the internal processing of the ODUflexP/FlexESG_A_So function. On the left, multiple FlexESGM_CP inputs (CI_D, CI_CK, CI_FS, CI_MFS, CI_SSF, CI_CRCerr) are processed through 'Extract GID', 'Extract IID', 'Extract MAP', and 'Extract sub-calendar' blocks to produce AcGID, AcIID, AcFMAP, AcCC, AcCCA, and AcCCB signals. These are followed by a 'FlexESG deskew' block. Below that, 'Crunching' and 'Padding' blocks process the signals. A 'Clock generator' provides CK, FS, and MFS signals. The data then goes through 'Interleaving', a 'Selector' (controlled by aAIS), and a 'Scrambler'. The scrambled data is stored in an 'Elastic store' (with WR and RD ports) controlled by a 'Justification control (BGMP)'. The BGMP also controls 'Insert PSI[3..3+p]', 'Insert PT', 'Insert CSF', and 'Insert RES' blocks. A block 'ODU OH is set to all-0's, except PM STAT = 001' is also present. The final output is ODUflexP_AP (AI_D, AI_CK, AI_FS, AI_MFS). On the right, various detection blocks (dGIDM, dFMM, dCSUM) process the signals to generate MI_ExGID, MI_ExFMAP, MI_CS_n[1..p], MI_AcGID[1..p], MI_AcIID[1..p], MI_AcFMAP[1..p], MI_AcCC[1..p], MI_AcCCA[1..p], MI_AcCCB[1..p], MI_cLOL, MI_cFMM, MI_cGIDM, and MI_cCSUM signals. These are then processed by a 'Defect correlations' block and a 'Consequent actions' block. The vertical label on the far right is ODUflexP/FlexESG_A_So_MP. The bottom right corner has the text G.798(17)-Amd.4(22)_F14-100.](32ce3ed5531f18aba05215c8f474bf49_img.jpg)
-
-Figure 14-100 – ODUflexP/FlexESG\_A\_So function block diagram. The diagram shows the internal processing of the ODUflexP/FlexESG\_A\_So function. On the left, multiple FlexESGM\_CP inputs (CI\_D, CI\_CK, CI\_FS, CI\_MFS, CI\_SSF, CI\_CRCerr) are processed through 'Extract GID', 'Extract IID', 'Extract MAP', and 'Extract sub-calendar' blocks to produce AcGID, AcIID, AcFMAP, AcCC, AcCCA, and AcCCB signals. These are followed by a 'FlexESG deskew' block. Below that, 'Crunching' and 'Padding' blocks process the signals. A 'Clock generator' provides CK, FS, and MFS signals. The data then goes through 'Interleaving', a 'Selector' (controlled by aAIS), and a 'Scrambler'. The scrambled data is stored in an 'Elastic store' (with WR and RD ports) controlled by a 'Justification control (BGMP)'. The BGMP also controls 'Insert PSI[3..3+p]', 'Insert PT', 'Insert CSF', and 'Insert RES' blocks. A block 'ODU OH is set to all-0's, except PM STAT = 001' is also present. The final output is ODUflexP\_AP (AI\_D, AI\_CK, AI\_FS, AI\_MFS). On the right, various detection blocks (dGIDM, dFMM, dCSUM) process the signals to generate MI\_ExGID, MI\_ExFMAP, MI\_CS\_n[1..p], MI\_AcGID[1..p], MI\_AcIID[1..p], MI\_AcFMAP[1..p], MI\_AcCC[1..p], MI\_AcCCA[1..p], MI\_AcCCB[1..p], MI\_cLOL, MI\_cFMM, MI\_cGIDM, and MI\_cCSUM signals. These are then processed by a 'Defect correlations' block and a 'Consequent actions' block. The vertical label on the far right is ODUflexP/FlexESG\_A\_So\_MP. The bottom right corner has the text G.798(17)-Amd.4(22)\_F14-100.
-
-Figure 14-100 – ODUflexP/FlexESG\_A\_So function
-
-**Defects:** The function shall detect dFMM, dGIDM, dLOL and dCSUM.
-
-**dGIDM:** See clause B.1.1.2.1. dGIDM shall be set to false during $\sum CI\_TSF[i]$ .
-
-**dFMM:** See clause B.1.1.2.2. dFMM shall be set to false during $\sum CI\_TSF[i]$ or dGIDM.
-
-**dLOL:** If the alignment process, i.e., the FlexESG deskew process, is in the out-of-alignment state, dLOL shall be set to true. dLOL shall be set to false when the alignment process is in the in-multilane-alignment state; dLOL shall be set to false during CI\_SSF or dGIDM or dFMM.
-
-**dCSUM:** The calendar slot unavailability mismatch defect dCSUM is set "1" if one or more of the calendar slots listed as unavailable in MI\_CS\_n[1..p] are not carrying the value 0xFFFF (i.e., unavailable) within the active accepted Client Calendar overhead in the FlexE (sub)group. Otherwise, dCSUM is set "0". dCSUM shall be set to false during CI\_SSF or dLOL or dGIDM or dFMM.
-
-dCSUM shall be detected within 100 ms of changes to the active accepted calendar configuration (AcCCA or AcCCB) or the MI\_CS\_n[1..p].
-
-**Consequent actions:**
-
-aAIS $\leftarrow$ dCSUM or dLOL or dFMM or dGIDM or $\sum$ CI\_SSF[i]
-
-**Defect correlations:**
-
-cGIDM $\leftarrow$ dGIDM and (not CI\_SSF)
-
-cFMM $\leftarrow$ dFMM and (not dGIDM) and (not CI\_SSF)
-
-cLOL $\leftarrow$ dLOL and (not dFMM) and (not dGIDM) and (not CI\_SSF)
-
-cCSUM $\leftarrow$ dCSUM and (not dLOL) and (not dFMM) and (not dGIDM) and (not CI\_SSF)
-
-**Performance monitoring:** None.
-
-**14.3.18.2 ODUflexP to FlexE sub-group adaptation sink function using BGMP (ODUflexP/FlexESG\_A\_Sk)**
-
-The ODUflexP/FlexESG\_A\_Sk recovers the FlexE partial rate (sub)group signal from the OPUflex payload using the justification control of BGMP. It extracts the OPUflex overhead (PT, CSF, PSI and JC) and monitors the reception of the correct overhead. Under signal fail condition, a replacement signal as specified in clause 17.12 of [ITU-T G.709] shall be inserted.
-
-The information flow and processing of the ODUflexP/FlexESG\_A\_Sk function is defined with reference to Figures 14-101 and 14-102.
-
-**Symbol**
-
-
-
-Diagram of the ODUflexP/FlexESG\_A\_Sk function symbol. A central trapezoidal block is labeled 'ODUflexP/FlexESG'. An input arrow labeled 'ODUflexP\_AP' points into the bottom of the block. An output arrow labeled 'ODUflexP/FlexESG\_A\_Sk\_MP' points out from the left side of the block. Multiple output arrows labeled '1', '2', '...', and 'p' point out from the top of the block. Above these arrows is the label 'FlexESGM\_CPs'. Below the diagram is the text 'G.798(17)-Amd.4(22)\_F14-F101'.
-
-**Figure 14-101 – ODUflexP/FlexESG\_A\_Sk function**
-
-## Interfaces
-
-**Table 14-47 – ODUflexP/FlexESG\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUflexP_AP: ODUflexP_AI_CK ODUflexP_AI_D ODUflexP_AI_FS ODUflexP_AI_MFS ODUflexP_AI_TSF ODUflexP/FlexESG_A_Sk_MP: ODUflexP/FlexESG_A_Sk_MI_CS_n[1..p] | p × FlexESGM_CP: FlexESGM_CI_CK FlexESGM_CI_D FlexESGM_CI_FS FlexESGM_CI_MFS FlexESGM_CI_SSF ODUflexP/FlexESG_A_Sk_MP: ODUflexP/FlexESG_A_Sk_MI_AcPT ODUflexP/FlexESG_A_Sk_MI_cPLM ODUflexP/FlexESG_A_Sk_MI_cCSF ODUflexP/FlexESG_A_Sk_MI_cCSACM ODUflexP/FlexESG_A_Sk_MI_cLCS ODUflexP/FlexESG_A_Sk_MI_cLOF ODUflexP/FlexESG_A_Sk_MI_cLOM |
-
-## Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**PSI[3..3+p]:** The function shall extract the PSI[3] to PSI[3+p] bytes from the PSI overhead as defined in clause 17.12 of [ITU-T G.709] and compare the p, n1 to np values in these bytes with the configured values MI\_CS\_n[1..p].
-
-**Client signal fail:** The function shall extract the CSF signal indicating the failure of the client signal out of Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**JC:** The function shall interpret the justification control information in the JC bytes and get the corresponding Cm value (948 or 949), as defined in clause 17.12 of [ITU-T G.709].
-
-**Demapping, rate adaptation and FlexESG clock generation:** The function shall provide an elastic store (buffer) process. The data shall be demapped from the payload bytes in the OPUflex frames and then be written into the buffer. The information extraction of the payload area shall be under the control of BGMP with the extracted Cm value. The FlexESG signal data shall be read out of the buffer under the control of the recovered FlexESG clock.
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The data signal shall be written into the buffer under the control of the associated (gapped) input clock. The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) clock at a rate and frequency accuracy determined by the client signal rate at the input of the remote ODUflexP/FlexESG\_A\_So.
-
-*FlexESG clock generation:* The function shall provide for a FlexESG clock generation process which generates a clock with a FlexESG signal bit rate ( $100\text{GE\_bit\_rate} \times n/20 \text{ kbit/s} \pm 100 \text{ ppm}$ ) as specified in clause 17.12 of [ITU-T G.709] based on the input clock AI\_CK.
-
-*Buffer size:* In the presence of bit rate differences between OPUflex and FlexE partial rate (sug)group signals, this demapping process shall not introduce any errors.
-
-**Block Synchronization:** See clause 8.2.7.1 for mapping procedures preserving the 2-bit alignment.
-
-**Descrambler:** The function shall descramble the 66b block stream from the payload bytes in the OPUflex frames as described in clause 17.12 of [ITU-T G.709].
-
-**FlexESG Frame alignment:** The function shall recover the interleaved FlexE sub-group frame start by searching for the $p$ instances of the FlexE overhead block 1 in the FlexESG frame every $1024 \times n \times 8$ blocks as described in clause 17.12 of [ITU-T G.709]. The number of calendar slots interleaved into FlexESG signal $n$ equals the sum $\sum n_i$ where $n_i$ represents the number of calendar slots in the $i^{th}$ FlexE member that are to be transferred.
-
-NOTE – The FlexE block 1 is encoded as a special ordered set. The sync header is 10, the control block type is 0x4B (ordered set), and the "O" code is 0x5.
-
-The process has two states, out-of-frame (OOF) and in-frame (IF). The frame alignment start shall be maintained during the OOF state.
-
-In the OOF state, the frame alignment shall be assumed to be recovered and the IF state shall be entered, when $p$ consecutive valid FlexE blocks 1 are found in two consecutive FlexESG overhead frames.
-
-In the IF state, OOF shall be entered when the $p$ consecutive FlexE blocks 1 of the FlexESG overhead frame has mismatches on the sync header, control block type or O code fields for 5 occurrences.
-
-**FlexE Multi-frame alignment:** The function shall recover the common multi-frame start of the $p$ FlexESGM signals by performing multi-frame alignment on the first instance of the FlexE overhead block 1 in the FlexE sub-group frame. See clause B.2.1.2.
-
-**De-interleaving:** The function shall de-interleave the $p$ FlexESGM signals from the interleaved FlexESG group signal as described in clause 17.12 of [ITU-T G.709].
-
-**Depadding:** The function shall delete the $n_i-1$ padding blocks inserted between the overhead block and the first sub-calendar block in the $i^{th}$ FlexESGM signal as described in clause 17.12 of [ITU-T G.709].
-
-**FlexE clock generation:** The function shall provide for a FlexESGM clock generation process which generates a clock with a bit rate $(100GE\_rate \times (16k-1)/16k)$ as specified in clause 6.2 of [OIF Flex IA] based on the recovered FlexESG clock "CLK" or the input clock AI\_CK.
-
-**Decrunching:** The function shall identify the removed unavailable calendar slots and insert them into the $p$ FlexESGM signals as described in clause 17.12 of [ITU-T G.709].
-
-**FlexE replacement signal generation:** The function shall provide for a FlexESGM replacement signal and clock generation process that generates a stream of local fault sequence ordered sets as specified in clause 17.12 of [ITU-T G.709].
-
-**Selector:** The function shall select the FlexESGM signal or the replacement signal. During a signal fail condition of the incoming ODUflex/OPUflex signal or a CSF condition is present in the OPUflex overhead, it shall select the replacement signal as described in clause 17.12 of [ITU-T G.709].
-
-![Block diagram of ODUflexP/FlexESG_A_Sk processes showing signal flow from input (AI_D, AI_CK, AI_FS, AI_MFS, AI_TSF) through various processing stages (Extract JC, Extract PSI, Extract CSF, Extract PT, Elastic store, Block synchronization, Descrambler, FlexESG frame alignment, FlexESG multi-frame alignment, De-interleaving, Depadding, Decrunching, Selector) to output (FlexESGM_CP[1] to FlexESGM_CP[p]).](28583b06f211df822423d245dfad776f_img.jpg)
-
-The diagram illustrates the ODUflexP/FlexESG\_A\_Sk processes. At the bottom, input signals AI\_D, AI\_CK, AI\_FS, AI\_MFS, and AI\_TSF enter the system. AI\_D, AI\_CK, AI\_FS, and AI\_MFS are processed through 'Extract JC', 'Extract PSI[3..3+p]', 'Extract CSF', and 'Extract PT' blocks. 'Extract JC' feeds into 'Justification control'. 'Extract PSI[3..3+p]' feeds into 'CSACM process'. 'Extract CSF' outputs dCSF. 'Extract PT' feeds into 'PT process'. 'Justification control' feeds into 'Elastic store'. 'Elastic store' has 'WR' (write) and 'RD' (read) ports. 'WR' feeds into 'FlexESG clock generator (BGMP)'. 'RD' feeds into 'Block synchronization'. 'FlexESG clock generator (BGMP)' also receives AI\_CK and AI\_FS. 'Block synchronization' outputs dLCS and CK. 'Block synchronization' feeds into 'Descrambler'. 'Descrambler' outputs D, CK, and BS. 'Descrambler' feeds into 'FlexESG frame alignment'. 'FlexESG frame alignment' outputs D, CK, and BS. 'FlexESG frame alignment' feeds into 'FlexESG multi-frame alignment'. 'FlexESG multi-frame alignment' outputs D, CK, FS, and MFS. 'FlexESG multi-frame alignment' feeds into 'De-interleaving'. 'De-interleaving' feeds into 'Depadding' blocks. 'Depadding' blocks feed into 'Decrunching' blocks. 'Decrunching' blocks feed into a 'Selector'. A 'Replacement signal generator' and 'FlexESGM clock generator' also feed into the 'Selector'. The 'Selector' outputs FlexESGM\_CP[1] to FlexESGM\_CP[p]. On the right side, 'Consequent actions' and 'Defect correlations' blocks receive various signals (dLOM, dLOF, dCSACM, dLCS, dPLM, dCSF, AI\_TSF) and output MI signals: MI\_cLOM, MI\_cLOF, MI\_cCSACM, MI\_cLCS, MI\_cPLM, MI\_cCSF, and MI\_AcPT. The diagram is labeled G.798(17)-Amd.4(22)\_F14-102 and ODUflexP/FlexESG\_A\_Sk\_MP.
-
-Block diagram of ODUflexP/FlexESG\_A\_Sk processes showing signal flow from input (AI\_D, AI\_CK, AI\_FS, AI\_MFS, AI\_TSF) through various processing stages (Extract JC, Extract PSI, Extract CSF, Extract PT, Elastic store, Block synchronization, Descrambler, FlexESG frame alignment, FlexESG multi-frame alignment, De-interleaving, Depadding, Decrunching, Selector) to output (FlexESGM\_CP[1] to FlexESGM\_CP[p]).
-
-Figure 14-102 – ODUflexP/FlexESG\_A\_Sk processes
-
-## Defects
-
-The function shall detect dPLM, dCSF, dCSACM, dLCS, dLOF and dLOM.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "0001 1110" as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**dCSF:** See clause 6.2.10.
-
-**dCSACM:** The calendar slot availability count mismatch defect dCSACM is set "1" if the extracted $p$ , $n_1$ to $n_p$ values from the PSI[3] to PSI[3+p] bytes are different from the configured values MI\_CS\_n[1..p]. Otherwise, dCSACM is set "0".
-
-dCSACM shall be detected within 100 ms of changes to the accepted PSI[3..3+p] or the MI\_CS\_n[1..p] values.
-
-**dLCS:** See clause 6.2.5.7.1.
-
-**dLOF:** The loss of the interleaved FlexESG frame defect dLOF is generated based on the state of the FlexESG frame alignment process. If the FlexESG frame alignment process is in the out-of-frame (OOF) state for 3 ms, dLOF shall be declared. To provide for the case of intermittent OOFs, the integrating timer shall not be reset to zero until an in-frame (IF) condition persists continuously for 3 ms. dLOF shall be cleared when the IF state persists continuously for 3 ms.
-
-**dLOM:** The loss of the interleaved FlexESG multi-frame defect dLOM is generated based on the state of the FlexESG multi-frame alignment process. See clause B.1.1.1.2.
-
-## Consequent actions
-
-aSSF $\leftarrow$ AI\_TSF or dPLM or dCSF or dLCS or dLOF or dLOM
-
-aAIS $\leftarrow$ AI\_TSF or dPLM or dCSF or dLCS or dLOF or dLOM
-
-For FlexE partial rate (sub)group signal, on declaration of aAIS, the function shall output the FlexESGM replacement signal within X ms. On clearing aAIS, the replacement signal shall be removed within Y ms and normal data being output. The values for X and Y are for further study. The replacement signal clock has to be within the frequency, jitter, and wander tolerance specifications of the FlexE signal.
-
-## Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cCSF $\leftarrow$ dCSF and (not dPLM) and (not AI\_TSF)
-
-cCSACM $\leftarrow$ dCSACM and (not dCSF) and (not dPLM) and (not AI\_TSF)
-
-cLCS $\leftarrow$ dLCS and (not dCSACM) and (not dCSF) and (not dPLM) and (not AI\_TSF)
-
-cLOF $\leftarrow$ dLOF and (not dLCS) and (not dCSACM) and (not dCSF) and (not dPLM) and (not AI\_TSF)
-
-cLOM $\leftarrow$ dLOM and (not dLOF) and (not dLCS) and (not dCSACM) and (not dCSF) and (not dPLM) and (not AI\_TSF)
-
-**Performance monitoring:** None.
-
-### 14.3.19 ODUkP to MPLS-TP adaptation functions (ODUkP/MT\_A; $k = 0, 1, 2, 3, 4, \text{flex}$ )
-
-ODUkP to MPLS-TP adaptation using GFP mapping is given in clause 11.2.1 of [ITU-T G.8121].
-
-### 14.3.20 ODUFlexP to ETCy adaptation function using BMP (ODUFlexP/ETCy\_A)
-
-The ODUFlexP/ETCy\_A performs the adaptation between the ODUFlexP layer adapted information and the characteristic information of the indicated ETCy client signals transported as constant bit-rate streams.
-
-Parameter 'y' denotes the different ETCy signal and the values of 'y' are given in Table 14-47.1.
-
-**Table 14-47.1 – Defined values for y for ETCy clients**
-
-| ETCy | Characteristic information | Bit rate |
-|----------|--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
-| ETC25GR | Stream of scrambled 64b/66b codewords of the 25GBASE-R PCS, as defined in clauses 49 and 107 of [IEEE 802.3] | $25\ 781\ 250\ \text{kbit/s} \pm 100\ \text{ppm}$ |
-| ETC50GR | Stream of scrambled 64b/66b codewords of the 50GBASE-R PCS, as defined in clauses 82 and 133 of [IEEE 802.3] | $51\ 562\ 500\ \text{kbit/s} \pm 100\ \text{ppm}$ |
-| ETC200GR | Stream of unscrambled 64b/66b codewords of the 200GBASE-R PCS, as defined in clause 119 of [IEEE 802.3] | $206\ 250\ 000 \times \frac{20479}{20480}\ \text{kbit/s} \pm 100\ \text{ppm}$ |
-| ETC400GR | Stream of unscrambled 64b/66b codewords of the 400GBASE-R PCS, as defined in clause 119 of [IEEE 802.3] | $412\ 500\ 000 \times \frac{20479}{20480}\ \text{kbit/s} \pm 100\ \text{ppm}$ |
-
-The ODUFlexP/ETCy\_A source function always provides BMP mapping.
-
-#### 14.3.20.1 ODUFlexP to ETCy adaptation source function using BMP (ODUFlexP/ETCy\_A\_So)
-
-The ODUFlexP/ETCy\_A\_So function creates the ODUFlex signal from ETCy client clock or a local clock. It maps the constant bit-rate client signal from the ETCy\_CP into the payload area of the OPUflex using BMP as defined in clause 17.13 of [ITU-T G.709], and adds OPUflex overhead (PT, CSF and RES) and default ODUFlex overhead.
-
-The information flow of the ODUFlexP/ETCy\_A\_So function is defined with reference to Figure 14-102.1 and the processing of the ODUFlexP/ETCy\_A\_So function is defined with reference to Figure 14-102.2.
-
-##### Symbol
-
-
-
-```
-
-graph TD
- ETCy_CP[ETCy_CP] --> ODUFlexP_ETCy[ODUFlexP/ETCy]
- ODUFlexP_ETCy --> ODUFlexP_AP[ODUFlexP_AP]
-
-```
-
-G.798(17)-Amd.1(18)\_F14-102.1
-
-Diagram of the ODUFlexP/ETCy\_A\_So function symbol. It shows an input 'ETCy\_CP' entering a trapezoidal block labeled 'ODUFlexP/ETCy', which outputs 'ODUFlexP\_AP'. Below the diagram is the reference code 'G.798(17)-Amd.1(18)\_F14-102.1'.
-
-**Figure 14-102.1 – ODUFlexP/ETCy\_A\_So function**
-
-## Interfaces
-
-**Table 14-47.2 – ODUflexP/ETCy\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------|
-| ETCy_CP: ETCy_CI_CK ETCy_CI_D ETCy_CI_AM_SF[2:0] (Note) ETCy_CI_FEC_DEG (Note) ETCy_CI_SSF | ODUflexP_AP: ODUflexP_AI_CK ODUflexP_AI_D ODUflexP_AI_FS ODUflexP_AI_MFS |
-| NOTE – The input signal is only used in the case of ETC200GR and ETC400GR supported by a single optical link in OTN. | |
-
-## Processes
-
-**Clock generation:** The function shall generate a local ODUflex clock (ODUflexP\_AI\_CK) by multiplying the incoming ETCy clock (CI\_CK) by a factor of 239/238. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCb clock), apply.
-
-**FS & MFS generation:** The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUflex signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Rate compensation:** The function shall include a rate compensation process as specified hereafter:
-
-- For ETC25GR and ETC50GR, the process shall transparently pass the 64b/66b code blocks at its input to the output.
-- For ETC200GR, the process shall compensate the incoming signal by inserting 16 rate compensation (RC) blocks every $(16 \times 20479)$ valid 64b/66b blocks as described in clause 17.3.2 of [ITU-T G.709]. The resulting nominal bit-rate of the rate compensated 64b/66b block stream is $206\,250\,000\text{ kbit/s} \pm 100\text{ ppm}$ .
-- For ETC400GR, the process shall compensate the incoming signal by inserting 32 rate compensation (RC) blocks every $(32 \times 20479)$ valid 64b/66b blocks as described in clause 17.3.2 of [ITU-T G.709]. The resulting nominal bit-rate of the rate compensated 64b/66b block stream is $412\,500\,000\text{ kbit/s} \pm 100\text{ ppm}$ .
-
-### Scrambler:
-
-- For ETC200GR and ETC400GR, the process shall scramble the rate compensated 64b/66b block stream as described in clause 17.3 of [ITU-T G.709] and in clause 119.2.4.3 of [IEEE 802.3].
-- For ETC25GR and ETC50GR, the process shall transparently pass the scrambled 64b/66b code blocks at its input to the output.
-
-**Mapping:** The function shall provide an elastic store (buffer) process. The data signal of the scrambled 64b/66b blocks shall be written into the buffer under the control of the associated input clock. The adjusted data signal of 64b/66b blocks shall be read out of the buffer and be written onto the OPUflex payload under the control of BMP as defined in clause 17.13 of [ITU-T G.709]. During writing onto the OPUflex payload, the 64b/66b blocks must begin at bit positions 1, 3, 5, or 7 of a byte in the OPUflex payload, keeping the 2-bit alignment of each 66b block through the mapping process.
-
-*Buffer size:* In the presence of bit rate differences between OPUflex and ETCy signals, this mapping process shall not introduce any errors.
-
-**PT:** The function shall insert the payload type code "0011 0000" (0x30 for ETC25GR), "0011 0011" (0x33 for ETC50GR), "0011 0001" (0x31 for ETC200GR) or "0011 0010" (0x32 for ETC400GR) into the PT byte position of the PSI overhead, as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**Client signal fail:** The function shall signal the failure of the client signal to the far end by use of the Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**CDI:** The function shall insert 3-bit Client Defect Indication in the PSI overhead as defined in clause K.2 of [ITU-T G.709]. Bit 2 of the PSI[2] shall be set to the reserved status information. Bit 3 of the PSI[2] byte shall be set to the Local Degrade status information or'ed with the FEC degraded input. Bit 4 of the PSI[2] byte shall be set to the Remote Degrade status information.
-
-| |
-|--------------------------------------------------------------------------------|
-| Bit 2 of the PSI[2] $\leftarrow$ CDI[0] $\leftarrow$ CI_AM_SF[0] |
-| Bit 3 of the PSI[2] $\leftarrow$ CDI[1] $\leftarrow$ CI_AM_SF[1] or CI_FEC_DEG |
-| Bit 4 of the PSI[2] $\leftarrow$ CDI[2] $\leftarrow$ CI_AM_SF[2] |
-
-NOTE – This process is only supported in the case of such service carried over a single optical link (supported by one OTSiA trail) in the OTN.
-
-**RES:** The function shall insert all-ZEROs into the RES bytes and reserved bits within the JC bytes.
-
-All other bits of the ODUflex overhead should be sourced as "0"s, except the ODUflex-PM STAT field which should be set to the value "normal path signal" (001).
-
-![Block diagram of the ODUflexP/ETCy_A_So function. The diagram shows the signal flow from ET_Cy_CP inputs (CI_D, CI_CK, CI_AM_SF[2:0], CI_FEC_DEG, CI_SSF) through various processing blocks (Rate compensation, Scrambler, Elastic store, CDI, Insert PT, Insert CSF, Insert RES, ODU OH generation) to ODUflexP_AP outputs (AI_D, AI_CK, AI_FS, AI_MFS). An ODU clock generator locked to ET_Cy clock (ODCb) provides the CK signal. Frequency dividers (1/122368 and 1/256) generate FS and MFS signals from the CK signal.](381b701baf194171a242aa2b1741f4a9_img.jpg)
-
-```
-
-graph TD
- subgraph ETCy_CP
- CI_D
- CI_CK
- CI_AM_SF_top[CI_AM_SF[2:0]]
- CI_FEC_DEG_top[CI_FEC_DEG]
- CI_SSF_top[CI_SSF]
- end
-
- CI_D --> RC[Rate compensation]
- CI_CK --> RC
- RC --> Scrambler
- Scrambler --> ES[Elastic store WR/RD]
-
- CI_CK --> ODCb[ODU clock generator locked to ETCy clock ODCb]
- ODCb --> CK_bus[CK]
- CK_bus --> ES
- CK_bus --> Div1[1/122368]
- Div1 --> FS_bus[FS]
- FS_bus --> ES
- FS_bus --> Div2[1/256]
- Div2 --> MFS_bus[MFS]
-
- ES --> CDI
- CI_AM_SF_top --> CDI
- CI_FEC_DEG_top --> CDI
-
- CDI --> IPT[Insert PT]
- IPT --> ICSF[Insert CSF]
- CI_SSF_top --> ICSF
- ICSF --> IRES[Insert RES]
- IRES --> ODUOH[ODU OH is set to all-0s, except PM STAT = 001]
-
- ODUOH --> AI_D
- CK_bus --> AI_CK
- FS_bus --> AI_FS
- MFS_bus --> AI_MFS
-
- subgraph ODUflexP_AP
- AI_D
- AI_CK
- AI_FS
- AI_MFS
- end
-
-```
-
-The diagram illustrates the ODUflexP/ETCy\_A\_So function. At the top, the **ETCy\_CP** section provides inputs: **CI\_D** and **CI\_CK** to a **Rate compensation** block, which then feeds into a **Scrambler**. The **Scrambler** output goes to an **Elastic store** block with **WR** (write) and **RD** (read) ports. The **Elastic store** output is connected to a vertical bus. On this bus, from top to bottom, are blocks for **CDI** (receiving **CI\_AM\_SF[2:0]** and **CI\_FEC\_DEG**), **Insert PT**, **Insert CSF** (receiving **CI\_SSF**), **Insert RES**, and a block stating **ODU OH is set to all-0's, except PM STAT = 001**. The bus then splits into four outputs at the bottom: **AI\_D**, **AI\_CK**, **AI\_FS**, and **AI\_MFS**. A separate path from **CI\_CK** goes to an **ODU clock generator locked to ETCy clock (ODCb)**, which outputs **CK**. This **CK** signal is divided by $\frac{1}{122368}$ to produce **FS**, which is further divided by $\frac{1}{256}$ to produce **MFS**. The **ODUflexP\_AP** label is at the bottom center, and the reference code **G.798(17)-Amd.1(18)\_F14-102.2** is at the bottom right.
-
-Block diagram of the ODUflexP/ETCy\_A\_So function. The diagram shows the signal flow from ET\_Cy\_CP inputs (CI\_D, CI\_CK, CI\_AM\_SF[2:0], CI\_FEC\_DEG, CI\_SSF) through various processing blocks (Rate compensation, Scrambler, Elastic store, CDI, Insert PT, Insert CSF, Insert RES, ODU OH generation) to ODUflexP\_AP outputs (AI\_D, AI\_CK, AI\_FS, AI\_MFS). An ODU clock generator locked to ET\_Cy clock (ODCb) provides the CK signal. Frequency dividers (1/122368 and 1/256) generate FS and MFS signals from the CK signal.
-
-**Figure 14-102.2 – ODUflexP/ETCy\_A\_So function**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.20.2 ODUflexP to ETCy adaptation sink function using BMP (ODUflexP/ETCy\_A\_Sk)
-
-The ODUflexP/ETCy\_A\_Sk recovers the ETCy client signal from the OPUflex payload using the justification control of BMP. It extracts the OPUflex overhead (PT and CSF) and monitors the reception of the correct payload type. Under signal fail condition, a replacement signal as specified in clause 17.13 of [ITU-T G.709] shall be inserted.
-
-The information flow and processing of the ODUflexP/ETCy\_A\_Sk function is defined with reference to Figures 14-102.3 and 14-102.4.
-
-## Symbol
-
-
-
-Symbol diagram for ODUflexP/ETCy\_A\_Sk function. A trapezoidal block labeled 'ODUflexP/ETCy' has an input arrow from the bottom labeled 'ODUflexP\_AP'. It has an output arrow pointing up labeled 'ETCy\_CP'. It also has a bidirectional arrow on the right labeled 'ODUflexP/ETCy\_A\_Sk\_MP'.
-
-G.798(17)-Amd.1(18)\_F14-102.3
-
-**Figure 14-102.3 – ODUflexP/ETCy\_A\_Sk function**
-
-## Interfaces
-
-**Table 14-47.3 – ODUflexP/ETCy\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUflexP_AP: ODUflexP_AI_CK ODUflexP_AI_D ODUflexP_AI_FS ODUflexP_AI_MFS ODUflexP_AI_TSF ODUflexP_AI_FEC_DEG (Note) | ETCy_CP: ETCy_CI_CK ETCy_CI_D ETCy_CI_AM_SF[2:0] (Note) ETCy_CI_SSF ODUflexP/ETCy_A_Sk_MP: ODUflexP/ETCy_A_Sk_MI_cPLM ODUflexP/ETCy_A_Sk_MI_AcPT ODUflexP/ETCy_A_Sk_MI_cCSF ODUflexP/ETCy_A_Sk_MI_cLCS ODUflexP/ETCy_A_Sk_MI_cLRC |
-
-NOTE – AI\_FEC\_DEG and CI\_AM\_SF signal are only used in the case of ETC200GR and ETC400GR supported by a single optical link in OTN.
-
-## Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**Client signal fail:** The function shall extract the CSF signal indicating the failure of the client signal out of Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**CDI:** The function shall extract 3-bit Client Defect Indication information from the PSI overhead as defined in clause K.2 of [ITU-T G.709]. A new AcCDI value is accepted if a new consistent 3-bit value is received in the CDI field (bits 2, 3 and 4) of the OPU PSI[2] overhead byte in 5 consecutive frames.
-
-| |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| $CI\_AM\_SF[0] \leftarrow AcCDI[0] \text{ and (not aAIS)}$ $CI\_AM\_SF[1] \leftarrow AcCDI[1] \text{ or AI\_FEC\_DEG or aAIS}$ $CI\_AM\_SF[2] \leftarrow AcCDI[2] \text{ and (not aAIS)}$ |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-
-NOTE – This process is only supported in the case of such service carried over a single optical link (supported by one OTSiA trail) in the OTN.
-
-**Demapping and ETcy clock generation:** The function shall provide an elastic store (buffer) process. The data shall be demapped from the payload bytes in the OPUflex frames and then be written into the buffer. The information extraction of the payload area shall be under the control of BMP. The signal data shall be read out of the buffer under the control of the recovered ETcy clock.
-
-**Smoothing and jitter limiting process:** The function shall provide for a clock smoothing and elastic store (buffer) process. The data signal shall be written into the buffer under the control of the associated (gapped) input clock. The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) clock at a rate and frequency accuracy determined by the client signal rate at the input of the remote ODUflexP/ETcy\_A\_So.
-
-**ETcy clock generation:** The function shall provide for an ETcy clock generation process which generates a clock with an ETcy signal bit rate (e.g., $25\,781\,250\text{ kbit/s} \pm 100\text{ ppm}$ for ETC25GR, $51\,562\,500\text{ kbit/s} \pm 100\text{ ppm}$ for ETC50GR, $206\,250\,000\text{ kbit/s} \pm 100\text{ ppm}$ for ETC200GR and $412\,500\,000\text{ kbit/s} \pm 100\text{ ppm}$ for ETC400GR) as specified in clause 17.13 of [ITU-T G.709] based on the input clock AI\_CK.
-
-**Buffer size:** In the presence of bit rate differences between OPUflex and ETcy signals, this demapping process shall not introduce any errors.
-
-**Block Synchronization:** The function shall recover the 66b block through the 66b block synchronization lock state machine as described in Figure 82-12 of [IEEE 802.3]. The lock process looks for 64 consecutive valid sync headers in the initial data stream to declare lock. A valid sync header is either a 01 or a 10. Once in lock, the lock process looks for 65 invalid sync headers within a 1024 sync window to declare out of lock. An invalid sync header is an 11 or 00. Due to the 66b blocks keep the 2-bit alignment with OPUflex payload boundary during the mapping process, so the slip step of the lock process may be optimized using 2-bit.
-
-**Descrambler:**
-
-- For ETC200GR and ETC400GR, the process shall descramble the 66b block stream as described in clause 17.13 of [ITU-T G.709] and in clause 119.2.5.6 of [IEEE 802.3].
-- For ETC25GR and ETC50GR, the process shall transparently pass the scrambled 64b/66b code blocks at its input to the output.
-
-**Rate compensation:** The function shall include a rate compensation process as specified hereafter:
-
-- For ETC25GR and ETC50GR signals, the process shall directly pass transparently the input 66b block stream to the output.
-- For ETC200GR and ETC400GR signals, RC block alignment and RC block removal processes shall be performed as described in Figure 14-102.5.
-
-**RC block alignment:** The function shall locate the start of Z consecutive RC blocks as described in clause 17.13.2 of [ITU-T G.709]; $Z = 16$ for ETC200GR and $Z = 32$ for ETC400GR. The process has two states, out-of-alignment (OOA) and in-alignment (IA). In the OOA state, the RC block pattern searched for may be a subset of RC0 and RC1 blocks within the Z consecutive RC blocks, for example a 4-block subset including the RC0/RC1 transition. The IA state shall be entered if this subset is found and confirmed at the next expected position. In the IA state, the Z RC blocks shall be continuously checked at the presumed position for correct RC alignment. The RC pattern checked for shall be the RC0/RC0/RC1/RC1 pattern. The OOA state shall be entered if this subset is not found at the correct position in two or more consecutive periods. The RC block alignment shall be maintained during the OOA state.
-
-**RC block removal:** The function shall remove all RC blocks from the 64b/66b block stream as described in clause 17.3.2 of [ITU-T G.709].
-
-**Replacement signal generation:** The function shall provide for an ETcy replacement signal and clock generation process that generates a stream of local fault sequence ordered sets as specified in clause 17.13 of [ITU-T G.709] with a bit rate as specified in Table 14-47.1.
-
-**Selector:** The function shall select the demapped ETcy signal or the replacement signal. During a signal fail condition of the incoming ODUflex/OPUflex signal or a CSF condition is present in the OPUflex overhead, it shall select the replacement signal as described in clause 17.13 of [ITU-T G.709].
-
-
-
-The diagram illustrates the internal processes of the ODUflexP/ETCy\_A\_Sk function. It is divided into two main functional areas: ODUflexP and ETCy\_A\_Sk\_MP.
-
-- ODUflexP\_AP (Input Side):** Inputs include AI\_D, AI\_MFS, AI\_CK, AI\_FS, AI\_FEC\_DEG, and AI\_TSF. AI\_D and AI\_MFS are processed through 'Extract CDI', 'Extract CSF', and 'Extract PT' blocks. 'Extract CDI' outputs CDI and AI\_FEC\_DEG to the 'CDI process'. 'Extract CSF' outputs dCSF. 'Extract PT' outputs to the 'PT process', which also receives dPLM and outputs MI\_AcPT. AI\_CK and AI\_FS are inputs to the 'Elastic store' (with WR and RD ports) and the 'Clock generator (BMP)'. AI\_FEC\_DEG and AI\_TSF are inputs to the 'Consequent actions' block.
-- ODUflexP/ETCy\_A\_Sk\_MP (Processing Side):** The 'Elastic store' outputs to a 'Block synchronization' block, which outputs dLCS. The 'Block synchronization' block also receives CK from the 'Clock generator (BMP)'. The signal then passes through a 'Descrambler' and a 'Rate compensation' block, which outputs dLRC. The 'Rate compensation' block also receives dLRC from the 'Replacement signal generator'. The signal then enters a 'Selector' block. The 'Selector' block also receives aAIS from the 'Consequent actions' block and outputs CI\_D and CI\_CK. The 'Consequent actions' block receives inputs from 'Defect correlations' (dLRC, dLCS, dCSF, dPLM, AI\_TSF) and outputs CI\_SSF and CI\_AM\_SF[2:0]. The 'Defect correlations' block also receives AM\_SF[2:0] from the 'CDI process' and outputs MI\_cLRC, MI\_cLCS, MI\_cCSF, and MI\_cPLM. The 'Clock generator (BMP)' outputs CK to the 'Elastic store' and 'Block synchronization' block.
-
-Block diagram of ODUflexP/ETCy\_A\_Sk processes showing signal flow from input AI\_D to output CI\_D through various processing blocks like Elastic store, Descrambler, Rate compensation, Selector, and Consequent actions.
-
-Figure 14-102.4 – ODUflexP/ETCy\_A\_Sk processes
-
-
-
-Diagram of the rate compensation process for ETC200GR and ETC400GR. It shows two stacked blocks: 'RC block removal' on top and 'RC block alignment' on the bottom. Inputs D, BS, and CK enter the 'RC block alignment' block from below. An output labeled 'dLRC' exits the 'RC block alignment' block to the right. Arrows indicate signal flow between the blocks and the inputs/outputs. Below the diagram is the text 'G.798(17)-Amd.1(18)\_F14-102.5'.
-
-**Figure 14-102.5 – Rate compensation process for ETC200GR and ETC400GR**
-
-## Defects
-
-The function shall detect dPLM, dCSF, dLCS and dLRC.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "0011 0000" (0x30 for ETC25GR), "0011 0011" (0x33 for ETC50GR), "0011 0001" (0x31 for ETC200GR) or "0011 0010" (0x32 for ETC400GR) as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**dCSF:** See clause 6.2.10.
-
-**dLCS:** See clause 6.2.5.7.1.
-
-**dLRC (loss of RC blocks):** The defect dLRC is generated based on the state of the RC block alignment process. If the process is in the out-of-alignment (OOA) state for 3 ms, dLRC shall be declared; dLRC shall be cleared when the IA state persists continuously for 3 ms.
-
-## Consequent actions
-
-aSSF $\leftarrow$ AI\_TSF or dPLM or dLCS or dLRC
-
-aAIS $\leftarrow$ AI\_TSF or dPLM or dLCS or dLRC
-
-For ETCy clients, on declaration of aAIS, the function shall output the ETCy replacement signal within X ms. On clearing aAIS, the replacement signal shall be removed within Y ms and normal data being output. The values for X and Y are for further study.
-
-## Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cCSF $\leftarrow$ dCSF and (not dPLM) and (not AI\_TSF)
-
-cLCS $\leftarrow$ dLCS and (not dPLM) and (not AI\_TSF)
-
-cLRC $\leftarrow$ dLRC and (not dLCS) and (not dPLM) and (not AI\_TSF)
-
-**Performance monitoring:** None.
-
-### **14.3.21 ODUkP to ETH client adaptation function using IMP (ODUkP/ETH-imp\_A; k = 0, 1, 2, 3, 4, flex)**
-
-The ODUkP/ETH-imp\_A performs the adaptation between the ODUkP layer adapted information and the characteristic information of the ETH client signal.
-
-### 14.3.21.1 ODUkP to ETH client adaptation source function using IMP (ODUkP/ETH-imp\_A\_So)
-
-The ODUkP/ETH-imp\_A\_So function creates the ODUk signal from a free running clock. It maps the ETH\_CI information into the payload area of the OPUk using IMP as defined in clause 17.11 of [ITU-T G.709], adds OPUk overhead (RES, PT) and default ODUk overhead.
-
-The information flow of the ODUkP/ETH-imp\_A\_So function is defined with reference to Figures 14-102.6 and 14-102.7.
-
-#### Symbol
-
-
-
-Diagram of the ODUkP/ETH-imp\_A\_So function symbol. The central block is labeled 'ODUkP/ETH-imp'. Inputs from the top are ETH\_TFP and ETH\_FP. Inputs from the left are ODUkP/ETH-imp\_A\_So\_MP (bidirectional), ETH\_RP, and ETH\_TP. The output at the bottom is ODUkP\_AP. Outputs to the right are ETHTF\_PP and ETHF\_PP. A small label G.798(23)\_F14-F102.6 is at the bottom right.
-
-Figure 14-102.6 – ODUkP/ETH-imp\_A\_So function
-
-#### Interfaces
-
-Table 14-47.4 – ODUkP/ETH-imp\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------|------------------------------------|
-| ETH_TFP: | ODUkP_AP: |
-| ETH_CI_D | ODUkP_AI_CK |
-| ETH_CI_P | ODUkP_AI_D |
-| ETH_CI_DE | ODUkP_AI_FS |
-| | ODUkP_AI_MFS |
-| ETH_FP: | ETHTF_PP: |
-| ETH_CI_D | ETH_PI_D |
-| ETH_CI_P | ETH_PI_P |
-| ETH_CI_DE | ETH_PI_DE |
-| ETH_RP: | ETHF_PP: |
-| ETH_RI | ETH_PI_D |
-| ETH_TP: | ETH_PI_P |
-| ETH_TI_CK | ETH_PI_DE |
-| ODUkP/ETH-imp_A_So_MP: | ODUkP/ETH-imp_A_So_MP: |
-| ODUkP/ETH-imp_A_So_MI_[IEEE 802.3] | ODUkP/ETH-imp_A_So_MI_[IEEE 802.3] |
-
-#### Processes
-
-The processes associated with the ODUkP/ETH-imp\_A\_So function are as depicted in Figure 14-102.7.
-
-The client-specific processes, and associated MI and PI signals, are defined in clause 9.5 of [ITU-T G.8021].
-
-**[IEEE 802.3] processes:** The [IEEE 802.3] processes represent the whole functionality of the PHY above the PMA in the IEEE 802.3 model. This includes the reconciliation sublayer and the process of 64B/66B encoding, as well as MAC FCS generation and frame counting.
-
-NOTE – This Recommendation defines these processes by reference to [IEEE 802.3] and intentionally does not provide details, as this functionality is well understood from the IEEE work.
-
-**Clock generation:** The function shall generate an ODUk clock (ODUkP\_AI\_CK) – according to one of the methods described in clause 12.2.6 of [ITU-T G.709] – with a bit rate as specified in Table 7-2 of [ITU-T G.709]. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (in case of methods 1 and 2 ODCa clock, in case of method 3 ODCb clock), apply.
-
-**FS & MFS generation:** The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the ODUk signal. The AI\_FS signal shall be active once per 122 368 clock cycles. AI\_MFS shall be active once every 256 frames.
-
-**Bit-rate adaptation, scrambler, mapping and frequency justification:** The function shall provide an elastic store (buffer) process. The data signal of 66b blocks shall be written into the buffer under the control of the associated input clock. The adjusted data signal of 66b blocks shall be read out of the buffer, scrambled and be written onto the OPUk payload under the control of IMP as defined in clause 17.11 of [ITU-T G.709]. The 66b blocks are aligned so that the first bit of the sync header appears in one of the bit positions 1, 3, 5, or 7 of a byte in the OPUk payload.
-
-*Scrambler:* The function shall scramble 66b block stream after rate adaptation and before mapping into the OPUk.
-
-*Rate adaptation:* The mapping process shall not insert or delete a 66b block between a Start (0x78) and Terminate (0x87/0x99/0xAA/0xB4/0xCC/0xD2/0xE1/0xFF) control block.
-
-**PT:** The function shall insert the payload type code "0001 1101" (0x1D) into the PT byte position of the PSI overhead, as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**Client signal fail:** The function shall signal the failure of the client signal to the far end by use of the Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**RES:** The function shall insert all-ZEROs into the RES bytes and reserved bits within the JC bytes.
-
-All other bits of the ODUk overhead should be sourced as "0"s, except the ODUk-PM STAT field which should be set to the value "normal path signal" (001).
-
-![Figure 14-102.7 – ODUkP/ETH-imp_A_So function block diagram. The diagram shows the internal processing of an ODUkP/ETH-imp_A_So function. At the top, two inputs, ETH_CI (ETH_TP) and ETH_CI (ETH_TFP), enter a 'Client-specific processes' block. This block outputs two signals, ETH_PI (ETH_TF_PP) and ETH_PI (ETHF_PP), to the right. Below the client-specific processes is a yellow '[IEEE 802.3] processes' block, which is connected to an external 'MI_[IEEE 802.3]' interface on the left. This block receives two signals, ETH_RI and ETH_TI_CK, from the right. The output of the [IEEE 802.3] processes goes to a 'Rate adaptation' block, which then feeds into a 'Scrambler' block. The output of the scrambler goes to an 'Elastic store' block, which has 'WR' (write) and 'RD' (read) ports. The 'WR' port is connected to the 'Scrambler' and the 'RD' port is connected to a 'Justification control (IMP)' block. The 'IMP' block also receives 'CK' (clock) from a 'Clock generator' block. The 'Clock generator' is connected to a 'Free-running clock generator (ODCa)' block. The 'IMP' block outputs 'FS' (frame sync) to a '1/122368' divider block, which in turn outputs 'MFS' (multi-frame sync) to a '1/256' divider block. The 'Elastic store' block also outputs 'AI_D' (data) to the bottom. The 'IMP' block outputs 'AI_CK' (clock) to the bottom. The 'IMP' block also outputs 'CI_SSF' (client signal signal fail) to an 'Insert CSF' block. The 'Insert CSF' block outputs 'Insert PT' (payload type) to an 'Insert RES' (residual) block. The 'Insert RES' block outputs 'ODU OH is set to all-0's, except PM STAT = 001' to the bottom. The bottom outputs are labeled AI_D, AI_CK, AI_FS, and AI_MFS. The entire diagram is labeled ODUkP_AP and G.798(23)_F14-102.7.](b49ab452107df6572ea43e1be0912bd0_img.jpg)
-
-Figure 14-102.7 – ODUkP/ETH-imp\_A\_So function block diagram. The diagram shows the internal processing of an ODUkP/ETH-imp\_A\_So function. At the top, two inputs, ETH\_CI (ETH\_TP) and ETH\_CI (ETH\_TFP), enter a 'Client-specific processes' block. This block outputs two signals, ETH\_PI (ETH\_TF\_PP) and ETH\_PI (ETHF\_PP), to the right. Below the client-specific processes is a yellow '[IEEE 802.3] processes' block, which is connected to an external 'MI\_[IEEE 802.3]' interface on the left. This block receives two signals, ETH\_RI and ETH\_TI\_CK, from the right. The output of the [IEEE 802.3] processes goes to a 'Rate adaptation' block, which then feeds into a 'Scrambler' block. The output of the scrambler goes to an 'Elastic store' block, which has 'WR' (write) and 'RD' (read) ports. The 'WR' port is connected to the 'Scrambler' and the 'RD' port is connected to a 'Justification control (IMP)' block. The 'IMP' block also receives 'CK' (clock) from a 'Clock generator' block. The 'Clock generator' is connected to a 'Free-running clock generator (ODCa)' block. The 'IMP' block outputs 'FS' (frame sync) to a '1/122368' divider block, which in turn outputs 'MFS' (multi-frame sync) to a '1/256' divider block. The 'Elastic store' block also outputs 'AI\_D' (data) to the bottom. The 'IMP' block outputs 'AI\_CK' (clock) to the bottom. The 'IMP' block also outputs 'CI\_SSF' (client signal signal fail) to an 'Insert CSF' block. The 'Insert CSF' block outputs 'Insert PT' (payload type) to an 'Insert RES' (residual) block. The 'Insert RES' block outputs 'ODU OH is set to all-0's, except PM STAT = 001' to the bottom. The bottom outputs are labeled AI\_D, AI\_CK, AI\_FS, and AI\_MFS. The entire diagram is labeled ODUkP\_AP and G.798(23)\_F14-102.7.
-
-Figure 14-102.7 – ODUkP/ETH-imp\_A\_So function
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.3.21.2 ODUkP to ETH-imp client adaptation sink function using IMP (ODUkP/ETH-imp\_A\_Sk)
-
-The ODUkP/ETH-imp\_A\_Sk extracts ETH\_CI information from the ODUkP payload area using the justification control of IMP, delivering ETH\_CI to ETH\_TFP and ETH\_FP. It extracts the OPUk overhead (PT and RES) and monitors the reception of the correct payload type.
-
-The information flow and processing of the ODUkP/ETH-imp\_A\_Sk function is defined with reference to Figures 14-102.8 and 14-102.9.
-
-## Symbol
-
-
-
-Diagram of the ODUkP/ETH-imp\_A\_Sk function symbol. The central block is labeled 'ODUkP/ETH-imp'. Inputs from the left are 'ETH\_TFP' and 'ETH\_PP'. Inputs from the bottom are 'ODUkP\_AP'. Outputs to the top are 'ETH\_TFP' and 'ETH\_PP'. Outputs to the right are 'ODUkP/ETH-imp\_A\_Sk\_MP' and 'ETH\_RP'. A reference label 'G.798(23)\_F14-F102.8' is at the bottom right.
-
-Figure 14-102.8 – ODUkP/ETH-imp\_A\_Sk function
-
-## Interfaces
-
-Table 14-47.5 – ODUkP/ETH-imp\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUkP_AP: ODUkP_AI_CK ODUkP_AI_D ODUkP_AI_FS ODUkP_AI_MFS ODUkP_AI_TSF
ODUkP/ETH-imp_A_Sk_MP: ODUkP/ETH-imp_A_Sk_MI_[IEEE 802.3] ODUkP/ETH-imp_A_Sk_MI_cPLM ODUkP/ETH-imp_A_Sk_MI_AcPT ODUkP/ETH-imp_A_Sk_MI_cCSF ODUkP/ETH-imp_A_Sk_MI_cLCS |
-
-## Processes
-
-**PT:** The function shall extract the PT byte from the PSI overhead as defined in clause 8.7.1.1. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection.
-
-**Client signal fail:** The function shall extract the CSF signal indicating the failure of the client signal out of Bit 1 of the PSI[2] byte of the payload structure identifier, as defined in clause 17.1 of [ITU-T G.709].
-
-**Demapping:** The function shall extract the client data from the payload bytes in the OPUk frames. The information extraction of the payload area shall be under the control of IMP.
-
-**Block Synchronization:** See clause 8.2.7.1 for mapping procedures preserving the 2-bit alignment.
-
-**Descrambler:** The function shall descramble the 66b block stream before the rate adaptation.
-
-**Rate adaptation and PCS clock generation:** The function shall provide an elastic store (buffer) process. It writes the descrambled 66b block data stream into the buffer. The information extraction of the payload area shall be under the control of IMP. The client PCS data shall be read out of the buffer under the control of the PCS clock.
-
-*PCS clock generation:* The function shall provide for a client PCS clock (CK) generation process which generates a clock with a bit rate as specified in Table 14-43.
-
-*Buffer size:* The demapping process shall not insert or delete a 66b block between a Start (0x78) and Terminate (0x87/0x99/0xAA/0xB4/0xCC/0xD2/0xE1/0xFF) control block.
-
-**Replacement signal generation:** The function shall provide for a PCS replacement signal and clock generation process that generates a stream of local fault sequence ordered sets as specified in clause 17.11 of [ITU-T G.709] with a bit rate as specified in Table 7-2 of [ITU-T G.709].
-
-The client-specific processes, and associated MI and PI signals, are defined in clause 9.5 of [ITU-T G.8021].
-
-**[IEEE 802.3] processes:** The [IEEE 802.3] processes represent the whole functionality of the PHY layer above the PMA; this includes 64B/66B decoding and the reconciliation sublayer, as well as the MAC length check, MAC frame check and frame counting.
-
-NOTE – This Recommendation defines these processes by reference to [IEEE 802.3] and intentionally does not provide details, as this functionality is well understood from the IEEE work.
-
-
-
-The diagram illustrates the internal processes of the ODUkP/ETH-imp\_A\_Sk function. At the top, 'Client-specific processes' receive 'MI signals (See [ITU-T G.8021])' and output 'ETH\_CI (ETH\_TP)', 'ETH\_CI (ETH\_TFP)', 'ETH\_CI\_CLK', and 'ETH\_CI\_SSF'. Below them, '[IEEE 802.3] processes' receive 'MI\_[IEEE 802.3]' and output 'ETH\_PI (ETHHTF\_PP)', 'ETH\_PI (ETHF\_PP)', and 'ETH\_RI'. Both process blocks feed into a 'Selector'. The 'Selector' output goes to 'Rate adaptation' and 'Replacement signal generator'. 'Rate adaptation' feeds into 'Descrambler', which in turn feeds into 'Block synchronization'. 'Block synchronization' feeds into 'Elastic store' (with write 'WR' and read 'RD' ports) and 'PCS clock generator (IMP)'. The 'Elastic store' feeds into 'Extract CSF' (outputting 'dCSF') and 'Extract PT' (outputting 'MI\_AcPT'). 'Extract PT' feeds into 'PT process', which outputs 'dPLM'. All defect signals ('dLCS', 'dPLM', 'dCSF', 'AI\_TSF') are fed into 'Defect correlations', which output 'MI\_cLCS', 'MI\_cPLM', and 'MI\_cCSF'. 'Consequent actions' block receives 'aAIS' from 'Replacement signal generator' and defect signals, outputting 'dLCS', 'dPLM', 'dCSF', and 'AI\_TSF'. The entire internal structure is labeled 'ODUkP/ETH-imp\_A\_Sk\_MP' on the right. External input signals at the bottom are 'AI\_D', 'AI\_MFS', 'AI\_CK', 'AI\_FS', and 'AI\_TSF', collectively labeled 'ODUkP\_AP'.
-
-Block diagram of ODUkP/ETH-imp\_A\_Sk processes showing signal flow from client-specific processes and IEEE 802.3 processes through various adaptation and synchronization stages to output interfaces like ETH\_CI and ODUkP/ETH-imp\_A\_Sk\_MP.
-
-Figure 14-102.9 – ODUkP/ETH-imp\_A\_Sk processes
-
-### Defects
-
-The function shall detect dPLM, dCSF and dLCS.
-
-**dPLM:** See clause 6.2.4.1. The expected payload type is "0001 1101" as defined in clause 15.9.2.1 of [ITU-T G.709].
-
-**dCSF:** See clause 6.2.10.
-
-**dLCS:** See clause 6.2.5.7.1.
-
-The definition of the client related defects used by the ODUkP/ETH-imp\_A\_Sk is outside the scope of this Recommendation.
-
-### Consequent actions
-
-aSSF $\leftarrow$ AI\_TSF or dPLM or dLCS
-
-aAIS $\leftarrow$ AI\_TSF or dPLM or dLCS
-
-On declaration of aAIS, the function shall output the PCS client replacement signal within two ODUk frames. On clearing aAIS, the replacement signal shall be removed within two ODUk frames and normal data being output.
-
-### Defect correlations
-
-cPLM $\leftarrow$ dPLM and (not AI\_TSF)
-
-cCSF $\leftarrow$ dCSF and (not dPLM) and (not AI\_TSF)
-
-cLCS $\leftarrow$ dLCS and (not dPLM) and (not AI\_TSF)
-
-**Performance monitoring:** None.
-
-## 14.4 COMMS functions
-
-Two types of COMMS functions are defined for the ODU: the ODUP/COMMS adaptation function (ODUP/COMMS\_A) that provides access to the ODU GCC1/2 overhead at the ODUP access point (ODUP\_AP), and the ODU/COMMS access function (ODU/COMMS\_AC) that provides access to the ODU GCC1/2 at ODU (termination) connection points (ODU\_CP/TCPs), as shown in Figure 14-103. The ODUP/COMMS\_A function supports transport of the COMMS data over an ODUP trail including the trail supervision, while the ODU/COMMS\_AC function supports transport of COMMS data over a ODU subnetwork connection.
-
-NOTE – COMMS subnetwork connections are independent of TCM subnetwork connections.
-
-
-
-Figure 14-103 – ODU GCC access. The diagram consists of two parts, (a) and (b). Part (a) shows COMMS (GCC) access at ODUP access points. It features two identical vertical stacks. Each stack has a yellow trapezoidal block labeled 'ODUP/COMMS' at the top, connected to a 'COMMS\_CP' line. Below it is a white triangle labeled 'ODUP' connected to an 'ODUP\_AP' line. Below that is another white triangle labeled 'ODUP' connected to an 'ODUP\_TCP' line. A dashed line labeled 'ODU network connection' connects the two 'ODUP\_TCP' lines. A solid line labeled 'COMMS connection' connects the two 'ODUP/COMMS' blocks. Part (b) shows COMMS (GCC) access at ODU connection points. It features two identical yellow pentagonal blocks labeled 'ODU/COMMS' in the center. Each block is connected to an 'ODU\_CP' line on its left and right. To the left of the first block is an 'ODU\_NC' (dashed line with circles) connected to another 'ODU\_CP' line. To the right of the second block is an 'ODU\_TCP' line. A solid line labeled 'COMMS connection' connects the two 'ODU/COMMS' blocks. A 'COMMS\_CP' line is connected to the top of each 'ODU/COMMS' block. An 'ODUP' triangle is connected to the 'ODU\_TCP' line on the right.
-
-a) COMMS (GCC) access at ODUP access points
-
-b) COMMS (GCC) access at ODU connection points
-
-G.798(17)\_F14-103
-
-**Figure 14-103 – ODU GCC access**
-
-#### 14.4.1 ODUP to COMMS adaptation function (ODUP/COMMS\_A)
-
-The ODUP to COMMS adaptation functions provide access to the GCC1/2 overhead in the ODU for generic data communication.
-
-##### 14.4.1.1 ODUP to COMMS adaptation source function (ODUP/COMMS\_A\_So)
-
-The ODUP/COMMS\_A\_So function maps the generic communication channel data into the ODU GCC1/2 overhead.
-
-The information flow and processing of the ODUP/COMMS\_A\_So functions is defined with reference to Figures 14-104 and 14-105.
-
-#### Symbol
-
-
-
-Figure 14-104 shows two block diagrams for the ODUP/COMMS\_A\_So function. The left diagram is for ODUkP and the right is for ODUCnP. Both show COMMS\_CP and ODUkP/COMMS\_A\_So\_MP as inputs to a trapezoidal block labeled ODUkP/COMMS or ODUCnP/COMMS. The output is ODUkP\_AP or ODUCnP\_AP, with a label 'k = 0, 1, 2, 2e, 3, 4, flex' between the block and the output. A reference 'G.798(17)\_F14-104' is at the bottom right.
-
-Figure 14-104 – ODUP/COMMS\_A\_So function
-
-#### Interfaces
-
-Table 14-48 – ODUP/COMMS\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|---------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|
-| COMMS_CP: COMMS_CI_D ODUP_AP: ODUP_AI_CK ODUP_AI_FS ODUP/COMMS_A_So_MP: ODUP/COMMS_A_So_MI_GCCAccess | COMMS_CP: COMMS_CI_CK ODUP_AP: ODUP_AI_D |
-
-#### Processes
-
-The processes associated with the ODUP/COMMS\_A\_So function are as depicted in Figure 14-105.
-
-**COMMS clock generation:** The function shall generate the COMMS clock (CI\_CK) by dividing the incoming ODUP clock (AI\_CK) by a factor of 7648 if one GCC overhead is accessed, or by a factor of 3824 if both GCC overheads are accessed.
-
-**Mapping:** Depending on the MI\_GCCAccess configuration, the function shall map the incoming COMMS (CI\_D) data only into GCC1 (MI\_GCCAccess = "GCC1") or only into GCC2 (MI\_GCCAccess = "GCC2") or into both GCC1 and GCC2 overhead (MI\_GCCAccess = "GCC1+GCC2") of the ODU frame. The bit rate of the COMMS data is defined by the outgoing COMMS clock (CI\_CK) and is in the range as given in Table 7-10 of [ITU-T G.709].
-
-Table 14-49 – Intentionally left blank
-
-The insertion of the COMMS data follows the transmission order of the GCC bits and bytes.
-
-
-
-Figure 14-105: ODUP/COMMS\_A\_So processes diagram. A grey box labeled 'ODUP\_AP' contains two sub-processes: 'Mapping' and 'COMMS clock generation'. Inputs from 'COMMS\_CP' include 'CI\_D' and 'CI\_CK'. Inputs from 'ODUP\_AP' include 'AI\_FS', 'AI\_D', and 'AI\_CK'. The 'Mapping' process outputs to 'COMMS\_CP' and 'ODUP\_AP'. The 'COMMS clock generation' process outputs to 'COMMS\_CP' and 'ODUP\_AP'. A vertical label on the right is 'ODUP/COMMS\_A\_So\_MP'. A reference 'G.798(17)\_F13-105' is at the bottom right.
-
-Figure 14-105 – ODUP/COMMS\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-**14.4.1.2 ODUP to COMMS adaptation sink function (ODUP/COMMS\_A\_Sk)**
-
-The ODUP/COMMS\_A\_Sk extracts the COMMS data from the ODU GCC overhead.
-
-**Symbol**
-
-The information flow and processing of the ODUP/COMMS\_A\_Sk functions is defined with reference to Figures 14-106 and 14-107.
-
-
-
-Figure 14-106: ODUP/COMMS\_A\_Sk function diagram. Two trapezoidal symbols represent the functions. The left symbol is 'ODUPkP/COMMS' with input 'ODUPkP/COMMS\_A\_Sk\_MP' and 'ODUPkP\_AP' (labeled k = 0, 1, 2, 2e, 3, 4, flex), and output 'COMMS\_CP'. The right symbol is 'ODUCnP/COMMS' with input 'ODUCnP/COMMS\_A\_Sk\_MP' and 'ODUCnP\_AP', and output 'COMMS\_CP'. A reference 'G.798(17)\_F14-106' is at the bottom right.
-
-Figure 14-106 – ODUP/COMMS\_A\_Sk function
-
-**Interfaces**
-
-Table 14-50 – ODUP/COMMS\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|---------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------|
-| ODUP_AP: ODUP_AI_CK ODUP_AI_D ODUP_AI_FS ODUP_AI_TSF ODUP/COMMS_A_Sk_MP: ODUP/COMMS_A_Sk_MI_GCCAccess | COMMS_CP: COMMS_CI_CK COMMS_CI_D COMMS_CI_SSF |
-
-## Processes
-
-The processes associated with the ODUP/COMMS\_A\_Sk function are as depicted in Figure 14-107.
-
-**COMMS clock generation:** The function shall generate the COMMS clock (CI\_CK) by dividing the incoming ODUP clock (AI\_CK) by a factor of 7648 if one GCC overhead is accessed, or by a factor of 3824 if both GCC overheads are accessed.
-
-**Demapping:** Depending on the MI\_GCCAccess configuration, the function shall extract the COMMS (CI\_D) data only from GCC1 (MI\_GCCAccess = "GCC1") or only from GCC2 (MI\_GCCAccess = "GCC2") or from both GCC1 and GCC2 overhead (MI\_GCCAccess = "GCC1+GCC2") of the ODU frame. The bit rate of the COMMS data is defined by the outgoing COMMS clock (CI\_CK) and is in the range as given in Table 7-10 of [ITU-T G.709].
-
-The extraction of the COMMS data follows the transmission order of the GCC bits and bytes.
-
-
-
-Figure 14-107 – ODUP/COMMS\_A\_Sk processes. This block diagram shows the internal components of the ODUP/COMMS\_A\_Sk function. The main container is labeled 'ODUP\_AP' at the bottom and 'COMMS\_CP' at the top. Inside, there are two sub-blocks: 'Demapping' on the left and 'COMMS clock generation' on the right. Inputs from the bottom are AI\_FS, AI\_D, AI\_CK, and AI\_TSF. AI\_CK connects to the clock generation block. AI\_D connects to the Demapping block. AI\_TSF connects to a label 'aSSF' on the right. AI\_FS also connects to the 'aSSF' label. The Demapping block outputs CI\_D. The clock generation block outputs CI\_CK. A configuration input MI\_GCCAccess enters from the right and connects to the Demapping block. A vertical label 'ODUP/COMMS\_A\_Sk\_MP' is on the far right. A reference 'G.798(17)\_F13-107' is at the bottom right.
-
-Figure 14-107 – ODUP/COMMS\_A\_Sk processes
-
-**Defects:** None.
-
-### Consequent actions
-
-The function shall perform the following consequent action:
-
-aSSF $\leftarrow$ AI\_TSF
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 14.4.2 ODU to COMMS access function (ODU/COMMS\_AC)
-
-The ODU to COMMS access functions provide access to the GCC1/2 overhead in the ODU for generic data communication at ODU\_CPs (including TCPs). As the functions act on the ODU signal that passes through the CP, they are inserted into an expanded ODU\_CP as shown in Figure 14-108. They can be inserted into any ODU\_CP, independently of sink or source processing. A ODU/COMMS\_AC\_Sk and So function can be used at the same CP for extraction of the COMMS data from the GCC and insertion of new COMMS data.
-
-
-
-Diagram showing the expansion of an ODU CP for COMMS access. A vertical line on the left has two small circles. Dashed lines connect these circles to a diamond-shaped block labeled 'ODU/COMMS'. The top of the block is connected to a terminal labeled 'COMMS\_CP'. The bottom of the block is connected to another terminal.
-
-G.798(17)\_F14-108
-
-Figure 14-108 – ODU\_CP expansion for COMMS access
-
-**14.4.2.1 ODU to COMMS access source function (ODU/COMMS\_AC\_So)**
-
-The ODU/COMMS\_AC\_So function maps the generic communication channel data into the GCC1/2 overhead of the ODU signal that passes through the function.
-
-The information flow and processing of the ODU/COMMS\_AC\_So functions is defined with reference to Figures 14-109 and 14-110.
-
-**Symbol**
-
-
-
-Diagram showing two instances of the ODU/COMMS\_AC\_So function. The left instance is labeled 'ODUk/COMMS' and has an input 'ODUk\_CP' at the top, an input 'ODUk/COMMS\_AC\_So\_MP' on the left, and an output 'COMMS\_CP' at the top right. The bottom output is labeled 'ODUk\_CP'. Below the block is the text 'k = 0, 1, 2, 2e, 3, 4, flex'. The right instance is labeled 'ODUCn/COMMS' and has an input 'ODUCn\_CP' at the top, an input 'ODUCn/COMMS\_AC\_So\_MP' on the left, and an output 'COMMS\_CP' at the top right. The bottom output is labeled 'ODUCn\_CP'. A reference code 'G.798(17)\_F14-109' is at the bottom right.
-
-Figure 14-109 – ODU/COMMS\_AC\_So function
-
-**Interfaces**
-
-Table 14-51 – ODU/COMMS\_AC\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
-| COMMS_CP: COMMS_CI_D ODU_CP: ODU_CI_D ODU_CI_CK ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODU_CI_RP ODU_CI_TSCC ODU/COMMS_AC_So_MP: ODU/COMMS_AC_So_MI_GCCAccess | COMMS_CP: COMMS_CI_CK ODU_CP: ODU_CI_D ODU_CI_CK ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODU_CI_RP ODU_CI_TSCC |
-
-**Processes**
-
-The processes associated with the ODU/COMMS\_AC\_So function are as depicted in Figure 14-110.
-
-**COMMS clock generation:** The function shall generate the COMMS clock (COMMS\_CI\_CK) by dividing the incoming ODU clock (ODU\_CI\_CK) by a factor of 7648 if one GCC overhead is accessed, or by a factor of 3824 if both GCC overheads are accessed.
-
-**Mapping:** Depending on the MI\_GCCAccess configuration, the function shall map the incoming COMMS (CI\_D) data only into GCC1 (MI\_GCCAccess = "GCC1") or only into GCC2 (MI\_GCCAccess = "GCC2") or into both GCC1 and GCC2 overhead (MI\_GCCAccess = "GCC1+GCC2") of the ODU frame. The bit rate of the COMMS data is defined by the outgoing COMMS clock (CI\_CK) and is in the range as given in Table 7-10 of [ITU-T G.709].
-
-The insertion of the COMMS data follows the transmission order of the GCC bits and bytes.
-
-
-
-The diagram illustrates the ODU/COMMS\_AC\_So processes. It shows the flow of signals between the ODU\_CP (Optical Data Unit Client Port) and the COMMS\_CP (Communications Client Port). On the left, the ODU\_CP section lists inputs: CI\_TSCC, CI\_RP, CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, and CI\_D. These signals enter a central grey box. Inside, the CI\_D signal is split: one path goes to a 'Mapping' block, and another goes to a 'COMMS clock generation' block. The 'Mapping' block outputs a CI\_D signal to the COMMS\_CP section. The 'COMMS clock generation' block outputs a CI\_CK signal to the COMMS\_CP section. A configuration input MI\_GCCAccess is shown entering the 'COMMS clock generation' block. On the right, the COMMS\_CP section lists outputs: CI\_D and CI\_CK. Below the grey box, the ODU\_CP section lists outputs: CI\_TSCC, CI\_RP, CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, and CI\_D. The diagram is labeled G.798(17)\_F13-110 and ODU/COMMS\_A\_So\_MP.
-
-Diagram of ODU/COMMS\_AC\_So processes showing signal flow from ODU\_CP to COMMS\_CP and back to ODU\_CP. It includes blocks for Mapping and COMMS clock generation, with inputs like CI\_TSCC, CI\_RP, CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, and CI\_D, and outputs like CI\_D and CI\_CK. A configuration input MI\_GCCAccess is also shown.
-
-**Figure 14-110 – ODU/COMMS\_AC\_So processes**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.4.2.2 ODU to COMMS access sink function (ODU/COMMS\_AC\_Sk)
-
-The ODU/COMMS\_AC\_Sk extracts the COMMS data from the ODU GCC overhead.
-
-The information flow and processing of the ODU/COMMS\_AC\_Sk functions is defined with reference to Figures 14-111 and 14-112.
-
-## Symbol
-
-
-
-G.798(17)\_F14-111
-
-Figure 14-111 shows two symbols for the ODU/COMMS\_AC\_Sk function. The left symbol is for ODUk/COMMS, with an input OD uk/COMMS\_AC\_Sk\_MP and an output OD uk\_CP. It also has an input OD uk\_CP and an output COMMS\_CP. The right symbol is for ODUCn/COMMS, with an input ODUCn/COMMS\_AC\_Sk\_MP and an output ODUCn\_CP. It also has an input ODUCn\_CP and an output COMMS\_CP. The parameter k is defined as 0, 1, 2, 2e, 3, 4, flex.
-
-**Figure 14-111 – ODU/COMMS\_AC\_Sk function**
-
-## Interfaces
-
-**Table 14-52 – ODU/COMMS\_AC\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU_CP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODU_CI_RP ODU_CI_TSCC ODU/COMMS_AC_Sk_MP: ODU/COMMS_AC_Sk_MI_GCCAccess ODU/COMMS_AC_Sk_MI_GCCCont | COMMS_CP: COMMS_CI_CK COMMS_CI_D COMMS_CI_SSF ODU_CP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODU_CI_RP ODU_CI_TSCC |
-
-## Processes
-
-The processes associated with the ODU/COMMS\_AC\_Sk function are as depicted in Figure 14-112.
-
-**COMMS clock generation:** The function shall generate the COMMS clock (COMMS\_CI\_CK) by dividing the incoming ODU clock (ODU\_CI\_CK) by a factor of 7648 if one GCC overhead is accessed, or by a factor of 3824 if both GCC overheads are accessed.
-
-**Demapping:** Depending on the MI\_GCCAccess configuration, the function shall extract the COMMS (CI\_D) data only from GCC1 (MI\_GCCAccess = "GCC1") or only from GCC2 (MI\_GCCAccess = "GCC2") or from both GCC1 and GCC2 overhead (MI\_GCCAccess = "GCC1+GCC2") of the ODU frame. The bit rate of the COMMS data is defined by the outgoing COMMS clock (CI\_CK) and is in the range as given in Table 7-10 of [ITU-T G.709].
-
-The extraction of the COMMS data follows the transmission order of the GCC bits and bytes.
-
-
-
-The diagram illustrates the internal architecture of an ODU/COMMS\_AC\_Sk\_MP. It is split into two primary functional areas: ODU\_CP and COMMS\_CP. The ODU\_CP area includes a 'Demapping' block. The COMMS\_CP area includes a 'COMMS clock generation' block. Various input signals (CI\_TSCC, CI\_RP, CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, CI\_D) are shown entering the system from the top and bottom. Output signals (MI\_GCCAccess, MI\_GCCCont) exit the system to the right. The diagram is identified by the label G.798(17)\_F13-112.
-
-Figure 14-112 – ODU/COMMS\_AC\_Sk processes. This block diagram shows the internal structure of an ODU/COMMS\_AC\_Sk\_MP. It is divided into two main sections: ODU\_CP and COMMS\_CP. The ODU\_CP section contains a 'Demapping' block that receives inputs from CI\_TSCC, CI\_RP, CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, and CI\_D. The COMMS\_CP section contains a 'COMMS clock generation' block that receives inputs from CI\_D, CI\_CK, and CI\_SSF. Both blocks are connected to MI\_GCCAccess and MI\_GCCCont. The diagram is labeled G.798(17)\_F13-112.
-
-**Figure 14-112 – ODU/COMMS\_AC\_Sk processes**
-
-**Defects:** None.
-
-**Consequent actions**
-
-The function shall perform the following consequent action:
-
-$$\text{aSSF} \leftarrow \text{CI\_SSF}$$
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-**14.5 Sub-layer functions**
-
-**14.5.1 ODU tandem connection sub-layer (ODUT) functions**
-
-Up to six independent ODUT sub-layers can pass through or can be terminated at an ODU\_CP as defined in [ITU-T G.709]. For an ODUT sub-layer termination, the ODU\_CP is expanded as defined in [ITU-T G.805].
-
-The ODUT\_TT, ODUT/ODU\_A and ODUT\_TCMC functions are always combined together and can be located at any ODU\_CP as shown in Figure 14-113. For the location of the ODUTm\_TT function, see Figure 14-119.
-
-NOTE – In accordance with [ITU-T G.709], nesting and cascading are the default operational configurations. Overlapping is an additional configuration for testing purposes only. Overlapped monitored connections must be operated in a non-intrusive mode in which the maintenance signals ODU-AIS and ODU-LCK are not generated. For the case where one of the endpoints in an overlapping monitored connection is located inside a SNC protected domain while the other endpoint is located outside the protected domain, the SNC protection should be forced to working when the endpoint of the overlapping monitored connection is located on the working connection, and forced to protection when the endpoint is located on the protection connection.
-
-![Diagram showing the location of ODUT functions (ODUT_TT, ODUT/ODU_A, ODUT_TCMC) for ODUk and ODUCn layers. The diagram is divided into two main sections: the top section for ODUk and the bottom section for ODUCn. Each section shows a central ODUk or ODUCn node connected to various functional blocks representing different layer boundaries and processing points. Labels include ODUkP, ODUkT, ODUkT/ODUk, ODUk_TCMC, ODUk_AP, ODUk_RP, OTUk[V]/ODUk, ODUCnP, ODUCnT, ODUCnT/ODUCn, ODUCn_TCMC, ODUCn_AP, ODUCn_RP, and OTUCn/ODUCn. Arrows indicate the flow of data and control signals between these components.](1a1c6e97fdffe8ffed7b997b7e682d3c_img.jpg)
-
-The diagram illustrates the functional architecture for ODUk and ODUCn layers, showing the placement of various processing and termination functions.
-
-**ODUk Layer (Top Section):**
-
-- A central oval node is labeled **ODUk**.
-- Two dashed triangles at the top are labeled **ODUkP**. Arrows point from these triangles to trapezoidal blocks labeled **ODUkT/ODUk**.
-- Each **ODUkT/ODUk** block is connected to a rectangular block labeled **ODUk\_TCMC**.
-- From each **ODUk\_TCMC** block, an arrow points down to a trapezoidal block labeled **ODUkT**.
-- From each **ODUkT** block, an arrow points down to a dashed triangle labeled **OTUk[V]/ODUk**.
-- Labels **ODUk\_TCMC**, **ODUk\_AP**, and **ODUk\_RP** are placed near the top **ODUk\_TCMC** block.
-- Labels **ODUk\_CP** are placed near the top and bottom of the central **ODUk** oval.
-- On the left, a separate structure shows two **ODUkT/ODUk** blocks connected to a central **ODUk\_TCMC** block, with arrows pointing to **ODUkT** blocks and then to a dashed triangle labeled **OTUk[V]/ODUk**. Labels **ODUk\_TCMC**, **ODUk\_AP**, and **ODUk\_RP** are also present here.
-- On the right, two dashed triangles labeled **OTUk[V]/ODUk** are shown with dashed arrows pointing to them from the top **ODUkT/ODUk** blocks.
-
-**ODUCn Layer (Bottom Section):**
-
-- A central oval node is labeled **ODUCn**.
-- Two dashed triangles at the top are labeled **ODUCnP**. Arrows point from these triangles to trapezoidal blocks labeled **ODUCnT/ODUCn**.
-- Each **ODUCnT/ODUCn** block is connected to a rectangular block labeled **ODUCn\_TCMC**.
-- From each **ODUCn\_TCMC** block, an arrow points down to a trapezoidal block labeled **ODUCnT**.
-- From each **ODUCnT** block, an arrow points down to a dashed triangle labeled **OTUCn/ODUCn**.
-- Labels **ODUCn\_TCMC**, **ODUCn\_AP**, and **ODUCn\_RP** are placed near the top **ODUCn\_TCMC** block.
-- Labels **ODUCn\_CP** are placed near the top and bottom of the central **ODUCn** oval.
-- On the right, two dashed triangles labeled **OTUCn/ODUCn** are shown with dashed arrows pointing to them from the top **ODUCnT/ODUCn** blocks.
-
-Diagram showing the location of ODUT functions (ODUT\_TT, ODUT/ODU\_A, ODUT\_TCMC) for ODUk and ODUCn layers. The diagram is divided into two main sections: the top section for ODUk and the bottom section for ODUCn. Each section shows a central ODUk or ODUCn node connected to various functional blocks representing different layer boundaries and processing points. Labels include ODUkP, ODUkT, ODUkT/ODUk, ODUk\_TCMC, ODUk\_AP, ODUk\_RP, OTUk[V]/ODUk, ODUCnP, ODUCnT, ODUCnT/ODUCn, ODUCn\_TCMC, ODUCn\_AP, ODUCn\_RP, and OTUCn/ODUCn. Arrows indicate the flow of data and control signals between these components.
-
-G.798(17)\_F14-113
-
-**Figure 14-113 – Location of ODUT\_TT, ODUT/ODU\_A and ODUT\_TCMC functions**
-
-### 14.5.1.1 ODUT trail termination function (ODUT\_TT)
-
-The ODUT\_TT function terminates a level of tandem connection monitoring (TCM) overhead of the ODU overhead to determine the status of an ODU TCM sub-layer trail.
-
-Figure 14-114 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-
-
-The diagram illustrates the ODUT\_TT function as a combination of two unidirectional functions. On the left, the ODUkT function is shown: it has an ODUkT\_AP input at the top, an ODUk\_TCP output at the bottom, and an ODUkT\_RP input from the right. On the right, the ODUCnT function is shown: it has an ODUCnT\_AP input at the top, an ODUCn\_TCP output at the bottom, and an ODUCnT\_RP input from the left. The two functions are connected by their respective RP inputs, forming a bidirectional monitoring path. The reference G.798(17)\_F14-114 is noted at the bottom right.
-
-Figure 14-114: ODUT\_TT function diagram showing two unidirectional functions (ODUKT and ODUCnT) combined into a bidirectional function. Each function has an AP (Access Point) input, a TCP (Tandem Connection Point) output, and a RP (Retrieval Point) input from the opposite direction.
-
-Figure 14-114 – ODUT\_TT
-
-#### 14.5.1.1.1 ODUT trail termination source function (ODUT\_TT\_So)
-
-The ODUT\_TT\_So function computes the BIP-8[1..n] and adds tandem connection monitoring overhead (TCMOH) – including the TTI, BIP-8[1..n], DMi, i = 1 to 6 bits, BDI and BEI[1..n] signals – in a selected TCMOH field to the ODU signal at its ODUT\_AP if it is OPERATIONAL; otherwise, in TRANSPARENT mode, the TCMOH field signal is passed through transparently. The ODUCn signal has n TCM overhead fields per TCM level; the ODUk signal has one (n = 1) TCM overhead field per TCM level.
-
-The information flow and processing of the ODUT\_TT\_So function is defined with reference to Figures 14-115 and 14-116.
-
-#### Symbol
-
-
-
-The diagram shows the ODUT\_TT\_So function components. On the left, the ODUkT function is shown with an ODUkT\_AP input at the top, an ODUk\_TCP output at the bottom, an ODUkT\_RP input from the right, an ODUkT\_TT\_So\_MP input from the left, and an ODUkT\_TT\_So\_TCMCP input from the left. Below the ODUkT\_TT\_So\_MP input, the parameter k is defined as k = 0, 1, 2, 2e, 3, 4, flex. On the right, the ODUCnT function is shown with similar inputs: ODUCnT\_AP, ODUCn\_TCP, ODUCnT\_RP, ODUCnT\_TT\_So\_MP, and ODUCnT\_TT\_So\_TCMCP. The reference G.798(17)\_F14-115 is noted at the bottom right.
-
-Figure 14-115: ODUT\_TT\_So function diagram showing the source function components. It includes inputs for ODUkT\_AP, ODUkT\_TT\_So\_MP, and ODUkT\_TT\_So\_TCMCP, and outputs for ODUk\_TCP. The same structure is shown for ODUCnT.
-
-Figure 14-115 – ODUT\_TT\_So function
-
-## Interfaces
-
-**Table 14-53 – ODUT\_TT\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------|
-| ODUT_AP: ODUT_AI_CK ODUT_AI_D ODUT_AI_FS ODUT_AI_MFS ODUT_AI_RP ODUT_AI_TSCC ODUT_RP: ODUT_RI_BDI ODUT_RI_BEI[1..n] ODUT_RI_BIAE ODUT_RI_DM ODUT_TT_So_MP: ODUT_TT_So_MI_TxTI ODUT_TT_So_MI_DM_Source ODUT_TT_So_MI_DMValue ODUT_TT_So_TCMCP: ODUT_TT_So_TCMCI_Mode ODUT_TT_So_TCMCI_Level | ODUTCP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_RP ODU_CI_TSCC |
-
-## Processes
-
-The processes associated with the ODUT\_TT\_So function are as depicted in Figure 14-116.
-
-**Mode:** If the TCMCI\_Mode has the value OPERATIONAL, the following processes shall be performed. If the TCMCI\_Mode has the value TRANSPARENT, all information shall be passed through transparently and the following processes shall not be performed.
-
-**TCMOH-TTI:** If TCMCI\_Mode is OPERATIONAL, the trail trace identifier is inserted in the TTI byte position of the TCM[TCMCI\_Level] field in the first ODU overhead instance. Its value is derived from reference point ODUT\_TT\_So\_MP. The trail trace format is described in clause 15.2 of [ITU-T G.709].
-
-**TCMOH-BDI:** If TCMCI\_Mode is OPERATIONAL, the backward defect indication is inserted in the BDI bit position of the TCM[TCMCI\_Level] field in the first ODU overhead instance. Its value is derived from reference point ODUT\_RP. Upon the declaration/clearing of aBDI at the termination sink function, the trail termination source function shall have inserted/removed the BDI indication within 50 ms.
-
-**TCMOH-BEI/BIAE:** If TCMCI\_Mode is OPERATIONAL, if RI\_BIAE is true the value "1011" is inserted into the BEI/BIAE bits of the TCM[TCMCI\_Level] field in all ODU overhead instances. If RI\_BIAE is false, the number of errors indicated in RI\_BEI[i] is encoded in the BEI/BIAE bits of the TCM[TCMCI\_Level] field in ODU overhead instance #i. Upon the detection of incoming alignment error or a number of errors at the termination sink function, the trail termination source function shall have inserted the values in the BEI/BIAE bits within 50 ms.
-
-**TCMOH-BIP-8:** If TCMCI\_Mode is OPERATIONAL, the calculated BIP-8 is inserted into the BIP-8 byte of the TCM[TCMCI\_Level] field. For the BIP-8 calculation, see clause 8.3.4.1.
-
-**TCMOH-DMti:** If TCMCI\_Mode is OPERATIONAL and if MI\_DM\_Source is false, then the value of the DMti bit is determined by the RI\_DM. If MI\_DM\_Source is true, then the value of the DMti bit is set to MI\_DMValue.
-
-NOTE – Equipment developed prior to Edition 4.0 of this Recommendation will not support the DMti processing.
-
-![Figure 14-116 – ODUT_TT_So processes. This block diagram illustrates the processing flow for the ODUT_TT_So function. At the top, the ODUT_AP interface provides inputs: AI_D, AI_CK, AI_FS, AI_MFS, AI_RP, and AI_TSCC. AI_D is connected to a 'Compute BIP-8' block, which outputs BIP-8[1..n]. This output is then processed by an 'Insert BIP-8' block. The 'Insert BIP-8' block is part of a vertical stack of processing blocks: 'Insert BEI/BIAE', 'Insert BDI', 'Process/insert DMti', and 'Insert TTI'. These blocks are influenced by various input signals: RI_BEI[1..n], RI_BIAE, RI_BDI, RI_DM, MI_DM_Source, MI_DMValue, MI_TxTI, TCMCI_Level, and TCMCI_Mode. These inputs are grouped into two main categories: ODUT_RP and ODUT_TT_So_MP. The ODUT_TT_So_MP category includes RI_DM, MI_DM_Source, MI_DMValue, MI_TxTI, TCMCI_Level, and TCMCI_Mode. The output of the 'Insert TTI' block is processed by a 'TCMOH[TCMCI_Level] insertion' block. The final output is the ODU_TCP interface, which provides outputs: CI_D, CI_CK, CI_FS, CI_MFS, CI_RP, and CI_TSCC. The diagram is labeled G.798(17)_F14-116.](ce4432c76d20b370ebecb57e59afc2ee_img.jpg)
-
-Figure 14-116 – ODUT\_TT\_So processes. This block diagram illustrates the processing flow for the ODUT\_TT\_So function. At the top, the ODUT\_AP interface provides inputs: AI\_D, AI\_CK, AI\_FS, AI\_MFS, AI\_RP, and AI\_TSCC. AI\_D is connected to a 'Compute BIP-8' block, which outputs BIP-8[1..n]. This output is then processed by an 'Insert BIP-8' block. The 'Insert BIP-8' block is part of a vertical stack of processing blocks: 'Insert BEI/BIAE', 'Insert BDI', 'Process/insert DMti', and 'Insert TTI'. These blocks are influenced by various input signals: RI\_BEI[1..n], RI\_BIAE, RI\_BDI, RI\_DM, MI\_DM\_Source, MI\_DMValue, MI\_TxTI, TCMCI\_Level, and TCMCI\_Mode. These inputs are grouped into two main categories: ODUT\_RP and ODUT\_TT\_So\_MP. The ODUT\_TT\_So\_MP category includes RI\_DM, MI\_DM\_Source, MI\_DMValue, MI\_TxTI, TCMCI\_Level, and TCMCI\_Mode. The output of the 'Insert TTI' block is processed by a 'TCMOH[TCMCI\_Level] insertion' block. The final output is the ODU\_TCP interface, which provides outputs: CI\_D, CI\_CK, CI\_FS, CI\_MFS, CI\_RP, and CI\_TSCC. The diagram is labeled G.798(17)\_F14-116.
-
-Figure 14-116 – ODUT\_TT\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 14.5.1.1.2 ODUT trail termination sink function (ODUT\_TT\_Sk)
-
-The ODUT\_TT\_Sk function reports the state of the ODU monitored tandem connection. It computes the BIP-8[1..n], extracts tandem connection monitoring overhead (TCMOH) – including the TTI, BIP-8[1..n], DMti, BDI and BEI[1..n] signals – in a selected TCMOH field from the ODU signal at its ODU\_TCP, detects for AIS, OCI, LCK, TIM, DEG and BDI defects, counts during one-second periods errors (detected via the BIP-8), counts numbers of frames for delay measurement and defects to feed performance monitoring when it is OPERATIONAL or MONITOR. The ODUCn signal has n TCM overhead fields per TCM level; the ODUk signal has one (n = 1) TCM overhead field per TCM level.
-
-The information flow and processing of the ODUT\_TT\_Sk function is defined with reference to Figures 14-117 and 14-118.
-
-## Symbol
-
-
-
-Figure 14-117 shows two symbols for the ODUT\_TT\_Sk function. The left symbol is for ODUKT and the right is for ODUCnT. Both are represented by a triangle pointing downwards. Inputs from the bottom are ODUk\_TCP (left) and ODUCn\_TCP (right). Inputs from the left are ODUkT\_TT\_Sk\_MP (left) and ODUCnT\_TT\_Sk\_MP (right). Inputs from the right are ODUkT\_TT\_Sk\_TCMCP (left) and ODUCnT\_TT\_Sk\_TCMCP (right). Outputs to the top are ODUkT\_AP (left) and ODUCnT\_AP (right). Outputs to the right are ODUkT\_RP (left) and ODUCnT\_RP (right). A note 'k = 0, 1, 2, 2e, 3, 4, flex' is present near the left symbol. A reference 'G.798(17)\_F14-117' is present near the right symbol.
-
-Figure 14-117 – ODUT\_TT\_Sk function
-
-## Interfaces
-
-Table 14-54 – ODUT\_TT\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU_TCP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODU_CI_RP ODU_CI_TSCC ODUT_TT_Sk_MP: ODUT_TT_Sk_MI_ExSAPI ODUT_TT_Sk_MI_ExDAPI ODUT_TT_Sk_MI_GetAcTI ODUT_TT_Sk_MI_TIMDetMo ODUT_TT_Sk_MI_TIMActDis ODUT_TT_Sk_MI_DEGThr ODUT_TT_Sk_MI_DEGM ODUT_TT_Sk_MI_1second ODUT_TT_Sk_MI_DM_Source ODUT_TT_Sk_MI_DMValue ODUT_TT_Sk_MI_LTCAct_Enable ODUT_TT_Sk_TCMCP: ODUT_TT_Sk_TCMCI_Mode ODUT_TT_Sk_TCMCI_Level | ODUT_AP: ODUT_AI_CK ODUT_AI_D ODUT_AI_FS ODUT_AI_MFS ODUT_AI_TSF ODUT_AI_TSD ODUT_AI_AIS ODUT_AI_RP ODUT_AI_TSCC ODUT_RP: ODUT_RI_BDI ODUT_RI_BEI[1..n] ODUT_RI_BIAE ODUT_RI_DM ODUT_TT_Sk_MP: ODUT_TT_Sk_MI_AcTI ODUT_TT_Sk_MI_cOCI (Note) ODUT_TT_Sk_MI_cLCK ODUT_TT_Sk_MI_cLTC ODUT_TT_Sk_MI_cTIM ODUT_TT_Sk_MI_cDEG ODUT_TT_Sk_MI_cBDI ODUT_TT_Sk_MI_cSSF ODUT_TT_Sk_MI_pN_EBC ODUT_TT_Sk_MI_pN_DS ODUT_TT_Sk_MI_pF_EBC ODUT_TT_Sk_MI_pF_DS ODUT_TT_Sk_MI_pBIAE ODUT_TT_Sk_MI_pIAE ODUT_TT_Sk_MI_pN_delay |
-| NOTE – For ODUKT_TT_Sk only. | |
-
-## Processes
-
-The processes associated with the ODUT\_TT\_Sk function are as depicted in Figure 14-118.
-
-**Mode:** If the TCMCI\_Mode has the value OPERATIONAL or MONITOR, the following processes shall be performed. TCMCI\_Mode OPERATIONAL initiates the consequent actions aAIS, aTSF and aTSD, in case of defects. TCMCI\_Mode MONITOR does not initiate the consequent actions aAIS, aTSF and aTSD in case of defects. If the TCMCI\_Mode has the value TRANSPARENT, all information shall be passed through transparently and the following processes shall not be performed.
-
-**TCMOH-BIP-8:** If the TCMCI\_Mode has the value OPERATIONAL or MONITOR, the BIP-8[1..n] shall be processed as defined in clause 8.3.4.2. The BIP-8[1..n] is extracted from the BIP-8 byte of the TCM[TCMCI\_Level] fields in the n TCM overhead instances of the ODU signal at the ODU\_TCP.
-
-**TCMOH-TTI:** If the TCMCI\_Mode has the value OPERATIONAL or MONITOR, the trail trace identifier shall be recovered from the TTI byte position of the TCM[TCMCI\_Level] field in the first ODU overhead instance of the ODU signal at the ODU\_TCP as specified in clause 8.6. The accepted value of the TTI is available at the MP (MI\_AcTI).
-
-**TCMOH-BDI:** If the TCMCI\_Mode has the value OPERATIONAL or MONITOR, the backward defect indication shall be recovered from the BDI bit position of the TCM[TCMCI\_Level] field in the first ODU overhead instance of the ODU signal at the ODU\_TCP. It shall be used for BDI defect detection.
-
-**TCMOH-BEI/BIAE:** If the TCMCI\_Mode has the value OPERATIONAL or MONITOR, the BEI[1..n] shall be recovered from the BEI/BIAE bits in the TCM[TCMCI\_Level] field of the n TCM overhead instances in the ODU signal at the ODU\_TCP. It shall be used to determine if a far-end errored block (nF\_B) has occurred. One nF\_B has occurred per BEI/BIAE[i] value between 1 [0001] and 8 [1000]; otherwise, no nF\_B has occurred. The BEI/BIAE information is also used for BIAE defect detection.
-
-**TCMOH-STAT:** If the TCMCI\_Mode has the value OPERATIONAL or MONITOR, the status information shall be recovered from the STAT bits in the TCM[TCMCI\_Level] field in the first ODU overhead instance of the ODU signal at the ODU\_TCP as defined in clause 8.8 (→ AcSTAT). It shall be used for AIS, OCI, LCK, LTC and IAE defect detection.
-
-NOTE 2 – During incoming frame jump events of the TCM-Trail, transient defects may trigger cases where wrong bytes are read and accepted under particular conditions for STAT byte processing. These wrong bytes may lead to transient consequent actions which are neither visible in alarming (due to F4 filtering) nor in performance monitoring (due to the use of the IAE defect to suppress wrong PM data (EBC and DS)). Such possible transient consequent action could also lead to cases where a high number of subsequent NEs could be affected by the frame jump in such TCM trails (for example triggering a protection switch). The classical defined means to overcome such switch on transient defect conditions is the use of an appropriate hold-off time.
-
-**TCMOH-DMti:** If the TCMCI\_Mode has the value OPERATIONAL and if MI\_DM\_Source is false then the value of the incoming DMti bit (RxDMti) is output to RI\_DM. If MI\_DM\_Source is true and MI\_DMValue toggles, then a count of CI\_FS transitions is started and the RxDMti value is monitored. A change of value of RxDMti, from (NOT MI\_DMValue) to MI\_DMValue, validated by a 3 frame persistency check, stops the counting. The delay frame count (nN\_delay) is represented by the count minus the persistency check.
-
-NOTE 3 – Equipment developed prior to Edition 4.0 of this Recommendation will not support DMti processing.
-
-![Figure 14-118 – ODUT_TT_Sk processes. This is a complex block diagram showing the internal processes of an ODUT_TT_Sk. At the top, the 'ODUT_AP' layer has inputs AI_TSCC, AI_RP, AI_TSD, AI_TSF, AI_AIS, AI_MFS, AI_FS, AI_CK, and AI_D. Below this is the 'ODUT_TT_Sk_MP' layer containing several functional blocks: 'Process TTI' (handling MI_TTIMActDis, MI_ExSAPI, MI_ExDAPI, MI_TIMDetMo, MI_GetAcTI, MI_AcTI, dTIM, RxTI), 'Defect correlation' (handling MI_cTIM, MI_cDEG, MI_cBDI, MI_cLTC, MI_cLCK, MI_cOCI, MI_cSSF, dTIM, dDEG, dBDCI, dLTC, dLCK, dOCI, dAIS, CI_SSF), 'Process DMti' (handling MI_DM_Source, MI_DMValue, nN_delay, RxDMti), 'Performance monitoring' (handling MI_pN_Delay, MI_1second, MI_pF_DS, MI_pBIAE, MI_pF_EBC, aTSF, dIAE, nN_B), 'Process errors' (handling MI_DEGThr, MI_DEGM, dDEG), 'Extract TTI', 'Extract STAT', 'Extract DMti', 'Extract BDI', 'Extract BEI/BIAE', 'Extract BIP-8', and 'Compute BIP-8'. A central 'Consequent actions' block receives inputs from various processes and outputs aTSD, aTSF, aAIS, dDEG, dLCK, dOCI, dAIS, dIAE, dLTC, and CI_SSF. A vertical 'TCM[TCMCI_Level] OH access' block on the right interacts with 'Extract STAT', 'Extract DMti', 'Extract BDI', 'Extract BEI/BIAE', and 'Compute BIP-8'. At the bottom, the 'ODU_TCP' layer has inputs CI_TSCC, CI_RP, CI_SSF, CI_MFS, CI_FS, CI_CK, and CI_D. Various signals like nBIPV[1..n], RxDMti, dBDI, dBIAE, nF_B, nN_B, and nN_delay are shown between blocks. External interfaces on the left are labeled ODUT_RP and ODUT_TT_Sk_MP, and on the right are ODUT_TT_Sk_TCMCP and TCMCI_Mode/Level.](793b6344c79e3e858d29ef190b2c014f_img.jpg)
-
-Figure 14-118 – ODUT\_TT\_Sk processes. This is a complex block diagram showing the internal processes of an ODUT\_TT\_Sk. At the top, the 'ODUT\_AP' layer has inputs AI\_TSCC, AI\_RP, AI\_TSD, AI\_TSF, AI\_AIS, AI\_MFS, AI\_FS, AI\_CK, and AI\_D. Below this is the 'ODUT\_TT\_Sk\_MP' layer containing several functional blocks: 'Process TTI' (handling MI\_TTIMActDis, MI\_ExSAPI, MI\_ExDAPI, MI\_TIMDetMo, MI\_GetAcTI, MI\_AcTI, dTIM, RxTI), 'Defect correlation' (handling MI\_cTIM, MI\_cDEG, MI\_cBDI, MI\_cLTC, MI\_cLCK, MI\_cOCI, MI\_cSSF, dTIM, dDEG, dBDCI, dLTC, dLCK, dOCI, dAIS, CI\_SSF), 'Process DMti' (handling MI\_DM\_Source, MI\_DMValue, nN\_delay, RxDMti), 'Performance monitoring' (handling MI\_pN\_Delay, MI\_1second, MI\_pF\_DS, MI\_pBIAE, MI\_pF\_EBC, aTSF, dIAE, nN\_B), 'Process errors' (handling MI\_DEGThr, MI\_DEGM, dDEG), 'Extract TTI', 'Extract STAT', 'Extract DMti', 'Extract BDI', 'Extract BEI/BIAE', 'Extract BIP-8', and 'Compute BIP-8'. A central 'Consequent actions' block receives inputs from various processes and outputs aTSD, aTSF, aAIS, dDEG, dLCK, dOCI, dAIS, dIAE, dLTC, and CI\_SSF. A vertical 'TCM[TCMCI\_Level] OH access' block on the right interacts with 'Extract STAT', 'Extract DMti', 'Extract BDI', 'Extract BEI/BIAE', and 'Compute BIP-8'. At the bottom, the 'ODU\_TCP' layer has inputs CI\_TSCC, CI\_RP, CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, and CI\_D. Various signals like nBIPV[1..n], RxDMti, dBDI, dBIAE, nF\_B, nN\_B, and nN\_delay are shown between blocks. External interfaces on the left are labeled ODUT\_RP and ODUT\_TT\_Sk\_MP, and on the right are ODUT\_TT\_Sk\_TCMCP and TCMCI\_Mode/Level.
-
-Figure 14-118 – ODUT\_TT\_Sk processes
-
-### Defects
-
-If the TCMCI\_Mode has the value OPERATIONAL or MONITOR, the function shall detect dLTC, dAIS, dOCI, dLCK, dTIM, dDEG, dIAE, dBIAE and dBDCI defects. If the TCMCI\_Mode is TRANSPARENT, all defects are cleared.
-
-**dLTC:** See clause 6.2.1.5.1; dLTC shall be set to false during CI\_SSF.
-
-**dAIS:** See clause 6.2.6.3.2.
-
-**dOCI:** For ODUk, see clause 6.2.6.8.2; dOCI shall be set to false during CI\_SSF. For ODUCn dOCI shall be assumed false.
-
-**dLCK:** See clause 6.2.6.9.1; dLCK shall be set to false during CI\_SSF.
-
-**dTIM:** See clause 6.2.2.1; dTIM shall be set to false during CI\_SSF and dAIS.
-
-**dDEG:** See clause 6.2.3.4.
-
-NOTE 4 – IAE suppresses the one-second near-end errored block count, which is the input for the dDEG detection. This avoids wrong dDEG declaration due to alignment errors already incoming in an OTUk trail.
-
-**dBIDI:** See clause 6.2.6.6.1; dBIDI shall be set to false during CI\_SSF and dAIS.
-
-**dIAE:** See clause 6.2.6.10.2; dIAE shall be set to false during CI\_SSF, dAIS and dTIM.
-
-**dBIAE:** See clause 6.2.6.11.1; dBIAE shall be set to false during CI\_SSF, dAIS and dTIM.
-
-### Consequent actions
-
-The function shall perform the following consequent actions (see clause 6.3 of [ITU-T G.806]):
-
-aBDI ← (CI\_SSF or dAIS or dLTC or dOCI or dLCK or dTIM) and TCMCI\_Mode
- ≠ TRANSPARENT
-
-aBIAE ← dIAE and TCMCI\_Mode ≠ TRANSPARENT
-
-aTSF ← CI\_SSF or ((dAIS or (dLTC and LTCAct\_Enable) or dOCI or dLCK or (dTIM
- and (not TIMActDis)))) and TCMCI\_Mode == OPERATIONAL
-
-aTSD ← dDEG and TCMCI\_Mode == OPERATIONAL
-
-aAIS ← (dOCI or (dLTC and LTCAct\_Enable) or dLCK or (dTIM and
- (not TIMActDis))) and TCMCI\_Mode == OPERATIONAL
-
-For each TCM[TCMCI\_Level] overhead instance #i:
-
-aBEI[i] ← nBIPV[i] and TCMCI\_Mode ≠ TRANSPARENT
-
-NOTE 5 – Equipment prior to Edition 4.2 of this Recommendation will not execute aAIS consequent action in the case of dLTC.
-
-NOTE 6 – The default value for MI\_LTCAct\_Enable is to be set to "false" to ensure that an upgrade in the network does not cause unexpected traffic affecting consequent action execution in existing network implementations.
-
-### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause (see clause 6.4 of [ITU-T G.806]). This fault cause shall be reported to the EMF.
-
-cSSF ← CI\_SSF or dAIS
-
-cLTC ← dLTC and (not CI\_SSF)
-
-cOCI ← dOCI and (not CI\_SSF)
-
-cLCK ← dLCK and (not CI\_SSF)
-
-cTIM ← dTIM and (not CI\_SSF) and (not dAIS) and (not dLTC) and (not dOCI) and
- (not dLCK)
-
-cDEG ← dDEG and (not CI\_SSF) and (not dAIS) and (not dLTC) and (not dOCI) and
- (not dLCK) and (not (dTIM and (not TIMActDis))))
-
-cBDI ← dBIDI and (not CI\_SSF) and (not dAIS) and (not dLTC) and (not dOCI) and
- (not dLCK) and (not (dTIM and (not TIMActDis))))
-
-### Performance monitoring
-
-If the TCMCI\_Mode has the value OPERATIONAL or MONITOR, the function shall perform the following performance monitoring primitives processing (see clause 6.5 of [ITU-T G.806]). The performance monitoring primitives shall be reported to the EMF.
-
-$pN\_DS \leftarrow$ CI\_SSF or dAIS or dLTC or dOCI or dLCK or dTIM
-
-$pF\_DS \leftarrow$ dBDI
-
-$pN\_EBC \leftarrow \sum nN\_B$
-
-NOTE 7 – During CI\_SSF, dAIS, dLTC, dLCK and dOCI, no errored blocks shall be counted.
-
-$pF\_EBC \leftarrow \sum nF\_B$
-
-NOTE 8 – During CI\_SSF, dAIS, dLTC, dLCK and dOCI, no errored blocks shall be counted.
-
-$pBIAE \leftarrow$ dBIAE
-
-NOTE 9 – pBIAE is activated at the end of a second if dBIAE was active once during the second.
-
-$pIAE \leftarrow$ dIAE
-
-NOTE 10 – pIAE is activated at the end of a second if dIAE was active once during the second.
-
-NOTE 11 – pIAE and pBIAE are used for the suppression of the PM data in the equipment management functions (see [ITU-T G.874]). If pBIAE is active, the F\_DS and F\_EBC values of the previous and current second have to be discarded (EBC = 0 and DS = false). If pIAE is active, the N/F\_DS and N/F\_EBC values of the previous and current second have to be discarded (EBC = 0 and DS = false). The previous second has to be included due to the delay of the IAE information coming from the remote source.
-
-$pN\_delay \leftarrow nN\_delay$
-
-NOTE 12 – This count is triggered by the ODUT\_TT\_Sk\_MI\_DMValue toggle event, which is equal to the ODUT\_TT\_So\_MI\_DMValue toggle event.
-
-NOTE 13 – This value is a snapshot value.
-
-NOTE 14 – This value is invalid if a STAT field indicating AIS, OCI, LCK, LTC, or BDI is received during the measurement.
-
-#### 14.5.1.1.3 ODUT non-intrusive monitoring function (ODUTm\_TT\_Sk)
-
-The ODUTm\_TT\_Sk function reports the state of the ODU monitored tandem connection. It computes the BIP-8[1..n], extracts tandem connection monitoring overhead (TCMOH) – including the TTI, BIP-8[1..n], BDI and BEI[1..n] signals – in a selected TCMOH field from the ODU signal at its ODU\_TCP, detects for AIS, OCI, LCK, TIM, DEG and BDI defects, counts during one-second periods errors (detected via the BIP-8) and defects to feed performance monitoring. The ODUCn signal has n TCM overhead fields per TCM level; the ODUK signal has one ( $n = 1$ ) TCM overhead field per TCM level.
-
-For ODUT non-intrusive monitoring, the ODUTm\_TT\_Sk function can be connected to the ODU\_CPs as shown in Figure 14-119. The ODUTm\_TT\_Sk function can be connected to any ODU\_CP in this manner, either directly or via a connection function.
-
-The TSF and TSD outputs of an ODUKT non-intrusive monitor can be connected to an ODU\_C connection function and used as protection switching trigger criteria for SNC/N protection; for an ODUCnP non-intrusive monitor the TSF and TSD output are left open.
-
-
-
-This diagram illustrates the non-intrusive monitoring architecture for OTN. It features two parallel processing paths. The left path is for ODUk, and the right path is for ODUCn. In the ODUk path, data flows from an ODUkT/ODUk client through an ODUkT section, then through an ODUkT/ODUk section, and finally into a central ODUk multiplexing node. Monitoring points (ODUk\_TT\_Sk\_MP) are located at the input and output of the ODUkT/ODUk sections. The ODUkT section also receives a reference point (ODUkT\_RP) from the ODUkT section. The ODUk multiplexing node is connected to four ODUkTm monitoring blocks, which are further connected to TSF TSD blocks. The ODUCn path follows a similar structure but uses ODUCnT and ODUCnT/ODUCn components. The diagram is labeled G.798(17)\_F14-119.
-
-Figure 14-119: Connection of ODUTm\_TT\_Sk function (non-intrusive monitor).
-
-**Figure 14-119 – Connection of ODUTm\_TT\_Sk function (non-intrusive monitor)**
-
-The information flow and processing of the ODUTm\_TT\_Sk function is defined with reference to Figures 14-120 and 14-121.
-
-**Symbol**
-
-
-
-This diagram shows the functional symbol for the ODUTm\_TT\_Sk function. It consists of two mirrored symbols. The left symbol is for ODUk, with an input labeled ODUk\_TCP at the bottom, a central triangle labeled ODUkTm, an output labeled ODUk\_AP at the top, and a monitoring point labeled ODUk\_TT\_Sk\_MP on the left. Below the triangle, it specifies 'k = 0, 1, 2, 2e, 3, 4, flex'. The right symbol is for ODUCn, with an input labeled ODUCn\_TCP at the bottom, a central triangle labeled ODUCnTm, an output labeled ODUCn\_AP at the top, and a monitoring point labeled ODUCnT\_TT\_Sk\_MP on the left. The diagram is labeled G.798(17)\_F14-120.
-
-Figure 14-120: ODUTm\_TT\_Sk function symbol.
-
-**Figure 14-120 – ODUTm\_TT\_Sk function**
-
-## Interfaces
-
-**Table 14-55 – ODUTm\_TT\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU_CP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODUTm_TT_Sk_MP: ODUTm_TT_Sk_MI_Level ODUTm_TT_Sk_MI_ExSAPI ODUTm_TT_Sk_MI_ExDAPI ODUTm_TT_Sk_MI_GetAcTI ODUTm_TT_Sk_MI_TIMDetMo ODUTm_TT_Sk_MI_TIMActDis ODUTm_TT_Sk_MI_DEGThr ODUTm_TT_Sk_MI_DEGM ODUTm_TT_Sk_MI_1second | ODUT_AP: ODUT_AI_TSF ODUT_AI_TSD ODUTm_TT_Sk_MP: ODUTm_TT_Sk_MI_AcTI ODUTm_TT_Sk_MI_cOCI (Note) ODUTm_TT_Sk_MI_cLCK ODUTm_TT_Sk_MI_cLTC ODUTm_TT_Sk_MI_cTIM ODUTm_TT_Sk_MI_cDEG ODUTm_TT_Sk_MI_cBDI ODUTm_TT_Sk_MI_cSSF ODUTm_TT_Sk_MI_pN_EBC ODUTm_TT_Sk_MI_pN_DS ODUTm_TT_Sk_MI_pF_EBC ODUTm_TT_Sk_MI_pF_DS ODUTm_TT_Sk_MI_pBIAE ODUTm_TT_Sk_MI_pIAE |
-| NOTE – For ODUkTm_TT_Sk only. | |
-
-## Processes
-
-The processes associated with the ODUTm\_TT\_Sk function are as depicted in Figure 14-121.
-
-**TCMOH-BIP-8:** The BIP-8[1..n] shall be processed as defined in clause 8.3.4. The BIP-8[1..n] is extracted from the BIP-8 byte of the TCM[MI\_Level] fields in the n TCM overhead instances of the ODU signal at the ODU\_TCP.
-
-**TCMOH-TTI:** The trail trace identifier shall be recovered from the TTI byte position of the TCM[MI\_Level] field in the first ODU overhead instance of the ODU signal at the ODU\_TCP as specified in clause 8.6. The accepted value of the TTI is available at the MP (MI\_AcTI).
-
-**TCMOH-BDI:** The backward defect indication shall be recovered from the BDI bit position of the TCM[MI\_Level] field in the first ODU overhead instance of the ODU signal at the ODU\_TCP. It shall be used for BDI defect detection.
-
-**TCMOH-BEI/BIAE:** The BEI[1..n] shall be recovered from the BEI/BIAE bits in the TCM[MI\_Level] field of the n TCM overhead instances in the ODU signal at the ODU\_TCP. It shall be used to determine if a far-end errored block (nF\_B) has occurred. One nF\_B has occurred per BEI/BIAE[i] value is between 1 [0001] and 8 [1000]; otherwise, no nF\_B has occurred. The BEI/BIAE information is also used for BIAE defect detection.
-
-**TCMOH-STAT:** The status information shall be recovered from the STAT bits in the TCM[MI\_Level] field in the first ODU overhead instance of the ODU signal at the ODU\_TCP as defined in clause 8.8 (→ AcSTAT). It shall be used for AIS, OCI, LCK, LTC and IAE defect detection.
-
-
-
-The diagram illustrates the internal architecture of the ODUTm\_TT\_Sk\_MP process. It is divided into several functional blocks:
-
-- Process TTI:** Receives inputs MI\_TIMActDis, MI\_ExSAPI, MI\_ExDAPI, MI\_TIMDetMo, MI\_GetAcTI, and MI\_AcTI. It outputs dTIM and RxTI. RxTI is sent to 'Extract TTI' and also to 'Defect correlations'.
-- Defect correlations:** Receives dTIM, RxTI, and various defect signals (dDEG, dLCK, dOCI, dAIS, dLTC, CI\_SSF). It outputs a set of defect signals (dTIM, dDEG, dBDI, dLTC, dLCK, dOCI, dAIS, CI\_SSF) to 'Process STAT'.
-- Process STAT:** Receives defect signals from 'Defect correlations' and outputs dIAE, dLTC, dLCK, dOCI, and dAIS to 'Extract STAT'.
-- Extract STAT:** Receives signals from 'Process STAT' and interacts with 'TCM[MI\_level] OH access'.
-- Performance monitoring:** Receives MI\_Level, MI\_1second, MI\_pF\_DS, MI\_pBIAE, MI\_pF\_EBC, MI\_pN\_DS, MI\_pIAE, and MI\_pN\_EBC. It outputs dBDI, dBIAE, nF\_B, aTSF, dIAE, nN\_B, and nBIPV[1..n].
-- Extract BDI:** Receives dBDI from 'Performance monitoring' and interacts with 'TCM[MI\_level] OH access'.
-- Extract BEI/BIAE:** Receives dBIAE and nF\_B from 'Performance monitoring' and interacts with 'TCM[MI\_level] OH access'.
-- Extract BIP-8:** Receives nN\_B from 'Performance monitoring' and interacts with 'TCM[MI\_level] OH access'.
-- Compute BIP-8:** Receives nBIPV[1..n] from 'Performance monitoring' and interacts with 'TCM[MI\_level] OH access'.
-- Compare:** Receives nBIPV[1..n] from 'Performance monitoring' and nN\_B from 'Extract BIP-8'. It outputs dDEG to 'Process errors'.
-- Process errors:** Receives MI\_DEGThr, MI\_DEGM, and dDEG from 'Compare'. It outputs aTSD and aTSF to 'Consequent actions'.
-- Consequent actions:** Receives aTSD and aTSF from 'Process errors' and outputs AI\_TSD and AI\_TSF to the top.
-- TCM[MI\_level] OH access:** A central vertical block that interacts with 'Extract TTI', 'Extract STAT', 'Extract BDI', 'Extract BEI/BIAE', 'Extract BIP-8', and 'Compute BIP-8'.
-
-External interfaces include ODUT\_AP (AI\_TSD, AI\_TSF) at the top and ODU\_CP (CI\_SSF, CI\_MFS, CI\_FS, CI\_CK, CI\_D) at the bottom.
-
-Block diagram of ODUTm\_TT\_Sk\_MP processes showing internal components and their interactions with ODUT\_AP and ODU\_CP.
-
-G.798(17)\_F14-121
-
-Figure 14-121 – ODUTm\_TT\_Sk processes
-
-### Defects
-
-The function shall detect dLTC, dAIS, dOCI, dLCK, dTIM, dDEG, dIAE, dBIAE and dBDI defects.
-
-**dLTC:** See clause 6.2.1.5.1; dLTC shall be set to false during CI\_SSF.
-
-**dAIS:** See clause 6.2.6.3.2.
-
-**dOCI:** For ODUk, see clause 6.2.6.8.2; dOCI shall be set to false during CI\_SSF. For ODUCn dOCI shall be assumed false.
-
-**dLCK:** See clause 6.2.6.9.1; dLCK shall be set to false during CI\_SSF.
-
-**dTIM:** See clause 6.2.2.1; dTIM shall be set to false during CI\_SSF and dAIS.
-
-**dDEG:** See clause 6.2.3.4.
-
-NOTE 1 – IAE suppresses the one-second near-end errored block count, which is the input for the dDEG detection. This avoids wrong dDEG declaration due to alignment errors already incoming in an OTUk trail.
-
-**dBDI:** See clause 6.2.6.6.1; dBDI shall be set to false during CI\_SSF and dAIS.
-
-**dIAE:** See clause 6.2.6.10.2; dIAE shall be set to false during CI\_SSF, dAIS and dTIM.
-
-**dBIAE:** See clause 6.2.6.11.1; dBIAE shall be set to false during CI\_SSF, dAIS and dTIM.
-
-### Consequent actions
-
-The function shall perform the following consequent actions (see clause 6.3 of [ITU-T G.806]):
-
-aTSF $\leftarrow$ CI\_SSF or (dAIS or dLTC or dOCI or dLCK or (dTIM and (not TIMActDis))))
-
-aTSD $\leftarrow$ dDEG
-
-### Defect correlations
-
-The function shall perform the following defect correlations to determine the most probable fault cause (see clause 6.4 of [ITU-T G.806]). This fault cause shall be reported to the EMF.
-
-cSSF $\leftarrow$ CI\_SSF or dAIS
-
-cLTC $\leftarrow$ dLTC and (not CI\_SSF)
-
-cOCI $\leftarrow$ dOCI and (not CI\_SSF)
-
-cLCK $\leftarrow$ dLCK and (not CI\_SSF)
-
-cTIM $\leftarrow$ dTIM and (not CI\_SSF) and (not dAIS) and (not dLTC) and (not dOCI) and (not dLCK)
-
-cDEG $\leftarrow$ dDEG and (not CI\_SSF) and (not dAIS) and (not dLTC) and (not dOCI) and (not dLCK) and (not (dTIM and (not TIMActDis))))
-
-cBDI $\leftarrow$ dBDI and (not CI\_SSF) and (not dAIS) and (not dLTC) and (not dOCI) and (not dLCK) and (not (dTIM and (not TIMActDis))))
-
-### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing (see clause 6.5 of [ITU-T G.806]). The performance monitoring primitives shall be reported to the EMF.
-
-pN\_DS $\leftarrow$ CI\_SSF or (dAIS or dLTC or dOCI or dLCK or dTIM)
-
-pF\_DS $\leftarrow$ dBDI
-
-pN\_EBC $\leftarrow \sum nN\_B$
-
-NOTE 3 – During CI\_SSF, dAIS, dLTC, dLCK and dOCI, no errored blocks shall be counted.
-
-pF\_EBC $\leftarrow \sum nF\_B$
-
-NOTE 4 – During CI\_SSF, dAIS, dLTC, dLCK and dOCI, no errored blocks shall be counted.
-
-pBIAE $\leftarrow$ dBIAE
-
-NOTE 5 – pBIAE is activated at the end of the second if dBIAE was active once during the second.
-
-pIAE $\leftarrow$ dIAE
-
-NOTE 6 – pIAE is activated at the end of the second if dIAE was active once during the second.
-
-NOTE 7 – pIAE and pBIAE are used for the suppression of the PM data in the equipment management functions (see [ITU-T G.874]). If pBIAE is active, the F\_DS and F\_EBC values of the previous and current second have to be discarded (EBC = 0 and DS = false). If pIAE is active, the N/F\_DS and N/F\_EBC values of the previous and current second have to be discarded (EBC = 0 and DS = false). The previous second has to be included due to the delay of the IAE information coming from the remote source.
-
-#### 14.5.1.2 ODUT to ODU adaptation function (ODUT/ODU\_A)
-
-The ODUT/ODU\_A function starts and ends a selected TCM level if it is OPERATIONAL.
-
-Furthermore, the ODUT/ODU\_A function provides access to the TCM status information in the ODU overhead over the TCM control point (TCMCP) for the tandem connection monitor control (TCMC) function that can be connected to an ODUT/ODU\_A.
-
-##### 14.5.1.2.1 ODUT to ODU adaptation source function (ODUT/ODU\_A\_So)
-
-The ODUT/ODU\_A\_So function starts a selected TCM level and can initiate maintenance signals (LCK) if it is OPERATIONAL.
-
-Furthermore, the ODUT/ODU\_A\_So function provides access to the TCM status information in the ODU overhead over the TCMCP for the TCMC function that can be connected to an ODUT/ODU\_A. Additionally, the ODUkT/ODUk\_A\_So provides access to the ODUk TCM APS overhead.
-
-The information flow and processing of the ODUT/ODU\_A\_So function is defined with reference to Figures 14-122 and 14-123.
-
-#### Symbol
-
-
-
-The diagram illustrates two functional blocks for the ODUT/ODU\_A\_So function. The top block is for the ODUk level, represented by a trapezoidal symbol labeled 'ODUkT/ODUk'. It has four input/output points: 'ODUk\_CP' at the top, 'ODUkT/ODUk\_A\_So\_MP' on the left, 'ODUkT/ODUk\_A\_So\_TCMCP' on the right, and 'ODUkT\_AP' at the bottom. The bottom output is labeled with 'k = 0, 1, 2, 2e, 3, 4, flex'. The bottom block is for the ODUCn level, represented by a similar trapezoidal symbol labeled 'ODUCnT/ODUCn'. It has four input/output points: 'ODUCn\_CP' at the top, 'ODUCnT/ODUCn\_A\_So\_MP' on the left, 'ODUCnT/ODUCn\_A\_So\_TCMCP' on the right, and 'ODUCnT\_AP' at the bottom.
-
-Diagram of ODUT/ODU\_A\_So function symbols for ODUk and ODUCn levels.
-
-G.798(17)\_F14-122
-
-Figure 14-122 – ODUT/ODU\_A\_So function
-
-## Interfaces
-
-**Table 14-56 – ODUT/ODU\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODU_CP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_RP ODU_CI_TSCC ODUT_PP: ODU_PI_APS (Note) ODUT/ODU_A_So_MP: ODUT/ODU_A_So_MI_AdminState ODUT/ODU_A_So_TCMCP: ODUT/ODU_A_So_TCMCI_Mode ODUT/ODU_A_So_TCMCI_Level | ODUT_AP: ODUT_AI_CK ODUT_AI_D ODUT_AI_FS ODUT_AI_MFS ODUT_AI_RP ODUT_AI_TSCC ODUT/ODU_A_So_TCMCP: ODUT/ODU_A_So_TCMCI_AcSTAT[1..6] |
-| NOTE – For ODUkT/ODUk_A_So only. | |
-
-## Processes
-
-The processes associated with the ODUT/ODU\_A\_So function are as depicted in Figure 14-123.
-
-**TCMOH-STAT Rx:** The status of all six TCM levels is recovered from the TCM OH [1..6] STAT field and provided to the TCM control function via TCMCI\_STAT[1..6]. For the STAT acceptance process, see clause 8.8.
-
-**ODU-LCK:** The function shall generate the ODU-LCK signal as defined in clause 16.5 of [ITU-T G.709]. The clock, frame start and multiframe start are defined by the incoming ODU signal.
-
-**Mode:** If the TCMCI\_Mode has the value OPERATIONAL, the following processes shall be performed. If the TCMCI\_Mode has the value TRANSPARENT, all information shall be passed through transparently and the following processes shall not be performed.
-
-**IAE:** If the incoming ODU frame start (CI\_FS) position is not at the expected frame start position, incoming alignment error (IAE) shall be activated. IAE shall be deactivated if the incoming ODU frame start (CI\_FS) position is at the expected frame start position. The expected frame start position is based on the previous incoming ODU frame start.
-
-**Selector:** If TCMCI\_Mode is OPERATIONAL, the normal signal may be replaced by the ODU-LCK signal. ODU-LCK signal is selected if the MI\_AdminState is LOCKED.
-
-**ODUk TCM APS:** If TCMCI\_Mode is OPERATIONAL, the ODUkT/ODUk\_S\_So function shall insert the PI\_APS value into the ODUk TCM APS/PCC[TCMCI\_Level] field, which is available once per eight ODUk frames as specified in Table 15-6 of [ITU-T G.709].
-
-**TCMOH-STAT Tx:** If TCMCI\_Mode is OPERATIONAL, the TC status is inserted into the STAT bit positions of TCM OH[TCMCI\_Level] based on the incoming alignment error (IAE) information. Normally, the code "in use without IAE" (001) is inserted. Upon the declaration of IAE at this function, the function shall insert the code "in use with IAE" (010) in the STAT field for the next 16 multiframes. Each new declaration of aIAE restarts the 16-multiframe insertion time.
-
-**TCMOH-Others:** If TCMCI\_Mode is OPERATIONAL, all other TCM OH[TCMCI\_Level] bits are set to "0".
-
-![Figure 14-123 – ODUT/ODU_A_So processes. This block diagram illustrates the internal signal processing and control flow of the ODUT/ODU_A_So function. At the top, the ODU_CP (Control Plane) provides inputs: CI_D, CI_CK, CI_FS, CI_MFS, CI_RP, and CI_TSCC. CI_CK feeds into 'Generate ODU-LCK', which also receives FS and MFS. CI_RP and CI_TSCC feed into 'TCMOH[TCMCI_Level] access'. CI_D feeds into 'Normal' and 'LCK' blocks. 'Generate ODU-LCK' outputs D_LCK to 'LCK'. 'Normal' and 'LCK' feed into 'Select normal/LCK'. 'Select normal/LCK' outputs to 'TCM OH STAT Rx' and 'TCMOH[TCMCI_Level] access'. 'TCM OH STAT Rx' outputs TCMCI_AcSTAT[1..6]. 'TCMOH[TCMCI_Level] access' outputs to 'ODUk TCM APS' (labeled 'ODUkT/ODUk only') and 'STAT Tx'. 'ODUk TCM APS' outputs PI_APS. 'STAT Tx' outputs aIAE to 'IAE detection'. 'IAE detection' also receives CK, FS, MFS, RP, and TSCC. The bottom, ODUT_AP (Adaptation Plane), provides inputs: AI_D, AI_CK, AI_FS, AI_MFS, AI_RP, and AI_TSCC. AI_CK, AI_FS, AI_MFS, AI_RP, and AI_TSCC feed into 'IAE detection'. AI_D feeds into 'TCMOH[TCMCI_Level] access'. On the right, external interfaces are shown: MI_AdminState, TCMCI_AcSTAT[1..6], TCMCI_Mode, TCMCI_Level, and PI_APS. Brackets on the right label the top section as ODUT/ODU_A_So_MP and the bottom section as ODUT/ODU_A_So_TCMCP. The diagram is labeled G.798(17)_F14-123.](733da1815169d31c06238e8cd6ae23f2_img.jpg)
-
-Figure 14-123 – ODUT/ODU\_A\_So processes. This block diagram illustrates the internal signal processing and control flow of the ODUT/ODU\_A\_So function. At the top, the ODU\_CP (Control Plane) provides inputs: CI\_D, CI\_CK, CI\_FS, CI\_MFS, CI\_RP, and CI\_TSCC. CI\_CK feeds into 'Generate ODU-LCK', which also receives FS and MFS. CI\_RP and CI\_TSCC feed into 'TCMOH[TCMCI\_Level] access'. CI\_D feeds into 'Normal' and 'LCK' blocks. 'Generate ODU-LCK' outputs D\_LCK to 'LCK'. 'Normal' and 'LCK' feed into 'Select normal/LCK'. 'Select normal/LCK' outputs to 'TCM OH STAT Rx' and 'TCMOH[TCMCI\_Level] access'. 'TCM OH STAT Rx' outputs TCMCI\_AcSTAT[1..6]. 'TCMOH[TCMCI\_Level] access' outputs to 'ODUk TCM APS' (labeled 'ODUkT/ODUk only') and 'STAT Tx'. 'ODUk TCM APS' outputs PI\_APS. 'STAT Tx' outputs aIAE to 'IAE detection'. 'IAE detection' also receives CK, FS, MFS, RP, and TSCC. The bottom, ODUT\_AP (Adaptation Plane), provides inputs: AI\_D, AI\_CK, AI\_FS, AI\_MFS, AI\_RP, and AI\_TSCC. AI\_CK, AI\_FS, AI\_MFS, AI\_RP, and AI\_TSCC feed into 'IAE detection'. AI\_D feeds into 'TCMOH[TCMCI\_Level] access'. On the right, external interfaces are shown: MI\_AdminState, TCMCI\_AcSTAT[1..6], TCMCI\_Mode, TCMCI\_Level, and PI\_APS. Brackets on the right label the top section as ODUT/ODU\_A\_So\_MP and the bottom section as ODUT/ODU\_A\_So\_TCMCP. The diagram is labeled G.798(17)\_F14-123.
-
-Figure 14-123 – ODUT/ODU\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions**
-
-The function shall perform the following consequent actions:
-
-aIAE ← IAE
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-**14.5.1.2.2 ODUT to ODU adaptation sink function (ODUT/ODU\_A\_Sk)**
-
-The ODUT/ODU\_A\_Sk function ends a selected TCM level and can initiate maintenance signals (ODU-AIS, ODU-LCK) if it is OPERATIONAL.
-
-Furthermore, the ODUT/ODU\_A\_Sk function provides access to the TCM status information in the ODU overhead over the TCMCP for the TCMC function that can be connected to an ODUT/ODU\_A. Additionally, the ODUkT/ODUk\_A\_Sk provides access to ODUk TCM APS overhead.
-
-The information flow and processing of the ODUT/ODU\_A\_Sk function is defined with reference to Figures 14-124 and 14-125.
-
-## Symbol
-
-
-
-Figure 14-124 – ODUT/ODU\_A\_Sk function symbol diagram. The diagram shows two identical functional blocks. The top block is labeled 'ODUKT/ODUK' and has four interfaces: 'ODUK\_T\_CP' (top), 'ODUKT/ODUk\_A\_Sk\_MP' (left), 'ODUKT/ODUk\_A\_Sk\_TCMCP' (right), and 'ODUKT\_AP' (bottom). The bottom interface is labeled with 'k = 0, 1, 2, 2e, 3, 4, flex'. The bottom block is labeled 'ODUCnT/ODUCn' and has four interfaces: 'ODUCn\_CP' (top), 'ODUCnT/ODUCn\_A\_Sk\_MP' (left), 'ODUCnT/ODUCn\_A\_Sk\_TCMCP' (right), and 'ODUCnT\_AP' (bottom). Below the bottom block is the text 'G.798(17)\_F14-124'.
-
-Figure 14-124 – ODUT/ODU\_A\_Sk function
-
-## Interfaces
-
-Table 14-57 – ODUT/ODU\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUT_AP: ODUT_AI_CK ODUT_AI_D ODUT_AI_FS ODUT_AI_MFS ODUT_AI_TSF ODUT_AI_TSD ODUT_AI_AIS ODUT_AI_RP ODUT_AI_TSCC ODUT/ODU_A_Sk_MP: ODUT/ODU_A_Sk_MI_AdminState ODUT/ODU_A_Sk_TCMCP: ODUT/ODU_A_Sk_TCMCI_Mode ODUT/ODU_A_Sk_TCMCI_Level | ODU_CP: ODU_CI_CK ODU_CI_D ODU_CI_FS ODU_CI_MFS ODU_CI_SSF ODU_CI_SSD ODU_CI_RP ODU_CI_TSCC ODUT_PP: ODUT_PI_APS (Note) ODUT_PI_TSF (Note) ODUT_PI_TSD (Note) ODUT/ODU_A_Sk_TCMCP: ODUT/ODU_A_Sk_TCMCI_AcSTAT[1..6] |
-| NOTE – For OTUk/ODUk_A_Sk only. | |
-
-## Processes
-
-The processes associated with the ODUT/ODU\_A\_Sk function are as depicted in Figure 14-125.
-
-**ODUk TCM APS:** If the TCMCI\_Mode has the value OPERATIONAL, the ODUkT/ODUk\_A\_Sk function shall extract the information from the ODUk TCM APS/PCC[TCMCI\_Level] field, which is available once per eight ODUk frames as specified in Table 15-6 of [ITU-T G.709] and apply this to the PI\_APS.
-
-**TCMOH-STAT Rx:** The status of all six TCM levels is recovered from the TCM OH [1..6] STAT field and provided to the control function via TCMCI\_AcSTAT[1..6]. For the STAT acceptance process, see clause 8.8.
-
-**ODU-LCK, ODU-AIS:** The function shall generate the ODU-LCK and ODU-AIS signals as defined in [ITU-T G.709]. The clock, frame start and multiframe start are defined by the incoming ODU signal.
-
-**Mode:** If the TCMCI\_Mode has the value OPERATIONAL, the following processes shall be performed. If the TCMCI\_Mode has the values MONITOR or TRANSPARENT, all information shall be passed through transparently and the following processes shall not be performed.
-
-**Selector:** If TCMCI\_Mode is OPERATIONAL, the normal signal may be replaced by either the ODU-AIS or the ODU-LCK signal. ODU-LCK signal is selected if the MI\_AdminState is LOCKED. ODU-AIS is selected if MI\_AdminState is not LOCKED and aAIS is true. If TCMCI\_Mode has the values MONITOR or TRANSPARENT, the normal signal is always selected.
-
-**Remove TCMOH:** If the TCMCI\_Mode has the value OPERATIONAL, an all-ZEROs pattern shall be inserted in the TCMOH and TCM APS/PCC at location TCMCI\_Level. If the TCMCI\_Mode has the values TRANSPARENT or MONITOR, the information shall be passed through transparently.
-
-![Figure 14-125 – ODUT/ODU_A_Sk processes. This block diagram illustrates the internal signal processing within an ODUT/ODU_A_Sk block. The block is divided into two main sections: ODUT/ODU_A_Sk_MP (top) and ODUT/ODU_A_Sk_TCMCP (bottom). Inputs on the left include MI_AdminState, TCMCI_Mode, TCMCI_Level, and TCMCI_AcSTAT[1..6]. The TCMCI_AcSTAT[1..6] input connects to a 'TCM OH STAT Rx' block. The 'ODUT/ODU_A_Sk_MP' section contains a 'Consequent actions' block that receives AI_TSD, AI_TSF, and AI_AIS signals and outputs aTSD, aTSF, and aAIS signals. The aAIS signal connects to a 'Select normal/AIS/LCK' block, which also receives D_AIS, D_LCK, and D_normal signals. The 'Select normal/AIS/LCK' block outputs RP, TSCC, MFS, FS, CK, and D signals. The 'ODUT/ODU_A_Sk_TCMCP' section contains a 'Generate ODU-AIS' block and a 'Generate ODU-LCK' block, both receiving MFS, FS, and CK signals. These blocks output D_AIS and D_LCK signals respectively. A 'Remove TCMOH[TCMCI_Level]' block receives TCMCI_Mode and TCMCI_Level signals and outputs a signal to the 'ODUk TCM APS' block. The 'ODUk TCM APS' block outputs PI_APS, PI_TSF, and PI_TSD signals. The bottom section of the diagram shows the ODUT_AP section, which receives AI_TSD, AI_TSF, AI_AIS, AI_RP, AI_TSCC, AI_MFS, AI_FS, AI_CK, and AI_D signals and outputs RP, TSCC, MFS, FS, and CK signals. The diagram is labeled G.798(17)_F14-125.](8453d7dc9225bb210abd09f5d0af3c9b_img.jpg)
-
-Figure 14-125 – ODUT/ODU\_A\_Sk processes. This block diagram illustrates the internal signal processing within an ODUT/ODU\_A\_Sk block. The block is divided into two main sections: ODUT/ODU\_A\_Sk\_MP (top) and ODUT/ODU\_A\_Sk\_TCMCP (bottom). Inputs on the left include MI\_AdminState, TCMCI\_Mode, TCMCI\_Level, and TCMCI\_AcSTAT[1..6]. The TCMCI\_AcSTAT[1..6] input connects to a 'TCM OH STAT Rx' block. The 'ODUT/ODU\_A\_Sk\_MP' section contains a 'Consequent actions' block that receives AI\_TSD, AI\_TSF, and AI\_AIS signals and outputs aTSD, aTSF, and aAIS signals. The aAIS signal connects to a 'Select normal/AIS/LCK' block, which also receives D\_AIS, D\_LCK, and D\_normal signals. The 'Select normal/AIS/LCK' block outputs RP, TSCC, MFS, FS, CK, and D signals. The 'ODUT/ODU\_A\_Sk\_TCMCP' section contains a 'Generate ODU-AIS' block and a 'Generate ODU-LCK' block, both receiving MFS, FS, and CK signals. These blocks output D\_AIS and D\_LCK signals respectively. A 'Remove TCMOH[TCMCI\_Level]' block receives TCMCI\_Mode and TCMCI\_Level signals and outputs a signal to the 'ODUk TCM APS' block. The 'ODUk TCM APS' block outputs PI\_APS, PI\_TSF, and PI\_TSD signals. The bottom section of the diagram shows the ODUT\_AP section, which receives AI\_TSD, AI\_TSF, AI\_AIS, AI\_RP, AI\_TSCC, AI\_MFS, AI\_FS, AI\_CK, and AI\_D signals and outputs RP, TSCC, MFS, FS, and CK signals. The diagram is labeled G.798(17)\_F14-125.
-
-**Figure 14-125 – ODUT/ODU\_A\_Sk processes**
-
-**Defects:** None.
-
-**Consequent actions**
-
-aAIS $\leftarrow$ AI\_AIS and (TCMCI\_Mode = OPERATIONAL) and
-(not MI\_AdminState = LOCKED)
-
-aSSF $\leftarrow$ AI\_TSF and (not MI\_AdminState = LOCKED)
-
-aSSD $\leftarrow$ AI\_TSD and (not MI\_AdminState = LOCKED)
-
-On declaration of aAIS, the function shall output an ODU-AIS signal within two frames. On clearing aAIS, the ODU-AIS signal shall be removed within two frames with normal data being output.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-**14.5.1.3 ODUT TCM control functions (ODUT\_TCMC)**
-
-The ODUT\_TCMC functions are responsible for the activation/deactivation of a TCM trail. An ODUT\_TCMC function is connected to the ODUT\_TT and ODUT/ODU\_A functions at the TCM control points (TCMCP) as shown in Figure 14-126.
-
-Currently only an ODUT\_TCMC function for manual activation/deactivation via the management interface is defined. ODUT\_TCMC functions for automatic activation are for further study.
-
-
-
-The diagram illustrates the connections for ODUT\_TCMC functions at two levels. The top level shows the ODUT/ODUk functions, and the bottom level shows the ODUCnT/ODUCn functions. Each level consists of a central ODUT\_TCMC (or ODUCnT\_TCMC) block connected to source (So) and sink (Sk) functions via TCM control points (TCMCP). The source functions are connected to the TCMC block via ODUT/ODUk\_A\_So\_TCMCP (or ODUCnT/ODUCn\_A\_So\_TCMCP) and ODUT\_TT\_So\_TCMCP (or ODUCnT\_TT\_So\_TCMCP) signals. The sink functions are connected via ODUT/ODUk\_A\_Sk\_TCMCP (or ODUCnT/ODUCn\_A\_Sk\_TCMCP) and ODUT\_TT\_Sk\_TCMCP (or ODUCnT\_TT\_Sk\_TCMCP) signals. A management point (MP) is also connected to each TCMC block via ODUCnT\_TCMC\_MP signals. The diagram is labeled G.798(17)\_F14-126.
-
-Diagram showing ODUT\_TCMC connections for two levels: ODUT/ODUk and ODUCnT/ODUCn. Each level shows a central TCMC block connected to source (So) and sink (Sk) functions via TCMCP signals, and a management point (MP) at the bottom. The diagram is labeled G.798(17)\_F14-126.
-
-**Figure 14-126 – ODUT\_TCMC connections**
-
-**14.5.1.3.1 ODUT control function for manual activation (ODUT\_TCMCm)**
-
-The ODUT\_TCMCm function performs manual activation/deactivation of a TCM trail via the management interface.
-
-The TCM status of the sink and source is provided to the management interface. The TCM level and the mode of the sink and source functions is selected by the management interface.
-
-The information flow and processing of the ODUT\_TCMCm function is defined with reference to Figures 14-127 and 14-128.
-
-## Symbol
-
-
-
-Diagram showing the symbol for ODUT\_TCMCm function. It consists of two rectangular blocks. The top block is labeled ODUT\_TCMCm and has four external connections: ODUKT/ODUk\_A\_So\_TCMCP (input), ODUKT\_TT\_So\_TCMCP (input), ODUKT/ODUk\_A\_Sk\_TCMCP (output), and ODUKT\_TT\_Sk\_TCMCP (output). A vertical double-headed arrow labeled 'k = 0, 1, 2, 2e, 3, 4, flex' connects the top block to a bottom block labeled ODUCnT\_TCMCm. The bottom block has four external connections: ODUCnT/ODUCn\_A\_So\_TCMCP (input), ODUCnT\_TT\_So\_TCMCP (input), ODUCnT/ODUCn\_A\_Sk\_TCMCP (output), and ODUCnT\_TT\_Sk\_TCMCP (output). A vertical double-headed arrow labeled 'k = 0, 1, 2, 2e, 3, 4, flex' connects the bottom block to ODUCnT\_TCMCm\_MP. The text G.798(17)\_F14-127 is in the bottom right corner.
-
-Figure 14-127 – ODUT\_TCMCm function
-
-## Interfaces
-
-Table 14-58 – ODUT\_TCMCm inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| ODUT_TCMCm_MP: ODUT_TCMCm_MI_Level ODUT_TCMCm_MI_ModeSo ODUT_TCMCm_MI_ModeSk ODUT_TCMCm_MI_TCM_Extension ODUT/ODU_A_So_TCMCP: ODUT/ODU_A_So_TCMCI_AcSTAT[1..6] ODUT/ODU_A_Sk_TCMCP: ODUT/ODU_A_Sk_TCMCI_AcSTAT[1..6] | ODUT_TCMCm_MP: ODUT_TCMCm_MI_AcSTATSo[1..6] ODUT_TCMCm_MI_AcSTATSk[1..6] ODUT/ODU_A_So_TCMCP: ODUT/ODU_A_So_TCMCI_Mode ODUT/ODU_A_So_TCMCI_Level ODUT/ODU_A_Sk_TCMCP: ODUT/ODU_A_Sk_TCMCI_Mode ODUT/ODU_A_Sk_TCMCI_Level ODUT_TT_So_TCMCP: ODUT_TT_So_TCMCI_Mode ODUT_TT_So_TCMCI_Level ODUT_TT_Sk_TCMCP: ODUT_TT_Sk_TCMCI_Mode ODUT_TT_Sk_TCMCI_Level |
-
-## Processes
-
-The processes associated with the ODUT\_TCMCm function are as depicted in Figure 14-128.
-
-The TCM level is provided by the management via MI\_Level and distributed to sink and source termination and adaptation functions.
-
-The mode is provided independently for sink and source by the management (MI\_ModeSo and MI\_ModeSk).
-
-The sink and source TCM status of all six levels is provided to the management (MI\_AcSTATSo[1..6] and MI\_AcSTATSk[1..6]).
-
-TCM information forwarding and erasing: TCM information can be forwarded or erased for continuing TCM information into sections at the end of a TCM section and the related ODUT\_TT\_Sk function. With the MI\_TCM\_Extension control that can take three values: normal, pass through or erase, this function is controlled to either terminate TCM information or let it continue or erase. The default of the MI\_TCM\_Extension must be set to "Normal".
-
-NOTE – Equipment prior to Edition 4.4 of this Recommendation does not provide the MI\_TCM\_Extension and will always behave as configured "Normal".
-
-
-
-The diagram illustrates the ODUT\_TCMCm\_MP process. It shows the flow of TCM information and management signals between two interfaces: ODUT/ODU\_A\_So\_TCMCP on the left and ODUT/ODU\_A\_Sk\_TCMCP on the right. At the top, management signals MI\_AcSTATSo[1..6], MI\_ModeSo, MI\_Level, MI\_ModeSk, MI\_TCM\_Extension, and MI\_AcSTATSk[1..6] are shown. The TCM information flow is indicated by arrows: TCMCI\_AcSTAT[1..6] and TCMCI\_Level/Mode signals are passed from the source to the sink. The MI\_TCM\_Extension control is shown with three options: 'normal' (solid line), 'Transparent' (dashed line), 'pass-through' (dotted line), and 'Operational' (dash-dot line). The 'normal' option is the default. The diagram also shows the TCMCI\_Mode and TCMCI\_Level signals being passed from the sink back to the source. The reference G.798(17)\_F14-128 is noted at the bottom right.
-
-Diagram of ODUT\_TCMCm\_MP processes showing signal flow and management information exchange between ODUT/ODU\_A\_So\_TCMCP and ODUT/ODU\_A\_Sk\_TCMCP interfaces.
-
-Figure 14-128 – ODUT\_TCMCm processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-## 14.6 Blank clause
-
-NOTE – This clause is intentionally left blank.
-
-## 15 FlexO functions
-
-Figure 15-1 illustrates the FlexO layer and client layer adaptation functions. The information crossing the FlexO connection point (FlexO\_CP) is referred to as the FlexO characteristic information (FlexO\_CI). The information crossing the FlexO access point (FlexO\_AP) is referred to as the FlexO adapted information (FlexO\_AI). The information crossing the FlexO-x connection point (FlexO-x\_CP) is referred to as the FlexO-x characteristic information (FlexO-x\_CI). The information crossing the FlexO-x access point (FlexO-x\_AP) is referred to as the FlexO-x adapted information (FlexO-x\_AI).
-
-The FlexO-x to FCC adaptation function (FlexO-x/FCC\_A) is optional.
-
-The $m^{\text{th}}$ FlexO-x/FlexO\_A\_So function may have the last $x \times m - n$ FlexO\_CPs not connected. These input ports should assume the presence of an unequipped FlexO signal.
-
-
-
-Figure 15-1: FlexO functions diagram showing the flow of data through various FlexO components like SD\_CP, OTUCn\_(T)CPs, FlexO/SD, FlexO-n/OTUCn, FlexO, FCC\_CP, FlexO-x/FCC, FlexO-x/FlexO, and FlexO-x\_(T)CP. It illustrates the mapping and adaptation of client signals into FlexO frames.
-
-G.798(17)-Amd.3(20)\_F15-1
-
-Figure 15-1 – FlexO functions
-
-FlexO characteristic information
-
-The FlexO characteristic information (FlexO\_CI) is the FlexO frame as defined in [ITU-T G.709.1] with valid FlexO payload overhead (GID, IID, MAP, PT and client-mapping specific) as defined in [ITU-T G.709.1] and [ITU-T G.709.3], together with a frame and multi-frame start. The remaining overhead fields contain all-ZERO's.
-
-In case of a synchronous FlexO interface, the FlexO\_CI also includes the FlexO synchronization message channel overhead (OSMC) in FlexO instance #1.
-
-The FlexO overhead present at the FlexO\_CP is shown in Figure 15-1.1.
-
-
-
-| 128-bit block # | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Byte |
-|-----------------|-----------|---|---|---|---|---|---|---|---|----|----|----|----|----|----|-----------|------|
-| 1 | | | | | | | | | | | | | | | | | |
-| 2 | | | | | | | | | | | | | | | | | |
-| 3 | | | | | | | | | | | | | | | | | |
-| 4 | | | | | | | | | | | | | | | | | |
-| 5 | | | | | | | | | | | | | | | | | |
-| 6 | | | | | | | | | | | | | | | | | |
-| 7 | | | | | | | | | | | | | | | | | |
-| 8 | | | | | | | | | | | | | | | | | |
-| 9 | MAP (LSB) | | | | | | | | | | | | | | | MAP (MSB) | |
-| 10 | OSMC/RES | | | | | | | | | | | | | | | | |
-
-
-
-| 128-bit block #9 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Byte |
-|------------------|---|---|---|---|---|---|---|---|---|----|----|----|----|----|----|----|------|
-| Frame # | | | | | | | | | | | | | | | | | |
-| 1 | | | | | | | | | | | | | | | | | |
-| 2 | | | | | | | | | | | | | | | | | |
-| 3 | | | | | | | | | | | | | | | | | |
-| 4 | | | | | | | | | | | | | | | | | |
-| 5 | | | | | | | | | | | | | | | | | |
-| 6 | | | | | | | | | | | | | | | | | |
-| 7 | | | | | | | | | | | | | | | | | |
-| 8 | | | | | | | | | | | | | | | | | |
-
-
-
-| 128-bit block #8 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Byte |
-|------------------|---|---|---|---|---|---|---|---|---|----|----|----|----|----|----|----|------|
-| Frame # | | | | | | | | | | | | | | | | | |
-| 1 | | | | | | | | | | | | | | | | | |
-| 2 | | | | | | | | | | | | | | | | | |
-| 3 | | | | | | | | | | | | | | | | | |
-| 4 | | | | | | | | | | | | | | | | | |
-| 5 | | | | | | | | | | | | | | | | | |
-| 6 | | | | | | | | | | | | | | | | | |
-| 7 | | | | | | | | | | | | | | | | | |
-| 8 | | | | | | | | | | | | | | | | | |
-
-
-
-| Frame # | OSMC | RES | FlexO instance #1 | FlexO instance #2..#n or #m × x |
-|---------|------|-----|-------------------|---------------------------------|
-| 1 | | | | |
-| 2 | | | | |
-| 3 | | | | |
-| 4 | | | | |
-| 5 | | | | |
-| 6 | | | | |
-| 7 | | | | |
-| 8 | | | | |
-
-
-
-| Frame # | Client-mapping: Multiplexed OTUCn | |
-|---------|-----------------------------------|-----|
-| 2 | JC4 | JC1 |
-| 3 | JC5 | JC2 |
-| 4 | JC6 | JC3 |
-| 5 | MSI | |
-| 6 | JC4 | JC1 |
-| 7 | JC5 | JC2 |
-| 8 | JC6 | JC3 |
-
-
-
-| Frame # | GID | IID | PT | Client mapping specific |
-|---------|-----|-----|----|-------------------------|
-| 1 | | | | |
-| 2 | | | | |
-| 3 | | | | |
-| 4 | | | | |
-| 5 | | | | |
-| 6 | | | | |
-| 7 | | | | |
-| 8 | | | | |
-
-Figure 15-1.1: FlexO overhead at FlexO\_CP and FlexO\_AP. This figure includes a detailed byte map of a 128-bit block, a table for OSMC/RES fields, a table for client-mapping multiplexed OTUCn, and a detailed view of the overhead fields (GID, IID, PT, Client mapping specific) for a 128-bit block.
-
-G.798(17)-Amd.3(21)\_F15-1.1
-
-Figure 15-1.1 – FlexO overhead at FlexO\_CP and FlexO\_AP
-
-FlexO adapted information
-
-The FlexO adapted information (FlexO\_AI) consists of the client layer CI adapted to the FlexO frame as defined in [ITU-T G.709.1] and [ITU-T G.709.3], and valid FlexO payload overhead (GID, IID, MAP, PT and client-mapping specific) as shown in Figure 15-1.1, together with a frame and multi-frame start. The mapping-specific overhead depends on the client mapping scheme; e.g., for
-
-the multiplexed OTUCn client-mapping it consists of MSI and JC1 to JC6. For the case of a synchronous FlexO interface, the FlexO\_AI also includes the FlexO synchronization message channel overhead (OSMC) in FlexO instance #1.
-
-### Unequipped FlexO characteristic and adapted information
-
-An unequipped FlexO signal contains an all-ZEROs bit stream with FlexO clock, frame start and multi-frame start common with FlexO\_CI instance #1 of the last FlexO-x instance of the FlexO-x--m interface group and with SSF = false.
-
-NOTE – The FlexO\_AI and FlexO\_CI overhead (GID, IID and MAP) in an unequipped FlexO have the value all-ZEROs.
-
-### FlexO-x adapted information
-
-The FlexO-x adapted information (FlexO-x\_AI) consists of *x* instances of the FlexO\_CI and one instance of valid FlexO-x specific overhead (FCC plus FlexO\_CI overhead) as shown in Figure 15-1.2, together with a frame and multi-frame start.
-
-In case of COMMS access at the FlexO-x\_AP, it also includes the FlexO-x FCC overhead.
-
-
-
-The diagram illustrates the FlexO overhead structure at the FlexO-x\_AP. It is divided into two 128-bit blocks, block #9 and block #8, each shown as a 16-byte grid.
-
-- Block #9:**
- - Bytes 1-8: MAP (LSB)
- - Bytes 9-12: FCC (LSB/RES)
- - Bytes 13-16: OSMC/RES
-- Block #8:**
- - Bytes 1-8: GID
- - Bytes 9-12: IID
- - Bytes 13-16: Client mapping specific information
-
-The Client mapping specific information in Block #8 is further detailed with two tables:
-
-| Frame # | JC4 | JC1 |
-|---------|-----|-----|
-| 2 | JC5 | JC2 |
-| 3 | JC6 | JC3 |
-| 4 | MSI | |
-| 5 | JC4 | JC1 |
-| 6 | JC5 | JC2 |
-| 7 | JC6 | JC3 |
-| 8 | | |
-
-
-
-| Frame # | FlexO instance #1 in a FlexO-x | FlexO instance #2..n in a FlexO-x |
-|---------|--------------------------------|-----------------------------------|
-| 1 | FCC (MSB) | FCC (LSB) |
-| 2 | RES | RES |
-
-Figure 15-1.2 – FlexO overhead at FlexO-x\_AP. The diagram shows the structure of FlexO overhead across 16 bytes (128 bits) for two blocks, block #9 and block #8. Block #9 contains MAP (LSB), FCC (LSB/RES), and OSMC/RES. Block #8 contains GID, IID, and Client mapping specific information. The Client mapping specific information includes a table for multiplexed OTUCn client mapping and a table for FlexO instance specific information. The diagram also shows the structure of the FlexO-x characteristic information (FlexO-x\_CI) and the FlexO-x adapted information (FlexO-x\_AI).
-
-Figure 15-1.2 – FlexO overhead at FlexO-x\_AP
-
-### FlexO-x characteristic information
-
-The FlexO-x characteristic information (FlexO-x\_CI) is the FlexO-x\_AI plus one instance of valid FlexO-x trail overhead (STAT(RPF), CRC16), together with a frame and multi-frame start.
-
-The FlexO-x overhead present at the FlexO-x\_CP is shown in Figure 15-1.3.
-
-
-
-Figure 15-1.3: FlexO overhead at FlexO-x\_CP. This diagram shows the structure of FlexO overhead across multiple 128-bit blocks. The top part shows a grid of 16 bytes per block, with rows 1-8 for data and rows 9-10 for overhead. Row 9 contains MAP (LSB), CRC16, and FCC (MSB)/RES. Row 10 contains FCC (LSB)/RES and OSMC/RES. Below this, two detailed overhead structures are shown. The left structure for '128-bit block #9' shows a frame number, OSMC, RES, and FlexO instance #1. The right structure for '128-bit block #8' shows a frame number, GID, IID, and a 'Client mapping specific' section containing PT. At the bottom, a table shows the mapping of FlexO instances to client mappings (JC1-JC6, MSI) across multiple frames.
-
-Figure 15-1.3 – FlexO overhead at FlexO-x\_CP
-
-## 15.1 Connection functions
-
-Not applicable.
-
-## 15.2 Termination functions
-
-### 15.2.1 FlexO trail termination function (FlexO\_TT)
-
-The FlexO\_TT function terminates the section monitoring overhead of the FlexO overhead to determine the status of the FlexO trail. Figure 15-2 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-
-
-Figure 15-2: FlexO\_TT. This diagram shows two unidirectional FlexO\_TT functions. The left side shows a sink function where a signal flows from FlexO\_AP through a FlexO triangle to FlexO\_TCP. The right side shows a source function where a signal flows from FlexO\_TCP through a FlexO triangle to FlexO\_AP. The text 'G.798(17)-Amd.3(21)\_F15-2' is at the bottom.
-
-Figure 15-2 – FlexO\_TT
-
-#### 15.2.1.1 FlexO trail termination source function (FlexO\_TT\_So)
-
-The FlexO\_TT\_So function relays the FlexO signal at its FlexO\_AP input to its FlexO\_TCP.
-
-The information flow and processing of the FlexO\_TT\_So function is defined with reference to Figures 15-3 and 15-4.
-
-## Symbol
-
-
-
-G.798(17)-Amd.3(21)\_F15-3
-
-Symbol diagram for FlexO\_TT\_So function. It shows a downward arrow from FlexO\_AP to a triangle labeled FlexO, which then points down to FlexO\_TCP. Below the diagram is the text G.798(17)-Amd.3(21)\_F15-3.
-
-**Figure 15-3 – FlexO\_TT\_So function**
-
-## Interfaces
-
-**Table 15-1 – FlexO\_TT\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
-| FlexO_AP: FlexO_AI_CK FlexO_AI_D FlexO_AI_FS FlexO_AI_MFS | FlexO_TCP: FlexO_CI_CK FlexO_CI_D FlexO_CI_FS FlexO_CI_MFS |
-
-## Processes
-
-The processes associated with the FlexO\_TT\_So function are as depicted in Figure 15-3.
-
-
-
-G.978(17)-Amd.3(21)\_F15-4
-
-Process diagram for FlexO\_TT\_So. It shows four vertical arrows representing data flows from FlexO\_AP (labeled AI\_D, AI\_CK, AI\_FS, AI\_MFS) to FlexO\_TCP (labeled CI\_D, CI\_CK, CI\_FS, CI\_MFS). Below the diagram is the text G.978(17)-Amd.3(21)\_F15-4.
-
-**Figure 15-4 – FlexO\_TT\_So processes**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 15.2.1.2 FlexO trail termination sink function (FlexO\_TT\_Sk)
-
-The FlexO\_TT\_Sk function reports the state of the FlexO trail.
-
-The information flow and processing of the FlexO\_TT\_Sk function is defined with reference to Figures 15-5 and 15-6.
-
-## Symbol
-
-
-
-Symbol diagram for FlexO function. A triangle labeled 'FlexO' has an input arrow from 'FlexO\_TCP' at the bottom vertex, an output arrow from the top vertex to 'FlexO\_AP', and an output arrow from the left side to 'FlexO\_TT\_Sk\_MP'. Below the diagram is the text 'G.798(17)-Amd.3(21)\_F15-5'.
-
-Figure 15-5 – FlexO\_TT\_Sk function
-
-## Interfaces
-
-Table 15-2 – FlexO\_TT\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| FlexO_TCP: FlexO_CI_CK FlexO_CI_D FlexO_CI_FS FlexO_CI_MFS FlexO_CI_CRCerr FlexO_CI_SSF | FlexO_AP: FlexO_AI_CK FlexO_AI_D FlexO_AI_FS FlexO_AI_MFS FlexO_AI_CRCerr FlexO_AI_TSF FlexO_TT_Sk_MP: FlexO_TT_Sk_MI_cSSF |
-
-## Processes
-
-The processes associated with the FlexO\_TT\_Sk function are as depicted in Figure 15-6.
-
-
-
-The diagram illustrates the internal structure of the FlexO\_TT\_Sk\_MP process. It features a central grey rectangular block representing the process. Inside, there are two white boxes: 'Consequent actions' at the top and 'Defect correlations' on the left. Arrows indicate internal flow: from 'CI\_SSF' to 'Consequent actions', and from 'CI\_SSF' to 'Defect correlations'. From 'Defect correlations', an arrow points to 'MI\_cSSF', which then points out of the process boundary to the left. On the right side, several vertical arrows point upwards from the bottom (FlexO\_TCP) to the top (FlexO\_AP). These are labeled from left to right: 'CI\_SSF', 'CI\_FS', 'CI\_MFS', 'CI\_CK', 'CI\_CRCerr', and 'CI\_D'. Above the 'Consequent actions' box, an arrow labeled 'aTSF' points upwards to the top interface 'AI\_TSF'. Other top interfaces are labeled 'AI\_FS', 'AI\_MFS', 'AI\_CK', 'AI\_CRCerr', and 'AI\_D'. The bottom of the diagram is labeled 'FlexO\_TCP' and the top 'FlexO\_AP'. A small text 'G.798(17)-Amd.3(21)\_F15-6' is at the bottom right.
-
-Diagram of FlexO\_TT\_Sk processes showing internal components and interfaces.
-
-Figure 15-6 – FlexO\_TT\_Sk processes
-
-**Defects:** None.
-
-**Consequent actions**
-
-The function shall perform the following consequent action:
-
-aTSF ← CI\_SSF
-
-**Defect correlations**
-
-The function shall perform the following defect correlation to determine the most probable fault cause. This fault cause shall be reported to the EMF.
-
-cSSF ← CI\_SSF
-
-**Performance monitoring:** None.
-
-**15.2.2 FlexO-x trail termination function (FlexO-x\_TT)**
-
-The FlexO-x\_TT function terminates the section monitoring overhead of the FlexO-x overhead to determine the status of the FlexO-x trail. Figure 15-6.1 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-
-
-The diagram shows two identical FlexO-x blocks, each represented by a downward-pointing triangle. The left block has an input arrow from 'FlexO-x\_AP' at the top and an output arrow to 'FlexO-x\_TCP' at the bottom. The right block has an input arrow from 'FlexO-x\_TCP' at the bottom and an output arrow to 'FlexO-x\_AP' at the top. A horizontal arrow labeled 'FlexO-x\_RP' points from the right block to the left block, indicating a bidirectional relationship between the two unidirectional functions. A small text 'G.798(17)-Amd.3(21)\_F15-6.1' is at the bottom right.
-
-Diagram of FlexO-x\_TT showing bidirectional flow between FlexO-x\_AP and FlexO-x\_TCP via FlexO-x blocks.
-
-Figure 15-6.1 – FlexO-x\_TT
-
-### 15.2.2.1 FlexO-x trail termination source function (FlexO-x\_TT\_So)
-
-The FlexO\_TT\_So function adds FlexO-x section monitoring overhead – including the RPF signal – in the STAT overhead field to the FlexO-x signal at its FlexO-x\_AP.
-
-The information flow and processing of the FlexO-x\_TT\_So function is defined with reference to Figures 15-6.2 and 15-6.3.
-
-#### Symbol
-
-
-
-Symbol diagram for the FlexO-x\_TT\_So function. It shows an input FlexO-x\_AP entering a triangle labeled 'FlexO-x' from the top. An input FlexO-x\_RP enters the triangle from the right. The output is FlexO-x\_TCP exiting from the bottom. Below the triangle is the text 'G.798(17)-Amd.3(21)\_F15-6.2'.
-
-Figure 15-6.2 – FlexO-x\_TT\_So function
-
-#### Interfaces
-
-Table 15-2.1 – FlexO-x\_TT\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|--------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------|
-| FlexO-x_AP: FlexO-x_AI_CK FlexO-x_AI_D[1..x] FlexO-x_AI_FS FlexO-x_AI_MFS FlexO-x_RP: FlexO-x_RI_RPF | FlexO-x_TCP: FlexO-x_CI_CK FlexO-x_CI_D[1..x] FlexO-x_CI_FS FlexO-x_CI_MFS |
-
-#### Processes
-
-The processes associated with the FlexO-x\_TT\_So function are as depicted in Figure 15-12.
-
-**STAT-RPF:** The remote PHY fault indication is inserted in the RPF bit position of the STAT field of FlexO instance #1 of the FlexO-x as described in clause 9.2.5 of [ITU-T G.709.1]. Its value is derived from reference point FlexO-x\_RP. Upon the declaration/clearing of aRPF at the termination sink function, the trail termination source function shall have inserted/removed the RPF indication within 50 ms.
-
-**STAT-RES:** The RES field is reserved for future international standardization. The value shall be fixed to 00.
-
-**CRC-16:** The function shall compute the CRC-16 and insert the calculated CRC-16 value into the CRC-16 byte of the FlexO overhead field in every FlexO instance of the FlexO-x as described in clause 9.2.7 of [ITU-T G.709.1].
-
-![Figure 15-6.3 – FlexO-x_TT_So processes. This diagram shows the internal processing of FlexO-x_TT_So. At the top, FlexO-x_AP inputs include AI_D[x], AI_D[2], AI_D[1], AI_CK, AI_FS, and AI_MFS. These pass through a series of 'OH insertion' and 'Compute and insert CRC-16' blocks. An 'Insert RPF' block receives RI_RPF and outputs to the third 'OH insertion' block. The bottom outputs are FlexO-x_TCP signals: CI_D[x], CI_D[2], CI_D[1], CI_CK, CI_FS, and CI_MFS. A label 'FlexO-x_RP' is on the right side. Reference G.798(17)-Amd.3(21)_F15-6.3 is at the bottom right.](04a21eb4cd167fac602b875e961ded35_img.jpg)
-
-Figure 15-6.3 – FlexO-x\_TT\_So processes. This diagram shows the internal processing of FlexO-x\_TT\_So. At the top, FlexO-x\_AP inputs include AI\_D[x], AI\_D[2], AI\_D[1], AI\_CK, AI\_FS, and AI\_MFS. These pass through a series of 'OH insertion' and 'Compute and insert CRC-16' blocks. An 'Insert RPF' block receives RI\_RPF and outputs to the third 'OH insertion' block. The bottom outputs are FlexO-x\_TCP signals: CI\_D[x], CI\_D[2], CI\_D[1], CI\_CK, CI\_FS, and CI\_MFS. A label 'FlexO-x\_RP' is on the right side. Reference G.798(17)-Amd.3(21)\_F15-6.3 is at the bottom right.
-
-Figure 15-6.3 – FlexO-x\_TT\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-**15.2.2.2 FlexO-x trail termination sink function (FlexO-x\_TT\_Sk)**
-
-The FlexO-x\_TT\_Sk function reports the state of the FlexO-x trail. It extracts FlexO-x monitoring overhead – including the RPF signal – in the STAT overhead field from the FlexO signal at its FlexO-x\_TCP, detects for the RPF defect, and forwards the error and defect information as backward indications to the companion FlexO-x\_TT\_So function.
-
-The information flow and processing of the FlexO-x\_TT\_Sk function is defined with reference to Figures 15-6.4 and 15-6.5.
-
-**Symbol**
-
-
-
-Figure 15-6.4 – FlexO-x\_TT\_Sk function. This symbol diagram shows a central triangle labeled 'FlexO-x'. Inputs/Outputs are: FlexO-x\_AP (top, pointing up), FlexO-x\_TT\_Sk\_MP (left, pointing left), FlexO-x\_RP (right, pointing right), and FlexO-x\_TCP (bottom, pointing up). Reference G.798(17)-Amd.3(21)\_F15-6.4 is at the bottom right.
-
-Figure 15-6.4 – FlexO-x\_TT\_Sk function
-
-## Interfaces
-
-**Table 15-2.2 – FlexO-*x*\_TT\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| FlexO-x_TCP: FlexO- x _CI_CK FlexO- x _CI_D[1.. x ] FlexO- x _CI_FS FlexO- x _CI_MFS FlexO- x _CI_SSF | FlexO-x_AP: FlexO- x _AI_CK FlexO- x _AI_D[1.. x ] FlexO- x _AI_FS FlexO- x _AI_MFS FlexO- x _AI_CRCerr[1.. x ] FlexO- x _AI_TSF FlexO-x_RP: FlexO- x _RI_RPF FlexO-x_TT_Sk_MP: FlexO- x _TT_Sk_MI_cRDI FlexO- x _TT_Sk_MI_cSSF |
-
-## Processes
-
-The processes associated with the FlexO-*x*\_TT\_Sk function are as depicted in Figure 15-14.
-
-**CRC-16:** See clause 9.2.7 of [ITU-T G.709.1]. The CRC-16 is extracted from the CRC-16 field in every FlexO instance of the FlexO-*x*. If the extracted CRC-16 value can be divided by the expected polynomial, CRCerr[*j*] (*j* = 1..*x*) is set to 0 (the default value); otherwise, CRCerr[*j*] is set to 1.
-
-**STAT-RPF:** The remote PHY fault indication shall be recovered from the RPF bit position of the accepted STAT value in FlexO instance #1 of the FlexO-*x* as described in clause 9.2.5 of [ITU-T G.709.1]. A new STAT value is accepted if a new value of the STAT field is received in a FlexO overhead frame with good CRC. The STAT-RPF shall be used for RPF defect detection.
-
-**STAT-RES:** RES in the STAT field in the FlexO signal at the FlexO\_TCP is reserved for future international standardization. For this version of this Recommendation, its value shall be ignored.
-
-![Figure 15-6.5 – FlexO-x_TT_Sk processes. This block diagram illustrates the internal processing flow of the FlexO-x_TT_Sk function. On the left, the FlexO-x_TT_Sk_MP interface provides inputs MI_cRDI and MI_cSSF. MI_cRDI enters an 'Extract RPF' block, which outputs aRPF to 'Consequent actions' and dRDI to 'Defect correlations'. MI_cSSF enters 'Defect correlations', which outputs RI_RPF. 'Consequent actions' outputs aTSF. The main processing path consists of multiple instances (1 to x) of 'Overhead access' blocks. Each instance receives CI_D[i] and produces CRCerr[i] and AI_D[i]. Between each 'Overhead access' block is an 'Extract, compute and compare CRC-16' block that receives CRCerr[i-1] and produces CRCerr[i]. The first instance also receives CI_SSF, CI_FS, CI_MFS, and CI_CK, and produces AI_TSF, AI_FS, AI_MFS, and AI_CK. The final instance produces AI_CRCerr[x] and AI_D[x]. The entire process is labeled FlexO-x_TT_Sk_MP on the left and FlexO-x_AP on the right. The bottom of the diagram is labeled FlexO-x_TCP.](98a6715208267336f8339163b005c28f_img.jpg)
-
-Figure 15-6.5 – FlexO-x\_TT\_Sk processes. This block diagram illustrates the internal processing flow of the FlexO-x\_TT\_Sk function. On the left, the FlexO-x\_TT\_Sk\_MP interface provides inputs MI\_cRDI and MI\_cSSF. MI\_cRDI enters an 'Extract RPF' block, which outputs aRPF to 'Consequent actions' and dRDI to 'Defect correlations'. MI\_cSSF enters 'Defect correlations', which outputs RI\_RPF. 'Consequent actions' outputs aTSF. The main processing path consists of multiple instances (1 to x) of 'Overhead access' blocks. Each instance receives CI\_D[i] and produces CRCerr[i] and AI\_D[i]. Between each 'Overhead access' block is an 'Extract, compute and compare CRC-16' block that receives CRCerr[i-1] and produces CRCerr[i]. The first instance also receives CI\_SSF, CI\_FS, CI\_MFS, and CI\_CK, and produces AI\_TSF, AI\_FS, AI\_MFS, and AI\_CK. The final instance produces AI\_CRCerr[x] and AI\_D[x]. The entire process is labeled FlexO-x\_TT\_Sk\_MP on the left and FlexO-x\_AP on the right. The bottom of the diagram is labeled FlexO-x\_TCP.
-
-G.798(17)-Amd.3(21)\_F15-6.5
-
-**Figure 15-6.5 – FlexO-*x*\_TT\_Sk processes**
-
-**Defects**
-
-The function shall detect the dRDI defect.
-
-**dRDI:** If the extracted RPF is "1", dRDI shall be declared; Otherwise, dRDI shall be cleared; dRDI shall be set to false during CI\_SSF.
-
-**Consequent actions**
-
-The function shall perform the following consequent actions:
-
-aRPF $\leftarrow$ CI\_SSF
-
-aTSF $\leftarrow$ CI\_SSF
-
-**Defect correlations**
-
-The function shall perform the following defect correlations to determine the most probable fault cause. This fault cause shall be reported to the EMF.
-
-cRDI $\leftarrow$ dRDI
-
-cSSF $\leftarrow$ CI\_SSF
-
-**Performance monitoring:** None.
-
-**15.3 Adaptation functions****15.3.1 FlexO-n to OTUCn adaptation function (FlexO-n/OTUCn\_A)**
-
-The FlexO-n to OTUCn adaptation functions perform the adaptation between the FlexO-n layer adapted information and the characteristic information of the OTUCn layer signal.
-
-**15.3.1.1 FlexO-n to OTUCn adaptation source function (FlexO-n/OTUCn\_A\_So)**
-
-The FlexO-n to OTUCn adaptation source function is defined for OTUCn.
-
-The information flow and processing of the FlexO-n/OTUCn\_A\_So function is defined with reference to Figures 15-7 and 15-8.
-
-**Symbol**![Functional block diagram of FlexO-n/OTUCn_A_So. A trapezoidal block labeled 'FlexO-n/OTUCn' has a top input 'OTUCn_CP', a side input 'FlexO-n/OTUCn_A_So_MP', and multiple bottom outputs 'FlexO_AP[1]' through 'FlexO_AP[n]'.](eaaf53ac65d77e590778a391a25b92e4_img.jpg)
-
-```
-
-graph TD
- MP[FlexO-n/OTUCn_A_So_MP] --> Block
- CP[OTUCn_CP] --> Block
- subgraph Block [FlexO-n/OTUCn]
- direction TB
- L1[1] --- Ln[n]
- end
- Block --> AP1[FlexO_AP[1]]
- Block --> APn[FlexO_AP[n]]
-
-```
-
-G.798(17)\_F15-7
-
-Functional block diagram of FlexO-n/OTUCn\_A\_So. A trapezoidal block labeled 'FlexO-n/OTUCn' has a top input 'OTUCn\_CP', a side input 'FlexO-n/OTUCn\_A\_So\_MP', and multiple bottom outputs 'FlexO\_AP[1]' through 'FlexO\_AP[n]'.
-
-**Figure 15-7 – FlexO-n/OTUCn\_A\_So function**
-
-## Interfaces
-
-**Table 15-3 – FlexO-n/OTUCn\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
-| OTUCn_CP: OTUCn_CI_CK OTUCn_CI_D OTUCn_CI_FS OTUCn_CI_MFS FlexO-n/OTUCn_A_So_MP: FlexO-n/OTUCn_A_So_MI_TxGID FlexO-n/OTUCn_A_So_MI_TxIID[1..n] FlexO-n/OTUCn_A_So_MI_TxFMAP | n × FlexO_AP: FlexO_AI_D FlexO_AI_CK FlexO_AI_FS FlexO_AI_MFS |
-
-## Processes
-
-The processes associated with the FlexO-n/OTUCn\_A\_So function are as depicted in Figure 15-8.
-
-**OTUCn FAS/MFAS insertion:** The function shall insert the FAS and MFAS into the OTUCn OH area as described in clause 11.3 of [ITU-T G.709].
-
-**OTUCn distribution:** The function shall divide OTUCn into n OTUC instance signals as described in clause 10.1.1 of [ITU-T G.709.1].
-
-**Clock generation:** The function shall generate the FlexO (AI\_CK) clock by multiplying the incoming OTUCn clock (CI\_CK) by a factor of $1/n \times 4112/4097$ . The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCb clock), apply. During failure conditions of the incoming OTUCn clock signal (CI\_CK), the FlexO clock shall stay within its limits as defined in [ITU-T G.8251] and no frame phase discontinuity shall be introduced.
-
-**FS and MFS generator:** The function shall generate FlexO frame and multi-frame starter identifier as described in clause 8.1 and 8.2 of [ITU-T G.709.1].
-
-**Mapping:** The function shall map the OTUC instance signal into FlexO frame payload area as defined in clause 10.2.2 of [ITU-T G.709.1] and the fixed stuff bits in the 8-frame multi-frame payload area shall be set to all-ZEROs.
-
-NOTE – In order to minimize implementation complexity and avoid the skew introduction between n OTUC instance signals, n lanes of mapping may use one unified mapping control mechanism to complete all the mapping processes and keep actions consistent between them.
-
-**All-0's OH insertion:** The function shall insert all-ZEROs into all the FlexO AM, EOH and BOH bit locations.
-
-**FlexO OH Insertion:** The function shall insert the overhead information of FlexO group signal in the corresponding overhead area (GID, IID, MAP and RES) as defined in clause 9.2 of [ITU-T G.709.1].
-
-**FlexO GID:** The FlexO group identifier is inserted in the GID field. Its value is derived from reference point FlexO\_TT\_So\_MP. The GID format is described in clause 9.2.2.1 of [ITU-T G.709.1].
-
-**FlexO IID:** The FlexO Instance Identifier is inserted in the IID field. Its value is derived from reference point FlexO\_TT\_So\_MP. The IID format is described in clause 9.2.2.2 of [ITU-T G.709.1].
-
-**FlexO MAP:** The FlexO instance map is inserted in the FlexO MAP field. Its value is derived from reference point FlexO\_TT\_So\_MP. The FlexO MAP format is described in clause 9.2.2.3 of [ITU-T G.709.1].
-
-**RES:** The function shall insert all-ZEROs into the RES bytes.
-
-![Figure 15-8 – FlexO-n/OTUCn_A_So processes. This block diagram illustrates the transmission path for FlexO-n signals to OTUCn. At the top, OTUCn_CP inputs (CI_D, CI_CK, CI_FS, CI_MFS) enter an 'OTUCn FAS/MFAS insertion' block. This block outputs CI_CK to a 'Clock generator', which in turn provides AI_CK, AI_FS, and AI_MFS to an 'FS and MFS generator'. The 'OTUCn FAS/MFAS insertion' block also outputs D, CK, and FS signals to an 'OTUCn distribution' block. The 'OTUCn distribution' block outputs OTUC #1 and OTUC #n signals. Each OTUC signal (e.g., OTUC #1) enters an 'Elastic store' block with inputs D, CK, and FS, and outputs WR and RD. The 'Elastic store' block outputs AI_CK, AI_FS, and AI_MFS signals. Below the 'Elastic store' is a block 'Insert all-0's in all FlexO AM, EOH, BOH bits'. This is followed by a 'FlexO overhead insertion' block. The 'FlexO overhead insertion' block receives inputs from 'Insert IID' (MI_TxIID[1]), 'Insert GID' (MI_TxGID), 'Insert MAP' (MI_TxFMAP), and 'Insert RES'. The 'FlexO overhead insertion' block outputs AI_D, AI_CK, AI_FS, and AI_MFS signals, which are grouped as FlexO_AP[1]. The same process is shown for OTUC #n, with inputs MI_TxIID[n], MI_TxGID, MI_TxFMAP, and MI_TxRES, resulting in FlexO_AP[n] outputs. A vertical label on the right side reads 'FlexO-n/OTUCn_A_So_MP'. The diagram is labeled G.798(17)-Amd.4(22)_F15-8.](5d70cb9af3e025f57d437dc84524e9a4_img.jpg)
-
-Figure 15-8 – FlexO-n/OTUCn\_A\_So processes. This block diagram illustrates the transmission path for FlexO-n signals to OTUCn. At the top, OTUCn\_CP inputs (CI\_D, CI\_CK, CI\_FS, CI\_MFS) enter an 'OTUCn FAS/MFAS insertion' block. This block outputs CI\_CK to a 'Clock generator', which in turn provides AI\_CK, AI\_FS, and AI\_MFS to an 'FS and MFS generator'. The 'OTUCn FAS/MFAS insertion' block also outputs D, CK, and FS signals to an 'OTUCn distribution' block. The 'OTUCn distribution' block outputs OTUC #1 and OTUC #n signals. Each OTUC signal (e.g., OTUC #1) enters an 'Elastic store' block with inputs D, CK, and FS, and outputs WR and RD. The 'Elastic store' block outputs AI\_CK, AI\_FS, and AI\_MFS signals. Below the 'Elastic store' is a block 'Insert all-0's in all FlexO AM, EOH, BOH bits'. This is followed by a 'FlexO overhead insertion' block. The 'FlexO overhead insertion' block receives inputs from 'Insert IID' (MI\_TxIID[1]), 'Insert GID' (MI\_TxGID), 'Insert MAP' (MI\_TxFMAP), and 'Insert RES'. The 'FlexO overhead insertion' block outputs AI\_D, AI\_CK, AI\_FS, and AI\_MFS signals, which are grouped as FlexO\_AP[1]. The same process is shown for OTUC #n, with inputs MI\_TxIID[n], MI\_TxGID, MI\_TxFMAP, and MI\_TxRES, resulting in FlexO\_AP[n] outputs. A vertical label on the right side reads 'FlexO-n/OTUCn\_A\_So\_MP'. The diagram is labeled G.798(17)-Amd.4(22)\_F15-8.
-
-Figure 15-8 – FlexO-n/OTUCn\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 15.3.1.2 FlexO-n to OTUCn adaptation sink function (FlexO-n/OTUCn\_A\_Sk)
-
-The FlexO-n to OTUCn adaptation sink function is defined for OTUCn.
-
-The information flow and processing of the FlexO-n/OTUCn\_A\_Sk function is defined with reference to Figures 15-9 and 15-10.
-
-## Symbol
-
-![Diagram of the FlexO-n/OTUCn_A_Sk function symbol. It shows a trapezoidal block labeled 'FlexO-n/OTUCn'. Above the block, an arrow points up to 'OTUCn_CP'. Below the block, multiple arrows point up from 'FlexO_AP[1]' to 'FlexO_AP[n]', with a dashed line and ellipsis between them. To the left of the block, an arrow points left to 'FlexO-n/OTUCn_A_Sk_MP'. The reference 'G.798(17)_F15-9' is shown at the bottom right.](30b76717cca15621840d1c16fff50f89_img.jpg)
-
-Diagram of the FlexO-n/OTUCn\_A\_Sk function symbol. It shows a trapezoidal block labeled 'FlexO-n/OTUCn'. Above the block, an arrow points up to 'OTUCn\_CP'. Below the block, multiple arrows point up from 'FlexO\_AP[1]' to 'FlexO\_AP[n]', with a dashed line and ellipsis between them. To the left of the block, an arrow points left to 'FlexO-n/OTUCn\_A\_Sk\_MP'. The reference 'G.798(17)\_F15-9' is shown at the bottom right.
-
-Figure 15-9 – FlexO-n/OTUCn\_A\_Sk function
-
-## Interfaces
-
-Table 15-4 – FlexO-n/OTUCn\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| n × FlexO_AP: FlexO_AI_D FlexO_AI_CK (Note) FlexO_AI_FS FlexO_AI_MFS FlexO_AI_CRCerr FlexO_AI_TSF FlexO-n/OTUCn_A_Sk_MP: FlexO-n/OTUCn_A_Sk_MI_ExGID FlexO-n/OTUCn_A_Sk_MI_ExFMAP | OTUCn_CP: OTUCn_CI_CK OTUCn_CI_D OTUCn_CI_FS OTUCn_CI_MFS OTUCn_CI_SSF FlexO-n/OTUCn_A_Sk_MP: FlexO-n/OTUCn_A_Sk_MI_AcGID[1..n] FlexO-n/OTUCn_A_Sk_MI_AcFMAP[1..n] FlexO-n/OTUCn_A_Sk_MI_AcIID[1..n] FlexO-n/OTUCn_A_Sk_MI_cLOFLOM[1..n] FlexO-n/OTUCn_A_Sk_MI_cGIDM FlexO-n/OTUCn_A_Sk_MI_cFMM FlexO-n/OTUCn_A_Sk_MI_cLOL |
-| NOTE – The function only needs one FlexO_AI_CK, e.g., FlexO_AI_CK[1]. | |
-
-## Processes
-
-The processes associated with the FlexO-n/OTUCn\_A\_Sk function are as depicted in Figure 15-10.
-
-**FlexO OH Extraction:** The function shall extract the overhead of FlexO group interface (GID, IID and MAP) from each FlexO frame as defined in clause 9.2 of [ITU-T G.709.1].
-
-**FlexO GID:** The GID fields shall be extracted from the FlexO overhead and processed as specified in clause B.2.2.1. The accepted GID values are available at the MP (MI\_AcGID[i]) and are used for dGIDM defect detection.
-
-NOTE – A GID field carrying an all-0's value indicates the presence of an unequipped FlexO instance. Such unequipped FlexO instance represents a FlexO-x configuration mistake.
-
-**FlexO IID:** The IID fields shall be extracted from the FlexO overhead and processed as specified in clause B.2.2.2.1. The accepted IID values are available at the MP (MI\_AcIID[i]) and are used for dFMM defect detection.
-
-**FlexO MAP:** The FlexO MAP fields shall be extracted from the FlexO overhead and processed as specified in clause B.2.2.3.1. The accepted MAP values are available at the MP (MI\_AcFMAP[i]) and are used for dFMM defect detection.
-
-**FlexO-n Reorder:** The function shall reorder n FlexO instances based on IID as described in clauses 9.2.3 and 10.3 of [ITU-T G.709.1].
-
-**Demapping:** The function shall demap the OTUC instance signal from FlexO frame as described in clause 10.1.2 of [ITU-T G.709.1].
-
-**OTUCn Frame and multi-frame alignment:** The function shall recover the OTUC instance frame start and multi-frame start as described in clause 8.2.3.
-
-**OTUCn Deskew:** The function shall compensate the skew between n OTUC instances based on OTUC instance frame start indication as described in clause 10.1.4 of [ITU-T G.709.1]. The alignment process shall establish the delay compensation, compensating the differential delay between the FlexO instance signals as given in clause 10.1.4 of [ITU-T G.709.1]. The compensation between the FlexO instances is achieved by an elastic store per OTUC instance. Each OTUC instance signal shall be written into an elastic store with the OTUC frame start indication. Each elastic store shall be capable of compensating at least 300 ns of absolute differential delay between the OTUC instances for FlexO-SR applications and at least 1 $\mu$ s of absolute differential delay between the OTUC instances for FlexO-LR applications. The process has two states, out-of-multilane-alignment (OLA) and in-multilane-alignment (ILA). The alignment start shall be maintained during the OLA state. In the OLA state, if the bytes of the OTUC instances signals can be written consistently into the elastic store in the presence of a differential delay in line without exceeding the buffering time, the ILA state shall be entered. In this case, the differential delay can be compensated. In the ILA state, if the differential delay between two OTUC instances exceeds the maximum delay that can be compensated, the OLA state shall be entered.
-
-**OTUCn Recover:** The function shall recombine n OTUC instances into an OTUCn as described in clause 10.1.1 of [ITU-T G.709.1].
-
-![Figure 15-10 – FlexO-n/OTUCn_A_Sk processes. This block diagram illustrates the internal architecture of the FlexO-n/OTUCn_A_Sk processes. At the bottom, multiple FlexO_AP inputs (labeled FlexO_AP[1] to FlexO_AP[n]) are shown, each with signals AI_D, AI_CK, AI_FS, AI_MFS, AI_TSF, and AI_CRCerr. These inputs feed into 'Extract GID', 'Extract IID', and 'Extract MAP' blocks, which output AcGID, AcIID, and AcFMAP respectively, along with CRCerr. These signals then pass through a 'FlexO-n Reorder' block. Above this, 'Elastic store' blocks (WR and RD) are connected to 'Frame and multiframe alignment' blocks, which output dLOFLOM[1] to dLOFLOM[n]. A 'Clock generator' block receives CK[1] and provides WR and RD signals. The alignment blocks feed into 'OTUCn deskew' and 'OTUCn recover' blocks, which output CL_D, CL_CK, CL_FS, and CL_MFS. To the right, detection blocks for 'dGIDM detection', 'dFMM detection', and 'Defect correlations' receive various inputs (AI_TSF, AcGID, dLOFLOM, dLOL, dFMM, dGIDM) and output MI_ExGID, MI_ExFMAP, MI_cLOFLOM, MI_cLOL, MI_cFMM, MI_cGIDM, MI_AcGID, MI_AcIID, and MI_AcFMAP. A 'Consequent actions' block at the top right receives dGIDM, dFMM, dLOL, dLOFLOM, and AI_TSF, and outputs aSSF. The diagram is labeled G.798(17)-Amd.4(22)_F15-10 and has a vertical label FlexO-n/OTUCn_A_Sk_MP on the right.](7a24dd6d3d2059e1251e5cac12dabbd0_img.jpg)
-
-Figure 15-10 – FlexO-n/OTUCn\_A\_Sk processes. This block diagram illustrates the internal architecture of the FlexO-n/OTUCn\_A\_Sk processes. At the bottom, multiple FlexO\_AP inputs (labeled FlexO\_AP[1] to FlexO\_AP[n]) are shown, each with signals AI\_D, AI\_CK, AI\_FS, AI\_MFS, AI\_TSF, and AI\_CRCerr. These inputs feed into 'Extract GID', 'Extract IID', and 'Extract MAP' blocks, which output AcGID, AcIID, and AcFMAP respectively, along with CRCerr. These signals then pass through a 'FlexO-n Reorder' block. Above this, 'Elastic store' blocks (WR and RD) are connected to 'Frame and multiframe alignment' blocks, which output dLOFLOM[1] to dLOFLOM[n]. A 'Clock generator' block receives CK[1] and provides WR and RD signals. The alignment blocks feed into 'OTUCn deskew' and 'OTUCn recover' blocks, which output CL\_D, CL\_CK, CL\_FS, and CL\_MFS. To the right, detection blocks for 'dGIDM detection', 'dFMM detection', and 'Defect correlations' receive various inputs (AI\_TSF, AcGID, dLOFLOM, dLOL, dFMM, dGIDM) and output MI\_ExGID, MI\_ExFMAP, MI\_cLOFLOM, MI\_cLOL, MI\_cFMM, MI\_cGIDM, MI\_AcGID, MI\_AcIID, and MI\_AcFMAP. A 'Consequent actions' block at the top right receives dGIDM, dFMM, dLOL, dLOFLOM, and AI\_TSF, and outputs aSSF. The diagram is labeled G.798(17)-Amd.4(22)\_F15-10 and has a vertical label FlexO-n/OTUCn\_A\_Sk\_MP on the right.
-
-**Figure 15-10 – FlexO-n/OTUCn\_A\_Sk processes**
-
-### Defects
-
-The function shall detect dGIDM, dFMM, dLOL and dLOFLOM[i], where 'i' is 1..n.
-
-**dGIDM:** See clause B.1.1.2.1. dGIDM shall be set to false during $\sum AI\_TSF[i]$ .
-
-**dFMM:** See clause B.1.1.2.2. dFMM shall be set to false during $\sum AI\_TSF[i]$ .
-
-**dLOFLOM[i]:** See clause 6.2.5.3.
-
-**dLOL:** If the alignment process is in the OLA state, dLOL shall be set to true. dLOL shall be set to false when the alignment process is in the ILA state; dLOL shall be set to false during $\sum AI\_TSF[i]$ .
-
-**Consequent actions**
-
-aSSF $\leftarrow$ dGIDM or dFMM or dLOL or $\sum dLOFLOM[i]$ or $\sum AI\_TSF[i]$
-
-**Defect correlations**
-
-cGIDM $\leftarrow$ dGIDM
-
-cFMM $\leftarrow$ dFMM and (not dGIDM)
-
-cLOFLOM $\leftarrow \sum (dLOFLOM[i] \text{ and (not } AI\_TSF[i])) \text{ and (not dGIDM) and (not dFMM)}$
-
-cLOL $\leftarrow$ dLOL and (not dGIDM) and (not dFMM) and (not $\sum dLOFLOM[i]$ )
-
-**Performance monitoring:** None.
-
-**15.3.2 FlexO-x to FCC adaptation functions**
-
-The FlexO-x to FCC adaptation functions provide access to the FCC overhead in the FlexO interface for interface management.
-
-**15.3.2.1 FlexO-x to FCC adaptation source function (FlexO-x/FCC\_A\_So)**
-
-The FlexO-x/FCC\_A\_So function maps the FlexO-x interface management FCC data into the FlexO FCC overhead.
-
-The information flow and processing of the FlexO-x/FCC\_A\_So functions is defined with reference to Figures 15-11 and 15-12.
-
-**Symbol**
-
-
-
-```
-
-graph TD
- FCC_CP --> FlexO_x_FCC{{FlexO-x/FCC}}
- FlexO_x_FCC --> FlexO_x_AP
- style FCC_CP fill:none,stroke:none
- style FlexO_x_AP fill:none,stroke:none
-
-```
-
-G.798(17)-Amd.3(21)\_F15-11
-
-Flowchart showing the FlexO-x/FCC\_A\_So function. It starts with FCC\_CP at the top, pointing down to a trapezoidal block labeled 'FlexO-x/FCC', which then points down to FlexO-x\_AP at the bottom. Below the diagram is the text G.798(17)-Amd.3(21)\_F15-11.
-
-**Figure 15-11 – FlexO-x/FCC\_A\_So function**
-
-**Interfaces**
-
-**Table 15-5 – FlexO-x/FCC\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|
-| FCC_CP: FCC_CI_D FlexO-x_AP: FlexO-x FlexO-x_AI_FS FlexO-x_AI_MFS | FCC_CP: FCC_CI_CK FlexO-x_AP: FlexO-x_AI_D |
-
-**Processes**
-
-The processes associated with the FlexO-x/FCC\_A\_So function are as depicted in Figure 15-12.
-
-**FCC clock generation:** The function shall generate the FCC clock (CI\_CK) by dividing the FlexO-x clock (AI\_CK) by a factor of 14/82240.
-
-**Mapping:** The function shall map the incoming FCC data (CI\_D) into the FCC overhead of the FlexO frame #1 of the FlexO-x (AI\_D) as described in clause 9.2.8 of [ITU-T G.709.1]. The bit rate of the FCC data is defined by the outgoing FCC clock (CI\_CK).
-
-The insertion of the FlexO-x interface management data follows the transmission order of the FCC overhead bits and bytes.
-
-
-
-Figure 15-12: FlexO-x/FCC\_A\_So processes diagram. A grey box labeled 'FCC\_CP' contains two white boxes: 'Mapping' and 'FCC clock generation'. Inputs from the bottom are AI\_MFS, AI\_FS, AI\_D, and AI\_CK. AI\_D and AI\_CK enter the 'Mapping' and 'FCC clock generation' boxes respectively. CI\_D and CI\_CK exit the 'Mapping' and 'FCC clock generation' boxes respectively. The label 'FlexO\_AP' is positioned below the box.
-
-G.798(17)\_F15-12
-
-**Figure 15-12 – FlexO-x/FCC\_A\_So processes**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 15.3.2.2 FlexO-x to FCC adaptation sink function (FlexO-x/FCC\_A\_Sk)
-
-The FlexO-x/FCC\_A\_Sk extracts the FlexO-x interface management data from the FlexO FCC overhead.
-
-The information flow and processing of the FlexO-x/FCC\_A\_Sk functions is defined with reference to Figures 15-13 and 15-14.
-
-#### Symbol
-
-
-
-Figure 15-13: FlexO-x/FCC\_A\_Sk function symbol diagram. A trapezoidal symbol labeled 'FlexO-x/FCC' has an input arrow from the bottom labeled 'FlexO-x\_AP' and an output arrow pointing upwards labeled 'FCC\_CP'.
-
-G.798(17)-Amd.3(21)\_F15-13
-
-**Figure 15-13 – FlexO-x/FCC\_A\_Sk function**
-
-## Interfaces
-
-**Table 15-6 – FlexO-x/FCC\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------|-------------------------------------------------------|
-| FlexO-x_AP: FlexO-x_AI_CK FlexO-x_AI_D FlexO-x_AI_FS FlexO-x_AI_MFS FlexO-x_AI_TSF | FCC_CP: FCC_CI_CK FCC_CI_D FCC_CI_SSF |
-
-## Processes
-
-The processes associated with the FlexO-x/FCC\_A\_Sk function are as depicted in Figure 15-14.
-
-**FCC clock generation:** The function shall generate the FCC clock (CI\_CK) by dividing the FlexO-x clock (AI\_CK) by a factor of $x \times 14/82240$ .
-
-**Demapping:** The function shall extract the FCC data (CI\_D) from the FCC overhead of the FlexO frame #1 of the FlexO-x (AI\_D) as described in clause 9.2.8 of [ITU-T G.709.1]. The bit rate of the FCC data is defined by the outgoing FCC clock (CI\_CK).
-
-The extraction of the FlexO-x interface management data follows the transmission order of the FCC overhead bits and bytes.
-
-
-
-Figure 15-14 – FlexO-x/FCC\_A\_Sk processes diagram. The diagram shows a grey box labeled 'FCC\_CP' containing two sub-processes: 'Demapping' and 'FCC clock generation'. Inputs from 'FlexO-x\_AP' (AI\_MFS, AI\_FS, AI\_D, AI\_CK, AI\_TSF) enter from the bottom. AI\_D and AI\_FS enter the 'Demapping' block. AI\_CK enters the 'FCC clock generation' block. AI\_TSF enters a label 'aSSF'. Outputs CI\_D, CI\_CK, and CI\_SSF exit from the top. CI\_D is output from 'Demapping'. CI\_CK is output from 'FCC clock generation'. CI\_SSF is output from the 'aSSF' label. A small text 'G.798(17)-Amd.3(21)\_F15-14' is in the bottom right.
-
-**Figure 15-14 – FlexO-x/FCC\_A\_Sk processes**
-
-**Defects:** None.
-
-### Consequent actions
-
-The function shall perform the following consequent actions:
-
-$aSSF \leftarrow AI\_TSF$
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 15.3.3 FlexO to synchronization distribution adaptation functions
-
-FlexO to synchronization distribution (SD) adaptation functions are given in clause 8.12 of [ITU-T G.781].
-
-### 15.3.4 FlexO-*x* to FlexO adaptation function (FlexO-*x*/FlexO\_A)
-
-The FlexO-*x* to FlexO adaptation functions perform the adaptation between the FlexO-*x* layer adapted information and the characteristic information of the FlexO layer signals.
-
-#### 15.3.4.1 FlexO-*x* to FlexO adaptation source function (FlexO-*x*/FlexO\_A\_So)
-
-The FlexO-*x*/FlexO\_A\_So function interleaves *x* FlexO signals from the *x* × FlexO\_CPs into a FlexO-*x* signal. For the case that up to *x*-1 FlexO\_CPs are not connected and do not receive an input signal, the function replaces these FlexO\_CI by an all-0's unequipped FlexO signal.
-
-The information flow and processing of the FlexO-*x*/FlexO\_A\_So function is defined with reference to Figures 15-15 and 15-16.
-
-#### Symbol
-
-
-
-Diagram of the FlexO-x/FlexO\_A\_So function symbol. It shows x FlexO\_CP inputs (labeled 1, 2, ..., x) entering a trapezoidal block labeled 'FlexO-x/FlexO'. An arrow points from the block to an output labeled 'FlexO-x\_AP'. Below the output is the text 'G.798(17)-Amd.3(21)\_F15-15'.
-
-Figure 15-15 – FlexO-*x*/FlexO\_A\_So function
-
-#### Interfaces
-
-Table 15-9 – FlexO-*x*/FlexO\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|-----------------------------|--------------------------------------|
-| x × FlexO_CP: | FlexO-x_AP: |
-| FlexO_CI_CK | FlexO- x _AI_CK |
-| FlexO_CI_D | FlexO- x _AI_D[1.. x ] |
-| FlexO_CI_FS | FlexO- x _AI_FS |
-| FlexO_CI_MFS | FlexO- x _AI_MFS |
-
-#### Processes
-
-The processes associated with the FlexO-*x*/FlexO\_A\_So function are as depicted in Figure 15-16.
-
-The function shall forward the CI\_CK, CI\_FS, CI\_MFS from FlexO\_CP[1] and the CI\_D from FlexO\_CP[1] to FlexO\_CP[*x*] to the FlexO-*x*\_AP. For the case that one or more FlexO\_CPs are not connected, their FlexO\_CI\_D contains the all-0's pattern. Such all-0's pattern is referred to as unequipped FlexO pattern.
-
-NOTE – 10-bit frame and multi-frame synchronous interleaving of the *x* FlexO instances is performed in the OTSiG/FlexO-*x*\_A\_So function.
-
-![Figure 15-16: FlexO-x/FlexO_A_So processes diagram. It shows multiple FlexO_CP[j] blocks (1, 2, ..., x) at the top, each with four input signals: CI_MFS, CI_FS, CI_CK, and CI_D. Below these is a large grey box representing the FlexO-x_AP. Arrows point from the CI signals down into the FlexO-x_AP box. From the bottom of the box, arrows point up to output signals: AI_MFS, AI_FS, AI_CK, and AI_D[j] (for j=1, 2, ..., x). A note inside the box states: 'NOTE – CI_D[j] contains all-0s pattern if FlexO_CP[j] (j = 2..x) is not connected'. The diagram is labeled G.798(17)-Amd.3(21)_F15-16.](6347ebb7bc58aba4272fc340a410bd97_img.jpg)
-
-Figure 15-16: FlexO-x/FlexO\_A\_So processes diagram. It shows multiple FlexO\_CP[j] blocks (1, 2, ..., x) at the top, each with four input signals: CI\_MFS, CI\_FS, CI\_CK, and CI\_D. Below these is a large grey box representing the FlexO-x\_AP. Arrows point from the CI signals down into the FlexO-x\_AP box. From the bottom of the box, arrows point up to output signals: AI\_MFS, AI\_FS, AI\_CK, and AI\_D[j] (for j=1, 2, ..., x). A note inside the box states: 'NOTE – CI\_D[j] contains all-0s pattern if FlexO\_CP[j] (j = 2..x) is not connected'. The diagram is labeled G.798(17)-Amd.3(21)\_F15-16.
-
-Figure 15-16 – FlexO-x/FlexO\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-**15.3.4.2 FlexO-x to FlexO adaptation sink function (FlexO-x/FlexO\_A\_Sk)**
-
-The FlexO-x/FlexO\_A\_Sk function disinterleaves $x$ FlexO signals from the FlexO\_AP and present these at the $x$ FlexO\_CPs.
-
-The information flow and processing of the FlexO-x/FlexO\_A\_Sk function is defined with reference to Figures 15-17 and 15-18.
-
-**Symbol**
-
-
-
-Figure 15-17: FlexO-x/FlexO\_A\_Sk function symbol diagram. A trapezoidal block labeled 'FlexO-x/FlexO' has an input arrow from the bottom labeled 'FlexO-x\_AP'. It has an output arrow to the left labeled 'FlexO-x/FlexO\_A\_Sk\_MP'. At the top, there are multiple output arrows labeled 'FlexO\_CP' with subscripts 1, 2, ..., x.
-
-Figure 15-17 – FlexO-x/FlexO\_A\_Sk function
-
-**Interfaces**
-
-Table 15-10 – FlexO-x/FlexO\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------|----------------------------------------|
-| FlexO-x_AP: | FlexO_CP: |
-| FlexO-x_AI_CK | FlexO_CI_CK |
-| FlexO-x_AI_D[1..x] | FlexO_CI_D |
-| FlexO-x_AI_FS | FlexO_CI_FS |
-| FlexO-x_AI_MFS | FlexO_CI_MFS |
-| FlexO-x_AI_CRCerr[1..x] | FlexO_CI_CRCerr |
-| FlexO-x_AI_TSF | FlexO_CI_SSF |
-
-**Processes**
-
-The processes associated with the FlexO-x/FlexO\_A\_Sk function are as depicted in Figure 15-18.
-
-NOTE – 10-bit frame and multi-frame synchronous disinterleaving of the $x$ FlexO instances in the FlexO- $x$ is performed in the OTSiG/FlexO- $x$ A\_Sk function.
-
-![Diagram of FlexO-x/FlexO_A_Sk processes showing signal flow from AI_TSF and AI_D[x] inputs through a FlexO-x_AP block to multiple FlexO_CP[x] outputs. The diagram includes signal labels such as AI_MFS, AI_FS, AI_CK, AI_D[1], AI_D[2], AI_D[x], CI_D, CI_CK, CI_FS, CI_MFS, CI_CRCerr, and CI_SSF. A box labeled 'Consequent actions' is connected to the aSSF signal.](d23fe5b7e93dc24c2ffa70b743025c5b_img.jpg)
-
-The diagram illustrates the FlexO-x/FlexO\_A\_Sk processes. At the bottom, a large grey block labeled 'FlexO-x\_AP' receives several input signals: AI\_MFS, AI\_FS, AI\_CK, AI\_D[1], AI\_D[2], AI\_D[x], CI\_CRCerr[1], CI\_CRCerr[2], CI\_CRCerr[x], and AI\_TSF. Above this block, multiple output signal groups are shown, labeled FlexO\_CP[1], FlexO\_CP[2], ..., FlexO\_CP[x]. Each group contains the signals CI\_D, CI\_CK, CI\_FS, CI\_MFS, CI\_CRCerr, and CI\_SSF. Lines connect the inputs to the FlexO-x\_AP block and then to the corresponding outputs. A signal labeled 'aSSF' is shown on the right, entering a box labeled 'Consequent actions'.
-
-Diagram of FlexO-x/FlexO\_A\_Sk processes showing signal flow from AI\_TSF and AI\_D[x] inputs through a FlexO-x\_AP block to multiple FlexO\_CP[x] outputs. The diagram includes signal labels such as AI\_MFS, AI\_FS, AI\_CK, AI\_D[1], AI\_D[2], AI\_D[x], CI\_D, CI\_CK, CI\_FS, CI\_MFS, CI\_CRCerr, and CI\_SSF. A box labeled 'Consequent actions' is connected to the aSSF signal.
-
-G.798(17)-Amd.3(21)\_F15-18
-
-Figure 15-18 – FlexO- $x$ /FlexO A\_Sk processes
-
-### Consequent actions
-
-The function shall perform the following consequent actions:
-
-aSSF $\leftarrow$ AI\_TSF
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 15.3.5 FlexO- $n$ to OTUC $n_i$ adaptation function (FlexO- $n$ /OTUC $n_i$ A)
-
-The FlexO- $n$ to OTUC $n_i$ multiplexing adaptation functions perform the adaptation between the FlexO layer adapted information and the characteristic information of the OTUC $n_i$ layer signals.
-
-The set of $n$ FlexO instances may carry multiple OTUC $n_i$ ( $i = 1..N$ ) signals via GMP. In the most general case, the $n = n_1 + n_2 + \dots + n_N$ OTUC instances of the OTUC $n_i$ ( $i = 1..N$ ) are mapped to a FlexO- $x$ -- $m$ group of $m$ FlexO- $x$ - interfaces, each with a FlexO- $x$ - interface bandwidth of $\lceil n/m \rceil \times 100G$ .
-
-Tributary ports are dynamically created and deleted under the control of management. Each tributary port is associated with one OTUC $n_i$ connection point on one hand, and $n_i$ FlexO instances on the other hand. The multiplex structure identifier (MSI) carries the configuration of tributary ports to FlexO instances.
-
-#### 15.3.5.1 FlexO- $n$ to OTUC $n_i$ adaptation source function (FlexO- $n$ /OTUC $n_i$ A\_So)
-
-The FlexO- $n$ /OTUC $n_i$ A\_So function creates the $n$ FlexO signals from a free-running clock or an external synchronization clock. It asynchronously maps the up to $n$ OTUC client signals from the $N \times$ OTUC $n_i$ CPs into $n$ FlexO instances including justification control (JC) information. It adds FlexO payload and group management overhead.
-
-The information flow and processing of the FlexO- $n$ /OTUC $n_i$ A\_So function is defined with reference to Figures 15-19 and 15-20.
-
-## Symbol
-
-![Figure 15-19 – FlexO-n/OTUCn_i_A_So function symbol. The diagram shows a trapezoidal block labeled 'FlexO-n/OTUCn_i'. Inputs from the top are 'OTUCn_i_CP's (labeled 1, 2, 3, ..., N). Inputs from the left are 'FlexO-n/OTUCn_i_A_So_MP'. Input from the right is 'FlexO_TP'. Outputs from the bottom are 'FlexO_AP[1]' and 'FlexO_AP[n]', with a dashed oval indicating multiple outputs. A small text 'G.798(17)-Amd.3(21)_F15-19' is at the bottom right.](ea72687397bac53eb690650f371bfd63_img.jpg)
-
-Figure 15-19 – FlexO-n/OTUCn\_i\_A\_So function symbol. The diagram shows a trapezoidal block labeled 'FlexO-n/OTUCn\_i'. Inputs from the top are 'OTUCn\_i\_CP's (labeled 1, 2, 3, ..., N). Inputs from the left are 'FlexO-n/OTUCn\_i\_A\_So\_MP'. Input from the right is 'FlexO\_TP'. Outputs from the bottom are 'FlexO\_AP[1]' and 'FlexO\_AP[n]', with a dashed oval indicating multiple outputs. A small text 'G.798(17)-Amd.3(21)\_F15-19' is at the bottom right.
-
-Figure 15-19 – FlexO-n/OTUCni\_A\_So function
-
-## Interfaces
-
-Table 15-11 – FlexO-n/OTUCni\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
-| N × OTUCn_CP: OTUCn_CI_CK OTUCn_CI_D OTUCn_CI_FS OTUCn_CI_MFS FlexO_TP: FlexO_TI_CK FlexO-n/OTUCni_A_So_MP: FlexO-n/OTUCn i _A_So_MI_TxMSI[1..n] FlexO-n/OTUCn i _A_So_MI_TxGID FlexO-n/OTUCn i _A_So_MI_TxIID[1..n] FlexO-n/OTUCn i _A_So_MI_TxFMAP | n × FlexO_AP: FlexO_AI_D FlexO_AI_CK FlexO_AI_FS FlexO_AI_MFS |
-
-## Processes
-
-The processes associated with the FlexO-n/OTUCni\_A\_So function are specific processes for each OTUCni\_CP, common processes and specific processes for each OTUC instance of each OTUCni and each FlexO instance of the n FlexO as depicted in Figure 15-20.
-
-### OTUCni specific processes
-
-The specific processes are performed independently for each OTUCni client signal that is multiplexed into the FlexO group. The specific processes perform the mapping of the OTUCni into a group of ni FlexO instances.
-
-**OTUCni FAS/MFAS insertion:** The function shall insert the FAS and MFAS into the OTUCni OH area as described in clause 11.3 of [ITU-T G.709].
-
-**OTUCni distribution:** The function shall divide OTUCni into ni OTUC instance signals as described in clause 10.1.1 of [ITU-T G.709.1].
-
-### Common processes
-
-**Clock generation:** The function shall generate a local FlexO clock (FlexO\_AI\_CK) of $4112/4097 \times 239/226 \times 99\,532\,800$ kbit/s $\pm 20$ ppm from the synchronization timing information clock input (TI\_CK) or, if the TI\_CK is absent, a free-running oscillator. The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock), apply.
-
-**FS and MFS generator:** The function shall generate the (multi)frame start reference signals AI\_FS and AI\_MFS for the FlexO signal. The AI\_FS signal shall be active once per 657 920 clock cycles. AI\_MFS shall be active once every 8 frames.
-
-**OTUCn to FlexO distribution:** The function assigns each OTUCn to $n_i$ specific FlexO instances of the FlexO group as defined by the multiplex structure (see Annex F of [ITU-T G.709.3]) under control of TxMSI[1..n]. The $n_i$ OTUC instances of an OTUCn are allocated to the assigned $n_i$ FlexO instances in sequential order.
-
-#### **OTUC and FlexO specific processes**
-
-**Mapping, frequency justification and bit-rate adaptation:** The function shall provide an elastic store (buffer) process for the OTUC client signal. The data signal OTUC\_CI shall be written into the buffer under the control of the associated input clock.
-
-Justification method GMP, as described below, is provided. The OTUC rate determines the base value and ranges for the parameters $C_n$ and $C_m$ .
-
-*FlexO payload:* The OTUC data shall be read out of the buffer and written onto groups of 256 successive bits of the FlexO 4-frame multi-frame payload area under the control of the FlexO clock and the GMP data/stuff control mechanism as defined in clause F.4 of [ITU-T G.709.3]. The 256-bit word alignment of the OTUC is preserved through the mapping procedure; i.e., the position of the first 256-bits of the OTUC is always located after an integer number of 256-bit words from the start of the FlexO 4-frame multi-frame payload structure.
-
-NOTE – In order to minimize implementation complexity and avoid the skew introduction between $n$ OTUC instance signals, $n_i$ lanes of mapping may use one unified mapping control mechanism to complete all the mapping processes and keep actions consistent between them.
-
-*Buffer size:* In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the range specified in Table 8-1 of [ITU-T G.709.1], this mapping process shall not introduce any errors. The maximum buffer hysteresis, and therefore the maximum phase error introduced, is for further study.
-
-**All-0's OH insertion:** The function shall insert all-ZEROs into all the FlexO AM, EOH and BOH bit locations.
-
-**FlexO OH Insertion:** The function shall insert the overhead information of FlexO group signal in the corresponding overhead area (GID, IID, MAP) as defined in clause 9.2 of [ITU-T G.709.1].
-
-**FlexO JC1/JC2/JC3, JC4/JC5/JC6:** The function shall generate the GMP $C_m$ and GMP $\sum C_{nD}$ information and insert this into the JC1/JC2/JC3 and JC4/JC5/JC6 bytes, respectively, according to the specification in clause F. and Annex D of [ITU-T G.709].
-
-**FlexO MSI:** The function shall insert the TxMSI[p] into the MSI overhead byte as defined in clause F.3.1 of [ITU-T G.709.3]. The TxMSI[p] value, and as such the multiplex structure, is configurable via MI\_TxMSI[1..n].
-
-**FlexO PT:** The function shall insert code "0000 0010" (GMP based OTUC mapping for OTUCn multiplexing) into the PT overhead byte as defined in clause 9.2.6.2 of [ITU-T G.709.1].
-
-**FlexO GID:** The FlexO group identifier is inserted in the GID field. Its value is derived from reference point FlexO\_TT\_So\_MP. The GID format is described in clause 9.2.2.1 of [ITU-T G.709.1].
-
-**FlexO IID:** The function shall insert the TxIID[p] into the IID overhead byte as defined in clause 9.2.2.2 of [ITU-T G.709.1]. The TxIID[p] value is configurable via MI\_TxIID[1..n].
-
-**FlexO MAP:** The FlexO instance map is inserted in the FlexO MAP field. Its value is derived from reference point FlexO\_TT\_So\_MP. The FlexO MAP format is described in clause 9.2.2.3 of [ITU-T G.709.1].
-
-![Figure 15-20 – FlexO-n/OTUCn_i_A_So processes. This block diagram illustrates the transmission (So) process for FlexO-n signals. At the top, multiple OTUCn inputs (OTUCn_CP[1] to OTUCn_CP[N]) are processed through FAS/MFAS insertion, resulting in OTUCn #1 distribution and OTUCn #N distribution. These are then mapped to a common FlexO distribution bus. A free-running clock generator provides a base clock (TI_CK) which is divided by 657920 and then by 8 to generate the Master FlexO Clock (MFS). The FlexO distribution bus carries signals for OTUC #1.1 to OTUC #N.n_N. Each OTUC signal is processed through an Elastic store (with Write Read pointers) and a Justification control and JC generation block. This is followed by the insertion of overhead bits (all-0's in AM, EOH, BOH) and specific overhead fields: MSI, PT, IID, GIP, MAP, and RES. The final output for each OTUC signal is a FlexO_AP signal, which includes data (D), clock (CK), frame sync (FS), and master flexo clock (MFS) components. The diagram also shows various management interface signals (MI_TxMSI, MI_TxIID, MI_TxGID, MI_TxFMAP) and timing signals (AI_D, AI_CK, AI_FS, AI_MFS).](1b683c1801ad8e24cf113cede25b36f0_img.jpg)
-
-Figure 15-20 – FlexO-n/OTUCn\_i\_A\_So processes. This block diagram illustrates the transmission (So) process for FlexO-n signals. At the top, multiple OTUCn inputs (OTUCn\_CP[1] to OTUCn\_CP[N]) are processed through FAS/MFAS insertion, resulting in OTUCn #1 distribution and OTUCn #N distribution. These are then mapped to a common FlexO distribution bus. A free-running clock generator provides a base clock (TI\_CK) which is divided by 657920 and then by 8 to generate the Master FlexO Clock (MFS). The FlexO distribution bus carries signals for OTUC #1.1 to OTUC #N.n\_N. Each OTUC signal is processed through an Elastic store (with Write Read pointers) and a Justification control and JC generation block. This is followed by the insertion of overhead bits (all-0's in AM, EOH, BOH) and specific overhead fields: MSI, PT, IID, GIP, MAP, and RES. The final output for each OTUC signal is a FlexO\_AP signal, which includes data (D), clock (CK), frame sync (FS), and master flexo clock (MFS) components. The diagram also shows various management interface signals (MI\_TxMSI, MI\_TxIID, MI\_TxGID, MI\_TxFMAP) and timing signals (AI\_D, AI\_CK, AI\_FS, AI\_MFS).
-
-Figure 15-20 – FlexO-n/OTUCn\_i\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 15.3.5.2 FlexO-n to OTUCn\_i adaptation sink function (FlexO-n/OTUCn\_i\_A\_Sk)
-
-The FlexO-n/OTUCn\_i\_A\_Sk function extracts the FlexO group management and payload overhead and monitors the reception of the correct payload type. It recovers the up to $n \times$ OTUC signals from
-
-the N OTUCn using the justification control information (JC, JC1/2/3/4/5/6 overhead). It performs frame and multi-frame alignment of the OTUC.
-
-The information flow and processing of the FlexO-n/OTUCn\_A\_Sk function is defined with reference to Figures 15-21, 15-22 and 15-23.
-
-### Symbol
-
-![Figure 15-21 – FlexO-n/OTUCn_i_A_Sk function symbol diagram. The diagram shows a trapezoidal block labeled 'FlexO-n/OTUCn_i'. On the left, an arrow labeled 'FlexO-n/OTUCn_i_A_Sk_MP' points into the block. On the right, an arrow labeled 'OTUCn_i_CPs' points out of the block, with sub-indices 1, 2, 3, and N. Below the block, two dashed arrows represent input and output vectors: 'FlexO_AP[1]' pointing into the block and 'FlexO_AP[n]' pointing out of the block. A small note 'G.798(17)-Amd.3(21)_F15-21' is at the bottom right.](a70d42d1621bc4d20c0f9d2e396222c1_img.jpg)
-
-Figure 15-21 – FlexO-n/OTUCn\_i\_A\_Sk function symbol diagram. The diagram shows a trapezoidal block labeled 'FlexO-n/OTUCn\_i'. On the left, an arrow labeled 'FlexO-n/OTUCn\_i\_A\_Sk\_MP' points into the block. On the right, an arrow labeled 'OTUCn\_i\_CPs' points out of the block, with sub-indices 1, 2, 3, and N. Below the block, two dashed arrows represent input and output vectors: 'FlexO\_AP[1]' pointing into the block and 'FlexO\_AP[n]' pointing out of the block. A small note 'G.798(17)-Amd.3(21)\_F15-21' is at the bottom right.
-
-Figure 15-21 – FlexO-n/OTUCn\_A\_Sk function
-
-### Interfaces
-
-Table 15-12 – FlexO-n/OTUCn\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| n × FlexO_AP: FlexO_AI_D FlexO_AI_CK (Note) FlexO_AI_FS FlexO_AI_MFS FlexO_AI_CRCerr FlexO_AI_TSF FlexO-n/OTUCn_A_Sk_MP: FlexO-n/OTUC n _A_Sk_MI_ExGID FlexO-n/OTUC n _A_Sk_MI_ExFMAP FlexO-n/OTUC n _A_Sk_MI_ExMSI[1..n] | N × OTUCn_CP: OTUC n _CI_CK OTUC n _CI_D OTUC n _CI_FS OTUC n _CI_MFS OTUC n _CI_SSF FlexO-n/OTUCn_A_Sk_MP: FlexO-n/OTUC n _A_Sk_MI_AcGID[1..n] FlexO-n/OTUC n _A_Sk_MI_AcFMAP[1..n] FlexO-n/OTUC n _A_Sk_MI_AcIID[1..n] FlexO-n/OTUC n _A_Sk_MI_AcPT[1..n] FlexO-n/OTUC n _A_Sk_MI_AcMSI[1..n] FlexO-n/OTUC n _A_Sk_MI_cGIDM FlexO-n/OTUC n _A_Sk_MI_cFMM FlexO-n/OTUC n _A_Sk_MI_cPLM FlexO-n/OTUC n _A_Sk_MI_cMSIM[1..N] FlexO-n/OTUC n _A_Sk_MI_cLOFLOM[1..N] FlexO-n/OTUC n _A_Sk_MI_cLOL[1..N] |
-| NOTE – The function only needs one FlexO_AI_CK, e.g., FlexO_AI_CK[1]. | |
-
-### Processes
-
-The processes associated with the FlexO-n/OTUCn\_A\_Sk function are specific processes for each FlexO instance of the n FlexO, common processes, specific processes for each OTUC instance of each OTUCn and specific processes for each OTUCn\_CP as depicted in Figures 15-22 and 15-23.
-
-### FlexO specific processes
-
-**FlexO OH Extraction:** The function shall extract the overhead of FlexO group interface (GID, IID and MAP) from each FlexO frame as defined in clause 9.2 of [ITU-T G.709.1].
-
-**FlexO GID:** The GID fields shall be extracted from the FlexO overhead and processed as specified in clause B.2.2.1. The accepted GID values are available at the MP (MI\_AcGID[i]) and are used for dGIDM defect detection.
-
-NOTE – A GID field carrying an all-0's value indicates the presence of an unequipped FlexO instance. Such unequipped FlexO instance represents a FlexO-x configuration mistake.
-
-**FlexO IID:** The IID fields shall be extracted from the FlexO overhead and processed as specified in clause B.2.2.1. The accepted IID values are available at the MP (MI\_AcIID[i]) and are used for dFMM defect detection.
-
-**FlexO MAP:** The FlexO MAP fields shall be extracted from the FlexO overhead and processed as specified in clause B.2.2.3.1. The accepted MAP values are available at the MP (MI\_AcFMAP[i]) and are used for dFMM defect detection.
-
-**PT:** The function shall extract the PT byte from the PT overhead as defined in clause 8.7.1.2. The accepted PT value is available at the MP (MI\_AcPT) and is used for PLM defect detection. The PLM detection shall be based on the comparison of the accepted PT with the value 0x02.
-
-**MSI:** The function shall extract the MSI byte from the MSI overhead as defined in clause 8.7.2.4. The accepted MSI (AcMSI[1..n]) is available at the MP (MI\_AcMSI[1..n]). The multiplex structure is defined by ExMSI[1..n], which is configurable via MI\_ExMSI[1..n].
-
-#### **Common processes**
-
-**FlexO-n Reorder:** The function shall reorder n FlexO instances based on IID as described in clauses 9.2.3 and 10.3 of [ITU-T G.709.1].
-
-**FlexO to OTUCn distribution:** The function assigns the individual FlexO instances to specific OTUCn instances as defined by the multiplex structure (see Annex F of [ITU-T G.709.3]) under control of MI\_ExMSI[1..n].
-
-![Figure 15-22 – FlexO-n/OTUCn_i_A_Sk processes. This block diagram illustrates the internal architecture of FlexO-n/OTUCn_i_A_Sk processes. At the top, multiple OTUCn specific processes (labeled #1 to #N) are shown, each receiving inputs from FlexO-n to OTUCn distribution blocks and outputting to ODUCn_CP [1] and ODUCn_CP [N] via CI_D, CI_CK, CI_FS, CI_MFS, and CI_SSF signals. Each OTUCn process contains internal blocks for AI_TSF, dFMM, dGIDM, dPLM, dMSIM, MI_cMSIM, MI_cLOL, and MI_cLOFLOM. Below the OTUCn processes, FlexO-n Reorder blocks are shown, which receive inputs from FlexO_AP blocks (containing AI_D, AI_CK, AI_FS, AI_MFS, AI_TFS, and AI_CRCerr) and output to Extract MSI, Extract PT, Extract GID, Extract IID, and Extract MAP blocks. These extraction blocks output to AcMSI, AcPT, AcGID, AcIID, and AcFMAP signals, which are then processed by detection blocks (dMSIM, dPLM, dGIDM, dFMM) to produce MI_ExMSI, MI_ExGID, and MI_ExFMAP signals. A central 'Defect correlations' block receives inputs from AI_TSF, dFMM, dGIDM, dPLM, dMSIM, dLOL, and dLOFLOM across all OTUCn processes and outputs to MI_cFMM, MI_cGIDM, MI_cPLM, MI_cMSIM, MI_cLOL, and MI_cLOFLOM signals. A vertical label on the right side reads 'FlexO-n/OTUCn_A_Sk_MP'.](601a4295d83c115fcd66101f49de0c4e_img.jpg)
-
-Figure 15-22 – FlexO-n/OTUCn\_i\_A\_Sk processes. This block diagram illustrates the internal architecture of FlexO-n/OTUCn\_i\_A\_Sk processes. At the top, multiple OTUCn specific processes (labeled #1 to #N) are shown, each receiving inputs from FlexO-n to OTUCn distribution blocks and outputting to ODUCn\_CP [1] and ODUCn\_CP [N] via CI\_D, CI\_CK, CI\_FS, CI\_MFS, and CI\_SSF signals. Each OTUCn process contains internal blocks for AI\_TSF, dFMM, dGIDM, dPLM, dMSIM, MI\_cMSIM, MI\_cLOL, and MI\_cLOFLOM. Below the OTUCn processes, FlexO-n Reorder blocks are shown, which receive inputs from FlexO\_AP blocks (containing AI\_D, AI\_CK, AI\_FS, AI\_MFS, AI\_TFS, and AI\_CRCerr) and output to Extract MSI, Extract PT, Extract GID, Extract IID, and Extract MAP blocks. These extraction blocks output to AcMSI, AcPT, AcGID, AcIID, and AcFMAP signals, which are then processed by detection blocks (dMSIM, dPLM, dGIDM, dFMM) to produce MI\_ExMSI, MI\_ExGID, and MI\_ExFMAP signals. A central 'Defect correlations' block receives inputs from AI\_TSF, dFMM, dGIDM, dPLM, dMSIM, dLOL, and dLOFLOM across all OTUCn processes and outputs to MI\_cFMM, MI\_cGIDM, MI\_cPLM, MI\_cMSIM, MI\_cLOL, and MI\_cLOFLOM signals. A vertical label on the right side reads 'FlexO-n/OTUCn\_A\_Sk\_MP'.
-
-**Figure 15-22 – FlexO-n/OTUCni\_A\_Sk processes**
-
-### OTUC specific processes
-
-**Demapping:** The function shall demap the OTUC instance signal from FlexO frame as described in clause F of [ITU-T G.709.3].
-
-Justification method GMP as described below is provided. The OTUC rate determines the base value and ranges for the parameters $C_{n}$ and $C_{m}$ .
-
-**FlexO JC1/2/3 and JC4/5/6:** The function shall interpret the GMP overhead information in the JC1/2/3 and JC4/5/6 bytes as defined in clause F of [ITU-T G.709.3] in order to determine the number of 256-bit OTUC entities in the next FlexO 4-frame multi-frame.
-
-**Demapping, CBR clock generation:** The function shall provide an elastic store (buffer) process.
-
-*FlexO:* The OTUC data shall be extracted from the groups of 256 successive bits of the FlexO payload area under the control of the GMP data/stuff control mechanism as defined in clause F.4 of [ITU-T G.709.3] and be written into the buffer. The $C_n$ information associated with the OTUC is computed from the GMP $C_m$ and $\sum C_{nD}$ parameters carried within the JC1/2/3 and JC 4/5/6 overhead of the FlexO 4-frame multi-frame as specified in clause F.3.2 of [ITU-T G.709.3]. For the GMP data/stuff control mechanism, refer to Annex D of [ITU-T G.709].
-
-The OTUC data (CI\_D) shall be read out of the buffer under the control of the OTUC clock (CI\_CK).
-
-*Smoothing and jitter limiting process:* The function shall provide for a clock smoothing and elastic store (buffer) process. The OTUC data signal shall be written into the buffer under the control of the associated (gapped) FlexO payload input clock (with a frequency accuracy within $\pm 20$ ppm). The data signal shall be read out of the buffer under the control of a smoothed (equally spaced) OTUC clock (the rate is determined by the OTUC signal at the input of the remote FlexO-nP/OTUCni\_A\_So).
-
-The clock parameters, including jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCp clock), apply.
-
-*Buffer size:* In the presence of jitter as specified by [ITU-T G.8251] and a frequency within the tolerance range specified for the OTUC signal in Table 7-1 of [ITU-T G.709], this justification process shall not introduce any errors.
-
-Following a step in frequency of the OTUC signal transported (for example, due to reception of OTUCni\_CI from a new OTUCni\_TT\_So at the far end or removal of an OTUCni-AIS or ODUCni-AIS signal with a frequency offset), there will be a maximum recovery time of X seconds after which this process shall not generate any bit errors. The value of X is for further study; a value of one second has been proposed.
-
-#### **OTUCni specific processes**
-
-**OTUCni Frame and multi-frame alignment:** The function shall recover the OTUC instance frame start and multi-frame start as described in clause 8.2.3.
-
-**OTUCni Deskew:** The function shall compensate the skew between ni OTUC instances based on OTUC instance frame start indication (alignment markers) as described in clause 10.1.4 of [ITU-T G.709.1]. The alignment process shall establish the delay compensation, compensating the differential delay between the OTUC instance signals as given in clause 10.1.4 of [ITU-T G.709.1]. The compensation between the OTUC instances is achieved by an elastic store per OTUC instance. Each OTUC instance signal shall be written into an elastic store with the OTUC frame start indication. Each elastic store shall be capable of compensating at least 300 ns of absolute differential delay between the OTUC instances for FlexO short reach applications and at least 1 $\mu$ s of absolute differential delay between the OTUC instances for FlexO long reach applications. The process has two states, out-of-alignment (OOA) and in-alignment (IA). The alignment start shall be maintained during the OOA state. In the OOA state, if the bytes of the OTUC instances signals can be written consistently into the elastic store in the presence of a differential delay in line without exceeding the buffering time, the IA state shall be entered. In this case, the differential delay can be compensated. In the IA state, if the differential delay between two OTUC instances exceeds the maximum delay that can be compensated, the OOA state shall be entered.
-
-**OTUCni Recover:** The function shall recombine ni OTUC instances into an OTUCni as described in clause F.1 of [ITU-T G.709.3].
-
-![Figure 15-23 – FlexO-n/OTUCn_i_A_Sk client specific processes. This block diagram illustrates the internal architecture of a FlexO-n/OTUCn_i_A_Sk client. At the bottom, multiple tributary ports (i=1..N) provide data (D[i, n_j]), clock (CK[i, n_j]), and frame synchronization (FS[i, n_j]) signals. Each port has an 'Extract JC' block feeding into a 'Justification control'. These controls manage 'Elastic store' units (WR/Read, RD/Write) which output data (D[i, n_j]), clock (CK[i, n_j]), and frame synchronization (FS[i, n_j]) signals. A 'Clock generator (ODCp)' receives clock signals (CK[i, 1]) and provides write (WR) and read (RD) signals to the elastic stores. Above the elastic stores, 'OTUC frame and multiframe alignment' blocks process the data to produce 'dLOFLOM[i, 1]' and 'dLOFLOM[i, n_j]' signals. These are followed by 'OTUCn_i deskew' and 'OTUCn_i recover' blocks, which output 'MFS', 'FS', 'CK', and 'D' signals. A 'Select normal/AIS' block contains 'Normal' and 'AIS' sub-blocks, receiving 'aAIS' and 'aSSF' signals from 'Consequent actions'. The 'Consequent actions' block also receives 'AI_TSF[i, 1..n_j]' and various defect signals: 'dFMM', 'dGIDM', 'dPLM', 'dMSIM[i]', 'dLOL[i]', and 'dLOFLOM[i, 1..n_j]'. The 'Select normal/AIS' block outputs 'CI_MFS', 'CI_FS', 'CI_CK', and 'CI_D' signals. Finally, an 'OTUCn_CP[i]' block at the top outputs 'CI_SSF'.](600c8f9d34f98c395e29c266aebfbd8e_img.jpg)
-
-Figure 15-23 – FlexO-n/OTUCn\_i\_A\_Sk client specific processes. This block diagram illustrates the internal architecture of a FlexO-n/OTUCn\_i\_A\_Sk client. At the bottom, multiple tributary ports (i=1..N) provide data (D[i, n\_j]), clock (CK[i, n\_j]), and frame synchronization (FS[i, n\_j]) signals. Each port has an 'Extract JC' block feeding into a 'Justification control'. These controls manage 'Elastic store' units (WR/Read, RD/Write) which output data (D[i, n\_j]), clock (CK[i, n\_j]), and frame synchronization (FS[i, n\_j]) signals. A 'Clock generator (ODCp)' receives clock signals (CK[i, 1]) and provides write (WR) and read (RD) signals to the elastic stores. Above the elastic stores, 'OTUC frame and multiframe alignment' blocks process the data to produce 'dLOFLOM[i, 1]' and 'dLOFLOM[i, n\_j]' signals. These are followed by 'OTUCn\_i deskew' and 'OTUCn\_i recover' blocks, which output 'MFS', 'FS', 'CK', and 'D' signals. A 'Select normal/AIS' block contains 'Normal' and 'AIS' sub-blocks, receiving 'aAIS' and 'aSSF' signals from 'Consequent actions'. The 'Consequent actions' block also receives 'AI\_TSF[i, 1..n\_j]' and various defect signals: 'dFMM', 'dGIDM', 'dPLM', 'dMSIM[i]', 'dLOL[i]', and 'dLOFLOM[i, 1..n\_j]'. The 'Select normal/AIS' block outputs 'CI\_MFS', 'CI\_FS', 'CI\_CK', and 'CI\_D' signals. Finally, an 'OTUCn\_CP[i]' block at the top outputs 'CI\_SSF'.
-
-G.798(17)-Amd.3(21)\_F15-23
-
-**Figure 15-23 – FlexO-n/OTUCni\_A\_Sk client specific processes**
-
-## Defects
-
-The function shall detect dGIDM, dFMM, dPLM, dMSIM[i], dLOFLOM[i,j] and dLOL[i] where 'i' is 1..N, j = 1..ni, and ji = 1..ni.
-
-**dGIDM:** See clause B.1.1.2.1. dGIDM shall be set to false during $\sum AI\_TSF[j]$ .
-
-**dFMM:** See clause B.1.1.2.2. dFMM shall be set to false during $\sum AI\_TSF[j]$ .
-
-**dPLM:** See clause 6.2.4.2. The expected payload type is "0000 0010". dPLM shall be set to false during $\sum AI\_TSF[j]$ .
-
-Per OTUCni tributary port #i (i = 1..N):
-
-**dMSIM[i]:** See clause 6.2.9.2. dMSIM is detected per active OTUCni.
-
-**dLOL[i]**: If the alignment process is in the OLA state, dLOL[i] shall be set to true. dLOL[i] shall be set to false when the alignment process is in the ILA state; dLOL[i] shall be set to false during $\sum_{AI\_TSF}[i, 1..n_i]$ .
-
-Per OTUC instance #(i,ji) (i = 1 .. N, ji = 1..ni):
-
-**dLOFLOM[i,ji]**: See clause 6.2.5.3.
-
-### Consequent actions
-
-Per OTUCn tributary port #i (i = 1..N):
-
-$$aSSF[i] \leftarrow dGIDM \text{ or } dFMM \text{ or } dPLM \text{ or } dLOL[i] \text{ or } \sum_j dLOFLOM[i,j] \text{ or } dMSIM[i] \text{ or } \sum_{AI\_TSF}[j]$$
-
-$$aAIS[i] \leftarrow dGIDM \text{ or } dFMM \text{ or } dPLM \text{ or } dLOL[i] \text{ or } \sum_j dLOFLOM[i,j] \text{ or } dMSIM[i] \text{ or } \sum_{AI\_TSF}[j]$$
-
-On declaration of aAIS[i], the function shall output an all-ONES pattern/signal within two frames on the OTUCn\_CP[i]. On clearing aAIS[i], the all-ONES pattern/signal shall be removed within two frames, with normal data being output. The AIS clock, frame start and multi-frame start shall be independent from the incoming clock, frame start and multi-frame start. The clock has to be within the OTUCn frequency tolerance range as specified in Table 7-1 of [ITU-T G.709]. Jitter and wander requirements, as defined in Annex A of [ITU-T G.8251] (ODCa clock) apply.
-
-### Defect correlations
-
-$$cGIDM \leftarrow dGIDM$$
-
-$$cFMM \leftarrow dFMM \text{ and (not } dGIDM)$$
-
-$$cPLM \leftarrow dPLM \text{ and (not } dGIDM) \text{ and (not } dFMM)$$
-
-Per OTUCn tributary port #i (i = 1..N, ji = 1..ni):
-
-$$cMSIM[i] \leftarrow dMSIM[i] \text{ and (not } dGIDM) \text{ and (not } dFMM) \text{ and (not } dPLM)$$
-
-$$cLOFLOM[i] \leftarrow \sum_j (dLOFLOM[i,j] \text{ and (not } AI\_TSF[j])) \text{ and (not } dGIDM) \text{ and (not } dFMM)$$
-
-$$cLOL[i] \leftarrow dLOL[i] \text{ and (not } dGIDM) \text{ and (not } dFMM) \text{ and (not } dPLM) \text{ and (not } \sum_j dLOFLOM[i,j])$$
-
-**Performance monitoring:** None.
-
-## 15.4 Compound functions
-
-### 15.4.1 FlexO-x compound trail termination function (FlexO-x\_CTT)
-
-The FlexO-x compound trail termination function (FlexO-x\_CTT) contains one FlexO-x\_TT function, one FlexO-x/FlexO\_A function and 1 to x FlexO\_TT functions.
-
-NOTE – This FlexO-x\_CTT function is typically deployed on FlexO-x-RS interfaces. This FlexO-x\_CTT function may also be deployed on other FlexO-x- interfaces.
-
-Figure 15-24 shows the combination of the unidirectional sink and source functions to form a bidirectional function.
-
-
-
-Figure 15-24: FlexO-x\_CTT diagram showing two FlexO-x blocks. The left block has inputs FlexO-x\_APs (1, 2, ..., x) and FlexO-x\_TCP at the bottom. The right block has outputs FlexO-x\_APs (1, 2, ..., x) and FlexO-x\_TCP at the bottom. A horizontal arrow labeled FlexO-x\_RP points from the right block to the left block. A small note G.798(17)-Amd.3(21)\_F15-24 is at the bottom right.
-
-Figure 15-24 – FlexO-*x* \_CTT
-
-**15.4.1.1 FlexO-*x* compound trail termination source function (FlexO-*x* \_CTT\_So)**
-
-The FlexO-*x* \_CTT\_So function interleaves *x* FlexO signals from the *x* × FlexO\_APs into a FlexO-*x* signal adding FlexO-*x* section monitoring overhead – including the RPF signal – in the STAT overhead field. For the case that up to *x*-1 FlexO\_APs are not connected and do not receive an input signal, the function replaces these FlexO\_AI by an all-0's unequipped FlexO signal.
-
-The information flow and processing of the FlexO-*x* \_CTT\_So function is defined with reference to Figures 15-25 and 15-26.
-
-**Symbol**
-
-
-
-Figure 15-25: FlexO-x\_TT\_So function symbol. A FlexO-x block has inputs FlexO\_APs (1, 2, ..., x) at the top and FlexO-x\_RP from the right. It has an output FlexO-x\_TCP at the bottom. A small note G.798(17)-Amd.3(21)\_F15-25 is at the bottom right.
-
-Figure 15-25 – FlexO-*x* \_TT\_So function
-
-**Interfaces**
-
-Table 15-13 – FlexO-*x* \_CTT\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|
-| 1 to x × FlexO_AP: FlexO- x _AI_CK FlexO- x _AI_D[1.. x ] FlexO- x _AI_FS FlexO- x _AI_MFS FlexO-x _RP: FlexO- x _RI_RPF | FlexO-x _TCP: FlexO- x _CI_CK FlexO- x _CI_D[1.. x ] FlexO- x _CI_FS FlexO- x _CI_MFS |
-
-**Atomic functions**
-
-The atomic functions associated with the FlexO-*x* \_CTT\_So function and the inputs and outputs are as depicted in Figure 15-26.
-
-**FlexO\_TT\_So:** 1 to $x$ instances of this atomic function are present. Typically, the first $m-1$ FlexO- $x$ \_CTT\_So functions that support the FlexO- $x$ -- $m$ interface group contain $x$ instances of this atomic function and the last FlexO- $x$ \_CTT\_So function contains $n - x \times m$ instances, with $n$ determined by the FlexO- $n$ /\_A\_So function.
-
-**FlexO- $x$ /FlexO\_A\_So:** 1 instance of this atomic function is present.
-
-**FlexO- $x$ \_TT\_So:** 1 instance of this atomic function is present.
-
-**FlexO\_AP:** 1 to $x$ instances of this reference point are present. Typically, the first $m-1$ FlexO- $x$ \_CTT\_So functions that support the FlexO- $x$ -- $m$ interface group contain $x$ instances of this reference point and the last FlexO- $x$ \_CTT\_So function contains $n - x \times m$ instances, with $n$ determined by the FlexO- $n$ /\_A\_So function.
-
-**FlexO- $x$ \_TCP:** 1 instance of this reference point is present.
-
-**FlexO- $x$ \_RP:** 1 instance of this reference point is present.
-
-
-
-The diagram illustrates the signal flow within the FlexO- $x$ \_CTT\_So atomic functions. At the top, multiple input signals, labeled 1, 2, ..., $x$ , enter from the FlexO\_APs. Each input signal passes through a trapezoidal block labeled 'FlexO'. The outputs of these 'FlexO' blocks converge into a single horizontal bar labeled 'FlexO- $x$ /FlexO'. Below this bar, the signal passes through a trapezoidal block labeled 'FlexO- $x$ '. The final output of the system is labeled 'FlexO- $x$ \_TCP' at the bottom. A small text label 'G.798(17)-Amd.3(21)\_F15-26' is located at the bottom right of the diagram.
-
-Diagram of FlexO-x\_CTT\_So atomic functions showing signal flow from FlexO-APs through FlexO and FlexO-x blocks to FlexO-x\_TCP.
-
-**Figure 15-26 – FlexO- $x$ \_CTT\_So atomic functions**
-
-#### **15.4.1.2 FlexO- $x$ compound trail termination sink function (FlexO- $x$ \_CTT\_Sk)**
-
-The FlexO- $x$ \_CTT\_Sk function reports the state of the FlexO- $x$ trail. It extracts FlexO- $x$ monitoring overhead – including the RPF signal – in the STAT overhead field from the FlexO signal at its FlexO- $x$ \_TCP, detects for the RPF defect, and forwards the error and defect information as backward indications to the companion FlexO- $x$ \_CTT\_So function. The function disinterleaves $x$ FlexO signals from the FlexO- $x$ signal and present these at the $x$ FlexO\_APs.
-
-The information flow and processing of the FlexO- $x$ \_CTT\_Sk function is defined with reference to Figures 15-27 and 15-28.
-
-## Symbol
-
-
-
-G.798(17)-Amd.3(21)\_F15-27
-
-Symbol diagram for FlexO-x\_CTT\_Sk function. A central triangle labeled 'FlexO-x' has an input arrow from the bottom labeled 'FlexO-x\_TCP'. It has an output arrow to the right labeled 'FlexO-x\_RP' and an output arrow to the left labeled 'FlexO-x\_CTT\_Sk\_MP'. Above the triangle, there are x output arrows labeled 'FlexO-x\_AP' with subscripts 1, 2, and x.
-
-Figure 15-27 – FlexO-*x*\_CTT\_Sk function
-
-## Interfaces
-
-Table 15-14 – FlexO-*x*\_CTT\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| FlexO-x_TCP: FlexO- x _CI_CK FlexO- x _CI_D[1.. x ] FlexO- x _CI_FS FlexO- x _CI_MFS FlexO- x _CI_SSF | 1 to x × FlexO-x_AP: FlexO_AI_CK FlexO_AI_D[1.. x ] FlexO_AI_FS FlexO_AI_MFS FlexO_AI_CRCerr[1.. x ] FlexO_AI_TSF FlexO-x_RP: FlexO- x _RI_RPF FlexO-x_CTT_Sk_MP: FlexO- x _CTT_Sk_MI_cRDI FlexO- x _CTT_Sk_MI_cSSF |
-
-## Atomic functions
-
-The atomic functions associated with the FlexO-*x*\_CTT\_Sk function and the inputs and outputs are as depicted in Figure 15-28.
-
-**FlexO\_TT\_Sk:** 1 to *x* instances of this atomic function are present. Typically, the first *m*-1 FlexO-*x*\_CTT\_Sk functions that support the FlexO-*x*--*m* interface group contain *x* instances of this atomic function and the last FlexO-*x*\_CTT\_Sk function contains *n* – *x* × *m* instances, with *n* determined by the FlexO-*n*/\_A\_Sk function.
-
-**FlexO-*x*/FlexO\_A\_Sk:** 1 instance of this atomic function is present.
-
-**FlexO-*x*\_TT\_Sk:** 1 instance of this atomic function is present.
-
-**FlexO\_AP:** 1 to *x* instances of this reference point are present. Typically, the first *m*-1 FlexO-*x*\_CTT\_Sk functions that support the FlexO-*x*--*m* interface group contain *x* instances of this reference point and the last FlexO-*x*\_CTT\_Sk function contains *n* – *x* × *m* instances, with *n* determined by the FlexO-*n*/\_A\_Sk function.
-
-**FlexO-*x*\_TCP:** 1 instance of this reference point is present.
-
-**FlexO-*x*\_RP:** 1 instance of this reference point is present.
-
-**FlexO-*x*\_CTT\_Sk\_MP:** 1 instance of this reference point is present and presents the information of the FlexO-*x*\_TT\_Sk\_MP.
-
-
-
-Diagram of FlexO-x\_CTT\_Sk atomic functions showing multiple FlexO units (1, 2, ..., x) connected to a central FlexO-x block. The diagram shows data flow from FlexO-x\_TCP through FlexO-x\_CTT\_Sk\_MP, then through a central FlexO-x block to FlexO-x\_RP. Above the central block, multiple FlexO units are shown, each with a FlexO-x\_TT\_Sk\_MP input and a FlexO output. The FlexO outputs are connected to FlexO\_APs. The diagram is labeled G.798(17)-Amd.3(21)\_F15-28.
-
-**Figure 15-28 – FlexO-*x* CTT\_Sk atomic functions**
-
-## 16 OTSi adaptation functions
-
-### 16.1 OTSi to OTUk or OTUk-RS adaptation function (OTSi/OTUk\_A or OTSi/OTUk-RS\_A)
-
-The OTSi to OTUk (*k* = 0, 1, 2, 3, 4) or OTUk-RS (*k* = 25u, 25, 50u, 50) adaptation functions perform the adaptation between the OTSi layer adapted information and the characteristic information of the completely standardized OTUk or OTUk-RS layer signal. For OTUk with *k* = 0, 1, 2, 3, 4, three types of functions are defined: one that supports the standardized forward error correction (FEC), one that does not support FEC, and one that supports vendor-specific FEC. For OTUk-RS with *k* = 25u, 25, 50u, 50, the functions support the RS FEC schemes specified in [ITU-T G.709.4].
-
-**Table 16-1 – OTSi to OTUk adaptation functions (*k* = 0, 1, 2, 3, 4)**
-
-| Function type | Function name | OTUk |
-|---------------|-----------------------------------------------------------|---------------------|
-| OTSi/OTUk-a_A | OTSi to OTUk adaptation function with FEC | k =0,1,2,3,4 |
-| OTSi/OTUk-b_A | OTSi to OTUk adaptation function without FEC | k =0,1,2,3 |
-| OTSi/OTUk-v_A | OTSi to OTUk adaptation function with vendor-specific FEC | k =0,1,2,3,4 |
-
-NOTE 1 – OTSi/OTUk\_A is used throughout this clause as shorthand for the specific function type for *k* = 0, 1, 2, 3, 4.
-
-NOTE 2 – The OTSi to OTU4-SC adaptation function with SC FEC (OTSi/OTU4-SC\_A) is specified in clause 16.3.
-
-#### 16.1.1 OTSi to OTUk adaptation source function (OTSi/OTUk\_A\_So; *k* = 0, 1, 2, 3, 4)
-
-The information flow and processing of the OTSi/OTUk\_A\_So function is defined with reference to Figures 16-1 and 16-2.
-
-## Symbol
-
-
-
-Symbol diagram for OTSi/OTUk\_A\_So function. An input OTUk\_CP enters a trapezoidal block labeled OTSi/OTUk from the top. An output OTSi\_AP exits the block from the bottom. The reference G.798(17)\_F16-1 is shown below the output.
-
-Figure 16-1 – OTSi/OTUk\_A\_So function (k = 0, 1, 2, 3, 4)
-
-## Interfaces
-
-Table 16-2 – OTSi/OTUk\_A\_So inputs and outputs (k = 0, 1, 2, 3, 4)
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------|--------------------------------|
-| OTUk_CP: OTUk_CI_CK OTUk_CI_D OTUk_CI_FS OTUk_CI_MFS | OTSi_AP: OTSi_AI_PLD |
-
-## Processes
-
-The processes associated with the OTSi/OTUk\_A\_So function are as depicted in Figure 16-2.
-
-**FAS/MFAS insertion:** The function shall insert the FAS and MFAS into the OTU frame alignment area as described in [ITU-T G.709].
-
-**FEC encoder:** See clause 8.5.2 for the OTSi/OTUk-a\_A\_So function, clause 8.5.1 for the OTSi/OTUk-b\_A\_So function and clause 8.5.3 for the OTSi/OTUk-v\_A\_So function.
-
-**Scrambler:** The function shall scramble the signal as defined in clause 11.2 of [ITU-T G.709].
-
-
-
-Process diagram for OTSi/OTUk\_A\_So. The input OTUk\_CP is shown at the top with four vertical lines labeled CI\_D, CI\_CK, CI\_FS, and CI\_MFS entering a large grey box. Inside the box, the signals pass through three blocks: 'FAS/MFAS insertion', 'FEC encoder', and 'Scrambler'. Between each block, the signals are labeled D, CK, and FS. An output line labeled AI\_PLD exits the bottom of the grey box, leading to the final output OTSi\_AP. The reference G.798(17)\_F16-2 is shown next to the exit point.
-
-Figure 16-2 – OTSi/OTUk\_A\_So processes (k = 0, 1, 2, 3, 4)
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.1.2 OTSi to OTUk adaptation sink function (OTSi/OTUk\_A\_Sk; k = 0, 1, 2, 3, 4)
-
-The information flow and processing of the OTSi/OTUk\_A\_Sk function is defined with reference to Figures 16-3 and 16-4.
-
-#### Symbol
-
-
-
-Diagram of the OTSi/OTUk\_A\_Sk function symbol. A central trapezoidal block labeled 'OTSi/OTUk' has two input arrows pointing to its bottom from 'OTSi\_AP' and 'OTSiG-O\_AP'. It has one output arrow pointing upwards to 'OTUk\_CP'. A double-headed horizontal arrow on the left points to the block from 'OTSi/OTUk\_A\_Sk\_MP'. Below the diagram is the text 'G.798(17)-Amd.4(22)\_F16-3'.
-
-**Figure 16-3 – OTSi/OTUk\_A\_Sk function (k = 0, 1, 2, 3, 4)**
-
-#### Interfaces
-
-**Table 16-3 – OTSi/OTUk\_A\_Sk inputs and outputs (k = 0, 1, 2, 3, 4)**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| OTSi_AP: OTSi_AI_PLD OTSiG-O_AP: OTSiG-O_AI_TSF-P OTSiG-O_AI_TSF-O OTSi/OTUk_A_Sk_MP: OTSi/OTUk_A_Sk_MI_FECEn (Note) OTSi/OTUk_A_Sk_MI_1second (Note) | OTUk_CP: OTUk_CI_CK OTUk_CI_D OTUk_CI_FS OTUk_CI_MFS OTUk_CI_SSF OTSi/OTUk_A_Sk_MP: OTSi/OTUk_A_Sk_MI_cLOS-P OTSi/OTUk_A_Sk_MI_cLOF OTSi/OTUk_A_Sk_MI_cLOM OTSi/OTUk_A_Sk_MI_pFECcorrErr (Note) |
-| NOTE – For OTSi/OTUk-a_A_Sk and OTSi/OTUk-v_A_Sk only. | |
-
-#### Processes
-
-The processes associated with the OTSi/OTUk\_A\_Sk function are as depicted in Figure 16-4.
-
-**Clock recovery:** The function shall recover the OTUk clock signal from the incoming data. The function shall introduce no errors in case of jitter and wander as defined in clause 6 of [ITU-T G.8251].
-
-**Frame alignment:** The function shall recover the OTUk frame start as described in clause 8.2.1.
-
-**Descrambler:** The function shall perform descrambling as defined in clause 11.2 of [ITU-T G.709].
-
-**FEC decoder:** See clause 8.5.2 for the OTSi/OTUk-a\_A\_Sk function, clause 8.5.1 for the OTSi/OTUk-b\_A\_Sk function and clause 8.5.3 for the OTSi/OTUk-v\_A\_Sk function.
-
-**Multiframe alignment:** The function shall recover the OTUk multiframe start as described in clause 8.2.2.
-
-
-
-Figure 16-4 – OTSi/OTUk\_A\_Sk processes (k = 0, 1, 2, 3, 4). This block diagram illustrates the signal processing flow for OTSi/OTUk\_A\_Sk processes. The diagram is divided into two main sections: OTUk\_CP (top) and OTSi\_AP (bottom). The signal flow starts from the bottom (OTSi\_AP) with inputs AI\_PLD, AI\_TSF-O, and AI\_TSF-P. AI\_TSF-O and AI\_TSF-P feed into a 'Clock recovery' block, which outputs D, CK, and FS. These signals feed into a 'Frame alignment' block, which outputs D, CK, and FS. The 'Frame alignment' block feeds into 'dLOF detection' (outputting dLOF), 'dAIS detection' (outputting dAIS), and 'LOS detection' (outputting dLOS-P). The 'dLOF detection', 'dAIS detection', and 'LOS detection' blocks feed into 'Defect correlations', which outputs MI\_cLOM, MI\_cLOF, and MI\_cLOS. The 'Frame alignment' block also feeds into a 'Descrambler' block, which outputs D, CK, and FS. The 'Descrambler' block feeds into a 'FEC decoder' block, which outputs D, CK, and FS. The 'FEC decoder' block feeds into 'Multiframe alignment', which outputs CI\_D, CI\_CK, CI\_FS, and CI\_MFS. The 'Multiframe alignment' block feeds into 'dLOM detection' (outputting dLOM). The 'dLOM detection' block feeds into 'Consequent actions', which outputs aSSF. The 'Consequent actions' block also receives inputs dLOF, dAIS, dLOS-P, and AI\_TSF-P. The 'Consequent actions' block feeds into CI\_SSF. The 'Performance monitoring' block receives inputs nFECcorrErr, MI\_FECEn, MI\_1second, and MI\_pFECcorrErr. The 'Performance monitoring' block feeds into 'Defect correlations'.
-
-**Figure 16-4 – OTSi/OTUk\_A\_Sk processes (k = 0, 1, 2, 3, 4)**
-
-## Defects
-
-The function shall detect dLOS-P, dAIS, dLOF and dLOM.
-
-**dLOS-P:** See clause 6.2.1.2.
-
-**dAIS:** See clause 6.2.6.3.1 for k = 1, 2, 3; otherwise dAIS shall be assumed false.
-
-**dLOF:** See clause 6.2.5.1.
-
-**dLOM:** See clause 6.2.5.2.
-
-## Consequent actions
-
-aSSF $\leftarrow$ dLOS-P or dAIS or dLOF or dLOM or AI\_TSF-P
-
-## Defect correlations
-
-cLOS-P $\leftarrow$ dLOS-P and (not AI\_TSF-P)
-
-cLOF $\leftarrow$ dLOF and (not dLOS-P) and (not dAIS) and (not AI\_TSF-P)
-
-cLOM $\leftarrow$ dLOM and (not dLOS-P) and (not dLOF) and (not dAIS) and (not AI\_TSF-P)
-
-NOTE 1 – dAIS is not reported as fault cause as it is a secondary alarm and will result in aSSF, which is reported as cSSF fault cause in the OTUk\_TT\_Sk that directly follows this function.
-
-## Performance monitoring
-
-The OTSi/OTUk-a\_A\_Sk and OTSi/OTUk-v\_A\_Sk functions shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the EMF.
-
-$$pFECcorrErr \leftarrow \sum nFECcorrErr$$
-
-NOTE 2 – During AI\_TSF-P, dAIS, dLOF and dLOM, no corrected bits shall be counted.
-
-### 16.1.3 OTSi to OTUk-RS adaptation source function (OTSi/OTUk-RS\_A\_So; k = 25u, 25, 50u, 50)
-
-The information flow and processing of the OTSi/OTUk-RS\_A\_So function is defined with reference to Figures 16-4.1 and 16-4.2.
-
-#### Symbol
-
-
-
-Diagram of the OTSi/OTUk-RS\_A\_So function symbol. It shows an input labeled OTUk\_CP entering a trapezoidal block labeled OTSi/OTUk-Rs from the top. An output labeled OTSi\_AP exits the block from the bottom. Below the output label is the reference G.798(23)\_F16-4.1.
-
-Figure 16-4.1 – OTSi/OTUk-RS\_A\_So function (k = 25u, 25, 50u, 50)
-
-#### Interfaces
-
-Table 16-3.1 – OTSi/OTUk-RS\_A\_So inputs and outputs (k = 25u, 25, 50u, 50)
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------|--------------------------------|
-| OTUk_CP: OTUk_CI_CK OTUk_CI_D OTUk_CI_FS OTUk_CI_MFS | OTSi_AP: OTSi_AI_PLD |
-
-#### Processes
-
-The processes associated with the OTSi/OTUk-RS\_A\_So function are as depicted in Figure 16-4.2.
-
-**FAS/MFAS insertion:** The function shall insert the FAS and MFAS into the OTU frame alignment area as described in [ITU-T G.709].
-
-**Scrambler:** The function shall scramble the signal as defined in clause 8.4 of [ITU-T G.709.4] for k = 25, 25u and clause 9.4 of [ITU-T G.709.4] for k = 50, 50u.
-
-**Clock generation:** The function shall generate the OTUk-RS clock by multiplying the incoming OTUk clock (CI\_CK) by [21760/20559] for k = {25, 50u, 50} or by [640/623] for k = 25u to the frequencies as listed in [ITU-T G.709.4] Table B.1 (k = 25u, 50u), Table 8-1 (k = 25) or Table 9-1 (k = 50).
-
-**FS generator:** The function shall generate OTUk-RS frame starter identifier as described in clause 8.1 (k=25), clause 9.1 (k=50u,50) or clause B.1 (k=25u) of [ITU-T G.709.4].
-
-**Mapping:** The function shall map (i.e., addition of alignment/codeword marker overhead area and FEC parity area) the incoming OTUk frame into the OTUk-RS frame payload area as defined in clause 10 of [ITU-T G.709.4].
-
-**Alignment insertion:** The function shall insert the alignment/codeword marker into the OTUk-RS frame alignment area as described in clauses 8.3.1 and 9.3.1 of [ITU-T G.709.4].
-
-**FEC encoder:** See clause 8.5.6 for k = 25, 50u, 50 and clause 8.5.7 for k = 25u.
-
-**Symbol Distribution:** For k = 50 the function shall divide the OTU50-RS frame signal into 2 OTL50.2-RS lanes based on 10-bit symbol granularity as described in clause 9.6 of [ITU-T G.709.4].
-
-**2:1 bit interleaver:** For k = 50, the process bit multiplexes the two logical lanes of the OTU50-RS signal to a single physical optical OTSi signal according to clause 9.6 of [ITU-T G.709.4].
-
-
-
-Figure 16-4.2 – OTSi/OTUk-RS\_A\_So processes (k = 25u, 25, 50u, 50). The diagram shows two parallel processing paths. The left path is for OTU50\_CP, starting with inputs CI\_D, CI\_CK, CI\_FS, and CI\_MFAS. It includes blocks for OTU50-RS clock generation (x21760/20559), FAS/MFAS insertion, Scrambler, Mapping, Alignment insertion, FEC encoder, Symbol distribution (outputting 1...2 lanes), and a 2:1 bit interleaver, resulting in OTL50.1-RS and OTSi\_AP outputs. The right path is for OTU25\_CP, starting with the same inputs. It includes blocks for OTU25-RS clock generation (x21760/20559 for k=25, x640/623 for k=25u), FAS/MFAS insertion, Scrambler, Mapping, Alignment insertion, and FEC encoder, resulting in OTSi\_AP output. Both paths include an FS\_RS generator block that provides clock and frame signal inputs to the Mapping and Alignment insertion blocks.
-
-G.798(17)-Amd.4(22)\_F16-4.2
-
-**Figure 16-4.2 – OTSi/OTUk-RS\_A\_So processes (k = 25u, 25, 50u, 50)**
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.1.4 OTSi to OTUk-RS adaptation sink function (OTSi/OTUk-RS\_A\_Sk; k = 25u, 25, 50u, 50)
-
-The information flow and processing of the OTSi/OTUk-RS\_A\_Sk function is defined with reference to Figures 16-4.3 and 16-4.4.
-
-#### Symbol
-
-
-
-Figure 16-4.3: Symbol diagram for the OTSi/OTUk-RS\_A\_Sk function. A central trapezoidal block labeled 'OTSi/OTUk-RS' has two input arrows from below labeled 'OTSi\_AP' and 'OTSiG-O\_AP'. It has one output arrow pointing upwards labeled 'OTUk\_CP'. A double-headed horizontal arrow to the left of the block is labeled 'OTSi/OTUk-RS\_A\_Sk\_MP'. Below the diagram is the text 'G.798(17)-Amd.4(22)\_F16-4.3'.
-
-Figure 16-4.3 – OTSi/OTUk-RS\_A\_Sk function (k = 25u, 25, 50u, 50)
-
-#### Interfaces
-
-Table 16-3.2 – OTSi/OTUk-RS\_A\_Sk inputs and outputs (k = 25u, 25, 50u, 50)
-
-| Input(s) | Output(s) |
-|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| OTSi_AP: OTSi_AI_PLD OTSiG-O_AP: OTSiG-O_AI_TSF-P OTSiG-O_AI_TSF-O OTSi/OTUk-RS_A_Sk_MP: OTSi/OTUk-RS_A_Sk_MI_FECEn OTSi/OTUk-RS_A_Sk_MI_1second | OTUk_CP: OTUk_CI_CK OTUk_CI_D OTUk_CI_FS OTUk_CI_MFS OTUk_CI_SSF OTSi/OTUk-RS_A_Sk_MP: OTSi/OTUk-RS_A_Sk_MI_cLOS-P OTSi/OTUk-RS_A_Sk_MI_cLOL OTSi/OTUk-RS_A_Sk_MI_cLOF OTSi/OTUk-RS_A_Sk_MI_cLOM OTSi/OTUk-RS_A_Sk_MI_pFECcorrErr |
-
-#### Processes
-
-The processes associated with the OTSi/OTUk-RS\_A\_Sk function are as depicted in Figure 16-4.4.
-
-**Clock recovery:** The function shall recover the OTUk clock signal from the incoming data. The function shall introduce no errors in case of jitter and wander as defined in clause 6 of [ITU-T G.8251].
-
-**1:2 bit dis-interleaver:** For k=50 the process shall bit de-multiplex the bitstream of the OTL50.1-RS physical lane into two logical lanes as defined in clause 9.6 of [ITU-T G.709.4].
-
-**Alignment lock:** The function shall recover the start of OTUk-RS frame through obtaining LOCK to the alignment/codeword markers as specified by the FEC synchronization state diagram in clause 108.5.3.1 of [IEEE 802.3] for k = 25u, 25, or clause 134.5.3.1 of [IEEE 802.3] for k = 50u, 50. Additionally, the synchronization process on all logical lanes shall be restarted (restart\_lock set to true) if five consecutive alignment markers fail to match on any of the logical lanes.
-
-**Deskew & Reorder:** For k = 50 the function shall include deskewing and reordering processes. The deskewing process shall remove the skew of the two OTL50.2-RS lanes as specified by the FEC alignment state diagram in clause 134.5.3.1 of [IEEE 802.3]. It shall support a maximum skew of 180
-
-ns between FEC lanes and a maximum skew variation of 4 ns. The reordering process shall reorder these two OTL50.2-RS lanes according to its lane number (see clause 9.6 of [ITU-T G.709.4]).
-
-**FEC decoder:** See clause 8.5.6 for k = 25, 50u, 50 and clause 8.5.7 for k = 25u.
-
-**Demapping:** The function shall demap (i.e., removal of alignment/codeword marker overhead area and FEC parity area) the OTUk frame from the OTUk-RS frame payload area as defined in clause 10 of [ITU-T G.709.4].
-
-**Frame alignment:** The function shall recover the OTUk frame start as described in clause 8.2.9.
-
-**Descrambler:** The function shall perform descrambling as defined in clause 8.4 of [ITU-T G.709.4] for k = 25, 25u and clause 9.4 of [ITU-T G.709.4] for k = 50, 50u.
-
-**Multiframe alignment:** The function shall recover the OTUk multi-frame start as described in clause 8.2.2.
-
-
-
-The diagram illustrates the OTSi/OTU25(u)-R\_A\_Sk processing pipeline. The signal flow is as follows:
-
-- Inputs:** OTSi\_AP (AI\_PLD, AI\_TSF-O, AI\_TSF-P) enter the bottom of the diagram.
-- Clock recovery:** Receives AI\_TSF-O and AI\_TSF-P. It outputs D, CK, and FS signals upwards. It also connects to a **LOS detection** block which outputs **dLOS-P**.
-- Alignment lock:** Receives D, CK, and FS. It outputs **dLOL** to the right.
-- FEC decoder:** Receives D, CK, and FS. It outputs **nFECcorrErr** to the **Performance monitoring** block.
-- Demapping:** Receives D, CK, and FS.
-- Frame alignment:** Receives D, CK, and FS. It connects to a **dLOF detection** block which outputs **dLOF**.
-- Descrambler:** Receives D, CK, FS, and MFS (from frame alignment). It outputs D, CK, FS, and MFS upwards.
-- Multi-frame alignment:** Receives D, CK, FS, and MFS. It connects to a **dLOM detection** block which outputs **dLOM**.
-- Outputs:** The final output is **OTU25\_CP**, which includes signals **CI\_D, CI\_CK, CI\_FS, and CI\_MFS**.
-- Monitoring and Defect Correlation:**
- - Performance monitoring:** Receives **nFECcorrErr** from the FEC decoder. It outputs **MI\_1second** and **MI\_pFECcorrErr** to the right.
- - Defect correlation:** Receives **dLOM, dLOF, dLOL, dLOS-P, and AI\_TSF-P**. It outputs **MI\_cLOM, MI\_cLOF, MI\_cLOL, and MI\_cLOS-P** to the right.
- - Consequent actions:** Receives **dLOM, dLOF, dLOS-P, and AI\_TSF-P**. It outputs **aSSF** to the **CI\_SSF** output line.
-- Vertical Label:** OTSi/OTU25-RS\_A\_Sk\_MP is located on the far right side of the diagram.
-- Diagram Code:** G.798(23)\_F16-4.4 is located at the bottom right of the diagram area.
-
-Block diagram of OTSi/OTU25(u)-R\_A\_Sk processes showing signal flow from OTSi\_AP to OTU25\_CP through various processing stages including Clock recovery, Alignment lock, FEC decoder, Demapping, Frame alignment, Descrambler, and Multi-frame alignment. It also includes detection blocks for dLOM, dLOF, dLOS-P, and a Defect correlation block.
-
-Figure 16-4.4 – OTSi/OTU25(u)-R\_A\_Sk processes
-
-
-
-The diagram illustrates the OTSi/OTU50(u)-RS\_A\_Sk processes. The signal flow is as follows:
-
-- OTU50\_CP** (top) provides signals **CI\_D**, **CI\_CK**, **CI\_FS**, and **CI\_MFS** to a **Multi-frame alignment** block.
-- The **Multi-frame alignment** block outputs **dLOM** to a **dLOM detection** block and **aSSF** to **CI\_SSF** (top right).
-- The **dLOM detection** block outputs **dLOM** to **Consequent actions**.
-- The **Multi-frame alignment** block also outputs **D**, **CK**, **FS**, and **MFS** to a **Descrambler** block.
-- The **Descrambler** block outputs **D**, **CK**, **FS**, and **MFS** to a **Frame alignment** block.
-- The **Frame alignment** block outputs **dLOF** to a **dLOF detection** block.
-- The **dLOF detection** block outputs **dLOF** to **Consequent actions**.
-- The **Frame alignment** block also outputs **D**, **CK**, and **FS** to a **Demapping** block.
-- The **Demapping** block outputs **D**, **CK**, and **FS** to a **FEC decoder** block.
-- The **FEC decoder** block outputs **nFECcorrErr** to **Performance monitoring**.
-- Performance monitoring** outputs **MI\_1second** and **MI\_pFECcorrErr** to **OTSIG/OTU50-RS\_A\_Sk\_MP** (right).
-- The **FEC decoder** block also outputs **D**, **CK**, and **FS** to a **Lane reorder** block.
-- The **Lane reorder** block outputs **D**, **CK**, and **FS** to a **Deskew** block.
-- The **Deskew** block outputs **dLOL** to **Defect correlation**.
-- Defect correlation** outputs **MI\_cLOM**, **MI\_cLOF**, **MI\_cLOL**, and **MI\_cLOS-P** to **OTSIG/OTU50-RS\_A\_Sk\_MP**.
-- The **Deskew** block also outputs **D**, **CK**, and **FS** to two **Alignment lock** blocks (Lane #1 and Lane #2).
-- The **Alignment lock** blocks output **restart\_lock[1]** and **restart\_lock[2]** to a **Lane marker process** block.
-- The **Lane marker process** block outputs **restart** to the **Alignment lock** blocks.
-- The **Alignment lock** blocks output **D[1]**, **CK[1]**, and **FS[1]** to a **1:2 bit dis-interleaver** block (Lane #1).
-- The **1:2 bit dis-interleaver** block outputs **D[2]**, **CK[2]**, and **FS[2]** to the **Alignment lock** block (Lane #2).
-- The **1:2 bit dis-interleaver** block also outputs **D** and **CK** to a **Clock recovery** block.
-- The **Clock recovery** block outputs **dLOS-P** to **LOS detection**.
-- The **LOS detection** block outputs **dLOS-P** to **Consequent actions**.
-- The **Physical lane** (bottom left) contains the **Clock recovery** and **LOS detection** blocks.
-- The **Physical lane** outputs **OTL50.1-RS** to **OTSIG/OTU50-RS\_A\_Sk\_MP**.
-- OTSIG/OTU50-RS\_A\_Sk\_MP** outputs **AI\_PLD**, **AI\_TSF-O**, and **AI\_TSF-P** to **OTSi\_AP** (bottom).
-
-Labels on the right side of the diagram include: **OTSIG/OTU50-RS\_A\_Sk\_MP**, **Consequent actions**, **Performance monitoring**, and **Defect correlation**.
-
-Labels on the left side of the diagram include: **OTU50\_CP**, **CI\_D**, **CI\_CK**, **CI\_FS**, **CI\_MFS**, **CI\_SSF**, **Multi-frame alignment**, **dLOM detection**, **dLOM**, **aSSF**, **Descrambler**, **Frame alignment**, **dLOF detection**, **dLOF**, **Demapping**, **FEC decoder**, **nFECcorrErr**, **MI\_1second**, **MI\_pFECcorrErr**, **Lane reorder**, **Deskew**, **dLOL**, **Defect correlation**, **MI\_cLOM**, **MI\_cLOF**, **MI\_cLOL**, **MI\_cLOS-P**, **Alignment lock**, **restart\_lock[1]**, **restart\_lock[2]**, **Lane #1**, **Lane #2**, **D[1]**, **CK[1]**, **FS[1]**, **D[2]**, **CK[2]**, **FS[2]**, **1:2 bit dis-interleaver**, **Clock recovery**, **LOS detection**, **dLOS-P**, **Physical lane**, **OTSIG/OTU50-RS\_A\_Sk\_MP**, **OTL50.1-RS**, **AI\_PLD**, **AI\_TSF-O**, **AI\_TSF-P**, **OTSi\_AP**, **Lane marker process**, and **restart**.
-
-Block diagram of OTSi/OTU50(u)-RS\_A\_Sk processes showing signal flow from OTU50\_CP to OTSi\_AP through various processing stages including clock recovery, alignment, deskew, and FEC decoding. It also shows defect detection and monitoring blocks.
-
-G.798(23)\_F16-4.5
-
-Figure 16-4.5 – OTSi/OTU50(u)-RS\_A\_Sk processes
-
-**Defects**
-
-The function shall detect dLOS-P, dLOL, dLOF and dLOM.
-
-**dLOS-P:** See clause 6.2.1.2.
-
-**dLOL:** For $k = 50u$ , 50 dLOL is generated based on the multilane FEC alignment lock process specified in clause 134.5.3.1 of [IEEE 802.3]. For $k = 25u$ , 25 dLOL is generated based on the codeword marker alignment lock and monitor processes specified in clauses 108.5.3.1 and 108.5.3.3 of [IEEE 802.3]. dLOL shall be declared if *fec\_alignment\_valid* is false for 3 ms. To provide for the case of intermittent out-of-locks (*fec\_alignment\_valid* is false), the integrating timer shall not be reset to zero until an in-lock (*fec\_alignment\_valid* is true) condition persists continuously for 3 ms. dLOL shall be cleared if *fec\_alignment\_valid* is true for 3 ms.
-
-**dLOF:** See clause 6.2.5.1.
-
-**dLOM:** See clause 6.2.5.2.
-
-#### Consequent actions
-
-aSSF $\leftarrow$ dLOS-P or dLOL or dLOF or dLOM or AI\_TSF-P
-
-#### Defect correlations
-
-cLOS-P $\leftarrow$ dLOS-P and (not AI\_TSF-P)
-
-cLOL $\leftarrow$ dLOL and (not dLOS-P) and (not AI\_TSF-P)
-
-cLOF $\leftarrow$ dLOF and (not dLOL) and (not dLOS-P) and (not AI\_TSF-P)
-
-cLOM $\leftarrow$ dLOM and (not dLOF) and (not dLOL) and (not dLOS-P) and (not AI\_TSF-P)
-
-#### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the EMF.
-
-pFECcorrErr $\leftarrow \sum nFECcorrErr$
-
-NOTE – During AI\_TSF-P, dLOL, no corrected bits shall be counted.
-
-### 16.2 OTSi to OTUkV adaptation function (OTSi/OTUkV\_A)
-
-The OTSi to OTUkV adaptation functions perform the adaptation between the OTSi layer adapted information and the characteristic information of functionally standardized OTUkV layer signal.
-
-#### 16.2.1 OTSi to OTUkV adaptation source function (OTSi/OTUkV\_A\_So)
-
-The information flow and processing of the OTSi/OTUkV\_A\_So function is defined with reference to Figure 16-5.
-
-#### Symbol
-
-
-
-```
-graph TD; A[OTUkV_CP] --> B{{OTSi/OTUkV}}; B --> C[OTSi_AP];
-```
-
-G.798(17)\_F16-5
-
-Diagram of the OTSi/OTUkV\_A\_So function symbol. It shows a vertical flow: OTUkV\_CP at the top, an arrow pointing down to a trapezoidal symbol labeled OTSi/OTUkV, and an arrow pointing down from that symbol to OTSi\_AP at the bottom. The text G.798(17)\_F16-5 is located to the right of the bottom arrow.
-
-**Figure 16-5 – OTSi/OTUkV\_A\_So function**
-
-## Interfaces
-
-**Table 16-4 – OTSi/OTUkV\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------|--------------------------------|
-| OTUkV_CP: OTUkV_CI_CK OTUkV_CI_D OTUkV_CI_FS OTUkV_VI_MFS (Note) | OTSi_AP: OTSi_AI_PLD |
-| NOTE – If OTUkV has a multiframe. | |
-
-## Processes
-
-The OTSi/OTUkV\_A\_So function provides all processes necessary for the adaptation to the OTSi layer, which includes processes that ensure clock and frame recovery at the adaptation sink and optional forward error correction coding.
-
-The specific processes are outside the scope of this Recommendation.
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.2.2 OTSi to OTUkV adaptation sink function (OTSi/OTUkV\_A\_Sk)
-
-The information flow and processing of the OTSi/OTUkV\_A\_Sk function is defined with reference to Figure 16-6.
-
-#### Symbol
-
-
-
-Diagram of the OTSi/OTUkV\_A\_Sk function symbol. A central trapezoidal block labeled 'OTSi/OTUkV' has three connections: a horizontal double-headed arrow on the left labeled 'OTSi/OTUkV\_A\_Sk\_MP', an upward-pointing arrow on top labeled 'OTUkV\_CP', and two downward-pointing arrows on the bottom labeled 'OTSi\_AP' and 'OTSiG-O\_AP'. Below the block is the reference text 'G.798(17)-Amd.4(22)\_F16-6'.
-
-**Figure 16-6 – OTSi/OTUkV\_A\_Sk function**
-
-## Interfaces
-
-**Table 16-5 – OTSi/OTUkV\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| For each OTSi_AP: OTSi_AI_PLD OTSiG-O_AP: OTSiG-O_AI_TSF-P OTSiG-O_AI_TSF-O OTSi/OTUkV_A_Sk_MP: OTSi/OTUkV_A_Sk_MI_1second (Note 2) | OTUkV_CP: OTUkV_CI_CK OTUkV_CI_D OTUkV_CI_FS OTUkV_CI_MFS (Note 1) OTUkV_CI_SSF OTSi/OTUkV_A_Sk_MP: OTSi/OTUkV_A_Sk_MI_cLOS-P OTSi/OTUkV_A_Sk_MI_cLOF OTSi/OTUkV_A_Sk_MI_cLOM (Note 1) OTSi/OTUkV_A_Sk_MI_pFECcorrErr (Note 2) |
-| NOTE 1 – If OTUkV has a multiframe. NOTE 2 – If the function performs FEC. | |
-
-## Processes
-
-The OTSi/OTUkV\_A\_Sk function provides all processes necessary for the adaptation from the OTSi layer, which includes processes for clock and frame start recovery and optional forward error correction decoding.
-
-The specific processes are outside the scope of this Recommendation.
-
-## Defects
-
-The function shall detect dAIS and dLOF. If the OTUkV includes a multiframe, it shall in addition detect dLOM.
-
-**dLOS-P:** See clause 6.2.1.2.
-
-**dAIS:** See clause 6.2.6.3.1.
-
-**dLOF:** The dLOF detection depends on the specific frame structure and is outside the scope of this Recommendation.
-
-**dLOM:** The dLOM detection is only required if the OTUkV has a multiframe, the detection depends on the specific multiframe structure and is outside the scope of this Recommendation.
-
-## Consequent actions:
-
-aSSF ← dLOS-P or dAIS or dLOF or AI\_TSF-P or dLOM
-
-NOTE 1 – dLOM is only included if the OTUkV has a multiframe.
-
-## Defect correlations
-
-cLOS-P ← dLOS-P and (not AI\_TSF-P)
-
-cLOF ← dLOF and (not dLOS-P) and (not dAIS) and (not AI\_TSF-P)
-
-cLOM ← dLOM and (not dLOS-P) and (not dLOF) and (not dAIS) and (not AI\_TSF-P)
-
-NOTE 2 – cLOM is only defined if the OTUkV has a multiframe.
-
-NOTE 3 – dAIS is not reported as fault cause as it is a secondary alarm and will result in aSSF, which is reported as cSSF fault cause in the ODU\_TT\_Sk that directly follows this function.
-
-## Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing if it includes FEC processing. The performance monitoring primitives shall be reported to the EMF.
-
-$$pFECcorrErr \leftarrow \sum nFECcorrErr$$
-
-NOTE 4 – During AI\_TSF-P, dAIS, dLOF and dLOM no corrected bits shall be counted.
-
-### 16.3 OTSiG to OTUk adaptation function (OTSiG/OTUk\_A)
-
-The OTSiG to OTUk adaptation functions perform the adaptation between the OTSiG layer adapted information and the characteristic information of the completely standardized OTUk layer signal. Three types of functions are defined: one that supports G.709 forward error correction (FEC), one that does not support FEC, and one that does support SC FEC. The functions without FEC are only defined for OTU3.
-
-**Table 16-6 – OTSiG to OTUk adaptation functions**
-
-| Function type | Function name | OTUk |
-|----------------|--------------------------------------------------|----------|
-| OTSiG/OTUk-a_A | OTSiG to OTUk adaptation function with G.709 FEC | k = 3, 4 |
-| OTSiG/OTUk-b_A | OTSiG to OTUk adaptation function without FEC | k = 3 |
-| OTSi/OTU4-SC_A | OTSi to OTU4 adaptation function with SC FEC | k = 4 |
-
-NOTE – OTSiG/OTUk\_A is used throughout this clause as shorthand for the specific function type.
-
-#### 16.3.1 OTSiG to OTUk adaptation source function (OTSiG/OTUk\_A\_So)
-
-The information flow and processing of the OTSiG/OTUk\_A\_So function is defined with reference to Figures 16-7 and 16-8.
-
-##### Symbol
-
-![Diagram of the OTSiG/OTUk_A_So function symbol. An input labeled OTUk_CP enters a trapezoidal block labeled OTSiG/OTUk from the top. From the bottom of the block, multiple output lines emerge, labeled 1, ..., m, leading to OTSi_AP[1] and OTSi_AP[m]. Below the diagram is the text G.798(17)-Amd.4(22)_F16-7.](96be3e8be94c247917bab0d91881b5dc_img.jpg)
-
-Diagram of the OTSiG/OTUk\_A\_So function symbol. An input labeled OTUk\_CP enters a trapezoidal block labeled OTSiG/OTUk from the top. From the bottom of the block, multiple output lines emerge, labeled 1, ..., m, leading to OTSi\_AP[1] and OTSi\_AP[m]. Below the diagram is the text G.798(17)-Amd.4(22)\_F16-7.
-
-**Figure 16-7 – OTSiG/OTUk\_A\_So function**
-
-##### Interfaces
-
-**Table 16-7 – OTSiG/OTUk\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------|------------------------------------|
-| OTUk_CP: OTUk_CI_CK OTUk_CI_D OTUk_CI_FS OTUk_CI_MFS | per OTSi_AP: OTSi_AI_PLD |
-
-## Processes
-
-The processes associated with the OTSiG/OTUk\_A\_So function are as depicted in Figure 16-8.
-
-The processes associated with the OTSiG/OTUk\_A\_So function are specific processes for each OTSi lane signal of the OTSiG, and common processes for the compound signal as depicted in Figure 16-8.
-
-### Common processes
-
-**FAS/MFAS insertion:** The function shall insert the FAS and MFAS into the OTUk OH area as described in [ITU-T G.709].
-
-**FEC encoder:** See clause 8.5.2 for the OTSiG/OTUk-a\_A\_So function, clause 8.5.1 for the OTSiG/OTU3-b\_A\_So function and clause 8.5.4 for the OTSiG/OTU4-SC\_A\_So.
-
-**Scrambler:** The function shall scramble the signal as defined in clause 11.2 of [ITU-T G.709].
-
-**LLM insertion:** The function shall insert the logical lane marker (LLM) as defined in Annex C of [ITU-T G.709] for OTU4. The LLM replaces the 3rd OA2 byte position of the OTU4 FAS signal. In the case that no OTU4 frame is present (no FS indication), no LLM shall be inserted.
-
-NOTE 2 – No LLM insertion for OTU3 is required as this function is performed by the MFAS LSB positions of the OTU3 frame.
-
-**16-byte block distributor and rotator:** The function shall distribute each 16-byte block of the OTU3/OTU4 signal in round-robin way to the related lane structure ( $y = 20$ logical lanes for OTU4 and $y = 4$ lanes for OTU3), as defined in Annex C of [ITU-T G.709]. The distribution is aligned to the OTUk frame and for OTU3 to the LSB positions of the multiframe. After every 16320th byte the mapping to the lanes shall be rotated forward by one lane, so that the OTUk FAS position will be located in the next lane as specified in Annex C of [ITU-T G.709] (see Figures C.2 and C.3 of [ITU-T G.709]).
-
-### Lane specific processes
-
-**5:1 bit interleaver:** The process bit multiplexes groups of five logical lanes of the 20 logical lanes of the OTU4 signal to four physical optical OTSi signals according to Annex C of [ITU-T G.709].
-
-![Figure 16-8: OTSiG/OTUk_A_So processes. The diagram shows two flowcharts for k=3 (left) and k=4 (right). Both start with OTUk_CP inputs (CI_D, CI_CK, CI_FS, CI_MFS) entering a 'FAS/MFAS insertion' block. The output (D, CK, FS, MFS) goes to an 'FEC encoder', then a 'Scrambler', and finally a '16-byte block distributor and rotator'. The outputs (1 to 4) are labeled AI_PLD and OTSi_AP[1] to OTSi_AP[4]. The k=4 diagram adds an 'LLM insertion' block between the scrambler and the distributor, and splits the distributor outputs into two '5.1 bit interleaver' blocks before reaching the AI_PLD and OTSi_AP outputs. A reference code G.798(17)_F16-8 is present.](385c524299e3256900f891bc068d62b6_img.jpg)
-
-Figure 16-8: OTSiG/OTUk\_A\_So processes. The diagram shows two flowcharts for k=3 (left) and k=4 (right). Both start with OTUk\_CP inputs (CI\_D, CI\_CK, CI\_FS, CI\_MFS) entering a 'FAS/MFAS insertion' block. The output (D, CK, FS, MFS) goes to an 'FEC encoder', then a 'Scrambler', and finally a '16-byte block distributor and rotator'. The outputs (1 to 4) are labeled AI\_PLD and OTSi\_AP[1] to OTSi\_AP[4]. The k=4 diagram adds an 'LLM insertion' block between the scrambler and the distributor, and splits the distributor outputs into two '5.1 bit interleaver' blocks before reaching the AI\_PLD and OTSi\_AP outputs. A reference code G.798(17)\_F16-8 is present.
-
-Figure 16-8 – OTSiG/OTUk\_A\_So processes (left: k=3, right: k=4)
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.3.2 OTSiG to OTUk adaptation sink function (OTSiG/OTUk\_A\_Sk)
-
-The information flow and processing of the OTSiG/OTUk\_A\_Sk function is defined with reference to Figures 16-9 and 16-10.
-
-## Symbol
-
-![Diagram of the OTSiG/OTUk_A_Sk function symbol. A central trapezoidal block is labeled 'OTSiG/OTUk'. Above it, an arrow points up to 'OTUk_CP'. To the left, an arrow points left to 'OTSiG/OTUk_A_Sk_MP'. Below the block, three arrows point up from 'OTSi_AP[1]', 'OTSi_AP[m]', and 'OTSiG-O_AP'. A dashed oval with arrows labeled 'l' and 'm' is positioned between the input arrows and the block. A reference label 'G.798(17)-Amd.4(22)_F16-9' is at the bottom right.](189062b6daff39a4a33fb150b0aca878_img.jpg)
-
-Diagram of the OTSiG/OTUk\_A\_Sk function symbol. A central trapezoidal block is labeled 'OTSiG/OTUk'. Above it, an arrow points up to 'OTUk\_CP'. To the left, an arrow points left to 'OTSiG/OTUk\_A\_Sk\_MP'. Below the block, three arrows point up from 'OTSi\_AP[1]', 'OTSi\_AP[m]', and 'OTSiG-O\_AP'. A dashed oval with arrows labeled 'l' and 'm' is positioned between the input arrows and the block. A reference label 'G.798(17)-Amd.4(22)\_F16-9' is at the bottom right.
-
-Figure 16-9 – OTSiG/OTUk\_A\_Sk function
-
-## Interfaces
-
-Table 16-8 – OTSiG/OTUk\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| per OTSi_AP: OTSi_AI_PLD OTSiG-O_AP: OTSiG-O_AI_TSF-P OTSiG-O_AI_TSF-O OTSiG/OTUk_A_Sk_MP: OTSiG/OTUk_A_Sk_MI_FECEn (Note) OTSiG/OTUk_A_Sk_MI_1second | OTUk_CP: OTUk_CI_CK OTUk_CI_D OTUk_CI_FS OTUk_CI_MFS OTUk_CI_SSF OTSiG/OTUk_A_Sk_MP: OTSiG/OTUk_A_Sk_MI_cLOS-P OTSiG/OTUk_A_Sk_MI_cLOL OTSiG/OTUk_A_Sk_MI_cLOF OTSiG/OTUk_A_Sk_MI_cLOM OTSiG/OTUk_A_Sk_MI_pFECcorrErr |
-| NOTE – This input does not exist for OTU4. | |
-
-## Processes
-
-The processes associated with the OTSiG/OTUk\_A\_Sk function are as depicted in Figures 16-10 and 16-11.
-
-### Frame alignment:
-
-- For OTSiG/OTUk-a\_A\_Sk and OTSiG/OTUk-b\_A\_Sk, this optional process shall recover the OTUk frame start as described in clause 8.2.1.
-- For OTSiG/OTU4-SC\_A\_Sk, this optional process shall recover the OTU4 frame start. The detailed processing is for further study.
-
-### Pre-FEC Multiframe alignment:
-
-- For OTSiG/OTUk-a\_A\_Sk and OTSiG/OTUk-b\_A\_Sk, the process shall transparently pass the scrambled data at its input to the output.
-- For OTSiG/OTU4-SC\_A\_Sk, the process shall recover the pre-FEC multiframe start. The detailed processing is for further study.
-
-**Descrambler:** The process shall perform descrambling as defined in clause 11.2 of [ITU-T G.709].
-
-**FEC decoder:** See clause 8.5.2 for the OTSiG/OTUk-a\_A\_Sk function, clause 8.5.1 for the OTSiG/OTU3-b\_A\_Sk function and clause 8.5.4 for the OTSiG/OTU4-SC\_A\_Sk.
-
-**Multiframe alignment:** The function shall recover the OTUk multiframe start as described in clause 8.2.2.
-
-### Specific processes
-
-**Clock recovery:** The process shall recover the clock of the OTL physical lane signals from the incoming data. The function shall introduce no errors in case of jitter and wander, as defined in [ITU-T G.8251].
-
-**1/5 Bit dis-interleaver (OTU4):** The process shall bit de-multiplex the bitstream of the OTL physical lane into five logical lanes as defined in Annex C of [ITU-T G.709].
-
-#### Lane frame alignment:
-
-- For OTSiG/OTUk-a\_A\_Sk and OTSiG/OTUk-b\_A\_Sk, the process shall recover the logical lane frame start, as described in clause 8.2.5.
-- For OTSiG/OTU4-SC\_A\_Sk, the process shall recover the logical lane frame start. The detailed processing is for further study.
-
-**Lane alignment recovery:** The process shall recover the lane alignment signal of the logical lane, as described in clause 8.2.6.
-
-**LLM removal (OTU4):** The process shall remove the LLM and re-establish the OTU4-FAS OA2 byte pattern in the 6th byte position of the individual logical lane stream.
-
-**Lane deskew:** The lane deskew consists of 4 or 20 elastic store processes, and the lane marker and delay process. The process shall establish the delay compensation, compensating the differential delay between the logical lane signals as given in Annex C of [ITU-T G.709] for OTU3 and OTU4. The compensation between the data lanes is achieved by an elastic store per lane, writing the lane data under the control of the marker processing at the correct time into the 16-byte data block multiplexer. Each elastic store shall be capable of compensating at least 180 ns of absolute differential delay between the lanes in line with [IEEE 802.3].
-
-NOTE – [IEEE 802.3] considers the differential delay to be split into a static and variable part where the variable part of the differential delay may be up to 4 ns of variation.
-
-**OTU clock generator:** The process shall generate the OTUk clock from the incoming lane clock.
-
-**16-byte block mux:** The process shall interleave the 4 or 20 logical lane signals in 16-byte increments to restore the original OTUk, as given in Annex C of [ITU-T G.709], Figures C.2 and C.3. The OTUk frame start shall be recovered from the 4 or 20 lane frame start signals.
-
-![Block diagram of OTSiG/OTUk_A_Sk processes (k = 3). The diagram shows the signal flow from 4 physical lanes at the bottom to a single OTU3_CP output at the top. Each physical lane contains a Clock recovery and LOS detection block. These connect to 4 logical lanes, each containing a Lane frame alignment, Lane alignment recovery, and Elastic store (with RD and WR pointers). A central Lane marker and delay processing block connects the logical lanes and provides a dLOL signal. The signals then pass through a 16-byte block Mux (with Lane rotation and muxing control). Above the mux is an Optional section with Frame alignment and dLOF detection, followed by a Descrambler, FEC decoder, and Multiframe alignment block. This block outputs CI_D, CI_CK, CI_FS, and CI_MFS signals. Various detection signals (dLOM, dLOF, dLOL, dLOFLANE[1..4], dLOS-P[1..4]) are fed into Consequent actions (producing aSSF) and Defect correlation (producing MI_cLOM, MI_cLOF, MI_cLOL, MI_cLOS) blocks. Performance monitoring blocks receive nFECcorrErr and MI_FECEn signals and output MI_1second and MI_pFECcorrErr. The entire process is labeled OTSiG/OTU3_A_Sk_MP on the right. Inputs at the bottom are OTSi_AP[1] and OTSi_AP[4].](ffd430265e73d833a0aa30a5dd8261e3_img.jpg)
-
-The diagram illustrates the OTSiG/OTUk\_A\_Sk processes for k=3. It shows the aggregation of 4 physical lanes into a single OTU3\_CP output.
-
-- Physical Lanes (Bottom):** Four physical lanes (Lane #1 to Lane #4) are shown. Each lane contains a **Clock recovery** and **LOS detection** block. The inputs are OTSi\_AP[1] and OTSi\_AP[4]. The outputs are dLOS[1] and dLOS[4].
-- Logical Lanes:** Each physical lane connects to a logical lane. Each logical lane contains a **Lane frame alignment**, **Lane alignment recovery**, and an **Elastic store** (with RD and WR pointers). The outputs are dLOFLANE[1] and dLOFLANE[4].
-- Central Processing:** A **Lane marker and delay processing** block connects all logical lanes and provides a dLOL signal. A **16-byte block Mux** (with **Lane rotation and muxing control**) aggregates the signals from the logical lanes.
-- Optional Section:** Above the mux is an **Optional** section containing **Frame alignment** and **dLOF detection**, which outputs a dLOF signal.
-- Descrambler and FEC:** The signal then passes through a **Descrambler**, **FEC decoder**, and **Multiframe alignment** block. The **Multiframe alignment** block outputs CI\_D, CI\_CK, CI\_FS, and CI\_MFS signals.
-- Defect Detection and Monitoring:**
- - dLOM detection** receives signals from the **Multiframe alignment** block and outputs a dLOM signal.
- - Consequent actions** block receives dLOM, dLOF, dLOL, dLOFLANE[1..4], and dLOS-P[1..4] signals and outputs aSSF.
- - Defect correlation** block receives dLOM, dLOF, dLOL, dLOFLANE[1..4], and dLOS-P[1..4] signals and outputs MI\_cLOM, MI\_cLOF, MI\_cLOL, and MI\_cLOS signals.
- - Performance monitoring** block receives nFECcorrErr and MI\_FECEn signals and outputs MI\_1second and MI\_pFECcorrErr signals.
-- Labels:** The entire process is labeled **OTSiG/OTU3\_A\_Sk\_MP** on the right side. The top output is labeled **OTU3\_CP**.
-
-Block diagram of OTSiG/OTUk\_A\_Sk processes (k = 3). The diagram shows the signal flow from 4 physical lanes at the bottom to a single OTU3\_CP output at the top. Each physical lane contains a Clock recovery and LOS detection block. These connect to 4 logical lanes, each containing a Lane frame alignment, Lane alignment recovery, and Elastic store (with RD and WR pointers). A central Lane marker and delay processing block connects the logical lanes and provides a dLOL signal. The signals then pass through a 16-byte block Mux (with Lane rotation and muxing control). Above the mux is an Optional section with Frame alignment and dLOF detection, followed by a Descrambler, FEC decoder, and Multiframe alignment block. This block outputs CI\_D, CI\_CK, CI\_FS, and CI\_MFS signals. Various detection signals (dLOM, dLOF, dLOL, dLOFLANE[1..4], dLOS-P[1..4]) are fed into Consequent actions (producing aSSF) and Defect correlation (producing MI\_cLOM, MI\_cLOF, MI\_cLOL, MI\_cLOS) blocks. Performance monitoring blocks receive nFECcorrErr and MI\_FECEn signals and output MI\_1second and MI\_pFECcorrErr. The entire process is labeled OTSiG/OTU3\_A\_Sk\_MP on the right. Inputs at the bottom are OTSi\_AP[1] and OTSi\_AP[4].
-
-G.798(17)-Cor.2(21)\_F16-10
-
-Figure 16-10 – OTSiG/OTUk\_A\_Sk processes (k = 3)
-
-
-
-The diagram illustrates the OTSiG/OTU4\_A\_Sk\_MP processes (k=4). The signal flow starts at the bottom with physical lanes and moves upwards to the OTU4\_CP interface.
-
-- Physical Layer:** At the bottom, there are 4 physical lanes (represented by OTSi\_AP[1] to OTSi\_AP[4]). Each physical lane contains a **Clock recovery** block and a **LOS detection** block (outputting dLOS-P[1..4]). These feed into **1:5 bit dis-interleaver** blocks, which expand the 4 physical lanes into 20 logical lanes.
-- Logical Lanes:** There are 20 logical lanes (Lane #1 to Lane #20). Each logical lane consists of:
- - Lane frame alignment** (outputting dLOFLANE[1..20])
- - Lane alignment recovery**
- - LLM removal**
- - Elastic store** (with RD and WR clock domains)
- A central **Lane marker and delay processing** block coordinates across all 20 logical lanes and outputs a **dLOL** (Loss of Lane Alignment) signal.
-- Multiplexing and Alignment:** The 20 logical lanes are combined by a **16-byte block Mux**. This is followed by an **Optional Frame alignment** block and **dLOF detection** (outputting dLOF).
-- Processing Chain:** The signal then passes through:
- - Descrambler**
- - Pre-FEC Multiframe alignment**
- - FEC decoder** (outputting nFECcorrErr)
- - Multiframe alignment** (outputting dLOM detection and dLOM)
-- Outputs and Monitoring:** The final data output is **OTU4\_CP** (with signals CI\_D, CI\_CK, CI\_FS, CI\_MFS).
- - Performance monitoring** block outputs MI\_1second and MI\_pFECcorrErr.
- - Defect correlation** block outputs MI\_cLOM, MI\_cLOF, MI\_cLOL, and MI\_cLOS.
- - Consequent actions** block receives various defect signals (dLOM, dLOF, dLOL, dLOFLANE, dLOS-P) and outputs **aSSF** and **CI\_SSF**.
-- Control:** A **Lane rotation and mixing control** block (labeled 'A') interfaces with the Mux and Lane marker processing.
-
-Block diagram of OTSiG/OTU4\_A\_Sk\_MP processes (k=4).
-
-G.798(17)-Cor.2(21)\_F16-11
-
-OTSiG/OTU4-a\_A\_Sk\_MP
-
-Figure 16-11 – OTSiG/OTUk\_A\_Sk processes (k = 4)
-
-## Defects
-
-The function shall detect dLOS-P[1...4], dLOFLANE[1...y], dLOL, dLOF and dLOM.
-
-For OTU3, y = 4; for OTU4, y = 20.
-
-For each physical lane #i with i = 1..4:
-
-**dLOS-P[i]**: See clause 6.2.1.2.
-
-For each logical lane #i with i = 1..y:
-
-**dLOFLANE[i]**: See clause 6.2.5.6.
-
-**dLOL**: See clause 6.2.5.5.
-
-**dLOF**: If the optional frame alignment process is present, see clause 6.2.5.1, otherwise
-
-$$\text{dLOF} \leftarrow \sum \text{dLOFLANE}[i]$$
-
-**dLOM**: See clause 6.2.5.2.
-
-## Consequent actions
-
-$$\text{aSSF} \leftarrow \text{dLOF or dLOM or } \sum \text{dLOS-P}[i] \text{ or dLOL or } \sum \text{dLOFLANE}[i]$$
-
-## Defect correlations
-
-$$\text{cLOS} \leftarrow \sum \text{dLOS-P}[i]$$
-$$\text{cLOL} \leftarrow (\text{dLOL or } \sum \text{dLOFLANE}[i]) \text{ and (not } \sum \text{dLOS-P}[i])$$
-$$\text{cLOF} \leftarrow \text{dLOF and (not } \sum \text{dLOS-P}[i])$$
-$$\text{cLOM} \leftarrow \text{dLOM and (not dLOF) and (not } \sum \text{dLOS-P}[i])$$
-
-## Performance monitoring
-
-The OTSiG/OTUk-a\_A\_Sk function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the equipment management function (EMF).
-
-$$\text{pFECorrErr} \leftarrow \sum \text{nFECorrErr}$$
-
-NOTE 2 – During AI\_TSF-P, dAIS, dLOF and dLOM, no corrected bits shall be counted.
-
-## 16.4 OTSiG to OTUkV adaptation function (OTSiG/OTUkV\_A)
-
-The OTSiG to OTUkV adaptation functions perform the adaptation between the OTSiG layer adapted information and the characteristic information of functionally standardized OTUkV layer signal.
-
-### 16.4.1 OTSiG to OTUkV adaptation source function (OTSiG/OTUkV\_A\_So)
-
-The information flow and processing of the OTSiG/OTUkV\_A\_So function is defined with reference to Figure 16-12.
-
-## Symbol
-
-![Diagram of the OTSiG/OTUkV_A_So function symbol. An input OTUkV_CP enters a trapezoidal block labeled OTSiG/OTUkV. Inside the block, a dashed oval with arrows at both ends is labeled '1' on the left and 'm' on the right. Below the block, two output arrows are shown, labeled OTSi_AP[1] and OTSi_AP[m]. Below the diagram is the text G.798(17)-Amd.4(22)_F16-12.](34f4f0a61ba9563367acac205416e28c_img.jpg)
-
-Diagram of the OTSiG/OTUkV\_A\_So function symbol. An input OTUkV\_CP enters a trapezoidal block labeled OTSiG/OTUkV. Inside the block, a dashed oval with arrows at both ends is labeled '1' on the left and 'm' on the right. Below the block, two output arrows are shown, labeled OTSi\_AP[1] and OTSi\_AP[m]. Below the diagram is the text G.798(17)-Amd.4(22)\_F16-12.
-
-Figure 16-12 – OTSiG/OTUkV\_A\_So function
-
-## Interfaces
-
-Table 16-9 – OTSiG/OTUkV\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|-------------------------------------------------------------------------------------|-------------------------------------------|
-| OTUkV_CP: OTUkV_CI_CK OTUkV_CI_D OTUkV_CI_FS OTUkV_VI_MFS (Note) | For each OTSiG_AP: OTSiG_AI_PLD |
-| NOTE – If OTUkV has a multiframe | |
-
-## Processes
-
-The OTSiG/OTUkV\_A\_So function provides all processes necessary for the adaptation to the OTSiG layer, which includes processes that ensure clock and frame recovery at the adaptation sink and optional forward error correction coding.
-
-The specific processes are outside the scope of this Recommendation.
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.4.2 OTSiG to OTUkV adaptation sink function (OTSiG/OTUkV\_A\_Sk)
-
-The information flow and processing of the OTSiG/OTUkV\_A\_Sk function is defined with reference to Figure 16-13.
-
-## Symbol
-
-![Diagram of the OTSiG/OTUkV_A_Sk function symbol. The symbol is a trapezoid labeled 'OTSiG/OTUkV'. It has multiple input arrows from the bottom: 'OTSi_AP[1]', 'OTSi_AP[m]', and 'OTSiG-O_AP'. A dashed oval with arrows labeled '1' and 'm' is positioned between the bottom inputs and the trapezoid, with the label 'OTSiG' to its left. An output arrow points from the top of the trapezoid to 'OTUkV_CP'. Another output arrow points from the left side of the trapezoid to 'OTSiG/OTUkV_A_Sk_MP'. A small note 'G.798(17)-Amd.4(22)_F16-13' is at the bottom right.](eaa8ee2530516c47ef4dcc8a5db20fd0_img.jpg)
-
-Diagram of the OTSiG/OTUkV\_A\_Sk function symbol. The symbol is a trapezoid labeled 'OTSiG/OTUkV'. It has multiple input arrows from the bottom: 'OTSi\_AP[1]', 'OTSi\_AP[m]', and 'OTSiG-O\_AP'. A dashed oval with arrows labeled '1' and 'm' is positioned between the bottom inputs and the trapezoid, with the label 'OTSiG' to its left. An output arrow points from the top of the trapezoid to 'OTUkV\_CP'. Another output arrow points from the left side of the trapezoid to 'OTSiG/OTUkV\_A\_Sk\_MP'. A small note 'G.798(17)-Amd.4(22)\_F16-13' is at the bottom right.
-
-Figure 16-13 – OTSiG/OTUkV\_A\_Sk function
-
-## Interfaces
-
-Table 16-10 – OTSiG/OTUkV\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| For each OTSi_AP: OTSi_AI_PLD OTSiG-O_AP: OTSiG-O_AI_TSF-P OTSiG-O_AI_TSF-O OTSiG/OTUkV_A_Sk_MP: OTSiG/OTUkV_A_Sk_MI_1second (Note 2) | OTUkV_CP: OTUkV_CI_CK OTUkV_CI_D OTUkV_CI_FS OTUkV_CI_MFS (Note 1) OTUkV_CI_SSF OTSiG/OTUkV_A_Sk_MP: OTSiG/OTUkV_A_Sk_MI_cLOS-P OTSiG/OTUkV_A_Sk_MI_cLOF OTSiG/OTUkV_A_Sk_MI_cLOM (Note 1) OTSiG/OTUkV_A_Sk_MI_pFECcorrErr (Note 2) |
-| NOTE 1 – If OTUkV has a multiframe. | |
-| NOTE 2 – If the function performs FEC. | |
-
-## Processes
-
-The OTSiG/OTUkV\_A\_Sk function provides all processes necessary for the adaptation from the OTSiG layer, which includes processes for clock and frame start recovery and optional forward error correction decoding.
-
-The specific processes are outside the scope of this Recommendation.
-
-## Defects
-
-The function shall detect dAIS and dLOF. If the OTUkV includes a multiframe, it shall in addition detect dLOM.
-
-**dLOS-P:** See clause 6.2.1.2.
-
-**dAIS:** See clause 6.2.6.3.1.
-
-**dLOF:** The dLOF detection depends on the specific frame structure and is outside the scope of this Recommendation.
-
-**dLOM:** The dLOM detection is only required if the OTUkV has a multiframe, the detection depends on the specific multiframe structure and is outside the scope of this Recommendation.
-
-**Consequent actions:**
-
-aSSF $\leftarrow$ dLOS-P or dAIS or dLOF or AI\_TSF-P or dLOM
-
-NOTE 1 – dLOM is only included if the OTUkV has a multiframe.
-
-**Defect correlations**
-
-cLOS-P $\leftarrow$ dLOS-P and (not AI\_TSF-P)
-
-cLOF $\leftarrow$ dLOF and (not dLOS-P) and (not dAIS) and (not AI\_TSF-P)
-
-cLOM $\leftarrow$ dLOM and (not dLOS-P) and (not dLOF) and (not dAIS) and (not AI\_TSF-P)
-
-NOTE 2 – cLOM is only defined if the OTUkV has a multiframe.
-
-NOTE 3 – dAIS is not reported as fault cause as it is a secondary alarm and will result in aSSF, which is reported as cSSF fault cause in the ODU\_TT\_Sk that directly follows this function.
-
-**Performance monitoring**
-
-The function shall perform the following performance monitoring primitives processing if it includes FEC processing. The performance monitoring primitives shall be reported to the EMF.
-
-pFECcorrErr $\leftarrow \sum$ nFECcorrErr
-
-NOTE 4 – During AI\_TSF-P, dAIS, dLOF and dLOM no corrected bits shall be counted.
-
-**16.5 OTSi to OTUCn adaptation function (OTSi/OTUCn\_A)**
-
-The OTSi to OTUCn adaptation functions perform the adaptation between the OTSi layer adapted information and the characteristic information of the completely standardized OTUCn layer signal.
-
-**16.5.1 OTSi to OTUCn adaptation source function (OTSi/OTUCn\_A\_So)**
-
-The information flow and processing of the OTSi/OTUCn\_A\_So function is defined with reference to Figure 16-14.
-
-**Symbol**
-
-
-
-G.798(17)\_F16-14
-
-Diagram of the OTSi/OTUCn\_A\_So function symbol. It shows an input OTUCn\_CP entering a trapezoidal block labeled OTSi/OTUCn, with an output OTSi\_AP exiting the block. Below the diagram is the text G.798(17)\_F16-14.
-
-**Figure 16-14 – OTSi/OTUCn\_A\_So function**
-
-**Interfaces**
-
-**Table 16-11 – OTSi/OTUCn\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------|--------------------------------|
-| OTUCn_CP: OTUCn_CI_CK OTUCn_CI_D OTUCn_CI_FS OTUCn_CI_MFS | OTSi_AP: OTSi_AI_PLD |
-
-## Processes
-
-The OTSi/OTUCn\_A\_So function provides all processes necessary for the adaptation to the OTSi layer, which includes processes that ensure clock and frame recovery at the adaptation sink and optional forward error correction coding.
-
-The specific processes are outside the scope of this Recommendation.
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.5.2 OTSi to OTUCn adaptation sink function (OTSi/OTUCn\_A\_Sk)
-
-The information flow and processing of the OTSi/OTUCn\_A\_Sk function is defined with reference to Figure 16-15.
-
-#### Symbol
-
-
-
-Diagram of the OTSi/OTUCn\_A\_Sk function. A central trapezoidal block labeled 'OTSi/OTUCn' has two input arrows from below labeled 'OTSi\_AP' and 'OTSiG-O\_AP'. It has one output arrow pointing upwards labeled 'OTUCn\_CP'. It also has a bidirectional horizontal arrow on the left labeled 'OTSiG/OTUCn\_A\_Sk\_MP'. Below the diagram is the text 'G.798(17)-Amd.4(22)\_F16-15'.
-
-**Figure 16-15 – OTSi/OTUCn\_A\_Sk function**
-
-#### Interfaces
-
-**Table 16-12 – OTSi/OTUCn\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| OTSi_AP: OTSi_AI_PLD OTSiG-O_AP: OTSiA_AI_TSF-O OTSiA_AI_TSF-P OTSi/OTUCn_A_Sk_MP: OTSi/OTUCn_A_Sk_MI_1second | OTUCn_CP: OTUCn_CI_CK OTUCn_CI_D OTUCn_CI_FS OTUCn_CI_MFS OTUCn_CI_SSF OTSi/OTUCn_A_Sk_MP: OTSi/OTUCn_A_Sk_MI_cLOS-P OTSi/OTUCn_A_Sk_MI_cLOL OTSi/OTUCn_A_Sk_MI_cLOF OTSi/OTUCn_A_Sk_MI_cLOM OTSi/OTUCn_A_Sk_MI_pFECcorrErr |
-
-## Processes
-
-The OTSi/OTUCn\_A\_Sk function provides all processes necessary for the adaptation from the OTSi layer, which includes processes for clock and frame start recovery and optional forward error correction decoding.
-
-The specific processes are outside the scope of this Recommendation.
-
-## Defects
-
-The function shall detect dLOS-P[1..m], dLOF and dLOM.
-
-**dLOS-P[i]:** See clause 6.2.1.2.
-
-**dLOF:** See clause 6.2.5.1.
-
-**dLOM:** See clause 6.2.5.2.
-
-## Consequent actions:
-
-$a\text{SSF} \leftarrow \sum d\text{LOS-P}[i] \text{ or } d\text{LOF} \text{ or } \text{AI\_TSF-P} \text{ or } d\text{LOM}$
-
-## Defect correlations
-
-$c\text{LOS-P} \leftarrow \sum d\text{LOS-P}[i] \text{ and (not AI\_TSF-P)}$
-
-$c\text{LOF} \leftarrow d\text{LOF} \text{ and (not } \sum d\text{LOS-P}[i] \text{) and (not AI\_TSF-P)}$
-
-$c\text{LOM} \leftarrow d\text{LOM} \text{ and (not } \sum d\text{LOS-P}[i] \text{) and (not } d\text{LOF) and (not AI\_TSF-P)}$
-
-## Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing if it includes FEC processing. The performance monitoring primitives shall be reported to the EMF.
-
-$p\text{FECcorrErr} \leftarrow \sum n\text{FECcorrErr}$
-
-NOTE – During AI\_TSF-P, dLOF and dLOM no corrected bits shall be counted.
-
-## 16.6 OTSiG to OTUCn adaptation function (OTSiG/OTUCn\_A)
-
-The OTSiG to OTUCn adaptation functions perform the adaptation between the OTSiG layer adapted information and the characteristic information of the completely standardized OTUCn layer signal.
-
-### 16.6.1 OTSiG to OTUCn adaptation source function (OTSiG/OTUCn\_A\_So)
-
-The information flow and processing of the OTSiG/OTUCn\_A\_So function is defined with reference to Figure 16-16.
-
-#### Symbol
-
-![Diagram of the OTSiG/OTUCn_A_So function symbol. An input labeled OTUCn_CP enters a trapezoidal block labeled OTSiG/OTUCn. Inside the block, a dashed oval contains two vertical arrows pointing downwards, labeled 1 and m respectively. The output consists of two parallel lines labeled OTSi_AP[1] and OTSi_AP[m]. Below the diagram is the text G.798(17)-Amd.4(22)_F16-16.](9a53cf0c36d7542a25d60835be986e5a_img.jpg)
-
-G.798(17)-Amd.4(22)\_F16-16
-
-Diagram of the OTSiG/OTUCn\_A\_So function symbol. An input labeled OTUCn\_CP enters a trapezoidal block labeled OTSiG/OTUCn. Inside the block, a dashed oval contains two vertical arrows pointing downwards, labeled 1 and m respectively. The output consists of two parallel lines labeled OTSi\_AP[1] and OTSi\_AP[m]. Below the diagram is the text G.798(17)-Amd.4(22)\_F16-16.
-
-**Figure 16-16 – OTSiG/OTUCn\_A\_So function**
-
-## Interfaces
-
-**Table 16-13 – OTSiG/OTUCn\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------|-----------------------------------------|
-| OTUCn_CP: OTUCn_CI_CK OTUCn_CI_D OTUCn_CI_FS OTUCn_CI_MFS | For each OTSi_AP: OTSi_AI_PLD |
-
-## Processes
-
-The OTSiG/OTUCn\_A\_So function provides all processes necessary for the adaptation to the OTSiA layer, which includes processes that ensure clock and frame recovery at the adaptation sink and optional forward error correction coding.
-
-The specific processes are outside the scope of this Recommendation.
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.6.2 OTSiG to OTUCn adaptation sink function (OTSiG/OTUCn\_A\_Sk)
-
-The information flow and processing of the OTSiG/OTUCn\_A\_Sk function is defined with reference to Figure 16-17.
-
-#### Symbol
-
-![Diagram of the OTSiG/OTUCn_A_Sk function. A central trapezoidal block is labeled 'OTSiG/OTUCn'. To its left, an arrow labeled 'OTSiG/OTUCn_A_Sk_MP' points into the block. Above the block, an arrow labeled 'OTUCn_CP' points out. Below the block, three arrows point into it: 'OTSi_AP[1]', 'OTSi_AP[m]', and 'OTSiG-O_AP'. A dashed oval labeled 'OTSiG' encloses the bottom input arrows, with '1' and 'm' indicating multiple inputs.](50d5b503f4b41d7a601c1340dfd6aa74_img.jpg)
-
-G.798(17)-Amd.4(22)\_F16-17
-
-Diagram of the OTSiG/OTUCn\_A\_Sk function. A central trapezoidal block is labeled 'OTSiG/OTUCn'. To its left, an arrow labeled 'OTSiG/OTUCn\_A\_Sk\_MP' points into the block. Above the block, an arrow labeled 'OTUCn\_CP' points out. Below the block, three arrows point into it: 'OTSi\_AP[1]', 'OTSi\_AP[m]', and 'OTSiG-O\_AP'. A dashed oval labeled 'OTSiG' encloses the bottom input arrows, with '1' and 'm' indicating multiple inputs.
-
-**Figure 16-17 – OTSiG/OTUCn\_A\_Sk function**
-
-## Interfaces
-
-**Table 16-14 – OTSiG/OTUCn\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| For each OTSi_AP: OTSi_AI_PLD OTSiG-O_AP: OTSiA_AI_TSF-O OTSiA_AI_TSF-P OTSiG/OTUCn_A_Sk_MP: OTSiG/OTUCn_A_Sk_MI_1second | OTUCn_CP: OTUCn_CI_CK OTUCn_CI_D OTUCn_CI_FS OTUCn_CI_MFS OTUCn_CI_SSF OTSiG/OTUCn_A_Sk_MP: OTSiG/OTUCn_A_Sk_MI_cLOS-P OTSiG/OTUCn_A_Sk_MI_cLOL OTSiG/OTUCn_A_Sk_MI_cLOF OTSiG/OTUCn_A_Sk_MI_cLOM OTSiG/OTUCn_A_Sk_MI_pFECcorrErr |
-
-## Processes
-
-The OTSiG/OTUCn\_A\_Sk function provides all processes necessary for the adaptation from the OTSiG layer, which includes processes for clock and frame start recovery and optional forward error correction decoding.
-
-The specific processes are outside the scope of this Recommendation.
-
-## Defects
-
-The function shall detect dLOS-P[1..m], dLOF and dLOM.
-
-**dLOS-P[i]:** See clause 6.2.1.2.
-
-**dLOF:** See clause 6.2.5.1.
-
-**dLOM:** See clause 6.2.5.2.
-
-## Consequent actions:
-
-aSSF $\leftarrow \sum$ dLOS-P[i] or dLOF or AI\_TSF-P or dLOM
-
-## Defect correlations
-
-cLOS-P $\leftarrow \sum$ dLOS-P[i] and (not AI\_TSF-P)
-
-cLOF $\leftarrow$ dLOF and (not $\sum$ dLOS-P[i]) and (not AI\_TSF-P)
-
-cLOM $\leftarrow$ dLOM and (not $\sum$ dLOS-P[i]) and (not dLOF) and (not AI\_TSF-P)
-
-## Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing if it includes FEC processing. The performance monitoring primitives shall be reported to the EMF.
-
-pFECcorrErr $\leftarrow \sum$ nFECcorrErr
-
-NOTE – During AI\_TSF-P, dLOF and dLOM no corrected bits shall be counted.
-
-## 16.7 OTSi to FlexO-x adaptation function (OTSi/FlexO-x\_A)
-
-The OTSi to FlexO-x ( $x = 1, 2, 4$ ) adaptation functions perform the adaptation between the Modulator/Demodulator layer adapted information and the characteristic information of the FlexO-x
-
-layer signal for the flexible OTN long reach interfaces with different FEC schemes and targeting various modulation schemes. For each FEC scheme, two types of functions are defined: one that supports the standardized FlexOsec encryption and authentication functions (GCM-AES-256) and one that does not support FlexOsec encryption and authentication.
-
-**Table 16-14.1 – OTSi to FlexO-*x* adaptation functions (*x* = 1, 2, 4)**
-
-| Function type | Function name | FlexO- x |
-|-----------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|
-| M-AI/FlexO-1-SC_A | OTSi to FlexO-1 adaptation function with Staircase FEC code (no DSP frame) with 4 lanes towards the M-AP and without FlexOsec encryption and authentication | x =1 |
-| M-AI/FlexO-1-GCM-SC_A | OTSi to FlexO- x adaptation source function with Staircase FEC code (no DSP frame), with 4 lanes towards the M-AP and with GCM-AES-256 FlexOsec encryption and authentication | x =1 |
-| M-AI/FlexO- x -DSH-Z_A | OTSi to FlexO- x adaptation function with Staircase plus Hamming concatenated FEC code using the DSH frame format, with Z lanes towards the M-AP and without FlexOsec encryption and authentication | { x , Z }= {1,4}, {2,4}, {2,8}, {4,8} |
-| M-AI/FlexO- x -GCM-DSH-Z_A | OTSi to FlexO- x adaptation source function with Staircase plus Hamming concatenated FEC code using the DSH frame format, with Z lanes towards the M-AP and with GCM-AES-256 FlexOsec encryption and authentication | { x , Z }= {1,4}, {2,4}, {2,8}, {4,8} |
-| M-AI/FlexO- x -DO-Z_A | OTSi to FlexO- x adaptation function with OFEC code using the DO frame format, with Z lanes towards the M-AP and without FlexOsec encryption and authentication | { x , Z }= {1,4}, {2,4}, {2,8}, {4,8} |
-| M-AI/FlexO- x -GCM-DO-Z_A | OTSi to FlexO- x adaptation source function with OFEC code using the DO frame format, with Z lanes towards the M-AP and with GCM-AES-256 FlexOsec encryption and authentication | { x , Z }= {1,4}, {2,4}, {2,8}, {4,8} |
-
-### 16.7.1 OTSi to FlexO-1-SC adaptation source function (OTSi/FlexO-1-SC\_A\_So and OTSi/FlexO-1-GCM-SC\_A\_So)
-
-The information flow and processing of the OTSi/FlexO-1-SC\_A\_So and M-AI/FlexO-1-GCM-SC\_A\_So functions is defined with reference to Figures 16-17.1 and 16-17.2. The interfaces of these functions are defined in Table 16-14.1.
-
-## Symbol
-
-![Diagram showing two functional symbols. The left symbol is 'M-AI/FlexO-1-SC' with input 'FlexO-1_CP (x = 1, 2, 4)' and output 'OTSi_AP' via 'M-AP[1..4]'. The right symbol is 'M-AI/FlexO-1-GCM-SC' with inputs 'FlexO-1_CP (x = 1, 2, 4)' and 'SK_COMMS_CP', and output 'OTSi_AP' via 'M-AP[1..4]'. It also has an input 'M-AI/FlexO-1-GCM-SC_A_So_SKP'.](18d75b5fb1019ed4bc5384d14f8d1b7a_img.jpg)
-
-G.798(17)-Amd.4(22)\_F16-17.1
-
-Diagram showing two functional symbols. The left symbol is 'M-AI/FlexO-1-SC' with input 'FlexO-1\_CP (x = 1, 2, 4)' and output 'OTSi\_AP' via 'M-AP[1..4]'. The right symbol is 'M-AI/FlexO-1-GCM-SC' with inputs 'FlexO-1\_CP (x = 1, 2, 4)' and 'SK\_COMMS\_CP', and output 'OTSi\_AP' via 'M-AP[1..4]'. It also has an input 'M-AI/FlexO-1-GCM-SC\_A\_So\_SKP'.
-
-**Figure 16-17.1 – OTSi/FlexO-1-SC\_A\_So and M-AI/FlexO-1-GCM-SC\_A\_So function**
-
-## Interfaces
-
-**Table 16-14.1 – OTSi/FlexO-1-SC\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
-| FlexO_CP : FlexO_CI_CK FlexO_CI_D FlexO_CI_FS FlexO_CI_MFS M-AI/FlexO-1-GCM-SC_A_So_SKP: (Note) M-AI/FlexO-1-GCM-SC_A_So_SKI_Key[0,1,2,3] M-AI/FlexO-1-GCM-SC_A_So_SKI_KI M-AI/FlexO-1-GCM-SC_A_So_SKI_IV_Fixed_ID SK_COMMS_CP: (Note) SK_COMMS_CI_D | M-AP: M-AI_D[1..4] SK_COMMS_CP: (Note) SK_COMMS_CI_CK |
-| NOTE – For OTSiG/FlexO-1-GCM-SC_A_So only. | |
-
-## Processes
-
-The processes associated with the OTSi/FlexO-1-SC\_A\_So and M-AI/FlexO-1-GCM-SC\_A\_So function are as depicted in Figure 16-17.2.
-
-**MFAS insertion:** The function shall insert the MFAS into the FlexO overhead area as described in [ITU-T G.709.1].
-
-### FlexOsec processes:
-
-- For M-AI/FlexO-1-GCM-SC\_A\_So function, see clause 8.14.1, and clause 8.14.3.1 for the specific FlexOsec GCM-AES-256 encryption and authentication processes with the cipher suite type (CST) code point value 000001, as defined in clause B.1 of [ITU-T G.709.1]. The secure key information (SKI) inputs from the key exchange and agreement functions provide a set of configurable keys and trigger the switch to a new key through SKI\_KI input.
-- For M-AI/FlexO-1-SC\_A\_So function, this is a null process connecting its output signals to the corresponding input signals.
-
-**COMMS clock generation:** For M-AI/FlexO-1-GCM-SC\_A\_So function, the process shall generate SK\_COMMS clock (CK\_COM) by dividing the FlexO clock (CI\_CK) by a factor of 82240.
-
-**Insert KCC:** The in-band key exchange communication channel (KCC) is optional for M-AI/FlexO-1-GCM-SC\_A\_So function and unused for M-AI/FlexO-1-SC\_A\_So function. When used, the
-
-incoming SK\_COMMS\_CI\_D data is inserted after FlexOsec authentication and encryption into the KCC field of the FlexO-1 frame (CI\_D) as described in clause 9.3.2.5 of [ITU-T G.709.1]. When it is not used, the all-ZEROS reserved value is inserted into the KCC field.
-
-**Alignment insertion:** The function shall insert the alignment marker into the FlexO-1 frame AM area as described in clause 9 of [ITU-T G.709.3].
-
-**Mapping:** The function shall map (i.e., addition of staircase FEC parity area) the incoming FlexO-1 frame into the FlexO-1-SC frame payload area as defined in clause 11.1 of [ITU-T G.709.3].
-
-**Clock generation:** The function shall generate the FlexO-1-SC clock by multiplying the incoming FlexO clock (CI\_CK) by $[5485/5140]$ to the frequency as listed in Table 11-2 of [ITU-T G.709.3]. The FOIC1.4-SC lane clock is obtained by dividing the FlexO-1-SC clock by a factor 4.
-
-**FBS, FBGS and MBS generation:** The function shall generate the staircase (SC) FEC block start (BS) and group start (FBGS) using the incoming FlexO-1 frame start (FS) to align the Staircase FEC blocks structure with the FlexO-1-SC frame structure as described in clause 11.1 of [ITU-T G.709.3]. An SC FEC block group (FBG) consists of 238 consecutive FlexO-1-SC frame rows that is exactly $5140 \times 238$ bits; it contains five SC FEC blocks. In addition, the function shall generate the SC FEC multi-block sequence start (MBS) every 128 SC FEC blocks, to synchronize the state of the staircase (SC) FEC error decorrelator (ED) as described in clause 11.3.2 of [ITU-T G.709.3].
-
-**Generate FBA:** The function shall generate the FEC block alignment (FBA) overhead as described in clause 11.3.1 of [ITU-T G.709.3].
-
-**FEC OH insertion:** The function shall insert the FEC block alignment (FBA) overhead into the FEC overhead area within the extended overhead of the FlexO-1-SC frame as described in clause 11.3 of [ITU-T G.709.3].
-
-**Generate MBAS:** The function shall generate the 6-bit SC FEC multi block alignment signal (MBAS) to be inserted into the FlexO-1-SC OH area as described in clause 11.3.2 and Annex C of [ITU-T G.709.3].
-
-**FEC adapter and encoder:** See clause 8.5.4.
-
-**Scrambler:** The function shall scramble FlexO-1-SC frame payload, FEC parity, fixed stuffing, extended overhead and basic overhead area as defined in clause 11.5 of [ITU-T G.709.3].
-
-**Symbol Distribution:** The function shall divide FlexO-1-SC frame signal into 4 FOIC1.4-SC lanes based on 10-bit symbol granularity as described in clause 11.6 of [ITU-T G.709.3].
-
-Note that the 4 FOIC1.4-SC logical lanes carry a dual polarization symbol, so that 2 lanes are to be associated with polarization X, while the other 2 lanes are to be associated with the polarization Y. The mapping of the 4 lanes to the dual polarization symbol is specified in clause 11.6.1 of [ITU-T G.709.3].
-
-**PMA process:** The process shall map the FOIC1.4-SC lanes onto the physical media adapted interface. The details are out of scope of this Recommendation.
-
-
-
-The diagram illustrates the signal processing flow for OTSi/FlexO-1-SC\_A\_So and M-AI/FlexO-1-GCM-SC\_A\_So. At the top, FlexO-1\_CP inputs (CI\_D, CI\_CK, CI\_FS, CI\_MFS) enter the 'MFAS insertion' block. SK\_COMMS\_CP inputs (CI\_CK, CI\_D) enter the 'COMMS clock generation' block. The 'COMMS clock generation' block outputs CK\_COM and D\_COM signals. The 'FlexOsec processes' block receives D, CK, and FS signals from 'MFAS insertion' and control signals (SKI\_Key[0, 1, 2, 3], SKI\_KI, SKI\_IV\_Fixed\_ID) from the right. It also receives CK\_COM and D\_COM from 'COMMS clock generation' and D\_sec from 'Insert KCC'. The 'Insert KCC' block receives CK\_COM and D\_COM from 'COMMS clock generation'. The 'FlexOsec processes' block outputs D, CK, and FS signals to the 'Alignment insertion' block. The 'Alignment insertion' block outputs D, CK, and FS signals to the 'Mapping (to-SC frame)' block. The 'Mapping (to-SC frame)' block receives CK\_SC from 'FlexO-1 SC clock generation (×5485/5140)' and outputs D and FS signals. The 'FEC OH insertion' block receives D and FS signals from 'Mapping (to-SC frame)' and FBA from 'Generate FBA'. It outputs D and FS signals to the 'FEC adapter and encoder' block. The 'Generate FBA' block receives FBGS, MBS, and BS from the 'BS, MBS and FBGS generator' and outputs FBA. The 'FEC adapter and encoder' block receives D and FS signals from 'FEC OH insertion' and MBAS from 'Generate MBAS'. It outputs D and FS signals to the 'Scrambler' block. The 'Generate MBAS' block receives FBGS, MBS, and BS from the 'BS, MBS and FBGS generator' and outputs MBAS. The 'Scrambler' block receives D and FS signals from 'FEC adapter and encoder' and outputs D and FS signals to the 'Symbol distribution' block. The 'Symbol distribution' block outputs FOIC1.4-SC D[1..4] and CK\_SC signals to the 'PMA' block. The 'PMA' block outputs 1, ..., 4 signals to the 'M-AP' block. The 'M-AP' block outputs M-AI\_D[1] ... M-AI\_D[4] signals. The 'BS, MBS and FBGS generator' block receives CK\_SC from 'FlexO-1 SC clock generation (×5485/5140)' and outputs FBGS, MBS, and BS signals to 'Generate FBA' and 'Generate MBAS' blocks. The 'FlexO-1 SC clock generation (×5485/5140)' block receives CK\_COM from 'COMMS clock generation' and outputs CK\_SC signals to 'Mapping (to-SC frame)' and 'BS, MBS and FBGS generator' blocks. The diagram is labeled G.798(23)\_F16-17.2 and M-AI/FlexO-1-(GCM)-SC\_A\_So\_SKP.
-
-Block diagram of OTSi/FlexO-1-SC\_A\_So and M-AI/FlexO-1-GCM-SC\_A\_So processes. The diagram shows the signal flow from FlexO-1\_CP and SK\_COMMS\_CP inputs through various processing stages including MFAS insertion, FlexOsec processes, Alignment insertion, Mapping, FEC OH insertion, FEC adapter and encoder, Scrambler, Symbol distribution, and PMA to M-AP outputs. Control signals like CK\_D, CK\_CK, CK\_FS, CK\_MFS, CK\_COM, D\_COM, CK\_SC, and various keys (SKI\_Key, SKI\_KI, SKI\_IV\_Fixed\_ID) are also shown.
-
-Figure 16-17.2 – OTSi/FlexO-1-SC\_A\_So and M-AI/FlexO-1-GCM-SC\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-## 16.7.2 OTSi to FlexO-1-SC adaptation sink function (OTSi/FlexO-1-SC\_A\_Sk and M-AI/FlexO-1-GCM-SC\_A\_Sk)
-
-The information flow and processing of the OTSi/FlexO-1-SC\_A\_Sk and OTSi/FlexO-1-GCM-SC\_A\_Sk functions is defined with reference to Figures 16-17.3 and 16-17.4. The interfaces of these functions are defined in Table 16-14.2.
-
-### Symbol
-
-![Figure 16-17.3 shows two block diagrams. The left diagram represents the OTSi/FlexO-1-SC_A_Sk function, showing a block 'M-AI/FlexO-1-SC' with inputs 'M-AP[1..Z]' (from OTSi_AP) and 'M-AI/FlexO-1-SC_Sk_MP' (from M-AI/FlexO-1-SC_Sk_MP), and output 'FlexO-1_CP'. The right diagram represents the M-AI/FlexO-1-GCM-SC_A_Sk function, showing a block 'M-AI/FlexO-1-GCM-SC' with inputs 'M-AP[1..Z]' (from OTSi_AP), 'M-AI/FlexO-1-GCM-SC_Sk_MP' (from M-AI/FlexO-1-GCM-SC_Sk_MP), and 'M-AI/FlexO-1-GCM-SC_A_Sk_SKP' (from M-AI/FlexO-1-GCM-SC_A_Sk_SKP), and outputs 'FlexO-1_CP' and 'SK_COMMS_CP'. A note 'G.798(17)-Amd.4(22)_F16-17.3' is present below the right diagram.](c8262867e39639276066c34941705aed_img.jpg)
-
-Figure 16-17.3 shows two block diagrams. The left diagram represents the OTSi/FlexO-1-SC\_A\_Sk function, showing a block 'M-AI/FlexO-1-SC' with inputs 'M-AP[1..Z]' (from OTSi\_AP) and 'M-AI/FlexO-1-SC\_Sk\_MP' (from M-AI/FlexO-1-SC\_Sk\_MP), and output 'FlexO-1\_CP'. The right diagram represents the M-AI/FlexO-1-GCM-SC\_A\_Sk function, showing a block 'M-AI/FlexO-1-GCM-SC' with inputs 'M-AP[1..Z]' (from OTSi\_AP), 'M-AI/FlexO-1-GCM-SC\_Sk\_MP' (from M-AI/FlexO-1-GCM-SC\_Sk\_MP), and 'M-AI/FlexO-1-GCM-SC\_A\_Sk\_SKP' (from M-AI/FlexO-1-GCM-SC\_A\_Sk\_SKP), and outputs 'FlexO-1\_CP' and 'SK\_COMMS\_CP'. A note 'G.798(17)-Amd.4(22)\_F16-17.3' is present below the right diagram.
-
-Figure 16-17.3 – OTSi/FlexO-1-SC\_A\_Sk and M-AI/FlexO-1-GCM-SC\_A\_Sk functions
-
-### Interfaces
-
-Table 16-14.2 – OTSi/FlexO-1-SC\_A\_Sk inputs and outputs
-
-| Input(s) | Output(s) |
-|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| M_AP: M-AI_D[1..4] OTSiG-O_AP: OTSiA_AI_TSF-O OTSiA_AI_TSF-P M-AI/FlexO-1-SC_A_Sk_MP: M-AI/FlexO-1-SC_A_Sk_MI_1second M-AI/FlexO-1-SC_A_Sk_MI_SquelchEn (Note) M-AI/FlexO-1-GCM-SC_A_Sk_SKP: (Note) M-AI/FlexO-1-GCM-SC_A_Sk_SKI_Key[0,1,2,3] M-AI/FlexO-1-GCM-SC_A_Sk_SKI_IV_Fixed_ID | FlexO-1_CP: FlexO-1_CI_CK FlexO-1_CI_D FlexO-1_CI_FS FlexO-1_CI_MFS FlexO-1_CI_SSF M-AI/FlexO-1-SC_A_Sk_MP: M-AI/FlexO-1-SC_A_Sk_MI_AcCST (Note) M-AI/FlexO-1-SC_A_Sk_MI_cLOS-P M-AI/FlexO-1-SC_A_Sk_MI_cLOL M-AI/FlexO-1-SC_A_Sk_MI_cLOM M-AI/FlexO-1-SC_A_Sk_MI_cCSTM (Note) M-AI/FlexO-1-SC_A_Sk_MI_cUnlockSec (Note) M-AI/FlexO-1-SC_A_Sk_MI_pFECcorrErr M-AI/FlexO-1-SC_A_Sk_MI_pAuthCheckErr (Note) M-AI/FlexO-1-GCM-SC_A_Sk_SKP: (Note) M-AI/FlexO-1-GCM-SC_A_Sk_SKI_AcKI SK_COMMS_CP: (Note) SK_COMMS_CI_D SK_COMMS_CI_CK |
-| NOTE – For OTSiG/FlexO-1-GCM-SC_A_Sk only. | |
-
-### Processes
-
-The processes associated with the OTSi/FlexO-1-SC\_A\_Sk and M-AI/FlexO-1-GCM-SC\_A\_Sk function are as depicted in Figure 16-17.4.
-
-**PMA process:** The process shall recover the data and clock of the FOIC1.4-SC lanes from the physical media adapted interface. The details are out of scope of this Recommendation.
-
-**FOIC1.4 Frame alignment:** The function shall recover the start of ¼ FlexO-1-SC frame (FOIC1.4-SC) through obtaining LOCK to the alignment markers as specified by the FEC synchronization state diagram in clause 91.5.3.1 of [IEEE 802.3]. The specific alignment marker to be locked shall be CM0 to CM5 (48 bits) per frame as specified in clause 9.1 of [ITU-T G.709.1] while the distance between alignment markers (counted by amp\_counter) shall correspond to 128 rows as specified in clause 11.1 of [ITU-T G.709.3]. Additionally, the synchronization process on all logical lanes shall be restarted (restart\_lock set to true) if five consecutive alignment markers fail to match on any of the logical lanes.
-
-**Deskew:** The deskewing process shall remove the skew of all four FOIC1.4-SC lanes as specified by the FEC alignment state diagram in clause 91.5.3.1 of [IEEE 802.3]. It shall support a maximum skew of 180 ns between FEC lanes and a maximum skew variation of 4 ns.
-
-**Recombination:** The function shall multiplex the aligned and ordered four FOIC1.4-SC lanes into the original stream of FEC-1-SC and reconstruct the FlexO-1-SC frame as described in clause 11.6 of [ITU-T G.709.3].
-
-**Descrambler:** The function shall perform descrambling for FlexO-1-SC frame payload, fixed stuffing and extended overhead and basic overhead area as described in clause 11.5 of [ITU-T G.709.3].
-
-**FEC OH Extraction:** The function shall extract the FEC Block Alignment (FBA) overhead from the FEC overhead area within the extended overhead of the FlexO-1-SC frame as described in clause 11.3 of [ITU-T G.709.3].
-
-**FEC Adapter and Decoder:** See clause 8.5.4.
-
-NOTE – In this process, the Multi Block Alignment Signal (MBAS) overhead is extracted from FlexO-1-SC overhead as described in clause B.2 of [ITU-T G.709.3] and MBAS sequence is aligned to synchronize SC FEC Error Decorrelator (ED).
-
-**Demapping:** The function shall demap (i.e., removal of staircase SC FEC parity area) the FlexO-1 frame from the incoming FlexO-1-SC frame as defined in clause 11.1 of [ITU-T G.709.3].
-
-**Extract and replace KCC:** The in-band key exchange communication channel (KCC) is optional for M-AI/FlexO-1-GCM-SC\_A\_Sk and unused for M-AI/FlexO-1-SC\_A\_Sk. When used, the function shall extract the KCC data (SK\_COMMS\_CI\_D) from the FlexOsec KCC overhead field of the FlexO-1 as described in clause 9.2.8 of [ITU-T G.709.1]. The bit rate of the KCC data is defined by the outgoing KCC clock. The function shall generate the KCC clock (SK\_COMMS\_CI\_CK) by dividing the FlexO-*x* clock by a factor of 82240. After extraction, the KCC byte in the FlexOsec overhead is replaced with value 0x00 at the input of the FlexOsec sink processes.
-
-#### **FlexOsec processes:**
-
-- For M-AI/FlexO-1-GCM-SC\_A\_Sk function, see clause 8.14.2 and clause 8.14.3.1 for the specific GCM-AES-256 decryption and authentication processes with the cipher suite type (CST) code point value 000001, as defined in clause B.1 of [ITU-T G.709.1]. The Secure Key Information (SKI) inputs from the key exchange and agreement functions provide a set of configurable keys and trigger the switch to a new key through SKI\_KI input.
-- For M-AI/FlexO-1-SC\_A\_Sk function, this is a null process connecting its output signals to the corresponding input signals.
-
-**Multiframe alignment:** The process shall recover the FlexO multi-frame start as described in clause 8.2.2.
-
-
-
-The diagram illustrates the internal architecture of OTSi/FlexO-1-SC\_A\_Sk and M-AI/FlexO-1-GCM-SC\_A\_Sk processes. At the bottom, the **PMA** and **FOIC1.4-SC** blocks receive inputs from **AI\_CKLOC**, **AI\_D[1]..AI\_D[4]** (via **M-AP**), and **AI\_TSF-P** (via **OTSiG-O\_AP**). It outputs **dLOL** and **dLOS-P**. Above this is a lane-based **Alignment lock** stage (4 logical lanes) with **Lane marker process**, feeding into **Recombination**, **Descrambler**, **FBA extract and alignment**, **FEC adapter and decoder**, and **Demapping (from SC-Frame)**. Each block has **D** (data), **CK** (clock), and **FS** (frame sync) interfaces. The **Demapping** block feeds into **FlexOsec processes**, which in turn feed into **Multiframe alignment**. **Multiframe alignment** outputs **dLOM** and various control signals (**Dsec**, **CK**, **FS**) to the **FlexO\_CP** interface. **FlexOsec processes** also output **AuthCheckErr**, **dUnlockSec**, **dLOL**, **MI\_SquelchEn**, and **AcCST**. **AcCST** is processed by **dCSTM detection** to produce **dCSTM**. **dCSTM** and other signals (**dLOM**, **dUnlockSec**, **dLOL**, **dLOS-P**, **AI\_TSF-P**) are processed by **Consequent actions** to produce **aSSF**. **Performance monitoring** and **Defect correlation** blocks receive various error and status signals and output management information (MI) signals. A **Replace and extract KCC** block handles **SK\_COMM\_CP** signals. On the right, vertical text labels the processes as **M-AI/FlexO-1-GCM-SC\_A\_Sk\_SKP** and **M-AI/FlexO-1-GCM-SC\_A\_Sk\_MP**. The diagram is labeled **G.798(23)\_F16-17.4** at the bottom right.
-
-Functional block diagram of OTSi/FlexO-1-SC\_A\_Sk and M-AI/FlexO-1-GCM-SC\_A\_Sk processes. The diagram shows a vertical flow of data from bottom to top through various processing stages including PMA, FOIC1.4-SC, Alignment lock, Recombination, Descrambler, FBA extract and alignment, FEC adapter and decoder, Demapping, FlexOsec processes, and Multiframe alignment. It also includes side blocks for Consequent actions, Performance monitoring, Defect correlation, and dCSTM detection. Numerous control and monitoring signals (MI, AI, CI, d-series defects) are shown entering and leaving the blocks.
-
-Figure 16-17.4 – OTSi/FlexO-1-SC\_A\_Sk and M-AI/FlexO-1-GCM-SC\_A\_Sk processes
-
-## Defects
-
-The function shall detect dLOS-P, dCSTM, dUnlockSec, dLOL and dLOM.
-
-**dLOS-P:** See clause 6.2.1.2.
-
-**dLOL:** dLOL is generated for multilane interfaces based on the FEC alignment state diagram in clause 91.5.3.1 of [IEEE 802.3]. dLOL shall be declared if fec\_alignment\_valid is false for 3 ms. To provide for the case of intermittent out-of-locks (fec\_alignment\_valid is false), the integrating timer shall not be reset to zero until an in-lock (fec\_alignment\_valid is true) condition persists continuously for 3 ms. dLOL shall be cleared if fec\_alignment\_valid is true for 3 ms.
-
-**dCSTM:** See clause 6.2.11. The expected cipher suite type is "0000 0001". Set to false for M-AI/FlexO-1-SC\_Sk function without FlexOsec.
-
-**dUnlockSec:** See clause 6.2.7.2.1. Set to false for M-AI/FlexO-1-SC\_Sk function without FlexOsec.
-
-**dLOM:** See clause 6.2.5.2.
-
-## Consequent actions
-
-aSSF $\leftarrow$ dLOM or dLOS-P or dUnlockSec or dCSTM or dLOL or AI\_TSF-P
-
-## Defect correlations
-
-cLOS-P $\leftarrow$ dLOS-P and (not AI\_TSF-P)
-
-cLOL $\leftarrow$ dLOL and (not dLOS-P) and (not AI\_TSF-P)
-
-cCSTM $\leftarrow$ dCSTM and (not dLOL) and (not AI\_TSF-P)
-
-cUnlockSec $\leftarrow$ UnlockSec and (not dCSTM) and (not dLOL) and (not AI\_TSF-P)
-
-cLOM $\leftarrow$ dLOM and (not dCSTM) and (not dLOL) and (not AI\_TSF-P)
-
-## Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the equipment management function (EMF).
-
-pFECcorrErr $\leftarrow \sum$ nFECcorrErr
-
-pAuthcheckErr $\leftarrow \sum$ AuthcheckErr
-
-NOTE – During AI\_TSF-P, dUnlockSec and dLOL no corrected bits or authentication failure shall be counted.
-
-### 16.7.3 OTSi to FlexO-x-DSH adaptation source functions (M-AI/FlexO-x-DSH-Z\_A\_So and M-AI/FlexO-x-GCM-DSH-Z\_A\_So)
-
-The information flow and processing of the M-AI/FlexO-x-DSH-Z\_A\_So and M-AI/FlexO-x-GCM-DSH-Z\_A\_So functions ( $\{x,Z\}=\{1,4\}, \{2,4\}, \{2,8\}, \{4,8\}$ ) is defined with reference to Figures 16-17.5 and 16-17.6. The interfaces of these functions are defined in Table 16-14.3.
-
-## Symbol
-
-![Figure 16-17.5: Symbol diagrams for M-AI/FlexO-x-DSH-Z_A_So and M-AI/FlexO-x-GCM-DSH-Z_A_So functions. The left diagram shows FlexO-x_CP (x = 1, 2, 4) as input to M-AI/FlexO-x-DSH-Z, which outputs M-AP[1..Z] and OTSi_AP. The right diagram shows FlexO-x_CP (x = 1, 2, 4) and SK_COMMS_CP as inputs to M-AI/FlexO-x-GCM-DSH-Z, which also outputs M-AP[1..Z] and OTSi_AP. A note G.798(17)-Amd.4(22)_F16-17.5 is present.](4e716e2091c1c947b7a687ed4e6dae2f_img.jpg)
-
-Figure 16-17.5: Symbol diagrams for M-AI/FlexO-x-DSH-Z\_A\_So and M-AI/FlexO-x-GCM-DSH-Z\_A\_So functions. The left diagram shows FlexO-x\_CP (x = 1, 2, 4) as input to M-AI/FlexO-x-DSH-Z, which outputs M-AP[1..Z] and OTSi\_AP. The right diagram shows FlexO-x\_CP (x = 1, 2, 4) and SK\_COMMS\_CP as inputs to M-AI/FlexO-x-GCM-DSH-Z, which also outputs M-AP[1..Z] and OTSi\_AP. A note G.798(17)-Amd.4(22)\_F16-17.5 is present.
-
-**Figure 16-17.5 – M-AI/FlexO-x-DSH-Z\_A\_So and M-AI/FlexO-x-GCM-DSH-Z\_A\_So functions ( $\{x,Z\}=\{1,4\}, \{2,4\}, \{2,8\}, \{4,8\}$ )**
-
-## Interfaces
-
-**Table 16-14.3 – M-AI/FlexO-x-DSH-Z\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------|
-| FlexO-x_CP : FlexO-x_CI_CK FlexO-x_CI_D[1..x] FlexO-x_CI_FS FlexO-x_CI_MFS
SK_COMMS_CP: (Note) SK_COMMS_CI_CK |
-| NOTE – For OTSiG/FlexO-x-GCM-DSH-Z_A_So only. | |
-
-## Processes
-
-The processes associated with the M-AI/FlexO-x-GCM-DSH-Z\_A\_So function are as depicted in Figure 16-17.6. For the M-AI/FlexO-x-DSH-Z\_A\_So function, Figure 16-17.6 could also be used, except that the FlexOsec process is a null process connecting its output signals to the corresponding input signals.
-
-**MFAS insertion:** The function shall insert the MFAS into the FlexO basic overhead area in every FlexO instance of the FlexO-x as described in [ITU-T G.709.1].
-
-### FlexOsec processes:
-
-- For M-AI/FlexO-x-GCM-DSH-Z\_A\_So function, see clause 8.14.1 and clause 8.14.3.1 for the specific GCM-AES-256 encryption and authentication processes with the cipher suite type (CST) code point value 000001, as defined in clause B.1 of [ITU-T G.709.1]. The FlexOsec encryption and authentication processes are performed for each individual FlexO instance frame signal in parallel, prior to interleaving into the FlexO-x. The same management information (MI) input from the EMF and Secure Key Information (SKI) input from the key exchange and agreement functions are shared by the $x$ sets of FlexOsec processes. The same key is used by the $x$ sets of FlexOsec source processes which are
-
-simultaneously triggered by the key exchange and agreement functions (through SKI\_KI input) to switch to a new key.
-
-- For M-AI/FlexO-*x*-DSH-Z\_A\_So function, this is a null process connecting its output signals to the corresponding input signals.
-
-**COMMS Clock generation:** For M-AI/FlexO-*x*-GCM-DSH-Z\_A\_So function, the process shall generate SK\_COMMS clock (CK\_COM) by dividing the FlexO clock (CI\_CK) by a factor of 82240.
-
-**Insert KCC:** The in-band key exchange communication channel (KCC) is optional for M-AI/FlexO-*x*-GCM-DSH-Z\_A\_So function and unused for M-AI/FlexO-*x*-DSH-Z\_A\_So function. When used, the incoming SK\_COMMS\_CI\_D data is inserted after FlexOsec authentication and encryption into the KCC field of the first FlexO instance frame (CI\_D[1]) of the FlexO-*x* as described in clause 9.3.2.5 of [ITU-T G.709.1]. When it is not used, the all-ZEROS reserved value is inserted into the KCC field.
-
-**Interleaving:** See clause 8.13.1 for the *x* FlexO instance signals interleaving to FlexO-*x*.
-
-**Alignment insertion:** The function shall insert the alignment marker into the FlexO-*x* frame AM area as described in clause 9.1.1, 9.1.3 or 9.1.5 of [ITU-T G.709.1] for 100G FlexO-1 (*x*=1), 200G FlexO-2 (*x*=2) or 400G FlexO-4 (*x*=4), respectively.
-
-**Clock generation:** The function shall generate the FlexO-*x*-DSH clock by multiplying the incoming FlexO clock (CI\_CK) by [*x* × 25984/21845] to the frequencies as listed in Table 15-2 of [ITU-T G.709.3] for 100G FlexO-1-DSH (*x*=1), 200G FlexO-2-DSH (*x*=2) or 400G FlexO-4-DSH (*x*=4). The FOIC*x*Z-DSH lane clock is obtained by dividing the FlexO-*x*-DSH clock by a factor *Z*.
-
-NOTE – The function also generates the intermediate FlexO-*x*-SC clock by multiplying the incoming FlexO clock (CI\_CK) by [*x* × 5485/5140] to the frequencies as listed in Table 11-2, 12-2 or 13-1 of [ITU-T G.709.3] for FlexO-1-SC (*x*=1), FlexO-2-SC (*x*=2) or FlexO-4-SC (*x*=4), respectively.
-
-**Mapping to -SC frame:** The function shall map (i.e., addition of staircase FEC parity area) the incoming FlexO-*x* frame into the FlexO-*x*-SC frame payload area as defined in clause 11.1, 12.1 or 13-1 of [ITU-T G.709.3] for 100G FlexO-1-SC (*x*=1), 200G FlexO-2-SC (*x*=2) or 400G FlexO-4-SC (*x*=4), respectively.
-
-**FBS, FBGS and MBS generation:** The function shall generate the staircase (SC) FEC block start (BS) and group start (FBGS) using the incoming FlexO-*x* frame start (FS) to align the Staircase FEC blocks structure with the FlexO-*x*-SC frame structure as described in clause 11.1, 12.1 and 13.1 of [ITU-T G.709.3] for FlexO-1-SC (*x*=1), FlexO-2-SC (*x*=2) or FlexO-4-SC (*x*=4), respectively. An SC FEC block group (FBG) consists of 238 (*x*=1) or 119 (*x*=2 or 4) consecutive FlexO-*x*-SC frame rows that is exactly 10970×119 bits; it contains five SC FEC blocks. In addition, the function shall generate the SC FEC multi-block sequence start every 128 SC FEC blocks, to synchronize the state of the Staircase (SC) FEC Error Decorrelator (ED) as described in clause 11.3.2 (*x*=1), 12.3 (*x*=2), or 13.2 (*x*=4) of [ITU-T G.709.3].
-
-**Generate MBAS:** The function shall generate the 6-bit SC FEC multi block alignment signal (MBAS) to be inserted into the FlexO-*x*-SC OH area as described in clause 11.3.2 and Annex C of [ITU-T G.709.3].
-
-**Staircase (SC) FEC adapter and encoder:** See clause 8.5.4.
-
-**Padding:** The function shall add six 119-bit padding blocks (i.e., 714-bit pad) at the end of every FlexO-*x*-SC FBG of 10970×119-bit block as described in clauses 15.4.2 and 15.4.1 of [ITU-T G.709.3]. The extended FBG is a structure consisting in 10976×119-bit blocks.
-
-**Scrambler:** The function shall scramble the extended FBG as defined in clause 15.4.1 of [ITU-T G.709.3], meaning that all data within the FlexO-*x*-SC frame are scrambled.
-
-**Convolution Interleaving:** The function shall interleave 119-bit blocks within the extended FBG as defined in clause 15.4.3 of [ITU-T G.709.3].
-
-**Hamming FEC mapping and encoder:** See clause 8.5.8. After Hamming FEC mapping and encoding, the extended FBG structure consists of $10976 \times 128$ -bit blocks.
-
-**DFS, DMFS and DSFS generation:** The function shall generate the FlexO-*x*-DSH frame start (DFS), 49-frame multiframe start (DMFS) and 4-multiframe super-frame start (DSFS) using the incoming extended FEC block group start (FBGS) to synchronize the extended FBG structure after Hamming FEC encoding with the FlexO-*x*-DSH DSP frame structure as described in clause 15.1 of [ITU-T G.709.3]. The FlexO-*x*-DSH frame consists of $(3712 \times Z)$ bits as described in [ITU-T G.709.3] clause 14.1 ( $Z=4$ for $x=1$ or 2; $Z=8$ for $x=2$ or 4). For $Z=8$ a FlexO-*x*-DSH multiframe carries one FBG, while for $Z=4$ a FlexO-*x*-DSH super-frame carries two FBG.
-
-**Mapping to -DSH frame:** The function shall map the incoming extended FBG signal (carrying the FlexO-*x*-SC signal after padding, scrambling, convolution interleaving and Hamming FEC encoding) into the payload area of the FlexO-*x*-DSH DSP frame signal as defined in clauses 15.4.5.1 ( $Z=8$ for $x=2$ or 4) and 15.4.5.2 ( $Z=4$ for $x=1$ or 2) of [ITU-T G.709.3].
-
-**Generate and insert training sequence:** The function shall generate and insert the training sequence into the TS overhead position (11 Z-bit) at the start of the FlexO-*x*-DSH frame as defined in clause 14.2.1 of [ITU-T G.709.3].
-
-**Generate and insert pilot sequence:** The function shall generate and insert the pilot sequence into the PS overhead position (Z-bit) at the start of each FlexO-*x*-DSH frame row as defined in clause 14.2.2 of [ITU-T G.709.3].
-
-**Generate and insert MFAS:** The function shall generate and insert the DSH 49-frame multiframe alignment signal into the MFAS overhead position (22 Z-bit) in the first FlexO-*x*-DSH frame of each multiframe as defined in clause 15.1.1 of [ITU-T G.709.3].
-
-**Generate and insert FS:** The function shall generate and insert the 54 Z-bit fixed stuff into the FS overhead position in the first FlexO-*x*-DSH frame of each 49-frame multiframe as defined in clause 15.3.3 of [ITU-T G.709.3].
-
-**Generate and insert SFAS:** The function shall generate and insert the DSH 4-multiframe super-frame alignment signal into the SFAS overhead position (22 Z-bit) in the first FlexO-*x*-DSH frame of each super-frame as defined in clause 15.1.2 of [ITU-T G.709.3].
-
-**Lane Distribution:** The function shall divide FlexO-*x*-DSH frame signal into *Z* FOIC*x*-*Z*-DSH logical lanes based on a bit-by-bit distribution as described in clause 15.5.1, 15.5.2, 15.5.3 or 15.5.4 of [ITU-T G.709.3] for FOIC2.4-DSH ( $x=2$ , $Z=4$ ), FOIC2.8-DSH ( $x=2$ , $Z=8$ ), FOIC4.8-DSH ( $x=4$ , $Z=8$ ) or FOIC1.4-DSH ( $x=1$ , $Z=4$ ), respectively.
-
-Note that the *Z* FOIC*x*-*Z*-DSH logical lanes carry a dual polarization symbol, so that *Z*/2 lanes are to be associated with polarization X, while the other *Z*/2 lanes are to be associated with the polarization Y. The mapping of the *Z* lanes to the dual polarization symbol is specified in clause 15.4.5 of [ITU-T G.709.3].
-
-**PMA process:** The process shall map the FOIC*x*-*z*-DSH lanes onto the physical media adapted interface. The details are out of scope of this Recommendation.
-
-
-
-The diagram illustrates the internal processing flow of the M-AI/FlexO-x-GCM-DSH-Z\_A\_So processes. At the top, multiple input streams labeled $CI\_D[1], CI\_D[2], \dots, CI\_D[x]$ enter the system. Each stream passes through an **MFAS insertion** block, which outputs $CK, D, FS, MFS$ . These are then processed by **FlexOsec processes**, which also receive $CK\_COM$ from a **COMMS clock generation** block and $D\_COM$ from an **Insert KCC** block. The FlexOsec processes output $D_{sec1}, D_{sec2}, \dots, D_{secx}$ to an **Interleaving** block. The Interleaving block also receives $CK$ from a **FlexO-x clock gen. ( $\times x$ )** block. The interleaved data $D, FS$ goes to an **Alignment insertion** block, which outputs $CK, D, FS$ . This is followed by **Mapping to-SC frame**, which receives $CK\_SC$ from a **FlexO-x-SC clock generation/ ( $\times 5485/5140$ )** block. The mapping block outputs $D, FS$ to an **SC FEC adapter and encoder (FlexO-x-SC)**. This block also receives **MBAS** from a **Generate MBAS** block and **FBGS** from a **BS, MBS and FBGS generator** block. The SC FEC adapter outputs $CK, D, FBGS$ to a **Padding** block, which outputs $D, FBGS$ to a **Scrambler** block, which outputs $D, FBGS$ to a **Convolutional interleaving** block, which outputs $D, FBGS$ to a **Hamming FEC map and encoder** block. This block also receives $CK_{DSH}$ from a **FlexO-x-DSH clock generation/ ( $\times 25984/21845$ )** block and outputs $CK, D, FBGS$ to a **Mapping to-DSH frame and multiframe** block. This mapping block also receives **DFS, DMFS** from a **DFS, DMFS and DSFS generator** block and outputs $D, CK_{DSH}, DFS, DMFS$ to a **Lane distribution (for symbol/Pol. distribution)** block. The lane distribution block also receives $CK_L$ from a **FlexO-x-Z-DSH clock generation/ ( $\times 1/Z$ )** block. The lane distribution block outputs $D[1..Z], CK_L, DFS, DMFS$ to a **PMA** block. The PMA block is connected to an **M-AP** block, which outputs $AI\_D[1], \dots, AI\_D[Z]$ to an **OTSi\_AP** block. Various other blocks generate specific sequences: **Generate and insert training sequence** (DFS), **Generate and insert pilot sequence** (DFS), **Generate and insert MFAS** (DMFS), **Generate and insert fixed Stuff** (DMFS), and **Generate and insert SFAS** (SMFS). These are also inputs to the lane distribution block. The diagram also includes labels for **SK\\_COMMS\\_CP**, **SKI\\_Key[0,1,2,3]**, **SKI\\_KI**, **SKI\\_IV\\_Fixed\\_ID**, and **FOIC1.4-DSH ( $x=1, Z=4$ )**, **FOIC2.4-DSH ( $x=2, Z=4$ )**, **FOIC2.8-DSH ( $x=2, Z=8$ )**, and **FOIC4.8-DSH ( $x=4, Z=8$ )**. A vertical label on the right side reads **M-AI/FlexO-1-GCM-DSH-Z\_A\_So\_SKP**. The bottom right corner contains the text **G.798(17)-Amd.4(22)\_F16-17.6**.
-
-Block diagram of M-AI/FlexO-x-GCM-DSH-Z\_A\_So processes showing data flow from inputs through various processing stages to the PMA and OTSi\_AP.
-
-Figure 16-17.6 – M-AI/FlexO-x-GCM-DSH-Z\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-#### 16.7.4 OTSi to FlexO-x-DSH adaptation sink functions (M-AI/FlexO-x-DSH-Z\_A\_Sk and M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk)
-
-The information flow and processing of the M-AI/FlexO-x-DSH-Z\_A\_Sk and M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk functions ( $\{x,Z\}=\{1,4\}, \{2,4\}, \{2,8\}, \{4,8\}$ ) is defined with reference to Figures 16-17.7 and 16-17.8. The interfaces of these functions are defined in Table 16-14.4.
-
-##### Symbol
-
-![Diagram showing two adaptation sink function symbols. The left symbol is 'M-AI/FlexO-x-DSH-Z' with inputs 'OTSi_AP' and 'M-AP[1..Z]' (via a dashed oval) and output 'FlexO-x_CP'. It has a bidirectional interface 'M-AI/FlexO-x-DSH-Z_A_Sk_MP'. The right symbol is 'M-AI/FlexO-x-GCM-DSH-Z' with inputs 'OTSi_AP' and 'M-AP[1..Z]' (via a dashed oval) and outputs 'FlexO-x_CP' and 'SK_COMMS_CP'. It has bidirectional interfaces 'M-AI/FlexO-x-GCM-DSH-Z_A_Sk_MP' and 'M-AI/FlexO-x-GCM-DSH-Z_A_Sk_SKP'. A reference code 'G.798(17)-Amd.4(22)_F16-17.7' is at the bottom right.](82a7d47fd0aee910d598c30998c23e08_img.jpg)
-
-G.798(17)-Amd.4(22)\_F16-17.7
-
-Diagram showing two adaptation sink function symbols. The left symbol is 'M-AI/FlexO-x-DSH-Z' with inputs 'OTSi\_AP' and 'M-AP[1..Z]' (via a dashed oval) and output 'FlexO-x\_CP'. It has a bidirectional interface 'M-AI/FlexO-x-DSH-Z\_A\_Sk\_MP'. The right symbol is 'M-AI/FlexO-x-GCM-DSH-Z' with inputs 'OTSi\_AP' and 'M-AP[1..Z]' (via a dashed oval) and outputs 'FlexO-x\_CP' and 'SK\_COMMS\_CP'. It has bidirectional interfaces 'M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk\_MP' and 'M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk\_SKP'. A reference code 'G.798(17)-Amd.4(22)\_F16-17.7' is at the bottom right.
-
-**Figure 16-17.7 – M-AI/FlexO-x-DSH-Z\_A\_Sk and M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk functions ( $\{x,Z\}=\{1,4\}, \{2,4\}, \{2,8\}, \{4,8\}$ )**
-
-## Interfaces
-
-**Table 16-14.4 – M-AI/FlexO-*x*-DSH-Z\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| M_AP: M-AI_D[1..Z] OTSiG-O_AP: OTSiA_AI_TSF-O OTSiA_AI_TSF-P M-AI/FlexO-x-DSH-Z_A_Sk_MP: M-AI/FlexO- x -DSH-Z_A_Sk_MI_1second M-AI/FlexO- x -DSH-Z_A_Sk_MI_SquelchEn (Note) M-AI/FlexO-x-GCM-DSH_A_Sk_SKP: (Note) M-AI/FlexO- x -GCM-DSH-Z_A_Sk_SKI_Key[0,1,2,3] M-AI/FlexO- x -GCM-DSH-Z_A_Sk_SKI_IV_Fixed_ID | FlexO-x_CP: FlexO- x _CI_CK FlexO- x _CI_D[1.. x ] FlexO- x _CI_FS FlexO- x _CI_MFS FlexO- x _CI_SSF M-AI/FlexO-x-DSH-Z_A_Sk_MP: M-AI/FlexO- x -DSH-Z_A_Sk_MI_AcCST[1.. x ] (Note) M-AI/FlexO- x -DSH-Z_A_Sk_MI_cLOS-P M-AI/FlexO- x -DSH-Z_A_Sk_MI_cLOL M-AI/FlexO- x -DSH-Z_A_Sk_MI_cLOF M-AI/FlexO- x -DSH-Z_A_Sk_MI_cLOM M-AI/FlexO- x -DSH-Z_A_Sk_MI_cCSTM (Note) M-AI/FlexO- x -DSH-Z_A_Sk_MI_cUnlockSec (Note) M-AI/FlexO- x -DSH-Z_A_Sk_MI_pFECcorrErr M-AI/FlexO- x -DSH-Z_A_Sk_MI_pAuthCheckErr (Note) M-AI/FlexO-x-GCM-DSH_A_Sk_SKP: (Note) M-AI/FlexO- x -GCM- DSH-Z_A_Sk_SKI_AcKI SK_COMMS_CP: (Note) SK_COMMS_CI_D SK_COMMS_CI_CK |
-| NOTE – For OTSiG/FlexO- x -GCM-DSH-Z_A_Sk only. | |
-
-## Processes
-
-The processes associated with the M-AI/FlexO-*x*-GCM-DSH-Z\_A\_Sk function are as depicted in Figure 6-17.8. For the M-AI/FlexO-*x*-DSH-Z\_A\_Sk function, Figure 16-17.8 could also be used, except that the FlexOsec process is a null process connecting its output signals to the corresponding input signals.
-
-**PMA process:** The process shall recover the data and clock of the FOIC $x$ .Z-DSH lanes from the physical media adapted interface. The details are out of scope of this Recommendation.
-
-**Recombination:** The function shall recombine the *Z* FOIC $x$ .Z-DSH logical lanes and reconstruct the FlexO-*x*-DSH frame and Hamming FEC codewords soft signal for FOIC2.4-DSH (*x*=2, *Z*=4), FOIC2.8-DSH (*x*=2, *Z*=8), FOIC4.8-DSH (*x*=4, *Z*=8) or FOIC1.4-DSH (*x*=1, *Z*=4), respectively.
-
-**Demapping from-DSH frame and multiframe:** The function shall demap the extended FBG signal structure (carrying the padded, scrambled, interleaved and Hamming FEC encoded FlexO-*x*-SC signal) from the payload area of the FlexO-*x*-DSH DSP frame signal as defined in clause 15.4.5.1 (*Z*=8 for *x*=2 or 4) and 15.4.5.2 (*Z*=4 for *x*=1 or 2) of [ITU-T G.709.3]. It shall generate the FBGS block start indication derived from the FlexO-*x*-DSH multiframe and superframe start indication.
-
-**Soft decision Hamming FEC decoder and demapping:** See clause 8.5.8 for the soft decision extended Hamming decoder. After Hamming FEC decoding and demapping, the extended FBG structure consists of 10976×119-bit blocks.
-
-**Convolution deinterleaving:** The function shall deinterleave the 119-bit blocks within the extended FBG as defined in clause 15.4.3 of [ITU-T G.709.3].
-
-**Descrambler:** The function shall descramble the extended FBG as defined in clause 15.4.1 of [ITU-T G.709.3], resulting into the unscrambled FlexO-*x*-SC frame.
-
-**Unpadding:** The function shall remove the six 119-bit padding blocks (i.e., 714-bit pad) from the end of every extended FlexO-*x*-SC FBG structure of 10976×119-bit block as described in clauses 15.4.2 and 15.4.1 of [ITU-T G.709]. The resulting FBG structure consists in 10970×119-bit blocks.
-
-**Staircase (SC) FEC decoder and adapter:** See clause 8.5.4.
-
-NOTE – In this process, the Multi Block Alignment Signal (MBAS) overhead is extracted from FlexO-*x*-SC overhead as described in clause B.2 (*x*=1) or C.2 (*x*=2 or 4) of [ITU-T G.709.3] and MBAS sequence is aligned to synchronize SC FEC Error Decorrelator (ED).
-
-**SC-frame demapping:** The function shall demap (i.e., removal of staircase SC FEC parity area) the FlexO-*x* frame from the incoming FlexO-*x*-SC frame as defined in clause 11.1, 12.1 or 13-1 of [ITU-T G.709.3] for 100G FlexO-1-SC (*x*=1), 200G FlexO-2-SC (*x*=2) or 400G FlexO-4-SC (*x*=4), respectively.
-
-**FlexO-*x* frame alignment:** See clause 8.2.8.
-
-**De-interleaving:** See clause 8.13.2.
-
-**Extract and replace KCC:** The in-band key exchange communication channel (KCC) is optional in M-AI/FlexO-*x*-GCM-DSH-Z\_A\_Sk and unused in M-AI/FlexO-*x*-DSH-Z\_A\_Sk function. When used, the function shall extract the KCC data (SK\_COMMS\_CI\_D) from the FlexOsec KCC overhead field of the first FlexO instance frame of the FlexO-*x* as described in clause 9.2.8 of [ITU-T G.709.1]. The bit rate of the KCC data is defined by the outgoing KCC clock. The function shall generate the KCC clock (SK\_COMMS\_CI\_CK) by dividing the FlexO-*x* clock by a factor of 82240. After extraction, the KCC byte in the FlexOsec overhead is replaced with value 0x00 at the input of the FlexOsec sink processes.
-
-**FlexOsec processes:**
-
-- For M-AI/FlexO-*x*-GCM-DSH-Z\_A\_Sk function, see clause 8.14.2 and clause 8.14.3.1 for the specific GCM-AES-256 decryption and authentication processes with the cipher suite type (CST) code point value 000001, as defined in clause B.1 of [ITU-T G.709.1]. The FlexOsec decryption and authentication processes are performed for each individual FlexO instance frame signal in parallel, after to deinterleaving from FlexO-*x*. The same management information (MI) input from the EMF and Secure Key Information (SKI) input from the key exchange and agreement functions are shared by the *x* sets of FlexOsec processes. The same sets of keys are configured to be used by the *x* sets of FlexOsec sink processes.
-- For M-AI/FlexO-*x*-DSH-Z\_A\_Sk function, this is a null process connecting its output signals to the corresponding input signals.
-
-**Multiframe alignment:** The process shall recover the FlexO multi-frame start as described in clause 8.2.2.
-
-![Figure 16-17.8 – M-AI/FlexO-x-GCM-DSH-Z_A_Sk processes. This is a complex block diagram showing the signal processing flow for FlexO-x interfaces. At the bottom, multiple FlexO-x interfaces (FOIC1.4-DSH, FOIC2.4-DSH, FOIC2.8-DSH, FOIC4.8-DSH) are shown with their respective Z values. These connect to a PMA block, which outputs dLOL and dLOS-P signals. Above the PMA is a 'Lane recombination (from Pol/symbol)' block. The signal then passes through a series of processing stages: 'Demapping from-DSH frame and multiframe', 'Soft decision hamming FEC decoder and demap', 'Convolutional deinterleaving', 'Descrambler', 'Unpadding', 'SC FEC adapter and decoder (FlexO-x-SC)', 'Demapping from-SC frame', and 'FlexO-x frame alignment'. This stage outputs dLOF. The signal then enters a 'De-interleaving' block. Above this, there are multiple 'FlexOsec processes' (labeled 1, 2, ..., x). Each process includes 'Multiframe alignment' (outputting dLOM[1], dLOM[2], ..., dLOM[x]) and 'FlexOsec processes' blocks. These blocks output various signals including AuthCheckErr[j], dUnlockSec[j], dLOL, MI_SquelchEn, AcCST[j], SKI_Key[0,1,2,3], SKI_IV_Fixed_ID, and SKI_AcKII[j]. A 'Replace and extract KCC' block is also shown. On the right side, there are 'Performance monitoring' and 'Defect correlation' blocks that receive inputs from the FlexOsec processes and output MI signals like MI_pAuthcheckErr, MI_lsecond, MI_pFECorrErr, MI_cCSTM, MI_cUnlockSec, MI_cLOM, MI_cLOF, MI_cLOL, and MI_cLOS-P. The top of the diagram shows the SK_COMM_CP and FlexO-x_CP (x = 1, 2 or 4) interfaces with signals like D_COM, CK_COM, CL_SK_D, CL_SK_CK, CL_D[1], CL_CK, CL_FS, CL_MFS, CL_D[2], ..., CL_D[x], and CL_SSF. Vertical labels on the far right identify the sections as 'M-AI/FlexO-x-GCM-DSH-Z_A_Sk_SKP' and 'M-AI/FlexO-x-GCM-DSH-Z_A_Sk_MP'. The diagram is labeled G.798(23)_F16-17.8 at the bottom right.](9f1b05b6b77146b0d62dbc084ebbe162_img.jpg)
-
-Figure 16-17.8 – M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk processes. This is a complex block diagram showing the signal processing flow for FlexO-x interfaces. At the bottom, multiple FlexO-x interfaces (FOIC1.4-DSH, FOIC2.4-DSH, FOIC2.8-DSH, FOIC4.8-DSH) are shown with their respective Z values. These connect to a PMA block, which outputs dLOL and dLOS-P signals. Above the PMA is a 'Lane recombination (from Pol/symbol)' block. The signal then passes through a series of processing stages: 'Demapping from-DSH frame and multiframe', 'Soft decision hamming FEC decoder and demap', 'Convolutional deinterleaving', 'Descrambler', 'Unpadding', 'SC FEC adapter and decoder (FlexO-x-SC)', 'Demapping from-SC frame', and 'FlexO-x frame alignment'. This stage outputs dLOF. The signal then enters a 'De-interleaving' block. Above this, there are multiple 'FlexOsec processes' (labeled 1, 2, ..., x). Each process includes 'Multiframe alignment' (outputting dLOM[1], dLOM[2], ..., dLOM[x]) and 'FlexOsec processes' blocks. These blocks output various signals including AuthCheckErr[j], dUnlockSec[j], dLOL, MI\_SquelchEn, AcCST[j], SKI\_Key[0,1,2,3], SKI\_IV\_Fixed\_ID, and SKI\_AcKII[j]. A 'Replace and extract KCC' block is also shown. On the right side, there are 'Performance monitoring' and 'Defect correlation' blocks that receive inputs from the FlexOsec processes and output MI signals like MI\_pAuthcheckErr, MI\_lsecond, MI\_pFECorrErr, MI\_cCSTM, MI\_cUnlockSec, MI\_cLOM, MI\_cLOF, MI\_cLOL, and MI\_cLOS-P. The top of the diagram shows the SK\_COMM\_CP and FlexO-x\_CP (x = 1, 2 or 4) interfaces with signals like D\_COM, CK\_COM, CL\_SK\_D, CL\_SK\_CK, CL\_D[1], CL\_CK, CL\_FS, CL\_MFS, CL\_D[2], ..., CL\_D[x], and CL\_SSF. Vertical labels on the far right identify the sections as 'M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk\_SKP' and 'M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk\_MP'. The diagram is labeled G.798(23)\_F16-17.8 at the bottom right.
-
-**Figure 16-17.8 – M-AI/FlexO-x-GCM-DSH-Z\_A\_Sk processes**
-
-## Defects
-
-The function shall detect dLOS-P, dLOL, dLOF, dCSTM, dUnlockSec[j] and dLOM[j].
-
-**dLOS-P:** See clause 6.2.1.2.
-
-**dLOL:** dLOL is generated for FlexO-x-DSH interfaces based on the pilot symbols, DSP frame and DSP multiframe alignment. dLOL shall be declared if alignment is false for 3 ms. To provide for the
-
-case of intermittent out-of-alignment, the integrating timer shall not be reset to zero until an alignment condition persists continuously for 3 ms. dLOL shall be cleared if alignment is true for 3 ms.
-
-**dLOF:** See clause 6.2.5.1.
-
-**dCSTM:** See clause 6.2.11. The expected cipher suite type is "0000 0001". Set to false for M-AI/FlexO-*x*-DSH-Z\_Sk function without FlexOsec.
-
-Per FlexO instance #*j* detection (*j* = 1..*x*):
-
-**dLOM[*j*]:** See clause 6.2.5.2.
-
-**dUnlockSec[*j*]:** See clause 6.2.7.2.1. Set to false for M-AI/FlexO-*x*-DSH-Z\_Sk function without FlexOsec.
-
-### Consequent actions
-
-aSSF $\leftarrow \sum dLOM[j] \text{ or } \sum dUnlockSec[j] \text{ or } dCSTM \text{ or } dLOF \text{ or } \sum dLOS-P[i] \text{ or } dLOL \text{ or } AI\_TSF-P$
-
-### Defect correlations
-
-cLOS-P $\leftarrow dLOS-P \text{ and (not } AI\_TSF-P)$
-
-cLOL $\leftarrow dLOL \text{ and (not } dLOS-P) \text{ and (not } AI\_TSF-P)$
-
-cLOF $\leftarrow dLOF \text{ and (not } dLOL) \text{ and (not } AI\_TSF-P)$
-
-cCSTM $\leftarrow dCSTM \text{ and (not } dLOF) \text{ and (not } dLOL) \text{ and (not } AI\_TSF-P)$
-
-cUnlockSec $\leftarrow \sum dUnlockSec[j] \text{ and (not } dCSTM) \text{ and (not } dLOF) \text{ and (not } dLOL) \text{ and (not } AI\_TSF-P)$
-
-cLOM $\leftarrow \sum dLOM[j] \text{ and (not } dCSTM) \text{ and (not } dLOF) \text{ and (not } dLOL) \text{ and (not } AI\_TSF-P)$
-
-### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the equipment management function (EMF).
-
-pFECcorrErr $\leftarrow \sum nFECcorrErr$
-
-pAuthcheckErr $\leftarrow \sum AuthcheckErr$
-
-NOTE – During AI\_TSF-P, $\sum dUnlockSec[j]$ and dLOL, no corrected bits or authentication failure shall be counted.
-
-### 16.7.5 OTSi to FlexO-*x*-DO adaptation source functions (M-AI/FlexO-*x*-DO-Z\_A\_So and M-AI/FlexO-*x*-GCM-DO-Z\_A\_So)
-
-The information flow and processing of the M-AI/FlexO-*x*-DO-Z\_A\_So and M-AI/FlexO-*x*-GCM-DO-Z\_A\_So functions ( $\{x, Z\} = \{1, 4\}, \{2, 4\}, \{2, 8\}, \{4, 8\}$ ) is defined with reference to Figures 16-17.9 and 16-17.10. The interfaces of these functions are defined in Table 16-14.5.
-
-## Symbol
-
-![Diagram showing the symbols for M-AI/FlexO-x-DO-Z_A_So and M-AI/FlexO-x-GCM-DO-Z_A_So functions. The left symbol for M-AI/FlexO-x-DO-Z takes FlexO-x_CP (x = 1, 2, 4) as input and produces M-AP[1..Z] and OTSi_AP as outputs. The right symbol for M-AI/FlexO-x-GCM-DO-Z takes FlexO-x_CP (x = 1, 2, 4), SK_COMMS_CP, and M-AI/FlexO-x-GCM-DO-Z_A_So_SKP as inputs and produces M-AP[1..Z] and OTSi_AP as outputs. A note G.798(17)-Amd.4(22)_F16-17.9 is present.](c8b66b38ad7369d0771b91b51c155b32_img.jpg)
-
-Diagram showing the symbols for M-AI/FlexO-x-DO-Z\_A\_So and M-AI/FlexO-x-GCM-DO-Z\_A\_So functions. The left symbol for M-AI/FlexO-x-DO-Z takes FlexO-x\_CP (x = 1, 2, 4) as input and produces M-AP[1..Z] and OTSi\_AP as outputs. The right symbol for M-AI/FlexO-x-GCM-DO-Z takes FlexO-x\_CP (x = 1, 2, 4), SK\_COMMS\_CP, and M-AI/FlexO-x-GCM-DO-Z\_A\_So\_SKP as inputs and produces M-AP[1..Z] and OTSi\_AP as outputs. A note G.798(17)-Amd.4(22)\_F16-17.9 is present.
-
-**Figure 16-17.9 – M-AI/FlexO-x-DO-Z\_A\_So and M-AI/FlexO-x-GCM-DO-Z\_A\_So functions**
- $(\{x,Z\}=\{1,4\}, \{2,4\}, \{2,8\}, \{4,8\})$
-
-## Interfaces
-
-**Table 16-14.5 – M-AI/FlexO-x-DO-Z\_A\_So inputs and outputs**
-
-| Input(s) | Output(s) |
-|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|
-| FlexO-x_CP : FlexO-x_CI_CK FlexO-x_CI_D[1..x] FlexO-x_CI_FS FlexO-x_CI_MFS M-AI/FlexO-x-GCM-DO-Z_A_So_SKP: (Note) M-AI/FlexO-x-GCM-DO-Z_A_So_SKI_Key[0,1,2,3] M-AI/FlexO-x-GCM-DO-Z_A_So_SKI_KI M-AI/FlexO-x-GCM-DO-Z_A_So_SKI_IV_Fixed_ID SK_COMMS_CP: (Note) SK_COMMS_CI_D | M_AP: M-AI_D[1..Z] SK_COMMS_CP: (Note) SK_COMMS_CI_CK |
-| NOTE – For OTSiG/FlexO-x-GCM-DO-Z_A_So only. | |
-
-## Processes
-
-The processes associated with the M-AI/FlexO-x-GCM-DO-Z\_A\_So function are as depicted in Figure 16-17.10. For the M-AI/FlexO-x-DO-Z\_A\_So function, Figure 16-17.10 could also be used, except that the FlexOsec process is a null process connecting its output signals to the corresponding input signals.
-
-**MFAS insertion:** The function shall insert the MFAS into the FlexO basic overhead area in every FlexO instance of the FlexO-x as described in [ITU-T G.709.1].
-
-### FlexOsec processes:
-
-- For M-AI/FlexO-x-GCM-DO-Z\_A\_So function, see clause 8.14.1 and clause 8.14.3.1 for the specific GCM-AES-256 encryption and authentication processes with the cipher suite type (CST) code point value 000001, as defined in clause B.1 of [ITU-T G.709.1]. The FlexOsec encryption and authentication processes are performed for each individual FlexO instance frame signal in parallel, prior to interleaving into the FlexO-x. The same management information (MI) input from the EMF and Secure Key Information (SKI) input from the key exchange and agreement functions are shared by the $x$ sets of FlexOsec processes. The same key is used by the $x$ sets of FlexOsec source processes which are simultaneously triggered by the key exchange and agreement functions (through SKI\_KI input) to switch to a new key.
-
-– For M-AI/FlexO-*x*-DO-Z\_A\_So function, this is a null process connecting its output signals to the corresponding input signals.
-
-**COMMS Clock generation:** For M-AI/FlexO-*x*-GCM-DO-Z\_A\_So function, the process shall generate SK\_COMMS clock (CK\_COM) by dividing the FlexO clock (CI\_CK) by a factor of 82240.
-
-**Insert KCC:** The in-band key exchange communication channel (KCC) is optional for M-AI/FlexO-*x*-GCM-DO-Z\_A\_So function and unused for M-AI/FlexO-*x*-DO-Z\_A\_So function. When used, the incoming SK\_COMMS\_CI\_D data is inserted after FlexOsec authentication and encryption into the KCC field of the first FlexO instance frame (CI\_D[1]) of the FlexO-*x* as described in clause 9.3.2.5 of [ITU-T G.709.1]. When it is not used, the all-ZEROS reserved value is inserted into the KCC field
-
-**Interleaving:** See clause 8.13.1 for the *x* FlexO instance signals interleaving to FlexO-*x*.
-
-**Alignment insertion:** The function shall insert the alignment marker into the FlexO-*x* frame AM area as described in clause 9.1.1, 9.1.3 or 9.1.5 of [ITU-T G.709.1] for 100G FlexO-1 (*x*=1), 200G FlexO-2 (*x*=2) or 400G FlexO-4 (*x*=4), respectively.
-
-**Clock generation:** The function shall generate the FlexO-*x*-DO clock by multiplying the incoming FlexO clock (CI\_CK) by [*x*× 1536/1285] to the frequencies as listed in Table 16-2 of [ITU-T G.709.3] for 100G FlexO-1-DO (*x*=1), 200G FlexO-2-DO (*x*=2) or 400G FlexO-4-DO (*x*=4). The FOIC*x*-Z-DO lane clock is obtained by dividing the FlexO-*x*-DO clock by a factor *Z*.
-
-**OFBGS and OFCS generation:** The function shall generate the open FEC block group start of order *Z* (OFBG*Z*S, with *Z*=4 or 8) providing the OFEC coders alignment (OFCi) using the incoming FlexO-*x* frame start (FS) to align the OFBG*Z* structure with the FlexO-*x* frame structure as described in clause 16.4.1 of [ITU-T G.709.3]. An OFEC block group (OFBG*Z*) is aligned with 116 consecutive FlexO-*x* frame rows ( $\{x,Z\}=\{4,8\}$ , $\{2,8\}$ or $\{1,4\}$ ) or 58 consecutive FlexO-*x* frame rows ( $\{x,Z\}=\{2,4\}$ ). It contains exactly 149184×*Z* bits data. For $\{x,Z\}=\{4,8\}$ or $\{x,Z\}=\{2,8\}$ , it corresponds to 10280×116 bits of FlexO-*x* data plus 992-bit pad and contains 168 OFEC coder blocks (OFCs). For $\{x,Z\}=\{2,4\}$ or $\{x,Z\}=\{1,4\}$ , it corresponds to 10280×58 or 5140×116 bits of FlexO-*x* data plus 496-bit pad and contains 84 OFEC coder blocks (OFCs).
-
-**Padding:** For $\{x,Z\}=\{4,8\}$ or $\{x,Z\}=\{2,8\}$ , the function shall add 992-bit pad at the end of every set of 116 FlexO-*x* rows to create an OFBG8 of 149184× 8-bit data (*Z*= 8) as described in clause 16.4.1 of [ITU-T G.709.3]. For $\{x,Z\}=\{2,4\}$ or $\{x,Z\}=\{1,4\}$ , the function shall add 496-bit pad at the end of every set of 116 FlexO-1 rows or 58 FlexO-2 rows to create an OFBG4 of 149184× 4-bit data (*Z*=4) as described in clause 16.4.1 of [ITU-T G.709.3].
-
-**Scrambler:** The function shall scramble the OFBG*Z* as defined in clause 16.4.2 of [ITU-T G.709.3], meaning that all data within the FlexO-*x* frame are scrambled.
-
-**FEC mapping and encoder:** See clause 8.5.9. After OFEC mapping and encoding, the OFBG*Z*P structure (OFBG*Z* plus OFEC parity bits) consists of 172032×*Z*-bit blocks.
-
-**Interleaving:** The function shall interleave the bits within the OFBG*Z*P as defined in clause 16.4.5 of [ITU-T G.709.3].
-
-**DFS and DMFS generation:** The function shall generate the FlexO-*x*-DO frame start (DFS) and 48-frame multiframe start (DMFS) using the incoming OFEC block group start (OFBGS) to synchronize the OFBG*Z*P structure after OFEC encoding with the FlexO-*x*-DO DSP frame structure as described in clauses 16.1 of [ITU-T G.709.3]. The FlexO-*x*-DO frame consists of (3712×*Z*) bits as described in [ITU-T G.709.3] clause 14.1 (*Z*=4 for *x*=1 or 2; *Z*=8 for *x*=2 or 4). A FlexO-*x*-DO multiframe carries one OFBG*Z*P.
-
-**Mapping to -DO frame:** The function shall map the incoming OFBG*Z*P signal (carrying the FlexO-*x* signal after padding, scrambling, OFEC encoding and interleaving) into the payload area of the FlexO-*x*-DO DSP frame signal as defined in clause 16.4.6.1 (*Z*=8 for *x*=2 or 4) and 15.4.6.2 (*Z*=4 for *x*=1 or 2) of [ITU-T G.709.3].
-
-**Generate and insert training sequence:** The function shall generate and insert the training sequence into the TS overhead position (11 Z-bit) at the start of the FlexO-*x*-DO frame as defined in clause 14.2.1 of [ITU-T G.709.3].
-
-**Generate and insert pilot sequence:** The function shall generate and insert the pilot sequence into the PS overhead position (Z-bit) at the start of each FlexO-*x*-DO frame row as defined in clause 14.2.2 of [ITU-T G.709.3].
-
-**Generate and insert MFAS:** The function shall generate and insert the DO 48-frame multiframe alignment signal into the MFAS overhead position (22 Z-bit) in the first FlexO-*x*-DO frame of each multiframe as defined in clauses 16.1.1 and 16.3.1 of [ITU-T G.709.3].
-
-**Generate and insert FS:** The function shall generate and insert the 54 Z-bit fixed stuff into the FS overhead position in the first FlexO-*x*-DO frame of each 49-frame multiframe as defined in clause 16.3.2 of [ITU-T G.709.3].
-
-**Lane Distribution:** The function shall divide FlexO-*x*-DO frame signal into Z FOIC*x*-Z-DO logical lanes based on a bit-by-bit distribution as described in clause 16.5.1, 16.5.2, 16.5.3 or 16.5.4 of [ITU-T G.709.3] for FOIC2.4-DO (*x*=2, Z=4), FOIC2.8-DO (*x*=2, Z=8), FOIC4.8-DO (*x*=4, Z=8) or FOIC1.4-DO (*x*=1, Z=4), respectively.
-
-Note that the Z FOIC*x*-Z-DO logical lanes carry a dual polarization symbol, so that Z/2 lanes are to be associated with polarization X, while the other Z/2 lanes are to be associated with the polarization Y. The mapping of the Z lanes to the dual polarization symbol is specified in clause 16.4.6 of [ITU-T G.709.3].
-
-**PMA process:** The process shall map the FOIC*x*-Z-DO lanes onto the physical media adapted interface. The details are out of scope of this Recommendation.
-
-
-
-The diagram illustrates the M-AI/FlexO-x-GCM-DO-Z\_A\_So processes. At the top, FlexO-x\_CP (x=1, 2 or 4) inputs (CI\_CK, CI\_D[1], CI\_FS, CI\_MFS, CI\_D[2], ..., CI\_D[x]) are processed through MFAS insertion and FlexOsec Processes. SK\_COMMS\_CP inputs (CI\_CK, CI\_D) are also processed. The data from FlexOsec Processes is interleaved and then processed through Alignment Insertion, padding, Scrambler, FEC map and encoder, and another Interleaving stage. The data is then mapped to -DO frame & multiframe. Various sequences are generated and inserted: Training Sequence (DFS), Pilot Sequence (DFS), MFAS (DMFS), and Fixed Stuff (DMFS). Clock signals (CK, CK\_com, CK\_o, CK\_DO, CK\_DSH) are generated and distributed throughout the process. The final data is sent to the PMA, which outputs to the OTSi\_AP (AI\_D[1], ..., AI\_D[Z]).
-
-Configuration parameters and labels include:
-
-- SKI\_Key[0,1,2,3]
-- SKI\_KI
-- SKI\_IV\_Fixed\_ID
-- M-AI/FlexO-x-DO-Z\_A\_So\_SKP
-- FOIC1.4-DO (x=1, Z=4)
-- FOIC2.4-DO (x=2, Z=4)
-- FOIC2.8-DO (x=2, Z=8)
-- FOIC4.8-DO (x=4, Z=8)
-
-Block diagram of M-AI/FlexO-x-GCM-DO-Z\_A\_So processes showing data flow from FlexO-x\_CP inputs through various processing stages (MFAS insertion, FlexOsec Processes, Interleaving, Alignment Insertion, padding, Scrambler, FEC map and encoder, Interleaving, Mapping to -DO frame & multiframe) to a PMA and finally to OTSi\_AP outputs. The diagram includes clock generation blocks, sequence insertion blocks, and configuration parameters like SKI\_Key, FOICx.Z-DO clock generation, and lane distribution.
-
-Figure 16-17.10 – M-AI/FlexO-x-GCM-DO-Z\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.7.6 OTSi to FlexO-x-DO adaptation sink functions (M-AI/FlexO-x-DO-Z\_A\_Sk and M-AI/FlexO-x-GCM-DO-Z\_A\_Sk)
-
-The information flow and processing of the M-AI/FlexO-x-DO-Z\_A\_Sk and M-AI/FlexO-x-GCM-DO-Z\_A\_Sk functions ( $\{x,Z\}=\{1,4\}, \{2,4\}, \{2,8\}, \{4,8\}$ ) is defined with reference to Figures 16-17.11 and 16-17.12. The interfaces of these functions are defined in Table 16-14.6.
-
-#### Symbol
-
-![Diagram showing the symbols for M-AI/FlexO-x-DO-Z and M-AI/FlexO-x-GCM-DO-Z functions. The left symbol for M-AI/FlexO-x-DO-Z has an input OTSi_AP at the bottom, an output FlexO-x_CP at the top, and a bidirectional interface M-AI/FlexO-x-DO-Z_A_Sk_MP on the left. A dashed oval labeled M-AP[1..Z] is inside. The right symbol for M-AI/FlexO-x-GCM-DO-Z has an input OTSi_AP at the bottom, outputs FlexO-x_CP and SK_COMMS_CP at the top, a bidirectional interface M-AI/FlexO-x-GCM-DO-Z_A_Sk_MP on the left, and an output M-AI/FlexO-x-GCM-DO-Z_A_Sk_SKP on the right. It also has a dashed oval labeled M-AP[1..Z] inside. A small text 'G.798(17)-Amd.4(22)_F16-17.11' is at the bottom right.](a6a834290f84822c2d026a3da95617c5_img.jpg)
-
-G.798(17)-Amd.4(22)\_F16-17.11
-
-Diagram showing the symbols for M-AI/FlexO-x-DO-Z and M-AI/FlexO-x-GCM-DO-Z functions. The left symbol for M-AI/FlexO-x-DO-Z has an input OTSi\_AP at the bottom, an output FlexO-x\_CP at the top, and a bidirectional interface M-AI/FlexO-x-DO-Z\_A\_Sk\_MP on the left. A dashed oval labeled M-AP[1..Z] is inside. The right symbol for M-AI/FlexO-x-GCM-DO-Z has an input OTSi\_AP at the bottom, outputs FlexO-x\_CP and SK\_COMMS\_CP at the top, a bidirectional interface M-AI/FlexO-x-GCM-DO-Z\_A\_Sk\_MP on the left, and an output M-AI/FlexO-x-GCM-DO-Z\_A\_Sk\_SKP on the right. It also has a dashed oval labeled M-AP[1..Z] inside. A small text 'G.798(17)-Amd.4(22)\_F16-17.11' is at the bottom right.
-
-**Figure 16-17.11 – M-AI/FlexO-x-DO-Z\_A\_Sk and M-AI/FlexO-x-GCM-DO-Z\_A\_Sk functions ( $\{x,Z\}=\{1,4\}, \{2,4\}, \{2,8\}, \{4,8\}$ )**
-
-## Interfaces
-
-**Table 16-14.6– M-AI/FlexO-*x*-DO-*Z* *A\_Sk* inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| M_AP: M-AI_D[1.. Z ] OTSiG-O_AP: OTSiA_AI_TSF-O OTSiA_AI_TSF-P M-AI/FlexO-x-DO-ZA_Sk_MP: M-AI/FlexO- x -DO- ZA_Sk _MI_1second M-AI/FlexO- x -DO- ZA_Sk _MI_SquelchEn (Note) M-AI/FlexO-x-GCM-DO A_Sk SKP: (Note) M-AI/FlexO- x -GCM-DO- ZA_Sk _SKI_Key[0,1,2,3] M-AI/FlexO- x -GCM-DO- ZA_Sk _SKI_IV_Fixed_ID | FlexO-x CP: FlexO- x CI_CK FlexO- x CI_D[1.. x ] FlexO- x CI_FS FlexO- x CI_MFS FlexO- x CI_SSF M-AI/FlexO-x-DO-ZA_Sk_MP: M-AI/FlexO- x -DO- ZA_Sk _MI_AcCST[1.. x ] (Note) M-AI/FlexO- x -DO- ZA_Sk _MI_cLOS-P M-AI/FlexO- x -DO- ZA_Sk _MI_cLOL M-AI/FlexO- x -DO- ZA_Sk _MI_cLOF M-AI/FlexO- x -DO- ZA_Sk _MI_cLOM M-AI/FlexO- x -DO- ZA_Sk _MI_cCSTM (Note) M-AI/FlexO- x -DO- ZA_Sk _MI_cUnlockSec (Note) M-AI/FlexO- x -DO- ZA_Sk _MI_pFECcorrErr M-AI/FlexO- x -DO- ZA_Sk _MI_pAuthCheckErr (Note) M-AI/FlexO-x-GCM-DO A_Sk SKP: (Note) M-AI/FlexO- x -GCM- DO- ZA_Sk _SKI_AcKI SK_COMMS_CP: (Note) SK_COMMS_CI_D SK_COMMS_CI_CK |
-| NOTE – For OTSiG/FlexO- x -GCM-DO- ZA_Sk only. | |
-
-## Processes
-
-The processes associated with the M-AI/FlexO-*x*-GCM-DO-*Z* *A\_Sk* function are as depicted in Figure 16-17.12. For the M-AI/FlexO-*x*-DO-*Z* *A\_Sk* function, Figure 16-17.12 could also be used, except that the FlexOsec process is a null process connecting its output signals to the corresponding input signals.
-
-**PMA process:** The process shall recover the data and clock of the FOIC*x.Z*-DO lanes from the physical media adapted interface. The details are out of scope of this Recommendation.
-
-**Recombination:** The function shall recombine the *Z* FOIC*x.Z*-DO logical lanes and reconstruct the OFBGz soft signal and FlexO-*x*-DO frame for FOIC2.4-DO (*x*=2, *Z*=4), FOIC2.8-DO (*x*=2, *Z*=8), FOIC4.8-DO (*x*=4, *Z*=8) or FOIC1.4-DO (*x*=1, *Z*=4), respectively.
-
-**Demapping from -DO frame and multiframe:** The function shall demap the OFBGzP signal structure (carrying the padded, scrambled, OFEC encoded and interleaved FlexO-*x* signal data) from the payload area of the FlexO-*x*-DO DSP frame signal as defined in clause 16.4.6.1 (*Z*=8 for *x*=2 or 4) and 15.4.6.2 (*Z*=4 for *x*=1 or 2) of [ITU-T G.709.3]. It shall generate the OFBGzS block start indication derived from the FlexO-*x*-DO multiframe start indication
-
-**Deinterleaving:** The function shall deinterleave the bits within the OFBGzP as defined in clause 16.4.5 of [ITU-T G.709.3].
-
-**Soft decision FEC decoder and demapping:** See clause 8.5.9 for the soft decision OFEC decoder. After OFEC decoding and demapping, the OFBGz structure consists of $149184 \times Z$ -bit blocks.
-
-**Descrambler:** The function shall descramble the OFBGz as defined in clause 16.4.2 of [ITU-T G.709.3], resulting into the unscrambled FlexO-*x* frame with pads.
-
-**Unpadding:** For $\{x, Z\} = \{4, 8\}$ or $\{x, Z\} = \{2, 8\}$ , the function shall remove the 992-bit pad at the end of every OFBG8 structure of $149184 \times 8$ -bit data ( $Z = 8$ ), resulting in of 116 FlexO-*x* frame rows of 10280-bit as described in clause 16.4.1 of [ITU-T G.709.3]. For $\{x, Z\} = \{2, 4\}$ or $\{x, Z\} = \{1, 4\}$ , the function shall remove the 496-bit pad at the end of every OFBG4 of $149184 \times 4$ -bit data ( $Z = 4$ ), resulting in 58 FlexO-2 frame rows of 10280-bit or 116 FlexO-1 frame rows of 5140-bit as described in clause 16.4.1 of [ITU-T G.709.3].
-
-**FlexO-*x* frame alignment:** See clause 8.2.8.
-
-**De-interleaving:** See clause 8.13.2.
-
-**Extract and replace KCC:** The in-band key exchange communication channel (KCC) is optional in M-AI/FlexO-*x*-GCM-DO-Z\_A\_Sk and unused in M-AI/FlexO-*x*-DO-Z\_A\_Sk function. When used, the function shall extract the KCC data (SK\_COMMS\_CI\_D) from the FlexOsec KCC overhead field of the first FlexO instance frame of the FlexO-*x* as described in clause 9.2.8 of [ITU-T G.709.1]. The bit rate of the KCC data is defined by the outgoing KCC clock. The function shall generate the KCC clock (SK\_COMMS\_CI\_CK) by dividing the FlexO-*x* clock by a factor of 82240. After extraction, the KCC byte in the FlexOsec overhead is replaced with value 0x00 at the input of the FlexOsec sink processes.
-
-**FlexOsec processes:**
-
-- For M-AI/FlexO-*x*-GCM-DO-Z\_A\_Sk function See clause 8.14.2 and clause 8.14.3.1 for the specific GCM-AES-256 decryption and authentication processes with the cipher suite type (CST) code point value 000001, as defined in clause B.1 of [ITU-T G.709.1]. The FlexOsec decryption and authentication processes are performed for each individual FlexO instance frame signal in parallel, after to deinterleaving from FlexO-*x*. The same management information (MI) input from the EMF and Secure Key Information (SKI) input from the key exchange and agreement functions are shared by the *x* sets of FlexOsec processes. The same sets of keys are configured to be used by the *x* sets of FlexOsec sink processes.
-- For M-AI/FlexO-*x*-DO-Z\_A\_Sk function, this is a null process connecting its output signals to the corresponding input signals.
-
-**Multiframe alignment:** The process shall recover the FlexO multi-frame start as described in clause 8.2.2.
-
-
-
-The diagram shows the functional architecture of the M-AI/FlexO-x-GCM-DO-Z\_A\_Sk sink function. At the bottom, it starts with the PMA and Lane recombination (from Pol./symbol/) for various FOIC interfaces (FOIC1.4-DO, FOIC2.4-DO, FOIC2.8-DO, FOIC4.8-DO). The signal flows upward through Demapping, Deinterleaving, Soft decision FEC decoder, Descrambler, Unpadding, and FlexO-x frame alignment. From there, it goes through De-interleaving to multiple parallel paths (x = 1, 2, or 4) each containing Multiframe alignment and FlexOsec processes. Management and monitoring signals (MI\_...) are extracted on the right side, including performance monitoring (nFECcorrErr) and defect correlation (dCSTM, dUnlockSec, dLOM, dLOF, dLOL, dLOS-P). Consequent actions (aSSF) are triggered based on these defects. Key management signals (SKI\_Key, SKI\_IV, SKI\_AckI) are also shown interacting with the FlexOsec processes.
-
-**Figure 16-17.12 – M-AI/FlexO-x-GCM-DO-Z\_A\_Sk processes**
-
-Figure 16-17.12 – M-AI/FlexO-x-GCM-DO-Z\_A\_Sk processes
-
-**Defects**
-
-The function shall detect dLOS-P, dLOL, dLOF, dCSTM, dUnlockSec[*j*] and dLOM[*j*].
-
-**dLOS-P**: See clause 6.2.1.2.
-
-**dLOL**: dLOL is generated for FlexO-*x*-DO interfaces based on the pilot symbols, DSP frame and DSP multiframe alignment. dLOL shall be declared if alignment is false for 3 ms. To provide for the case of intermittent out-of-alignment, the integrating timer shall not be reset to zero until an alignment condition persists continuously for 3 ms. dLOL shall be cleared if alignment is true for 3 ms.
-
-**dLOF**: See clause 6.2.5.1.
-
-**dCSTM**: See clause 6.2.11. The expected cipher suite type is "0000 0001". Set to false for M-AI/FlexO-*x*-DO-Z\_Sk function without FlexOsec.
-
-**Rec. ITU-T G.798 (09/2023)** 403
-
-Per FlexO instance #j detection (j = 1..x):
-
-**dLOM[j]**: See clause 6.2.5.2.
-
-**dUnlockSec[j]**: See clause 6.2.7.2.1. Set to false for M-AI/FlexO-x-DO-Z\_Sk function without FlexOsec.
-
-### Consequent actions
-
-aSSF $\leftarrow \sum dLOM[j]$ or $\sum dUnlockSec[j]$ or dCSTM or dLOF or or dLOS-P or dLOL or AI\_TSF-P
-
-### Defect correlations
-
-cLOS-P $\leftarrow$ dLOS-P and (not AI\_TSF-P)
-
-cLOL $\leftarrow$ dLOL and (not dLOS-P) and (not AI\_TSF-P)
-
-cLOF $\leftarrow$ dLOF and (not dLOL) and (not AI\_TSF-P)
-
-cCSTM $\leftarrow$ dCSTM and (not dLOF) and (not dLOL) and (not AI\_TSF-P)
-
-cUnlockSec $\leftarrow \sum dUnlockSec[j]$ and (not dCSTM) and (not dLOF) and (not dLOL) and (not AI\_TSF-P)
-
-cLOM $\leftarrow \sum dLOM[j]$ and (not dCSTM) and (not dLOF) and (not dLOL) and (not AI\_TSF-P)
-
-### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the equipment management function (EMF).
-
-pFECcorrErr $\leftarrow \sum nFECcorrErr$
-
-pAuthcheckErr $\leftarrow \sum AuthcheckErr$
-
-NOTE – During AI\_TSF-P, $\sum dUnlockSec[j]$ and dLOL, no corrected bits or authentication failure shall be counted.
-
-## 16.8 OTSiG to FlexO-x adaptation function (OTSiG/FlexO-x\_A)
-
-The OTSiG to FlexO-x (x = 1, 2, 4) adaptation functions perform the adaptation between the OTSiG layer adapted information and the characteristic information of the FlexO-x layer signal for the flexible OTN short reach interfaces with RS(544,514) FEC code. Two types of functions are defined: one that supports the standardized FlexOsec encryption and authentication functions (GCM-AES-256) and one that does not support FlexOsec encryption and authentication.
-
-**Table 16-14.7 – OTSi to FlexO-x adaptation functions (x=1,2,4)**
-
-| Function type | Function name | FlexO-x |
-|------------------------|-----------------------------------------------------------------------------------------------------------------------|---------|
-| OTSiG/FlexO-x-RS_A | OTSiG to FlexO-x adaptation function with RS(544,514) FEC code and without FlexOsec encryption and authentication | x=1,2,4 |
-| OTSiG/FlexO-x-GCM-RS_A | OTSiG to FlexO-x adaptation function with RS(544,514) FEC code and GCM-AES-256 FlexOsec encryption and authentication | x=1,2,4 |
-
-NOTE – OTSiG/FlexO-x-RS\_A is used throughout this clause as shorthand for the specific function type.
-
-### 16.8.1 OTSiG to FlexO-*x*-RS adaptation source function (OTSiG/FlexO-*x*-RS\_A\_So)
-
-The information flow and processing of the OTSiG/FlexO-*x*-RS\_A\_So and OTSiG/FlexO-*x*-GCM-RS\_A\_So functions (*x* = 1, 2, 4) is defined with reference to Figures 16-18 and 16-19.
-
-#### Symbol
-
-![Diagram showing the symbols for OTSiG/FlexO-x-RS_A_So and OTSiG/FlexO-x-GCM-RS_A_So functions. The top part shows the OTSiG/FlexO-x-RS_A_So function with input FlexO-x_CP (x=1, 2, 4) entering a trapezoidal block. Inside the block, a dashed oval with arrows indicates a loop. The block has two outputs: OTSi_AP[1] and OTSi_AP[k]. The bottom part shows the OTSiG/FlexO-x-GCM-RS_A_So function with inputs FlexO-x_CP (x=1, 2, 4) and SK_COMMS_CP entering a trapezoidal block. Inside this block, a dashed oval with arrows indicates a loop. The block has two outputs: OTSi_AP[1] and OTSi_AP[k]. A label OTSiG/FlexO-x-GCM-RS_A_So_SKP points to the block. A reference G.798(17)-Amd.4(22)_F16-18 is shown below the bottom block.](7d2489babb3bf789de160fddd90c535b_img.jpg)
-
-Diagram showing the symbols for OTSiG/FlexO-x-RS\_A\_So and OTSiG/FlexO-x-GCM-RS\_A\_So functions. The top part shows the OTSiG/FlexO-x-RS\_A\_So function with input FlexO-x\_CP (x=1, 2, 4) entering a trapezoidal block. Inside the block, a dashed oval with arrows indicates a loop. The block has two outputs: OTSi\_AP[1] and OTSi\_AP[k]. The bottom part shows the OTSiG/FlexO-x-GCM-RS\_A\_So function with inputs FlexO-x\_CP (x=1, 2, 4) and SK\_COMMS\_CP entering a trapezoidal block. Inside this block, a dashed oval with arrows indicates a loop. The block has two outputs: OTSi\_AP[1] and OTSi\_AP[k]. A label OTSiG/FlexO-x-GCM-RS\_A\_So\_SKP points to the block. A reference G.798(17)-Amd.4(22)\_F16-18 is shown below the bottom block.
-
-Figure 16-18 – OTSiG/FlexO-*x*-RS\_A\_So and OTSiG/FlexO-*x*-GCM-RS\_A\_So functions
-
-#### Interfaces
-
-Table 16-15 – OTSiG/FlexO-*x*-RS\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|
-| FlexO-x_CP : FlexO- x _CI_CK FlexO- x _CI_D FlexO- x _CI_FS FlexO- x _CI_MFS OTSiG/FlexO-x-GCM-RS_A_So_SKP: (Note) OTSiG/FlexO- x -GCM-RS_A_So_SKI_Key[0,1,2,3] OTSiG/FlexO- x -GCM-RS_A_So_SKI_KI OTSiG/FlexO- x -GCM-RS_A_So_SKI_IV_Fixed_ID SK_COMMS_CP: (Note) SK_COMMS_CI_D | per OTSi_AP: OTSi_AI_PLD SK_COMMS_CP: (Note) SK_COMMS_CI_CK |
-| NOTE – For OTSiG/FlexO- x -GCM-RS_A_So only. | |
-
-#### Processes
-
-The processes associated with the OTSiG/FlexO-*x*-RS\_A\_So function are as depicted in Figure 16-19.
-
-**MFAS insertion:** The function shall insert the MFAS into the FlexO basic overhead area in every FlexO instance of the FlexO-*x* as described in [ITU-T G.709.1].
-
-**FlexOsec processes:** For OTSiG/FlexO-*x*-GCM-RS\_A\_So, see clause 8.14.1 and clause 8.14.3.1 for the specific GCM-AES-256 encryption and authentication processes with the cipher suite type (CST)
-
-code point value 000001, as defined in clause B.1 of [ITU-T G.709.1]. The FlexOsec encryption and authentication processes are performed for each individual FlexO instance frame signal in parallel, prior to interleaving into the FlexO-*x*. The same management information (MI) input from the EMF and Secure Key Information (SKI) input from the key exchange and agreement functions are shared by the *x* sets of FlexOsec processes. The same key is used by the *x* sets of FlexOsec source processes which are simultaneously triggered by the key exchange and agreement functions (through SKI\_KI input) to switch to a new key.
-
-For OTSiG/FlexO-*x*-RS\_A\_So the FlexOsec processes are not present.
-
-**Interleaving:** See clause 8.13.1.
-
-**COMMS Clock generation:** For OTSiG/FlexO-*x*-GCM-RS\_A\_So, the function shall generate the SK\_COMMS clock (CK\_COM) by dividing the FlexO clock (CI\_CK) by a factor of 82240. For OTSiG/FlexO-*x*-RS\_A\_So this process is not present.
-
-**Insert KCC:** For OTSiG/FlexO-*x*-GCM-RS\_A\_So, the in-band key exchange communication channel (KCC) is optional. When used, the incoming SK\_COMMS\_CI\_D data is inserted after FlexOsec authentication and encryption into the KCC field of the first FlexO instance frame (CI\_D[1]) of the FlexO-*x* as described in clause 9.3.2.5 of [ITU-T G.709.1]. When it is not used, the all-ZEROS reserved value is inserted into the KCC field. For OTSiG/FlexO-*x*-RS\_A\_So this process is not present.
-
-**Clock generation:** The function shall generate the FlexO-*x*-RS clock by multiplying the incoming FlexO clock (CI\_CK) by $[x \times 544/514]$ to the frequencies as listed in Table 11-2, 12-2 or 13-2 of [ITU-T G.709.1] for 100G FlexO-1-RS (*x*=1), 200G FlexO-2-RS (*x*=2) or 400G FlexO-4-RS (*x*=4), respectively.
-
-**Mapping:** The function shall map (i.e., addition of FEC parity area) the incoming FlexO-*x* frame into the FlexO-*x*-RS frame payload area as defined in clause 11.1, 12.1 or 13-1 of [ITU-T G.709.1] for 100G FlexO-1-RS (*x*=1), 200G FlexO-2-RS (*x*=2) or 400G FlexO-4-RS (*x*=4), respectively.
-
-**Scrambler:** The function shall scramble FlexO-*x*-RS frame payload, fixed stuffing, extended overhead and basic overhead area as defined in clause 11.4, 12.4 or 13.4 of [ITU-T G.709.1] for 100G FlexO-1-RS (*x*=1), 200G FlexO-2-RS (*x*=2) or 400G FlexO-4-RS (*x*=4) respectively.
-
-**Alignment insertion:** The function shall insert the alignment marker into the FlexO-*x* frame AM area as described in clause 9.1.1, 9.1.3 or 9.1.5 of [ITU-T G.709.1] for 100G FlexO-1-RS (*x*=1), 200G FlexO-2-RS (*x*=2) or 400G FlexO-4-RS (*x*=4) respectively.
-
-**FEC encoder:** See clause 8.5.5.
-
-**Symbol Distribution:** The function shall divide FlexO-*x*-RS frame signal into $(4 \times x)$ FOIC*x*.*k* logical lanes based on 10-bit symbol granularity as described in clause 11.6.1, 12.6.1 or 13.6.1 of [ITU-T G.709.1] for 100G FlexO-1-RS (*x*=1), 200G FlexO-2-RS (*x*=2) or 400G FlexO-4-RS (*x*=4) respectively.
-
-For *x*=1, the 4 logical lanes of the FlexO-1-RS signal correspond to four FOIC1.4-RS physical lanes and optical OTSi payload signals per clause 11.6.1 of [ITU-T G.709.1].
-
-**Bit interleaver:**
-
-The bit interleaver process bit multiplexes $(4 \times x)/k$ specific logical lanes of the $(4 \times x)$ logical lanes of the FlexO-*x*-RS signal to *k* FOIC*x*.*k*-RS physical lanes and optical OTSi payload signals according to clauses 11.6.5 (*x*=1), 12.6.1 (*x*=2), 13.6.1 and 13.6.6 (*x*=4) of [ITU-T G.709.1].
-
-In case $(4 \times x)$ equals *k* the process transparently connects its input to its output.
-
-
-
-The diagram illustrates the OTSiG/FlexO-x-GCM-RS\_A\_So processes. At the top, **FlexO-x\_CP** provides inputs $CI\_CK$ , $CI\_D[1]$ , $CI\_FS$ , and $CI\_MFS$ to multiple **MFAS insertion** blocks. These blocks output $CK$ , $D^1$ , $FS$ , and $MFS$ to **FlexOsec processes**. **SK\_COMMS\_CP** provides $CI\_CK$ and $CI\_D$ to a **COMMS clock generation** block, which outputs $CK_{COM}$ . A **FlexO-x clock gen. ( $\times x$ )** block also outputs $CK_{COM}$ and $D_{COM}$ to an **Insert KCC** block. The **FlexOsec processes** receive $SKI\_Key[0,1,2,3]$ , $SKI\_KI$ , and $SKI\_IV\_Fixed\_ID$ and output $D_{sec1}$ , $FS$ , and $D_{sec2}$ to an **Interleaving** block. The **Interleaving** block outputs $CK$ , $D$ , and $FS$ to a **Mapping** block. A **FlexO-x-RS clock generation ( $\times 544/514$ )** block outputs $CK_{RS}$ to the **Mapping**, **Scrambler**, **Alignment insertion**, and **FEC encoder** blocks. The **Mapping** block outputs $D$ and $FS$ to the **Scrambler**, which outputs $D$ and $FS$ to the **Alignment insertion**, which outputs $D$ and $FS$ to the **FEC encoder**, which outputs $D$ and $FS$ to a **Symbol distribution** block. The **Symbol distribution** block outputs $1$ , $(4x/k)$ , $4x(k-1)/k+1$ , and $(4x)$ to **(4x) logical lanes**. These lanes are distributed across **Physical lane** blocks, each containing a **(4x/k):1 bit interleaver**. The outputs of the interleavers are $1$ and $(4x/k)$ to **$k$ physical lanes**. The physical lanes are labeled **AI\_PLD** and **OTSi\_AP[1]** through **OTSi\_AP[k]**. A list of FOIC standards is provided at the bottom left: FOIC1.4-RS ( $x = 1, k = 4$ ), FOIC1.1-RS ( $x = 1, k = 1$ ), FOIC2.4-RS ( $x = 2, k = 4$ ), FOIC4.8-RS ( $x = 4, k = 8$ ), and FOIC4.4-RS ( $x = 4, k = 4$ ). The diagram is labeled G.798(23)\_F16-19.
-
-Block diagram of OTSiG/FlexO-x-GCM-RS\_A\_So processes showing data flow from FlexO-x\_CP and SK\_COMMS\_CP through various processing stages including MFAS insertion, FlexOsec processes, interleaving, mapping, scrambling, alignment insertion, FEC encoding, and symbol distribution to physical lanes.
-
-OTSiG/FlexO-x-GCM-RS\_A\_So\_SKP
-
-Figure 16-19 – OTSiG/FlexO-x-GCM-RS\_A\_So processes
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.8.2 OTSiG to FlexO-x-RS adaptation sink function (OTSiG/FlexO-x-RS\_A\_Sk)
-
-The information flow and processing of the OTSiG/FlexO-x-RS\_A\_Sk and OTSiG/FlexO-x-GCM-RS\_A\_Sk functions is defined with reference to Figures 16-20 and 16-21.
-
-#### Symbol
-
-
-
-The diagram illustrates two functional blocks representing adaptation sink functions.
-
-**Top Block: OTSiG/FlexO-x-RS**
-
-- A central trapezoidal block labeled **OTSiG/FlexO-x-RS**.
-- An input arrow labeled **OTSiG/FlexO-x-RS\_A\_Sk\_MP** enters from the left.
-- An output arrow labeled **FlexO-x\_CP** exits from the top.
-- Multiple input arrows labeled **OTSi\_AP[1]**, **OTSi\_AP[k]**, and **OTSiG-O\_AP** enter from the bottom. A dashed oval with arrows indicates a series of inputs from 1 to k.
-
-**Bottom Block: OTSiG/FlexO-x-GCM-RS**
-
-- A central trapezoidal block labeled **OTSiG/FlexO-x-GCM-RS**.
-- An input arrow labeled **OTSiG/FlexO-x-GCM-RS\_A\_Sk\_MP** enters from the left.
-- An output arrow labeled **FlexO-x\_CP** exits from the top.
-- An output arrow labeled **SK\_COMMS\_CP** exits from the top right.
-- An input arrow labeled **OTSiG/FlexO-x-GCM-RS\_A\_Sk\_SKP** enters from the right.
-- Multiple input arrows labeled **OTSi\_AP[1]**, **OTSi\_AP[k]**, and **OTSiG-O\_AP** enter from the bottom. A dashed oval with arrows indicates a series of inputs from 1 to k.
-
-G.798(17)-Amd.4(22)\_F16-20
-
-Diagram showing the symbols for OTSiG/FlexO-x-RS\_A\_Sk and OTSiG/FlexO-x-GCM-RS\_A\_Sk functions.
-
-**Figure 16-20 – OTSiG/FlexO-x-RS\_A\_Sk and OTSiG/FlexO-x-GCM-RS\_A\_Sk functions**
-
-## Interfaces
-
-**Table 16-16 – OTSiG/FlexO-*x*-RS\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| per OTSi_AP: OTSi_AI_PLD OTSiG-O_AP: OTSiA_AI_TSF-O OTSiA_AI_TSF-P OTSiG/FlexO-x-RS_A_Sk_MP: OTSiG/FlexO- x -RS_A_Sk_MI_1second OTSiG/FlexO- x -RS_A_Sk_MI_SquelchEn (Note) OTSiG/FlexO-x-GCM-RS_A_Sk_SKP: (Note) OTSiG/FlexO- x -GCM- RS_A_Sk_SKI_Key[0,1,2,3] OTSiG/FlexO- x -GCM- RS_A_Sk_SKI_IV_Fixed_ID | FlexO-x_CP: FlexO- x _CI_CK FlexO- x _CI_D[1.. x ] FlexO- x _CI_FS FlexO- x _CI_MFS FlexO- x _CI_SSF OTSiG/FlexO-x-RS_A_Sk_MP: OTSiG/FlexO- x -RS_A_Sk_AcCST (Note) OTSiG/FlexO- x -RS_A_Sk_MI_cLOS-P OTSiG/FlexO- x -RS_A_Sk_MI_cLOL OTSiG/FlexO- x -RS_A_Sk_MI_cLOF OTSiG/FlexO- x -RS_A_Sk_MI_cLOM OTSiG/FlexO- x -RS_A_Sk_MI_cCSTM (Note) OTSiG/FlexO- x -RS_A_Sk_MI_cUnlockSec (Note) OTSiG/FlexO- x -RS_A_Sk_MI_pFECcorrErr OTSiG/FlexO- x -RS_A_Sk_MI_pAuthCheckErr (Note) OTSiG/FlexO-x-GCM-RS_A_Sk_SKP: (Note) OTSiG/FlexO- x -GCM-RS_A_Sk_SKI_AcKI SK_COMMS_CP: (Note) SK_COMMS_CI_D SK_COMMS_CI_CK |
-| NOTE – For OTSiG/FlexO- x -GCM-RS_A_Sk only. | |
-
-## Processes
-
-The processes associated with the OTSiG/FlexO-*x*-RS\_A\_Sk function are as depicted in Figure 16-21.1 (*x*=1) and Figure 16-21.2 (*x*=2,4).
-
-**Lane Clock Recovery:** The process shall recover the clock of the FOIC*x.k*-RS lane signal from the incoming data. The function shall introduce no errors in case of jitter and wander, as defined in [ITU-T G.8251].
-
-### Bit de-interleaver:
-
-The bit de-interleaver process bit de-multiplexes each of the *k* FOIC*x.k*-RS physical lanes into (4×*x*)/*k* logical lanes of the (4×*x*) logical lanes of the FlexO-*x*-RS signal according to clauses 11.6.5 (*x*=1), 12.6.1 (*x*=2), 13.6.1 and 13.6.6 (*x*=4) of [ITU-T G.709.1].
-
-In case (4×*x*) equals *k* the process transparently connects its inputs to its outputs.
-
-**Alignment lock:** The function shall recover the FOIC*x.k* logical lane frame start (1/(4×*x*) of FlexO-*x*-RS frame) through obtaining LOCK to the alignment markers as specified by the FEC synchronization state diagram in clause 91.5.3.1 of [IEEE 802.3] for FOIC1.4 or in clause 119.2.5.1 of [IEEE 802.3] for FOIC2.8 or FOIC4.16. The specific alignment marker to be locked shall be CM0 to CM5 (48 bits) per frame as specified in clause 9.1.1, 9.1.3 or 9.1.5 of [ITU-T G.709.1] while the distance between alignment markers (counted by amp\_counter) shall correspond to 128, 256 or 512 FEC codewords as specified in clause 11.1, 12.1 or 13.1 of [ITU-T G.709.1] for FlexO-1-RS,
-
-FlexO-2-RS or FlexO-4-RS respectively. Additionally, the synchronization process on all logical lanes shall be restarted (restart\_lock set to true) if five consecutive alignment markers fail to match on any of the logical lanes.
-
-**Deskew & Reorder:** The function shall include deskewing and reordering processes. The deskewing process shall remove the skew of all $(4 \times x)$ FOICx.k logical lanes as specified by the FEC alignment state diagram in clause 91.5.3.1 of [IEEE 802.3] for FOIC1.4 or in clause 119.2.5.1 of [IEEE 802.3] for FOIC2.8 or FOIC4.16. It shall support a maximum skew of 180 ns between logical lanes and a maximum skew variation of 4 ns. The reordering process shall reorder these $(4 \times x)$ FOICx.k logical lanes according to their lane number (see clause 9.1.1, 9.1.3 or 9.1.5 of [ITU-T G.709.1] for FOIC1.4, FOIC2.8 or FOIC4.16 respectively). The FOICx.k lane number is identified by six 8-bit unique markers from the UMx area.
-
-**Recombination:** The function shall multiplex the aligned and ordered $(4 \times x)$ FOICx.k logical lanes into the original stream of FEC codewords and reconstruct the FlexO-x-RS frame.
-
-**FEC Decoder:** See clause 8.5.5.
-
-**Descrambler:** The function shall perform descrambling for FlexO-x-RS frame payload, fixed stuffing, basic overhead and extended overhead area as described in clause 11.4, 12.4 or 13.4 of [ITU-T G.709.1] for 100G FlexO-1-RS ( $x=1$ ), 200G FlexO-2-RS ( $x=2$ ) or 400G FlexO-4-RS ( $x=4$ ) respectively.
-
-**Demapping:** The function shall demap (i.e., removal of FEC parity area) the FlexO-x frame from the incoming FlexO-x-RS frame as defined in clause 11.1, 12.1 or 13.1 of [ITU-T G.709.1] for 100G FlexO-1-RS ( $x=1$ ), 200G FlexO-2-RS ( $x=2$ ) or 400G FlexO-4-RS ( $x=4$ ), respectively.
-
-**Extract and replace KCC:** For OTSiG/FlexO-x-GCM-RS\_A\_Sk the in-band key exchange communication channel (KCC) is optional. When used, the function shall extract the KCC data (SK\_COMMS\_CI\_D) from the FlexOsec KCC overhead field of the first FlexO instance frame of the FlexO-x as described in clause 9.2.8 of [ITU-T G.709.1]. The bit rate of the KCC data is defined by the outgoing KCC clock. The function shall generate the KCC clock (SK\_COMMS\_CI\_CK) by dividing the FlexO-x clock by a factor of 82240. After extraction, the KCC byte in the FlexOsec overhead is replaced with value 0x00 at the input of the FlexOsec sink processes.
-
-For OTSiG/FlexO-x-RS\_A\_Sk this process is not present.
-
-**FlexOsec processes:** For OTSiG/FlexO-x-GCM-RS\_A\_Sk see clause 8.14.2 and clause 8.14.3.1 for the specific GCM-AES-256 decryption and authentication processes with the cipher suite type (CST) code point value 000001, as defined in clause B.1 of [ITU-T G.709.1]. The FlexOsec decryption and authentication processes are performed for each individual FlexO instance frame signal in parallel, after deinterleaving from FlexO-x. The same management information (MI) input from the EMF and Secure Key Information (SKI) input from the key exchange and agreement functions are shared by the $x$ sets of FlexOsec processes. The same sets of keys are configured to be used by the $x$ sets of FlexOsec sink processes.
-
-For OTSiG/FlexO-x-RS\_A\_Sk this process is not present.
-
-**De-interleaving:** See clause 8.13.2.
-
-**Multiframe alignment:** The process shall recover the FlexO multi-frame start as described in clause 8.2.2.
-
-![Figure 16-21 – OTSiG/FlexO-x-GCM-RS_A_Sk processes. This is a complex block diagram showing the signal processing flow for OTSiG/FlexO-x-GCM-RS_A_Sk. At the bottom, multiple physical lanes (k physical lanes) are shown. Each lane has a 'Clock recovery' block followed by a 'LOS detection' block, which outputs dLOS-P[i]. Above this, there are '(4x/k) bit deinterleaver' blocks. The next stage is 'Alignment lock' blocks, which take inputs from the deinterleavers and produce 'restart_lock[i]' and 'restart' signals. These are followed by 'Deskew' and 'Lane reorder and recombination' blocks. The signal then passes through a 'FEC decoder', 'Descrambler', and 'Demapping' blocks. Above these are 'De-interleaving' blocks. The next major stage consists of 'FlexOsec processes' (labeled 1, 2, ..., x). Each process takes inputs from the de-interleaving stage and produces 'AuthCheckErr[i]', 'dUnlockSec[i]', 'AcCST[i]', 'SKI_AcKI[i]', and 'dLOM[i]'. These are followed by 'Multiframe alignment' blocks, which produce 'dLOM[i]'. At the top, there are 'Consequent actions' blocks that take inputs from the multiframe alignment and produce 'dCSTM', 'dLOL', 'dUnlockSec[1..x]', and 'dLOM[1..x]'. Various other signals like 'CK', 'D', 'FS', 'MI_SquelchEn', 'MI_AcCST[1..x]', 'MI_pAuthcheckErr', 'MI_1second', 'MI_pFECorrErr', 'MI_cCSTM', 'MI_cUnlockSec', 'MI_cLOM', 'MI_cLOL', 'MI_cLOS-P', 'aSSF', and 'SKI_Key[0, 1, 2, 3]' are shown throughout the diagram. On the right side, there are labels for 'OTSiG/FlexO-x-GCM-RS_A_Sk_SKP' and 'OTSiG/FlexO-x-RS_A_Sk_MP'. At the bottom right, there is a list of FOIC configurations: FOIC1.4-RS (x = 1, k = 4), FOIC1.1-RS (x = 1, k = 1), FOIC2.4-RS (x = 2, k = 4), FOIC4.8-RS (x = 4, k = 8), and FOIC4.4-RS (x = 4, k = 4).](51b3f989269d40b52bbf69c7a448bf52_img.jpg)
-
-Figure 16-21 – OTSiG/FlexO-x-GCM-RS\_A\_Sk processes. This is a complex block diagram showing the signal processing flow for OTSiG/FlexO-x-GCM-RS\_A\_Sk. At the bottom, multiple physical lanes (k physical lanes) are shown. Each lane has a 'Clock recovery' block followed by a 'LOS detection' block, which outputs dLOS-P[i]. Above this, there are '(4x/k) bit deinterleaver' blocks. The next stage is 'Alignment lock' blocks, which take inputs from the deinterleavers and produce 'restart\_lock[i]' and 'restart' signals. These are followed by 'Deskew' and 'Lane reorder and recombination' blocks. The signal then passes through a 'FEC decoder', 'Descrambler', and 'Demapping' blocks. Above these are 'De-interleaving' blocks. The next major stage consists of 'FlexOsec processes' (labeled 1, 2, ..., x). Each process takes inputs from the de-interleaving stage and produces 'AuthCheckErr[i]', 'dUnlockSec[i]', 'AcCST[i]', 'SKI\_AcKI[i]', and 'dLOM[i]'. These are followed by 'Multiframe alignment' blocks, which produce 'dLOM[i]'. At the top, there are 'Consequent actions' blocks that take inputs from the multiframe alignment and produce 'dCSTM', 'dLOL', 'dUnlockSec[1..x]', and 'dLOM[1..x]'. Various other signals like 'CK', 'D', 'FS', 'MI\_SquelchEn', 'MI\_AcCST[1..x]', 'MI\_pAuthcheckErr', 'MI\_1second', 'MI\_pFECorrErr', 'MI\_cCSTM', 'MI\_cUnlockSec', 'MI\_cLOM', 'MI\_cLOL', 'MI\_cLOS-P', 'aSSF', and 'SKI\_Key[0, 1, 2, 3]' are shown throughout the diagram. On the right side, there are labels for 'OTSiG/FlexO-x-GCM-RS\_A\_Sk\_SKP' and 'OTSiG/FlexO-x-RS\_A\_Sk\_MP'. At the bottom right, there is a list of FOIC configurations: FOIC1.4-RS (x = 1, k = 4), FOIC1.1-RS (x = 1, k = 1), FOIC2.4-RS (x = 2, k = 4), FOIC4.8-RS (x = 4, k = 8), and FOIC4.4-RS (x = 4, k = 4).
-
-**Figure 16-21 – OTSiG/FlexO-x-GCM-RS\_A\_Sk processes**
-
-## Defects
-
-The function shall detect dLOS-P[1..k], dLOL, dCSTM, dUnlockSec[1..x] and dLOM[1..x].
-
-**dLOS-P[i]:** See clause 6.2.1.2.
-
-**dLOL:** dLOL is generated for multilane interfaces based on the FEC alignment state diagram in clause 91.5.3.1 of [IEEE 802.3] for FOIC1.4 or on the PCS synchronization state diagram in clause 119.2.5.1 of [IEEE 802.3] for FOIC2.8 or FOIC4.16. dLOL shall be declared if fec\_alignment\_valid is false for 3 ms. To provide for the case of intermittent out-of-locks
-
-(fec\_alignment\_valid is false), the integrating timer shall not be reset to zero until an in-lock (fec\_alignment\_valid is true) condition persists continuously for 3 ms. dLOL shall be cleared if fec\_alignment\_valid is true for 3 ms.
-
-NOTE – The hi\_ser variable shall be assumed to be zero in the PCS synchronization state diagram of clause 119.2.5.1 of [IEEE 802.3] because the FEC\_bypass\_indication\_enable is always set to zero in the case of OTN.
-
-**dCSTM:** For OTSiG/FlexO-x-GCM-RS\_A\_Sk see clause 6.2.11. The expected cipher suite type is "0000 0001". For OTSiG/FlexO-x-RS\_A\_Sk dCSTM is assumed to be false.
-
-Per FlexO instance #j detection (j = 1..x):
-
-**dLOM[j]:** See clause 6.2.5.2.
-
-**dUnlockSec[j]:** For OTSiG/FlexO-x-GCM-RS\_A\_Sk see clause 6.2.7.2.1; for OTSiG/FlexO-x-RS\_A\_Sk dUnlockSec[j] is assumed to be false.
-
-#### Consequent actions
-
-aSSF $\leftarrow \sum dLOM[j]$ or $\sum dUnlockSec[j]$ or dCSTM or $\sum dLOS-P[i]$ or dLOL or AI\_TSF-P
-
-#### Defect correlations
-
-cLOS-P $\leftarrow \sum dLOS-P[i]$ and (not AI\_TSF-P)
-
-cLOL $\leftarrow dLOL$ and (not $\sum dLOS-P[i]$ ) and (not AI\_TSF-P)
-
-cCSTM $\leftarrow dCSTM$ and (not dLOL) and (not AI\_TSF-P)
-
-cUnlockSec $\leftarrow \sum dUnlockSec[j]$ and (not dCSTM) and (not dLOL) and (not AI\_TSF-P)
-
-cLOM $\leftarrow \sum dLOM[j]$ and (not dCSTM) and (not dLOL) and (not AI\_TSF-P)
-
-#### Performance monitoring
-
-The function shall perform the following performance monitoring primitives processing. The performance monitoring primitives shall be reported to the equipment management function (EMF).
-
-pFECcorrErr $\leftarrow \sum nFECcorrErr$
-
-For OTSiG/FlexO-x-GCM-RS\_A\_Sk only:
-
-pAuthcheckErr $\leftarrow \sum AuthcheckErr$
-
-NOTE – During AI\_TSF-P and dLOL, no corrected bits or authentication failure shall be counted.
-
-### 16.9 OTSi to OSC adaptation function (OTSi/OSC\_A)
-
-The OTSi to OSC adaptation functions perform the adaptation between the OTSi layer adapted information and the characteristic information of functionally standardized OSC layer signal.
-
-#### 16.9.1 OTSi to OSC adaptation source function (OTSi/OSC\_A\_So)
-
-The information flow and processing of the OTSi/OSC\_A\_So function is defined with reference to Figure 16-22.
-
-## Symbol
-
-
-
-Symbol diagram for OTSi/OSC\_A\_So function. It shows a trapezoidal block labeled 'OTSi/OSC'. An arrow labeled 'OSC\_CP' points into the top of the block, and an arrow labeled 'OTSi\_AP' points out from the bottom. The diagram is labeled G.798(17)\_F16-22.
-
-Figure 16-22 – OTSi/OSC\_A\_So function
-
-## Interfaces
-
-Table 16-17 – OTSi/OSC\_A\_So inputs and outputs
-
-| Input(s) | Output(s) |
-|------------------------------------------|--------------------------------|
-| OSC_CP: OSC_CI_OH OSC_CI_CK | OTSi_AP: OTSi_AI_PLD |
-
-## Processes
-
-The OTSi/OSC\_A\_So function provides all processes necessary for the adaptation to the OTSi layer, which includes processes that ensure clock and frame recovery at the adaptation sink and optional forward error correction coding.
-
-The specific processes are outside the scope of this Recommendation.
-
-**Defects:** None.
-
-**Consequent actions:** None.
-
-**Defect correlations:** None.
-
-**Performance monitoring:** None.
-
-### 16.9.2 OTSi to OSC adaptation sink function (OTSi/OSC\_A\_Sk)
-
-The OTSi/OSC\_A\_Sk detects the dLOS-O defectand counts during one-second periods defects to feed performance monitoring when connected.
-
-The information flow and processing of the OTSi/OSC\_A\_Sk function is defined with reference to Figure 16-23.
-
-## Symbol
-
-
-
-Symbol diagram for OTSi/OSC\_A\_Sk function. It shows a trapezoidal block labeled 'OTSi/OSC'. An arrow labeled 'OTSi\_AP' points into the bottom of the block, and an arrow labeled 'OSC\_CP' points out from the top. A double-headed arrow labeled 'OTSi/OSC\_A\_Sk\_MP' is connected to the left side of the block. The diagram is labeled G.798(17)\_F16-23.
-
-Figure 16-23 – OTSi/OSC\_A\_Sk function
-
-## Interfaces
-
-**Table 16-18 – OTSi/OSC\_A\_Sk inputs and outputs**
-
-| Input(s) | Output(s) |
-|----------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
-| OTSi_AP: OTSi_AI_PLD OTSi/OSC_A_Sk_MP: OTSi/OSC_A_Sk_MI_1second | OSC_CP: OSC_CI_OH OSC_CI_CK OSC_CI_SSF OTSi/OSC_A_Sk_MP: OTSi/OSC_A_Sk_MI_cLOS-O OTSi/OSC_A_Sk_MI_pN_DS-O |
-
-## Processes
-
-The OTSi/OSC\_A\_Sk function provides all processes necessary for the adaptation from the OTSi layer, which includes processes for clock recovery.
-
-The specific processes are outside the scope of this Recommendation.
-
-## Defects
-
-The OTSi/OSC\_A\_Sk function shall detect the dLOS-O defect.
-
-**dLOS-O:** See clause 6.2.1.3.
-
-## Consequent actions
-
-The OTSi/OSC\_A\_Sk function shall perform the following consequent action:
-
-aSSF $\leftarrow$ dLOS-O
-
-## Defect correlations
-
-The OTSi/OSC\_A\_Sk function shall perform the following defect correlation:
-
-cLOS-O $\leftarrow$ dLOS-O
-
-## Performance monitoring
-
-The OTSi/OSC\_A\_Sk function shall perform the following performance monitoring primitives. The performance monitoring primitives shall be reported to the EMF.
-
-pN\_DS-O $\leftarrow$ dLOS-O
-
-## 17 Media element
-
-The optical transmission layer is described by media elements. Non-associated overhead (see clauses 9, 10, 11, and 12) provides management structure for the optical media layer.
-
-A media element operates on the envelope of any optical signals that are present in a media channel (e.g., amplify the signal, constrain or direct the media channel etc.) and is not aware of the information being carried. Media elements do not demodulate the signal and therefore do not process the digital information that is carried by the signal.
-
-A media element has N ports. An optical signal that is present at a port may be transferred to 0 or more other ports on the media element.
-
-- Each pair of ports that allow signal transfer has one or more media channels with a frequency slot (defined by m and n; see [ITU-T G.694.1]) for each media channel.
-
-- Each media channel has zero or more transfer parameters. The transfer parameters (the optical characteristics of the media channel) are defined in other Recommendations including for example [ITU-T G.663] and [ITU-T G.680].
-
-The media channel and signal transfer are modelled independently for each direction of signal propagation. The internal structure of a media element is not visible, only the media channels between the ports are defined.
-
-The media element has a management port to allow exchange of management information with the equipment management function.
-
-To facilitate management of the optical network, non-associated overhead can be used with a media element to provide maintenance entities that can assist with fault isolation, management communications, and other OAM functions. The media element has a defect port that is used to communicate loss of signal information to the atomic functions that provide this management structure.
-
-### Internal signal monitors
-
-A media element may include an optical parameter monitor (OPM) function that monitors the bulk properties (e.g., power) of any of the optical signals that are present in a media channel. Depending on the frequency slot of the media channel the OPM may operate on for example an aggregated set of OTSi (e.g., the input to an optical line amplifier) or a single OTSi. The output of the OPM is an electrical signal that is quantized and encoded to a binary value that is proportional to the observed optical power. The mapping between the optical power and the binary values is vendor specific and is not subject to standardization.
-
-The OPM may be associated via an internal media channel with any of the externally visible ports, or it may monitor an OMS\_ME end point or an OTS\_ME end point that are implemented within the media element. Note that the OPM functions may be integrated into an optical amplifier. The location of the OMS and OTS are defined in [ITU-T G.872]. Appendix VII provides some examples of the case where the OMS and OTS end points are encapsulated within a media element.
-
-### Attachment of external signal monitors
-
-The ability to attach an external signal monitor to the optical signal that is present on a port of a media element is provided by an additional media channel (within the media element) from the subject port to another external port.
-
-### Symbol
-
-
-
-The diagram illustrates the MediaElement function as a central grey rounded rectangle. It features several external connections: at the top, multiple bidirectional arrows represent OTSi\_AP (Optical Transport Signal Interface - Administrative Point) connections, indicated by an ellipsis between two arrows; on the right side, two single-headed arrows point outwards to ME\_MP (Media Element Management Point) and ME\_DP (Media Element Defect Point); at the bottom, a single bidirectional arrow represents the Optical signal input/output. The text 'G.798(17)\_F17-1' is located in the bottom right corner of the diagram area.
-
-Diagram of MediaElement function showing various ports and signal flow.
-
-Figure 17-1 – MediaElement function
-
-## Interfaces
-
-**Table 17-1 – MediaElement inputs and outputs**
-
-| Input(s) | Output(s) |
-|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| MediaElement_MP: ME_MI_configureMediaChannel(port j, port k, freqSlot, signalTransfer) ME_MI_configureOPM(port j, freqSlot, threshold)
per OTSi_AP: OTSi_AI_PLD | MediaElement_MP: ME_MI_queryMediaChannel(port j, port k, freqSlot, signalTransfer) ME_MI_OPM(port j, freqSlot, value) ME_MI_dLOS-P[i]
NOTE 1 – The holdover specification threshold controlling the time spent advertising clockClass values 7 or 135 could be set to zero so that the T-GM, T-BC-P, or T-BC-A would advertise a degraded clockClass value directly after losing traceability to a PRTC. In this case, initially after advertising clockClass values 140, 150, 160 or 165, a clock may still be within the holdover specification. For a description of frequency source "Category" see Table 4 below.
NOTE 2 – The frequencyTraceable flag may be TRUE or FALSE, depending on the availability of a PRC-traceable physical layer frequency input signal.
NOTE 3 – The term "holdover" in this table refers to "time holdover".
| | | |
-
-Table 4 describes how the clock quality levels (QLs) defined in [ITU-T G.781] are mapped to Category 1, 2, and 3 frequency sources used in Table 3.
-
-**Table 4 – Mapping of ITU-T G.781 clock QLs to Category 1, 2, 3 frequency sources**
-
-| Category (in Table 3) | ITU-T G.781 Option I QLs | ITU-T G.781 Option II QLs |
-|----------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------|---------------------------|
-| Category 1 frequency source | QL-PRC | QL-PRS |
-| Category 2 frequency source | QL-SSU-A | QL-ST2 |
-| Category 3 frequency source | QL-SSU-B | QL-ST3E |
-|
NOTE – Other frequency source categories, while not used in Table 3, are possible. An example is a category containing QL-EEC1 and QL-EEC2.
| |
-| Actors and roles (*) | The names of actors/roles involved in the use case including role characteristic for each actor. | |
-| Telecom resources | The names of the telecommunication resources involved in the use case. | |
-| Assumptions | A description of the environment providing a context for the use case. Assumptions are mutually exclusive to pre-conditions. Assumptions are concerned with static properties. | |
-
-**Table A.2 – Use case template**
-
-| Use case stage | Evolution/Specification | <> Related use |
-|-----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------|
-| Pre-conditions | A list of all system and environment conditions that must be true before the use case can be triggered. Pre-conditions are mutually exclusive to assumptions. Pre-conditions are related to dynamic properties and can result in an exception. This is never the case with assumptions. | |
-| Begins when | The name of the single event that triggers the start of the use case. Optional and normally not used to specify triggers such as "when the manager must retrieve information". | |
-| Step 1 (*) (M O) | A use case describes a list of steps (manual and automated) that are necessary to accomplish the goal of the use case. Steps may invoke other use cases. Steps are numbered for traceability. Each step is identified as being mandatory (M) or optional (O). Sub-steps are identified relative to the containing step, e.g.: Step n Step n.1 Step n.2 where n.1 and n.2 are sub-steps of step n. | Reference to a used use case. |
-| Step n (M O) | Steps added as necessary and in a logical sequence. | |
-| Ends when (*) | The list of event(s) that indicates the use case completion. NOTE – In this context, "event" should be considered in the most general sense and not limited to, e.g., notifications exchanged across a management interface. As an example, the completion of processing can be considered an event that indicates completion of a use case. | |
-| Exceptions | A summary list of exception conditions and faults detected by the use case during its operation. | |
-| Post-conditions | A list of all system and environmental conditions that must be true when the use case has completed. The statement of post-conditions determines if the use case is expected to be fully successful, partially successful or even to have failed in order to be completed. | |
-| Traceability (*) | Requirements or use case exposed by the use case. | |
-
-NOTE – Fields marked with "\*" are mandatory for all use case specifications. Other fields are only mandatory when relevant for the specific use case.
-
-#### A.1.3 Requirements categories
-
-It is useful to classify requirements in different categories. The following categories are considered relevant for MISM:
-
-- Conceptual (CON) – Identifies a concept, data type, relationship, format, or structure.
-- Functional (FUN) – Identifies a functional capability, dynamic situation, a sequence, timing parameters, or an interaction.
-- Non-functional (NON) – Non-functional requirements, including abnormal conditions, error conditions and bounds of performance.
-- Administrative (ADM) – System administration and operational requirements not related to the use cases normal operations.
-
-Requirements should be written based on the following template:
-
-REQ-Label-Category-Number {Category, number} Details {Source Citation}
-
-where "Label" is an abbreviation for the Recommendation (or part thereof). The set of labels is not finite and not subject for standardization.
-
-Guidelines on requirements numbering can be found in Appendix III.
-
-### A.2 Requirements template
-
-| 1 Concepts and background | | | | | | |
-|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------|----------------------------------|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------|--|
-| Define major goals and objectives and the applicable management interfaces (and reference points) for this specification. Use [ITU-T M.3200] categorization as a source for identifying the management service(s) supported by this interface. | | | | | | |
-| This subclause should give a clear description of the users' benefit, i.e., the reason for performing this management service. Background and context should be added as necessary, but the explanatory and descriptive parts should be separated. Supporting background information, where required, should be placed in an appendix. | | | | | | |
-| 1.a SubClauseTitle | | | | | | |
-| SubClauseTitle is the name of the subclause. | | | | | | |
-| "a" represents a number, starting at 1 and increasing by 1 with each new subclause. | | | | | | |
-| The use of subclauses is optional. | | | | | | |
-| 2 Business level requirements | | | | | | |
-| 2.1 Requirements | | | | | | |
-| 2.1.a SubSetTitle | | | | | | |
-| SubSetTitle is the name of a sub-set of the business level requirements. | | | | | | |
-| "a" represents a number, starting at 1 and increasing by 1 with each new sub-set. | | | | | | |
-| The use of sub-sets is optional and all business level requirements can be stated in subclause 2.1 (requirements). | | | | | | |
-| List major requirements in text, and identify use cases with actor/role and resources. The high-level use cases (subclause 2.4 below) should bring out the business level requirements and are distinguished from the specification requirements by not refining to lower levels. Clause 2.4 contains many examples of what makes up the high-level use cases. Policy-related information (e.g., security, persistence) are candidates for inclusion at this level. Numbering the requirements is required for traceability. | | | | | | |
-| Requirements should be specified as described in clause A.1.3. Within a requirements specification, it is suggested that requirements be written in the sequence of clause A.1.3 (either for the entire specification or for each sub-set). | | | | | | |
-| Use of requirements categories is optional, and – when used – a subset of the categories can be applied. As an example, conceptual requirement number 23 in Recommendation tagged 'SM' would be specified as follows: | | | | | | |
-|
Identifier1
Definition2
Related use case(s) / Motivation
REQ-SM-CON-23
A Service Order consists of a name, address, phone number, service description and an optional FAX number for contacts {T1M1.5 Document 246 11/96}
| Identifier 1 | Definition 2 | Related use case(s) / Motivation | REQ-SM-CON-23 | A Service Order consists of a name, address, phone number, service description and an optional FAX number for contacts {T1M1.5 Document 246 11/96} | |
-| Identifier 1 | Definition 2 | Related use case(s) / Motivation | | | | |
-| REQ-SM-CON-23 | A Service Order consists of a name, address, phone number, service description and an optional FAX number for contacts {T1M1.5 Document 246 11/96} | | | | | |
-
-1 "Identifier" in this table is equivalent to "Requirement label" in the table of X.a.3 in [b-3GPP TS 32.160].
-
-2 "Definition" in this table is equivalent to "Description" in the table of X.a.3 in [b-3GPP TS 32.160].
-
-*One or more tables can be used with supportive text between tables as necessary.*
-
-*In some cases, supplementary text can be added to the requirements as an alternative to very rudimentary use case statements. This can either be done within the table structure itself or following the table (typically relevant when there are only a few requirements in the table).*
-
-*As an example, supplementary text can be added to the requirement statement as follows:*
-
-| Identifier | Definition | Related use case(s) / Motivation |
-|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|
-| REQ-SM-CON-24 | A Service Order consists of a name, address, phone number, service description and an optional FAX number for contacts {TIM1.5 Document 246 11/96}. Additional information: One or more paragraphs of additional information can be added to the formal requirement statement. The additional information is intended to provide guidance to the understanding of the requirement and is not formally part of the requirement. The information can be provided within the table (like this example) or below the table. | REQ-SM-CON-21 |
-
-#### **2.2 Actor roles**
-
-*A textual description of the actor (see clause 3) is included here.*
-
-#### **2.3 Telecommunication resources**
-
-*Textual description of the relevant resources (see clause 3) required to support the use cases are presented here.*
-
-#### **2.4 High-level use cases**
-
-*A high-level use case diagram may be presented. In order to understand the use case by subject matter experts, they should be augmented with a textual description for each use case. The description should serve two purposes: to capture the domain experts' knowledge and to validate the models in analysis and design phases with respect to the requirements. An example of a high-level use case diagram is given in Appendix I.*
-
-*Use cases can be described using the full use case format as described in 2.4.a or more simply as natural text depending on the nature of the use case.*
-
-*In some cases, the text of a use case can be seen as a detailing of requirements. In these cases, it can be more practical to handle this text as a supplement to the relevant requirement. See clause 3.1.a for more details on this.*
-
-#### **2.4.a UseCaseName**
-
-*UseCaseName is the name of the use-case.*
-
-*"a" represents a number, starting at 1 and increasing by 1 with each new definition of a use case.*
-
-*This subclause is repeated for each high-level use case defined for the interface specification requirements.*
-
-*The high-level use cases may identify the various function sets defined in [ITU-T M.3400] or the management processes defined in [ITU-T M.3050.x]. These use cases may be further refined as described in the specification level requirement subclause below by using stereotypes such as "include" and "extend".*
-
-*If appropriate, sequence diagrams may be used. However, at the high-level requirements these diagrams are not expected to be used. When the use cases at this level are further decomposed in the next level of requirements, these diagrams may be more suitable.*
-
-*The traceability of the next level of requirements from this level may be identified by how each function set is further refined with new use cases.*
-
-*A set of use case tables, using the template defined in Table A.2, may be used to represent the significant capabilities studied at a level of abstraction appropriate to the problem being analysed.*
-
-*The level of detail, and extent of coverage provided in the use cases is dependent upon the authoring team's familiarity with the subject matter and is therefore subjective. The lower levels of details are most likely an indication of analysis rather than requirements capture.*
-
-*It is permitted to develop successively more detailed analysis of each step of a higher abstraction level use case by referring to the more detailed use case in the table cell reserved for this purpose. It is emphasized this does not have to be done, and is subjective depending upon the need of the author/group.*
-
-*The following list is provided to aid the initial identification of suitable use cases:*
-
-- What is the main purpose of the system?*
-- What types of people/system need to interact with the system?*
-- How can these people/systems be grouped or abstracted to roles?*
-- What are the start up, normal running, failure and recovery aspects of the system?*
-- What types of reports or data may be needed from the system?*
-- Which special activities are required (e.g., based on times of day and network loads)?*
-
-*It is useful to document use cases in a common manner. The following structure is suggested:*
-
--