Success! Subscription added.
Success! Subscription removed.
Sorry, you must verify to complete this action. Please click the verification link in your email. You may re-send via your profile.
In this section, you will modify the Quartus configuration file settings, compile the design, and update the SD card with your generated programming file.
<<<<Click here to return to the previous section
It is important that the Quartus configuration file settings (configuration scheme and bitstream compression) are set to match the MSEL pins on the board. If these settings don't match the MSEL pins, the HPS won't be able to configure the FPGA.
1. From the Quartus "Assigments" menu, click "Device..."
Soc_hw_ws_files21.jpg (Click here for image)
2. In the "Device" window, clock the "Device and Pin Options..." button.
Soc_hw_ws_files22.jpg(Click here for image)
3. In the "Device and Pin Options" window:
Soc_hw_ws_files23.jpg (Click here for image)
4. In the "Programming Files" category, check the "Raw Binary File (.rbf)" checkbox. The .rbf file is what u-boot will use to program the FPGA in this lab.
Soc_hw_ws_files24.jpg (Click here for image)
5. Click "OK" in the "Device and Pin Options" window.
6. Click "OK" in the "Device" window.
7. From the Quartus "Project" menu, select "Add/Remove Files in Project..."
8. In the window which appears, note the file "soc_system/synthesis/soc_system.qip". This file is automatically added to Quartus and points to the source files which QSys generates. As this is not a Quartus class, much of the Quartus setup is already done, allowing you to focus on the SoC specific tasks in Quartus.
9. Click :OK:
10. You will need to make the SDRAM IO standard assignments. While Quartus will auto-assign the HPS SDRAM pins, the IO assignments must be added to the project. This is best done with a TCL script generated by QSys. To make these assignments, Quartus will first need to analyze the source files.
Soc_hw_ws_files26.jpg (Click here for image)
11. Now you will add the IO assignments.
Soc_hw_ws_files25.jpg (Click here for image)
12. From the Quartus "Processing" menu, select "Start Compilation". This will compile your design and generate a programming file.
Anytime you change the HPS configuration and re-compile the Quartus project, you will need to update the boot loader. Using a boot loader and a programming file with different HPS configurations can cause boot failures. In the next section you will regenerate the boot loader.
Community support is provided Monday to Friday. Other contact methods are available here.
Intel does not verify all solutions, including but not limited to any file transfers that may appear in this community. Accordingly, Intel disclaims all express and implied warranties, including without limitation, the implied warranties of merchantability, fitness for a particular purpose, and non-infringement, as well as any warranty arising from course of performance, course of dealing, or usage in trade.
For more complete information about compiler optimizations, see our Optimization Notice.