11. The scrambling code generator of claim 10, wherein the secondary scrambling codes associated with the Kth primary scrambling code are ((K−1)*M+K+1)th to (K*M+K)th gold codes.12. The scrambling code generator of claim 9, further comprising:
- a second masking section to mask the first shift register values ai, with a second set of mask values Kj, wherein j=0 to c−1, to generate a fourth m-sequence; and
- a third adder to add the fourth m-sequence and the second m-sequence to generate an N-th secondary scrambling code associated with the primary scrambling code,
- wherein the second masking section shifts the first m-sequence cyclically by N chips to generate the Nth secondary scrambling code.
13. The scrambling code generator of claim 9, wherein the masking section shifts the first m-sequence cyclically by masking the first shift register values ai in accordance with Σ(Ki×ai).
14. The scrambling code generator of claim 9, wherein the first m-sequence generator cyclically shifts the first shift register values and the second m-sequence generator cyclically shifts the second shift register values.
15. The scrambling code generator of claim 9, wherein the first m-sequence generator adds predetermined shift register values of the first shift registers based on a first generating polynomial of the first m-sequence, right shifts the first shift register values ai of the first shift registers, and replaces the first register value ac−1 with the result of the addition of the predetermined register values.
16. The scrambling code generator of claim 9, wherein the first m-sequence generator adds a first shift register value a0 with a first shift register a7 to form a next first shift register ac−1.
17. The scrambling code generator of claim 9, wherein the second m-sequence generator adds predetermined shift register values of the second shift registers based on a second generating polynomial of the second m-sequence, right shifts the second shift register values bj of the second shift registers, and replaces the second register value bc−1 with the result of the addition of the predetermined register values.
18. The scrambling code generator of claim 9, wherein the second m-sequence generator adds a second shift register value b0 with a second shift register value b5, b7, and a second shift register value b10 to form a next second shift register value bc−1.
19. The apparatus of claim 9, further comprising a means for delaying at least one of the primary scrambling code and the secondary scrambling code to produce Q-channel component, wherein the primary scrambling code and the secondary scrambling code are I-channel components.
20. A method for generating scrambling codes in mobile communication system having a scrambling code generator, the method comprising the steps of:
- generating a ((K−1)*M+K)th gold code as a Kth primary scrambling code, where K is a natural number and M is a total number of secondary scrambling codes per one primary scrambling code; and
- generating ((K−1)*M+K+1)th through (K*M+K)th gold codes as secondary scrambling codes associated with the Kth primary scrambling code,
- wherein an Lth Gold code is generated by adding an (L−1)-times shifted first m-sequence and a second m-sequence.
21. The method as claimed in claim 20, wherein K is a primary scrambling code number and 1≦K≦512.
22. The method as claimed in claim 21, wherein the first m-sequence is generated from a first shift register memory having a plurality of first shift registers with first shift register values ai, wherein i=0 to c−1 and where c is the total number of the first registers and the (L−1)-times shifted first m-sequence is generated by masking the first shift register values ai with mask values Ki, where i=0 to c−1.
23. The method as claimed in claim 22, wherein the masking is performed according to: Σ(Ki×ai).
24. The method as claimed in claim 20, wherein the generated primary scrambling code and secondary scrambling code are I-channel components and the method further comprises delaying at least one of the primary scrambling code and secondary scrambling code to produce Q-channel components.
25. An apparatus for generating scrambling codes in mobile communication system having a scrambling code generator, comprising:
- a first m-sequence generator to generate a first m-sequence;
- a second m-sequence generator to generate a second m-sequence; and
- at least one adder for generating a ((K−1)*M+K)th Gold code as a Kth primary scrambling code by adding a (((K−1)*M+K)−1)-times shifted first m-sequence and the second m-sequence,
- wherein K is a natural number and M is a total number of secondary scrambling codes per one primary scrambling code.
26. The apparatus of claim 25, wherein the secondary scrambling codes of the Kth primary scrambling codes are the ((K−1)*M+K+1)th through (K*M+K)th Gold codes.
27. The apparatus as claimed in claim 26, wherein K is a primary scrambling code number and 1≦K≦512.
28. The apparatus as claimed in claim 25, wherein the first m-sequence generator comprises a plurality of first registers with first shift register values ai, wherein i=0 to c−1 and where c is the total number of the first shift registers, and the scrambling code generator further comprising at least one masking section for generating the n-times shifted first m-sequence by masking the first shift register values ai with mask values Ki, where i=0 to c−1.
29. The apparatus as claimed in claim 28, wherein the masking is performed according to: Σ(Ki×ai).
30. The apparatus as claimed in claim 25, wherein the primary scrambling code and secondary scrambling code are I-channel components and the apparatus further comprises a means for delaying at least one of the primary scrambling codes and secondary scrambling code to produce Q-channel components.
31. A method for generating scrambling codes in mobile communication system having a scrambling code generator, comprising the steps of:
- generating a first m-sequence;
- generating a second m-sequence; and
- generating a ((K−1)*M+K)th Gold code as a Kth primary scrambling code by adding a (((K−1)*M+K)−1)-times shifted first m-sequence and the second m-sequence,
- wherein K is a natural number and M is a total number of secondary scrambling codes per one primary scrambling code.
32. The method as claimed in claim 31, further comprising generating ((K−1)*M+K+1)th to (K*M+K)th Gold codes as secondary scrambling codes corresponding to the Kth primary scrambling code.
33. The method as claimed in claim 31, wherein K is a primary scrambling code number and 1≦K≦512.
34. The method as claimed in claim 31, wherein the first m-sequence is generated from a first shift register memory having a plurality of first shift registers with first shift register values ai, wherein i=0 to c−1 and where c is the total number of the first registers and the n-times shifted first m-sequence is generated by masking the first shift register values ai with mask values Ki, where i=0 to c−1.
35. The method as claimed in claim 34, wherein the masking is performed according to: Σ(Ki×ai).
36. The method as claimed in claim 31, wherein each scrambling code is used as an I-channel component and a Q-channel component, corresponding to the I-channel component, is generated by delaying the I-channel component for a predetermined time.