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

Read data from Avalon-MM FIFO

aamodini
새로운 기여자 I
1,248 조회수

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?

레이블 (2)
0 포인트
6 응답
sstrell
명예로운 기여자 III
1,213 조회수

"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 포인트
aamodini
새로운 기여자 I
1,195 조회수

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 포인트
sstrell
명예로운 기여자 III
1,194 조회수
0 포인트
aamodini
새로운 기여자 I
1,181 조회수

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

0 포인트
sstrell
명예로운 기여자 III
1,156 조회수
0 포인트
ShengN_Intel
직원
692 조회수

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 포인트
응답