MATLAB: Does Real-Time Workshop not generate 64-bit code for TI’s C6000™ DSP targets

simulink coder

I am using TI’s C6000™ DSP and would like Real-Time Workshop to generate 64-bit code which I can port it on to DSP board. We may be doing 16×32 and 32×32 bit multiplies so we may want 48or 64-bit product widths for some filters. From the TI documentation,the C6414 should support 64-bit integer values via the long long type.
I would like to know if this can be achieved using Real-Time Workshop.

Best Answer

The ability to use long long datatype is not available with Real-Time Workshop 7.2(R2008b).
Starting with R2008a, if the user's hardware provides a native 64-bit type for C 'long', Real Time Workshop will use it.
Starting with R2008b, if the users data types are bigger than C 'long', Real-Time Workshop will generate multiword code. In this way, one can generate emulation code from 32-bit windows. Real-Time Workshop should also support 48-bit longs if your deployment target has them.
Unfortunately, at this time Real-Time Workshop does not take advantage of the 'long long' type. However, multiword generated code should address ther numerical needs in this area.