Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- If you have integrated the custom FP instruction with the Nios II Processor (in the SOPC Builder), then you have no particular things to do to enable it, it is automatic. Personnaly I have used it for a project (for the computation of the arctan function) and I have seen a difference. Are you sure that you are using float variables and not double ? Check the "Floating-Point Instructions" part of the Nios II Processor Reference Handbook for the details, maybe you have missed something. --- Quote End --- I have run the test code from Altera Only + - * work well with FPU. Divide doesn't work:mad: I did tick the optional divider. All math functions don't work too. I have tried sinf(). No difference.