This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Sidelink broadcast channel


cw = lteSLBCH(ue,trblk)



cw = lteSLBCH(ue,trblk) returns a column vector of sidelink broadcast channel (SL-BCH) transport channel coded bits for the specified UE settings structure and transport block payload. The encoding process includes 16-bit CRC calculation and attachment, tail-biting convolutional encoding, rate matching, and PUSCH interleaving, as defined in TS 36.212 [1], Section 5.4.1. This transport channel carries the lteSLMIB RRC message. The sidelink BCH codeword output, cw, is ready for transmission on the physical sidelink broadcast channel using ltePSBCH.


collapse all

Generate an SL-BCH coded vector of length 1152, corresponding to the SL-BCH codeword for normal cyclic prefix.

Create UE-specific configuration structure with 10 MHz bandwidth and normal cyclic prefix.

ue.NSLRB = 50;
ue.CyclicPrefixSL = 'Normal';

Generate the MIB-SL transport block and SL-BCH codeword.

slmib = lteSLMIB(ue);
slbchCodeword = lteSLBCH(ue,slmib);

Input Arguments

collapse all

User equipment settings, specified as a parameter structure containing the following fields:

Sidelink mode, specified as 'D2D' or 'V2X'.

Data Types: char

Cyclic prefix length, specified as 'Normal' or 'Extended'.

Data Types: char

Data Types: struct

Transport block, specified as a 40-bit vector containing MIB-SL information bits. These bits are delivered at the input to the SL-BCH transport channel.

Output Arguments

collapse all

Codeword representing the MIB-SL information bits. For D2D sidelink mode, it is returned as an integer column vector with 1152 bits for normal cyclic prefix or 864 for extended cyclic prefix. For V2X PSBCH, it contains 1008 bits and it is defined for normal cyclic prefix only. If the input MIB-SL message is empty, this function returns an empty 0-by-1 matrix. The output codeword matches the bit capacity available in the PSBCH. The PSBCH bit capacity is based on the specified cyclic prefix setting and does not account for the sidelink SC-FDMA guard symbol. For more information, see ltePSBCHIndices.


[1] 3GPP TS 36.212. “Multiplexing and channel coding.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network; Evolved Universal Terrestrial Radio Access (E-UTRA). URL:

Introduced in R2016b

Was this topic helpful?