ID:287043 Name "<name>" used in arithmetic expression must be evaluated function or constant

CAUSE: In an arithmetic expression in a Text Design File (.tdf), you used the specified name; however, you did not define the name as an evaluated function in a Define Statement or as a constant in a Constant Statement. You must use only evaluated functions and constants as names in arithmetic expressions.This message can occur if your project contains megafunctions from a previous version of the Quartus Prime software, which will usually be files with the extension .tdf or .inc. If your design contains old megafunction files, the Quartus Prime software will give a warning "Entity <name> obtained from <file> instead of from Quartus Prime megafunction library" for each megafunction file.

ACTION: Define the name as an evaluated function or constant, or change the name in the arithmetic expression to an evaluated function or constant name.If this error occurs because your project contains old megafunction files, you should delete those files from your project.