sources to transmit PRACH, the parameters for determining the root sequences and their cyclic shifts in the PRACH preamble sequence set, index to the logical root sequence table, cyclic shifts, and the associated set type, that is, unrestricted, restricted Type A, or restricted Type B [6,8,12]. More specifically, the RACH procedure consists of the following 4 steps [11,12]: In the first step, the UE transmits a PRACH preamble associated with an RA-RNTI, if all conditions for PRACH transmission are met [12]. The gNB calculates the RA-RNTI associ- ated with the PRACH occasion, in which the random-access preamble is transmitted, as fol- lows RA-RNTI = 1 + Sid + 14tid + 14 X 80fid + 14 X 80 X 8ulcarrier_id where 0 < 14 is the index of the first OFDM symbol of the specified PRACH;0 tid <80 denotes the index of the first slot symbol of the specified PRACH in a system frame;0 < fid <8 is the index of the specified PRACH in the frequency domain; and ulcarrier_id is the uplink carrier used for Msgl transmission (ulcarrier_id =0: NR uplink carrier, ulcarrier_id = 1: SUL carrier). The frequency-domain location (resource) for PRACH preamble is determined by the RRC parameter msgl-FDM and msgl-FrequencyStart. The time-domain location (resource) for PRACH preamble is determined by the RRC parameter prach-ConfigurationIndex. In the second step, following the PRACH transmission, the UE awaits random-access response from the gNB which would be sent through a DCI scrambled with RA-RNTI value calculated as above. The UE attempts to detect a PDCCH with the corresponding RA-RNTI within the period of ra-Response Window. The UE searches for the DCI in the Type 1 PDCCH common search space. The DCI format for scheduling RAR message on PDSCH DCI format 1_0 scrambled with RA-RNTI. The resource allocation type for the Msg2 on PDSCH is resource allocation Type 1. The frequency-domain resource allocation for the PDSCH carrying RAR message is specified by DCI format 0_1. The time-domain resource allocation for the RAR message on PDSCH is speci