FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6387 Discussions

Read data from Avalon-MM FIFO

aamodini
New Contributor I
1,067 Views

I am writing data into an Avalon-MM FIFO using Nios. Is it possible to read data from this FIFO inside the FPGA fabric using Verilog?

Labels (2)
0 Kudos
6 Replies
sstrell
Honored Contributor III
1,032 Views

"Is it possible to" what? "data from this FIFO..."

Critical word seems to be missing from your question.  If you mean "read data" then yes, you would do a read from the output side of the FIFO.

Maybe more clarification is required.

0 Kudos
aamodini
New Contributor I
1,014 Views

My bad, I have edited the post. Yes, I meant to ask if we can read data. I would like to know the steps for the same.

I am using the Avalon FIFO IP component to write data into from the Nios side.

aamodini_0-1720577772284.png

 

In order to read this data from the fabric, do I have to write a slave interface module (like a wrapper) and connect the signals to the FIFO instance?

Also, would a simple read-from-FIFO logic look something like this?

aamodini_1-1720578240964.png

Thanks.

 

0 Kudos
sstrell
Honored Contributor III
1,013 Views
0 Kudos
aamodini
New Contributor I
1,000 Views

I want to read and store data on the FPGA fabric - hardware side. Is it possible to do so?

0 Kudos
sstrell
Honored Contributor III
975 Views
0 Kudos
ShengN_Intel
Employee
511 Views

Hi,


Why not you just use IORD_ALTERA_AVALON_FIFO_DATA to read the fifo data. Then use IOWR_ALTERA_AVALON_PIO_DATA to write data to PIO IP. Then read pio data in the Verilog (RTL) from pio ip instantiation?


Thanks,

Regards,

Sheng


0 Kudos
Reply