Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.
19225 Discussions

Share data HPS-FPGA with on-chip memory

ecm
Beginner
683 Views

Hello, I’ve been searching in the forum, but I didn’t find an answer. I hope someone could help me.

I’ve a de0 nano soc and I want to share data between the HPS and the FPGA using the on-chip memory. I know how to write on the memory with the HPS, but I don’t know how to access to the on-chip memory using VHDL. I read that I should export the Avalon Memory Mapped Slave but if I do it the base address is lost and then I don't know how I could access to the on-chip memory.

 

Thanks.

0 Kudos
2 Replies
Kenny_Tan
Moderator
103 Views
Hi, You can do this in the platform designer, the connection can be seen here. https://forum.rocketboards.org/t/how-to-read-and-write-an-on-chip-fifo-from-hps-arm/849/6
ecm
Beginner
103 Views

Hi,

I'll see if I can make it work. Thank you.

Reply