Forum Discussion
Altera_Forum
Honored Contributor
10 years agoyes, compile your quartus project, i supose that you have 1 pio for the leds,other pio for the dipswitches, and at the top entity you send the fpga pins to the exported conduits in the qsys top module.
then one compiled you must to create your hps.h, for doing this, after compiling the project copy your sopcinfo to the nios eds shell folder, open the nios shell and tipe in sopc-create-header files, you must se your new hps.h file and some .h more Go to the DS5 proyect, remove all the header files and then paste only your new hps.h Make some dummy change and then compile, if your quartus system is fine, this should be work (remember ro substitute your PIO names IN THE FNCTIONS I CREATED) If you have some problems send me the quartus project and i will send you a .rar with both quartus and ds5 projects working