When I try to build a simple model that uses the fixed point library with Embedded Target for TI C2000 DSP 1.0 (R13SP1+), I receive the following warning in the MATLAB Command Window:
Warning: The data type "int8" uses a word size that is not available on the intended target. Signals using this data type will be put inside a larger word. When used, extra software will be generated to force this larger word to emulate a smaller word. This emulation is helpful when your prototype target and your final production target are not the same. If the smaller word size does NOT exist on the final production target, then consider increasing the word size to one that is supported. Warning: The data type "uint8" uses a word size that is not available on the intended target. . Warning: The data type "boolean" uses a word size that is not available on the intended target.
Although I do use fixed-point data types in the model, I only use the "sfix" data type. The problem is that there is no way to specify these sizes for the hardware implementation. For example, if I right click on model and bring up the "Simulation Parameters" dialog box and then select the "Advanced" tab, there is a section for selecting the target bit size for various data types. Unfortunately, this is only implemented for "char", "short", "int", "long" at this point.
Best Answer