ID:10298 VHDL attribute error at <location>: return value type of attribute "<name>" must match object type <type>

CAUSE: In a VHDL Design File (.vhd) at the specified location, you specified a predefined attribute for an object. However, the return value of the attribute has a type that is not the same as the specified type of the object. The return value type and the object type must be the same.

ACTION: Remove the predefined attribute from the object, or change the object type so it is the same as the attribute return value type.