Results 1 to 2 of 2

Thread: Writing data using IOWR

  1. #1
    Join Date
    Feb 2015
    Posts
    6
    Rep Power
    1

    Default 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

  2. #2
    Join Date
    May 2015
    Posts
    5
    Rep Power
    1

    Default Re: Writing data using IOWR

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

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

Similar Threads

  1. write data with IOWR();
    By Luiggi in forum General Altera Discussion
    Replies: 0
    Last Post: January 6th, 2015, 05:22 AM
  2. NIOS : IOWR works fine but writing through a pointer not
    By AlphaKh in forum General Software Forum
    Replies: 5
    Last Post: August 16th, 2012, 01:18 AM
  3. Writing Data In SDRAM
    By iakov in forum General Altera Discussion
    Replies: 6
    Last Post: October 27th, 2011, 12:15 AM
  4. Replies: 2
    Last Post: July 17th, 2011, 11:42 PM
  5. Writing and Reading Data To & From RAM
    By digitallogic in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 2
    Last Post: December 8th, 2010, 02:59 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •