- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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?
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
"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.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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.
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?
Thanks.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I think you meant to read from the output side. See the user guide for details:
https://www.intel.com/content/www/us/en/docs/programmable/683130/24-1/software-control.html
https://www.intel.com/content/www/us/en/docs/programmable/683130/24-1/software-example.html
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I want to read and store data on the FPGA fabric - hardware side. Is it possible to do so?
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Yes, but you have to follow the Avalon standard: https://www.intel.com/content/www/us/en/docs/programmable/683091/22-3/memory-mapped-interfaces.html
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
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
