Synplify Pro on Diamond version 3.13 and older: evaluation of mixed real-integer expressions is wrong
Description:
On Diamond 3.13 and older, when using Synplify Pro as the Synthesis Tool, the evaluation of mixed real-integer expressions is wrong.
Solution:
For such expressions, please include ".0" until this can be fixed in a future version of the software.
For example,
localparam integer c_param = -6.0 + 8.0; // = 2 correct evaluation
localparam integer c_param = -6 + 8.0; // = 7 wrong evaluation