nrULSCHMultiplex
Description
[
returns codeword cw
,info
] = nrULSCHMultiplex(pusch
,tcr
,tbs
,culsch
,cack
,ccsi1
,ccsi2
)cw
by performing uplink shared channel (UL-SCH)
multiplexing on the encoded UL-SCH data and the encoded uplink control information (UCI), as
defined in TS 38.212 Section 6.2.7 [1]. pusch
is the physical uplink shared channel configuration (PUSCH). tcr
is the
target code rate. tbs
is the transport block size for the UL-SCH
transmission. culsch
is the encoded UL-SCH data.
cack
, ccsi1
, and ccsi2
are
the encoded UCI types.
The function internally calculates the number of reserved bits for the hybrid automatic
repeat request acknowledgment (HARQ-ACK) transmission, GACKRvd
and then
compares against the lengths of the coded inputs. This comparison determines the processing
of the HARQ-ACK for rate-matching or puncturing.
The length of cw
equals the bit capacity of the PUSCH.
cw
contains the encoded information up to the bit capacity of PUSCH
and ignores any other additional information in the inputs. The output
cw
contains zeros when not enough encoded UL-SCH and encoded UCI
(HARQ-ACK, channel state information (CSI) 1, or CSI part 2) data is present to achieve the
bit capacity. The function also returns the structure info
, which
contains information about the 1-based locations of each type in the codeword.
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.213. “NR; Physical layer procedures for control.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.
Extended Capabilities
Version History
Introduced in R2020b