Forum Discussion
Altera_Forum
Honored Contributor
13 years agoNIOS II On-chip Memory size
Hi, I am using DE0 board with Cyclone III FPGA. If I am not wrong, it has 56 M9K blocks. According to my calculation, it gives 57344 bytes for me to use as on-chip RAM for my NIOS II processor....
Altera_Forum
Honored Contributor
13 years agoYou can probably write a convertion function that is 'good enough' for your values.
For instance, if you want to print positive values to 2 decimal places something like: unsigned int x = float_val;
unsigned int y = (float_val - x) * 100;
printf("%u.%2.2u\n", x, y);