Can someone suggest a basic HPS project with PIO for LED control. Need the complete flow of building the project from scratch. How to assign the HPS pins in Quartus. How to add uboot along with ...
After selecting the HPS peripheral in the auto place IP, the HPS pins come up in the top level instantiation.
These HPS pins eg. SDMMC, USB etc which are part of HPS show up in the FPGA pin planner. But not able to assigne any location to it. How do the locations get assigned to these dedicated HPS pins.
They got assigned based on the PINMUX selection where the user selects the peripherals to be enabled. Quartus will automatically, picked the IOs and assigned them respectively. As per the spec (if i am not mistaken), you can't assign HPS dedicated pin locations in pin planner because the package balls are fixed per device. You can only choose the function and mux as i explained above in the HPS Platform designer. Pin planner is basically for reviews only. Then, it will be translated to a handoff (part of the bitstream) for the HPS FSBL to then configure the PINMUX/IO manager.
If you are looking for the GPIO for LEDs, they are as followed below. If you are using the GHRD official design, you can then, control the LEDs output through this IOs.