Creating a New Project

  1. Launch the SDx IDE 2017.1 using the desktop icon or theStartmenu.
  2. When you launch the SDx IDE, theWorkspace Launcherdialog appears. ClickBrowseto enter a workspace folder used to store your projects (you can use workspace folders to organize your work), then clickOKto dismiss theWorkspace Launcherdialog.
  3. The SDx IDE window opens with theWelcometab visible when you create a new workspace. The tab includes links forCreate SDx Project,Add Custom Platform,Create Application Project,Import Project,Tutorials, andWeb Resources. Clicking any of these links takes you to further options available under each link. For example, to access documentation and tutorials, clicking onTutorialstakes you to the Tutorials page which has links for SDSoC and SDAccel related documents. TheWelcometab can be dismissed by clicking the X icon or minimized if you do not wish to use it.
  4. From the SDx IDE menu bar selectFile>New>Xilinx SDx Project.The New Project dialog box opens.
  5. Specify the name of the project, for examplelab1.
  6. ClickNext.
  7. From theChoose Hardware Platformpage, select thezc702platform.
    Note:If a custom platform is being used that is not in the list of supported platforms, click Add Custom Platformto add the custom platform.
  8. ClickNext.
  9. From theSystem configurationdrop-down list for the selected platform, selectLinux. Leave all other fields at their default values.
  10. ClickNext.
    The Templates page appears, containing source code examples for the selected platform.
  11. From the list of application templates, selectMatrix Multiplication and Additionand clickFinish.
  12. The standard build configurations are Debug and Release, and you can create additional build configurations. To get the best runtime performance, switch to use theReleaseconfiguration using one of the three methods illustrated below. The Release build configuration uses a higher compiler optimization setting than the Debug build configuration. The SDx Project Settings window also allows you to select the active configuration or create a build configuration.

    TheBuildicon provides a drop-down menu for selecting the build configuration and building the project. Clicking on theBuildicon builds the project.

    In the Project Explorer you can right-click on the project to select the build configuration.

    The SDx Project Settings window includes a Build Configurations drop-down, where you can select the active configuration or create a build configuration.

    The SDx Project Settings window provides a summary of the project settings.

    When you build an SDx application, you use a build configuration (a collection of tool settings, folders and files). Each build configuration has a different purpose.Debugbuilds the application with extra information in the ELF (compiled and linked program) that you need to run the debugger. The debug information in an ELF increases the size of the file and makes your application information visible. TheReleaseconfiguration provides the same ELF file as the Debug configuration with the exception that it has no debug information. TheEstimate Performanceoption can be selected in any build configuration and is used to run the SDSoC environment in a mode used to estimate the performance of the application (how fast it runs), which requires different settings and steps (seePerformance Estimation).