Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi dsl
Thank you for your reply. I modify my declaration according to your suggestion.
alt_u32 __attribute__((aligned(32))) ctrl_buf;
alt_u32 __attribute__((aligned(32))) video_buf;
I've also checked my NiosII CPU setting and found that the data cache line size is 32 bytes. However, in my experiment, the data in video_buf after SGDMA transfer are not completely correct...