Forum Discussion
Altera_Forum
Honored Contributor
12 years agoTry declaring my_register as a alt_u32.
Your custom component doesn't care of addr nor byte enable signals. Since Avalon is a 32bit bus, I guess the 8bit access could possibly write inconsistent data because Nios actually generates 4 8bit writes to complete the 32bit word.