What is the correct block diagram of CDMA communication system? I was reading someone's thesis and now i am more confused about CDMA system. From what i understood is CDMA is multiplexing which allows multiple signals to transmit over single channel. so general structure of CDMA communication system should be like shown below:
Binary Data --&gt; Multiply PN Code --&gt; XOR(spreading) --&gt;BPSK/QPSK Modulation --&gt; RF End 
                                                                                  |
                                                                                Channel
                                                                                  |
Restore Data &lt;-- Despreading &lt;-- Aquistion and lock &lt;-- RF Demodulation &lt;--    RF Reception 


And Now I had come across block diagram in the thesis, Pg.27 which basically modulate and they do spreading.

From my understanding it should be spreaded before doing modulation. This is my understanding, please correct me if i am wrong.

But can someone please confirm which one is right ? It would be great if you explain a little bit.
Since spreading and symbol modulation are memoryless linear operations, the order makes absolutely no difference. Both methods of writing the same thing down are equally valid, and the one you choose mainly depends on what is convenient for the rest of your text.