Configuring Hardware - adwinying/FreeLwIP-Nios-II GitHub Wiki
Configure Hardware using Qsys
If, for whatever reason that you need to make changes to the hardware configuration of the FPGA, modification of the SOPC file is done through a program called Qsys.
How to edit SOPC file
- Locate the
*.qpf
file in/[project folder]/FPGA/
and open the file - Once Quartus is launched, click on the Qsys button (circled red below)
- Browse for the SOPC file that you would like to edit
- Make changes to the hardware configuration as needed. Ensure no errors appear under the Messages pane.
- When modifications are completed, go to Generate > Generate...
- In the Generation window, ensure Simulation and Testbench System dropdown menu have None selected and Synthesis has Verilog selected.
- Click Generate
- Wait for awhile until the dialog says completed (below)
- Click Close and go to File > Save
- You may now close Qsys and go back to Quartus.
- To regenerate the hardware files, click the Start Compilation button (circled red below)
- Wait for about 10 minutes. The compilation is complete when the following message could be similarly seen in the logs:
Info (293000): Quartus II Full Compilation was successful. 0 errors, 496 warnings
- Done. Proceed to rebuilding the BSP