I had created a custom component using qsys and using avalon MM interface.
The base address was assigned as 0x5050.
I'm using the command below for write and read operations.
INFO = IORD_32DIRECT(CUSTOM_COMPONENT_0_BASE, 0)
It seems to me the write API was not functioning as the INFO is showing 1 instead 4.
I'm currently using Quartus13.
Is anyone know the reason/clues why the data is not being written correctly?