The Fixed-Point to Integer Cast can be used to convert FXP number to an integer and the size of the integer will be based off the size of FXP number. For example, if you have a FXP with a word length of 8 bits, this will be cast to a I8, but a FXP with word length of 9 will be cast to I16. (Word and integer word length descriptions )This can be fine for some circumstances, however if we need convert any FXP (with any word length) to a particular size integer, for example any size FXP to I16, we need to cast that FXP to have a word length of 16 bits before using the Fixed-Point to Integer Cast:
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.