- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I reviewed the My First HPS to FPGA and I am starting to understand it. Using a c code program, the HPS writes to a register and the FPGA reads a register and transfers the bits to the LED GPIO.
I want to do something similar but output to other GPIOs. My goal is as follows: Program the HPS to write 32bit integer data to a register that the FPGA can see. The FPGA will process the integer and when needed, return a value to another register for the HPS to read. The HPS will write data to two registers alternating as being qued by the single "input" register from the FPGA. I want to use the regular bridges at least for the HPS to FPGA data transfer. Is this as simple as setting the direction of the three registers and having the HPS and FPGA read and write to their respective registers? Are there any examples that use the non-lightweight bridge? I am still having trouble with Qsys. Thank you.- Tags:
- hps
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there, just to be clear, are you talking about the Terasic tutorial?
http://terasic.yubacollegecompsci.com/resources/my_first_hps-fpga.pdf ?
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