主权项 |
1. A communication apparatus comprising:
a transmitting and receiving unit which is configured to perform a transmission and reception of data with a base station, a generating unit which is configured to generate a ranging code based on seed data including a binary sequence shorter than the ranging code which is a code for transmission control, a memory which is configured to store the seed data, wherein the generating unit is configured to repeat sequentially a process for generating Ith ranging code, I being an integer of 1 or more, and (Ith+1) seed data by performing a logical operation to Ith seed data from I=1 to I=N, N being an integer of 2 or more, store the 1st through Nth seed data corresponding to the 1st through Nth ranging codes in the memory, and generate a transmission ranging code by performing the logical operation to the seed data corresponding to specification data of the transmission ranging code received from the base station; the generating unit includes a register at which the seed data is set, and a logic circuit which is configured to perform the logical operation to the seed data of the register to compute logic data, and the generating unit is further configured to perform, after computation of the logic data, a plurality of times a process for bit-shifting a binary sequence set at the register and for inputting the computed logic data to an empty bit region of the register to store the seed data in the register, and generate the ranging code including a plurality of the logic data. |