Page 1 of 1

The following constant expression is not supported by HDL code generation. Use integer constants, fixed point constants

Posted: Sun Mar 14, 2021 9:50 am
by farnooshY
The following constant expression is not supported by HDL code generation. Use integer constants, fixed point constants with suffix ''C'' (e.g. 3.2C), or enable the ''Support floating-point numbers'' in Code Generation configuration options to use floating point constants

The constant '' in the following expression is not an integer. If you need a fixed-point constant use the suffix ''C'' ({1}C). The option ''Support floating-point numbers'' has not been set in Code Generation configuration options. Hence, only integer code/data is allowed


cdr