- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been attempting to build a project that utilises the FPGA hard memory controller on the Cyclone V SoC using the SocKit development board.
A sample project is available on RocketBoards which uses the FPGA memory with a soft memory controller: http://www.rocketboards.org/foswiki/projects/sockitvideoipvipreferencedesign In my project I have set up the soft memory controller in the same way and have successfully been able to access the FPGA memory via the HPS to write to FPGA memory locations (by opening "/dev/mem" and mapping the memory locations 0xC000 0000 to 0xFC00 0000). However, when I attempt to instantiate it as a hard memory controller and attempt the same HPS accesses, the HPS "hangs" (the terminal freezes and will not respond until a hard reset is asserted). I have used the afi_clk as the clock signal for the avalon interface to the HPS component and connected the avl_0 port to h2f_axi_master on the HPS. The cmd, rd and write FIFO's are also clocked by afi_clk. I have also tried numerous configurations of other clocking schemes and settings on the memory controller, all having the same effect that the HPS freezes when I attempt to access the memory. Has anyone successfully used the FPGA hard memory controller on the Cyclone V?Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what version are you using? there was a patch to fix a FIFO between the HPS and fabric. the patch may be included in 13.0sp1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using version 13.0sp1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See your other post that I replied to, I suspect the bridge isn't setup properly and causing accesses to block.
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