Forum Discussion
Altera_Forum
Honored Contributor
16 years agoError 10511 - Arctan
Hello, I have receive the message --- Quote Start --- Error (10511): VHDL Qualified Expression error at main.vhd(37): ARCTAN type specified in Qualified Expression must match inte...
Altera_Forum
Honored Contributor
16 years agoAgree with FvM. arctan returns real results, but reals are non-synthesizable constructs in FPGAs. One way is to recast the result back to a synthesizable type, such as integer.
variable x:real;
q:=integer(arctan(x));