Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSome simple question about NIOS
Hi all. I was able to do a NIOS setup using a SDRAM, SRAM, VGA Controller, and more. It's working fine in my DE2 board, and I was able too, of download all the code in the ECPS succesufully. So ...
Altera_Forum
Honored Contributor
16 years agoAlberto,
The .flash files are really just SREC (SRecords), so their size is not what matters. It's the binary content they contain that really matters. Fortunately, there's an easy solution. binutils, included with the Nios II toolchain, has a utility called "size" which can determine the binary size of an SREC. Just type...nios2-elf-size <.flash file> ...from a Nios II Command Shell, and you'll know the actual amount of memory these files consume when programmed. Adding these together will give you the total size. Cheers, --slacker