I am trying to control the LEDs in the ITX MIni using PL only. However, all tutorials and references export the hardware wrapper to the SDK and control the hardware using PS. For my application, it is necessary that I read the value of the switches and write the values to the LEDs using PL only.
I have tried adding the Zynq7 PS IP Core along with the memory and gpio interconnects and the constraints file as well. I am not able to understand how to write my module such that it references the GPIO pins.
A small reference program (maybe reading values from switches and setting them to LEDs) would be very helpful.
Thanks a lot,