Forum Discussion
Altera_Forum
Honored Contributor
11 years agoNios Floating Point Hardware 2 and ROM usage.
Hi, I am trying to use the Nios Custom Instruction Floating Point Hardware 2 module, and I am targeting a MAX 10 device. The MAX 10 allows you to use a large portion of the flash as User Flas...
Altera_Forum
Honored Contributor
11 years agoOne might ask why sqrt() uses any tables at all - especially if division isn't also using lookup tables.
If you are generating 1 bit per clock sqrt and divide are very much the same algorythm. The C compiler used to have separate command line parameters telling it the custom opcodes for each FP operation. Even if it doesn't rebuilding gcc with the sqrt() instruction support removed shouldn'y be hard.