Sidelink broadcast channel
cw = lteSLBCH(ue,trblk)
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 , Section 5.4.1. This transport channel carries
cw = lteSLBCH(
lteSLMIB RRC message. The
sidelink BCH codeword output,
cw, is ready for
transmission on the physical sidelink broadcast channel using
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);
ue— User equipment settings
User equipment settings, specified as a parameter structure containing the following fields:
trblk— Transport block
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.
cw— Codeword representing the MIB-SL information bits
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
 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: http://www.3gpp.org.