1. 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&equals;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.