- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to perform memory-mapped I/O with the HPS. I want to be able to write from a certain address in memory from the HPS, and have the FPGA interpret those values and take action accordingly. However, I am very lost as to where to even begin. How do I make sure that i "reserve" the same address space every time? How can the FPGA access values stored in the HPS memory? I know this has something to do with h2f bridges, but I am lost as where to begin. Any help would be greatly appreciated.Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to run *-HardwareLib-FPGA-* example in DS-5 debugger, LEDs will be blinking, observe to write/read operations and it adresses, and in parallel view GHRD sources in QSys.
You will be create (or get standard) and add in design component like gpio for LEDs with Avalon-MM interface, set offset to it properties or use auto-QSys mapping, and after compiling HPS may read/write registers on these offsets. FPGA may access to HPS DDR through AMBA-bridge, our designers write tests for count speed of read/write operations, it be slightly little in comparison with FPGA-DDR.
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