Patent ID: 7075885

Claim:
A method of assigning Walsh codes comprising the steps of: (a) receiving as input a status vector for a Walsh code system of length 2 n ; (b) creating a new status vector for a selected Walsh code length of j=2 nâˆ’k from the status vector; (c) creating a search mask for the selected Walsh code length of j; (d) creating a search sequence for the selected Walsh code length of j; and (e) searching the search sequence with the search mask to find the next available Walsh code; wherein step (b) comprises the steps of: (b1) copying the status vector to a new status vector for the desired Walsh code length j; (b2) initializing a loop index k to zero; (b3) incrementing the loop index k by one; (b4) replacing the new status vector with the new status vector OR'd with the new status vector shifted right by 2 nâˆ’k bits; and (b5) repeating steps (b3) and (b4) until 2 nâˆ’k equals the desired Walsh code length j.