Main Content

nrCORESETConfig

Control-resource set (CORESET) configuration parameters

Description

The nrCORESETConfig object sets CORESET configuration parameters for the physical downlink control channel (PDCCH), as defined in TS 38.211 Section 7.3.2 [1]. Use this object when setting the CORESET property of the nrPDCCHConfig or nrDLCarrierConfig objects.

Creation

Description

crst = nrCORESETConfig creates a CORESET configuration object with default properties.

example

crst = nrCORESETConfig(Name,Value) specifies properties using one or more name-value pair arguments. Enclose each property in quotes. For example, 'REGBundleSize',3,'Duration',3 configures the CORESET with a duration of 3 OFDM symbols and resource-element group (REG) bundle size of 3. Unspecified properties take their default values.

Properties

expand all

CORESET ID, specified as an integer from 0 to 11. When this object and nrSearchSpaceConfig object specify the SearchSpace and CORESET properties, respectively, of the same nrPDCCHConfig object, the CORESETID properties of these objects must match.

The reference point for the demodulation reference signal (DM-RS) sequence-to-subcarrier resource mapping for CORESET ID 0 is the lowest physical resource block of the CORESET. All other CORESET ID values use the common resource block 0 for the DM-RS reference point.

Data Types: double

Name of CORESET configuration, specified as a character array or string scalar. Use this property to set a mnemonic description to the CORESET configuration.

Data Types: char | string

Frequency-domain resources, specified as a binary row vector. An element value of 1 indicates an allocated frequency resource of six resource blocks (RBs). An element value of 0 indicates no allocation. The maximum number of vector elements is 45. Grouping starts from the first RB group in the bandwidth part (BWP). The first vector element corresponds to the first RB group in the BWP.

This property determines the total number of RBs allocated in the frequency domain, which is given by numRBs = 6 × sum(FrequencyResources).

Data Types: double

CORESET duration, in OFDM symbols, specified as 1, 2, or 3.

Data Types: double

Control-channel elements (CCE) to REG mapping, specified as 'interleaved' or 'noninterleaved'.

These diagrams illustrate the difference between noninterleaved and interleaved CORESETs. Both CORESETS are configured with the Duration property set to 2 and the REGBundleSize property set to 6. The InterleaverSize property of the interleaved CORESET is set to 2.

Data Types: char | string

Size of REG bundles, specified as 2, 3, or 6.

  • When the Duration property is set to 3, set REGBundleSize to 3 or 6.

  • When Duration is set to 1 or 2, set REGBundleSize to 2 or 6.

The number of REGs, numREGs, depends on the total number of resource blocks, numRBs, allocated in the frequency domain and is given by

numREGs = numRBs × Duration, where numRBs = 6 × sum(FrequencyResources).

When the CCEREGMapping property is set to 'interleaved', numREGs must be a multiple of REGBundleSize × InterleaverSize.

Dependencies

To enable this property, set the CCEREGMapping property to 'interleaved'.

Data Types: double

Interleaver size for interleaved CCE-to-REG mapping, specified as 2, 3, or 6.

The number of REGs, numREGs, depends on the total number of resource blocks, numRBs, allocated in the frequency domain and is given by

numREGs = numRBs × Duration, where numRBs = 6 × sum(FrequencyResources).

When the CCEREGMapping property is set to 'interleaved', numREGs must be a multiple of REGBundleSize × InterleaverSize.

Dependencies

To enable this property, set the CCEREGMapping property to 'interleaved'.

Data Types: double

Shift index, specified as an integer from 0 to 274 or the physical layer cell identity NCellID with integer value from 0 to 1007.

For example, these diagrams illustrate the effect of shift index on CORESET mapping. Both CORESETs are configured with the Duration property set to 2, the REGBundleSize property set to 2, and the InterleaverSize property set to 2.

Dependencies

To enable this property, set the CCEREGMapping property to 'interleaved'.

Data Types: double

Examples

collapse all

Configure the carrier with default configuration parameters.

carrier = nrCarrierConfig;

Configure the CORESET with 6 frequency resources, a duration of 3 OFDM symbols, and a REG bundle size of 3.

crst = nrCORESETConfig;
crst.FrequencyResources = ones(1,6);
crst.Duration = 3;
crst.REGBundleSize = 3;

Configure the PDCCH with the specified bandwidth part and CORESET.

pdcch = nrPDCCHConfig;
pdcch.NStartBWP = 6;
pdcch.NSizeBWP = 36;
pdcch.CORESET = crst;
pdcch.AggregationLevel = 16;

Generate PDCCH DM-RS symbols and indices for the specified carrier and PDCCH.

[~,dmrs,dmrsInd] = nrPDCCHResources(carrier,pdcch);

Configure a carrier grid of 60 resource blocks (RBs), where the starting RB index relative to the common resource block 0 (CRB 0) is 3.

carrier = nrCarrierConfig;
carrier.NStartGrid = 3;
carrier.NSizeGrid = 60;

Configure noninterleaved CORESET with 6 frequency resources and a duration of 3 OFDM symbols.

crst = nrCORESETConfig;
crst.FrequencyResources = ones(1,6);
crst.Duration = 3;
crst.CCEREGMapping = 'noninterleaved';

Configure the PDCCH with the specified bandwidth part and CORESET.

pdcch = nrPDCCHConfig;
pdcch.NStartBWP = 5;
pdcch.NSizeBWP = 48;
pdcch.CORESET = crst;
pdcch.AggregationLevel = 16;

Generate PDCCH resource element indices and DM-RS symbol indices using 1-based, subscript indexing form relative to the BWP grid.

[ind,~,dmrsInd] = nrPDCCHResources(carrier,pdcch,...
    'IndexOrientation','bwp','IndexStyle','subscript');

References

[1] 3GPP TS 38.211. “NR; Physical channels and modulation.” 3rd Generation Partnership Project; Technical Specification Group Radio Access Network.

Extended Capabilities

C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.

Introduced in R2020a