摘要 |
Disclosed are a method for realizing descrambling and dispreading, and also a vector arithmetic unit for realizing descrambling and dispreading and a computer storage medium. The method comprises: employing data conversion and addition to carry out an operation of complex number multiplication of baseband data and corresponding descrambling and despreading codes, and storing data resulting from multiplication in a vector register file; reading from the vector register file a row of data resulting from multiplication, accumulating two pieces of neighboring data to obtain a half-row of data, and storing the half-row of data back into the vector register file; continuing to read the last accumulation result in the vector register file or the last accumulation result in a result register of the vector arithmetic unit, continuing to accumulate two pieces of neighboring data to obtain a 1/4 row of data, and continuing data accumulation to finally obtain one piece of accumulated data; and in a similar fashion, completing accumulation of each row of data resulting from multiplication in the vector register. |