Forum Discussion
Altera_Forum
Honored Contributor
19 years agoAlso be carefull about the alignment of arrays and elements of structures.
PC-compilers will normally put arrays on at least 4 byte boundaries, where for nios for example an array of bytes can start for example at 2 byte boundaries. You can use the align pragma to change this behaviour. (for members of structures, use packed and align toghether)