I'm looking forward for simple design flow to implement serial interface between FPGA and Host PC.
I'm aware I can connect HPS pins to FPGA to get uart_rx and uart_tx signals. Platform editor allows to work in two ways for this: (1) connect UART controller pins to FPGA (2) IO loaning.
In both cases its not clear how to connect the input and output signals added to the hps component instantiation, to the FPGA resources and be able to access them without incurring into synthesis error. Then:
(*) How to connect exported HPS pins to the top level module IO ports and internal signals?
(*) Regarding the preloader configuration, is it a must when using io loaning? Will GPIO selection in the Pin Multiplexer help to simplify the setup vs IO loan?
(*) Finally, accessing the UART through the AXI bridge may also work, can that setup function without starting up ARM processor, specifically, may the HPS work standalone?
Many thanks in advance.
AN706 talks you through configuring the HPS so that HPS pins are exposed to the FPGA fabric.
Hi Alex, thanks for your reply.
- I've been following the application note without success. I can expose HPS pins as indicated there (by assigning FPGA in the Peripheral Pin configuration in Platform designer and exporting them). I also connected them in the hps instantiation in the top level design and added the required AL_IOBUF instances.
- However given the application note is for another device, I cannot figure out how to proceed to the PAD connection. I.e when exporting uart0_tx and uart0_rx, quartus asks to connect them to a top level pin, and after that I couldn't find a way to apply proper pin assignment. Connecting them to B25 and C25 (the HPS pins associated to those signals in the board datasheet) quartus will report error in pin assignment.
- i found ftp://ftp.intel.com.br/Pub/fpgaup/pub/Intel_Material/16.1/Tutorials/Accessing_HPS_Devices_from_FPGA.pdf as reference
- all says that LoanIO is the way to go. I have configured everything in Platform Designer, connected the exported LOANIO pins in the top level.
- Again I cannot figure out how to do the pin assignment for those exported signals.
Here is helpful information regarding connection:
Key it to use loan 49 and loan 50 on this board (instead of 60 and 61 which would be the direct understanding in Platform Designer gui)