- 3.4. Listing the Intel® FPGA SDK for OpenCL™ Offline Compiler Command Options (no argument, -help, or -h)
- 7.5. Specifying the Name of an Intel® FPGA SDK for OpenCL™ Offline Compiler Output File (-o <filename>)
- 7.6. Compiling a Kernel for a Specific FPGA Board and Custom Platform (-board=<board_name>) and (-board-package=<board_package_path>)
- 7.13. Converting Warning Messages from the Intel® FPGA SDK for OpenCL™ Offline Compiler into Error Messages (-Werror)
- 7.17. Forcing a Single Store Ring to Reduce Area at the Expense of Write Throughput to Global Memory (-force-single-store-ring)
- 7.18. Forcing Fewer Read Data Reorder Units to Reduce Area at the Expense of Read Throughput to Global Memory (-num-reorder)
9.2.3. Creating a Makefile Project
To create a makefile project, perform the following steps:
- Select File > New > Project.
When you create a new project, you are required to specify the project type. This project type determines the toolchain, data, and tabs that the CDT uses or displays.
- Select the type of project you want to create. For this tutorial, expand the C/C++ folder and select the C++ Project. The C++ Project wizard launches.
By default, the CDT filters the Project types and Toolchain list based on the language supported for the C++ Project wizard you selected for this tutorial.
- In the Project name field, type HelloWorld.
- Leave the Use Default Location option selected.
- From the Project types list, expand the Makefile project and select OpenCL FPGA Makefile Project. This project allows you to enter the source file and the makefile.
- From the Toolchain list, select the FPGA makefile.
- Click Next.
- Click Finish.
If a message box prompts you to change perspectives, click Yes.
Your new project displays in the Project Explorer view. The project is empty because you have not yet created files for your project. You may see an error since there is nothing to build yet for your project. You can now start writing the code for your HelloWorld program.
Did you find the information on this page useful?