Forum Discussion
Altera_Forum
Honored Contributor
11 years agoHi There!
I was trying the same thing and found your thread. Was bookmarking this until I figured it out by myself. There are some steps you need to do: 1. Add parallel I/O connection output to your fpga system on Qsys. Just follow leds_pio. Give appropriate width (mine was 8), so it will have, for instance, hsmc_pio_out_exported[7:0] pin from your system. Also, don't forget to connect it to hps master & configure the address mapping. Generate. 2. Edit your top_system verilog, add for example, "output wire [7:0] hsmc_pio" connect your hsmc_pio_out_exported to it. 3. Assign your pin, for example, hsmc_pio[0] to PIN_A4, and hsmc_pio[1] to PIN_F9. 4. Edit socfpga.dtb (device tree blob), you can use sopc2dts. And put it into your SDCard partition 1 (mmcblk0p1), replace the old one. 5. The rest is yours.