The device can be used for generating, in the framework of a CDMA communications
terminal, both Walsh-Hadamard channeling codes and OVSF channeling codes. The device
comprises a code generator preferably configured for generating Walsh-Hadamard
codes. When the device is used for generating Walsh-Hadamard codes, the corresponding
index values, applied to an input of the device, are sent to the input of the code
generator. Generation of OVSF codes envisages, instead, that the corresponding
indices, sent to an input of the device, undergo mapping, which enables generation,
starting from the OVSF code, of the corresponding index identifying a string of
symbols that is identical within the Walsh-Hadamard code. In this way each string
of OVSF code symbols is generated, so producing, by means of the code generator,
the generation of the identical string of symbols included in the Walsh-Hadamard code.