Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Writing data using IOWR

HI,

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.

IOWR_32DIRECT(CUSTOM_COMPONENT_0_BASE, 0,4);

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?

Thanks

HY