A wireless device generates a peak profile for a primary synchronization
channel (PSCH), and has a synchronization stage for performing code group
identification and scrambling code identification. A first peak from the
peak profile is chosen. The first peak has a first path position. The
synchronization stage is handed the first path position to obtain a first
code group number and a first code number associated with the first peak.
A multi-path search window is then opened in the peak profile around the
first path position. A second peak within the multi-path search window is
selected, and a verification procedure is performed on this second peak
to determine if the second peak has a code number that is identical to
the first code number. The first code group number is assigned to the
second peak if the code number of the second peak is identical to the
first code number.