FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5915 Discussions

How to route HPS peripherals to FPGA

jozephka99
New Contributor II
842 Views

Hi,

I have Arria10 SoC Dev Kit. I want to use it's UART modules in my FPGA logic but all 2 of them connected the HPS side. They connected HPS shared I/O pins. So I can be route them to FPGA. I used platform designer, created a HPS IP and route the UARTs to the FPGA then export the pins. But when I try to work with UARTs they seem they are not control of FPGA. They print HPS debug stuff or nothing. I cannot receive or transmit anything from them. Should I change the HPS side? Like linux device tree or someting? Or the platform designer arrangement suffice this work? If so what do I do wrong?

port_map.png

platform_designer.png

  

0 Kudos
9 Replies
sstrell
Honored Contributor III
822 Views

HPS peripherals are accessed by FPGA logic through the F2H bridge, which it looks like you've enabled but not connected to anything (f2h_axi_slave).  An address map is set up so the FPGA logic can access the HPS peripherals through normal memory-mapped addressing.

0 Kudos
jozephka99
New Contributor II
790 Views

How can I do that? Can you help?

0 Kudos
sstrell
Honored Contributor III
782 Views

You make connections in Platform Designer to IP you add to the system there or export the interface and connect to HDL code you write through port mapping.  You should learn more about how to use Platform Designer to help understand what you need to do.  You can start here:

https://learning.intel.com/developer/learn/course/external/view/elearning/389/creating-a-system-design-with-platform-designer-getting-started

https://learning.intel.com/developer/learn/course/external/view/elearning/390/creating-a-system-design-with-platform-designer-finish-the-system

 

0 Kudos
aikeu
Employee
701 Views

Hi jozephka99,


Do you still require help for this?


Thanks.

Regards

Aik Eu


0 Kudos
jozephka99
New Contributor II
692 Views

Yes, I still need help. I didn't progress anymore.

0 Kudos
sstrell
Honored Contributor III
678 Views

Did my info help?  Do you have specific questions?

0 Kudos
jozephka99
New Contributor II
671 Views

I know how to use platform designer but idk how to use axi busses.

0 Kudos
aikeu
Employee
643 Views

Hi jozephka99,


I came across this link below, hopefully it will help to your question regarding axi buses.

https://www.allaboutcircuits.com/technical-articles/what-are-axi-interconnects-tutorial-master-slave-digital-logic/


Thanks.

Regards,

Aik Eu


0 Kudos
aikeu
Employee
606 Views

Hi jozephka99,


I will close this thread if no further questions.


Thanks.

Regards,

Aik Eu


0 Kudos
Reply