nrBCHDecode
Broadcast channel (BCH) decoding
Syntax
Description
[
also returns the decoded and unscrambled BCH transport blockscrblk
,errFlag
,trblk
,lsbofsfn
,hrf
,msbidxoffset
] = nrBCHDecode(softbits
,L
,lssb
,ncellid
)trblk
. The additional input arguments are the number of candidate synchronization signal / physical broadcast channel (SS/PBCH) blocks,lssb
, and the physical layer cell identity number,ncellid
. The function also returns these information elements:
lsbofsfn
, the four least significant bits (LSBs) of the system frame numberhrf
, the half frame bitmsbidxoffset
, the most significant bits (MSBs) of the index offset
Examples
Input Arguments
Output Arguments
References
[1]3GPP TS 38.212. “NR; Multiplexing and channel coding.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network.
[2]3GPP TS 38.331. “NR; Radio Resource Control (RRC) protocol specification.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network.
[3]3GPP TS 38.214. “NR; Physical layer procedures for data.”3rd Generation Partnership Project; Technical Specification Group Radio Access Network.