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 Flash Memory if you disable memory initialization. Conversely, if you have memory initialization enabled, it only allows you to use 32KB. The Floating Point Hardware 2 module requires three ROM tables for the square root operation, which obviously needs initializing. I am contemplating modifying the FP module to comment out the square root feature. I am wondering how can I make sure that this change is propagated to the Nios tools, so that they know to do square root in software? Many thanks!