This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP-L138(TMS320C674x) hardware multiplier

Other Parts Discussed in Thread: OMAP-L138

Hi,

This is regarding OMAP-L138(TMS320C674x) hardware multiplier.
I am referring to "sprufe8" to learn about C674x's CPU.
It says that , the CPU consists two hardware multipliers, is it possible to load different types of data into these multipliers
seperately and perform the operation parallely.

And also please let me know if there are any nice reference books or online tutorials for  TI DSPs including OMAP.


Thankyou in advance.

  • The 2 MPY functional units in the C674x DSP core operate indepently as you mentioned.

    If you program in C or C++, the -O switch will turn on the compiler's optimizer to parallelize the code automatically. C Instrinsics are available for instructions that do not have the C equivalent.

    To construct an assembly program to try out the code example you see in SPRUFE8, consult the assembly language tool user's guides (check for the appropriate version that comes with your version of CCS - for assembler version 6 the lit is SPRU186) for the syntax .

    You can write your assembly program as if there's only one multiplier and use the assembly optimizer to parallelize the code for you. Instructions on how to use the assembler optimizer is included in the C/C++ Compiler User Guides section 4 (again check the appropriate version).

    A quick way to see how the optimizing is done is create a simple example and look at the assembler output. If you are new to programming with the C6x architecture, the  SPRU198 - TMS320C6000 Programmer's Guide can be used. There's a workshop on C674x and the material can be downloaded from http://focus.ti.com/docs/training/catalog/events/event.jhtml?sku=4DW102090 

     

     

    Don't forget to verify answers to your forum questions by using the green "Verify Answer" button.