The data type for input port A and B (inA and inB) is controlled by TT_DATA_A and TT_DATA_B
respectively.
Both inputs may take one of the 6 choices: int16, int32, cint16, cint32, float and cfloat. It must be kept in mind that depending on the input type combinations, output type will be determined by the tool.
Please see table Supported Combinations of Input/Output data types : for allowed input data type combinations and regarding output type.
InputA Data Type | InputB Data Type | Output Data Type |
---|---|---|
int16 | int16 | int16 |
int16 | int32 | int32 |
int16 | cint16 | cint16 |
int16 | cint32 | cint32 |
int32 | int16 | int32 |
int32 | int32 | int32 |
int32 | cint16 | cint32 |
int32 | cint32 | cint32 |
cint16 | int16 | cint16 |
cint16 | int32 | cint32 |
cint16 | cint16 | cint16 |
cint16 | cint32 | cint32 |
cint32 | int16 | cint32 |
cint32 | int32 | cint32 |
cint32 | cint16 | cint32 |
cint32 | cint32 | cint32 |
float | float | float |
float | cfloat | cfloat |
cfloat | float | cfloat |
cfloat | cfloat | cfloat |