Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,045 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
35 Views

http://www.alteraforum.com/forum/showthread.php?t=32282 

 

This link might be helpful. It points to a previous discussion.
Reply