You can model 5G NR shared channel links, including all of the steps from transport block generation to transport channel decoding, by using the 5G Toolbox™ software. This figure shows the main elements of a downlink communication link.
These examples show how to model the main elements of the downlink communication link. Modeling the main elements of the uplink communication link is similar.
The Model 5G NR Transport Channels with HARQ example describes how to model 5G NR transport channels with multiple hybrid automatic repeat-request (HARQ) processes using the downlink shared channel (DL-SCH) encoder and decoder System objects.
The Map 5G Physical Channels and Signals to the Resource Grid example shows how to generate, precode, and map 5G NR physical channels and signals to the resource grid.
The DL-SCH and PDSCH Transmit and Receive Processing Chain example shows how to model the full physical downlink shared channel link, including the coding stages, channel modeling, and the receiver and decoding steps.