- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to transfer data from Nios to FPGA fabric using the Avalon Memory Mapped interface (where Nios is the master and the FPGA being the slave).
This is my Nios C code
I use IOWR_ALTERA_AVALON_FIFO_DATA to write data to the FIFO from Nios.
Is there a way to check if the data (0x0A) is actually written to the FIFO? If so, is this statement
printf("return data: %d\n", IORD_ALTERA_AVALON_FIFO_DATA(FIFO_2_OUT_BASE));
the right way to do it? Because I am unable to read the same value.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
May I know does your problem being resolved? Or need further help on this thread?
Thanks,
Regards,
Sheng
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[DELETED]
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page