Configuring SDSoC Settings through the GUI
TheSDx™GUI provides different views for you to manageSDSoC™projects and builds, debug the design, view the design, and analyze the design.
The Assistant view in theSDxGUI displays the project and all of the build configurations that are part of the project. All of the settings for the project, and for building and debugging the project are accessible from the Assistant view, as described in the following sections.
SDSoC Project Settings
To edit theSDSoCproject settings, select the project in theAssistantview and click theSettingsicon () to bring up the Project Settings window.
Figure:SDSoCProject Settings Dialog Box
Project Settings provides quick access to the project settings through theProject name:link. TheProject flow:link guides you to thewww.xilinx.comweb site for theSDSoCflow. You can also change the platform and the system configuration for the current project using thebrowsebutton.
SDSoC Build Configuration Settings
Build Configuration Settings
To edit the settings for any of the build configurations under the project, select a specific build configuration in the Assistant view and click theSettingsicon () to bring up the window with the build configurations.
Figure:Build Configuration Settings
The Build Configuration Settings dialog provides a convenient way to make adjustments to your build configuration. You can change the build target as described inBuilding the SDSoC Project.
You can enable analysis options like performance estimation, and event tracing as described inProfiling and Optimization, and specify the root function to exclude certain code from performance estimation. These options are only available when the build target is hardware. SeeSDSoC Environment Getting Started Tutorial(UG1028)for more information on using these options.
TheData motion network clock frequencydrop-down shows available values for the clock frequency in between the platform and hardware accelerated functions. For more information, seeSelecting Clock Frequencies.
Use theGenerate SD card imageoption to create the files required to allow booting your board from an SD Card. This option is only available when the build target is hardware.
Finally, theEdit Toolchain Settingslink at the bottom of the dialog box opens theSDS++/SDSCC Compiler Optionsdialog box to let you setsds++
system compiler andsds++
linker options, including specifying directories, additional libraries, and command line options for the active configuration.
SDS++/SDSCC Compiler Options
The SDS++/SDSCC Compiler sections of the Tool Settings dialog box lets you set various options for thesds++
andsdscc
commands that are passed when the compiler is called. To access the Tool Settings dialog box, select theEdit Toolchain Settingslink from theBuild Configurationsdialog box.
Figure:Compiler Command Options
The Settings dialog box lets you specify which build configuration you are specifying the settings for. Select theConfigurationfield at the top of the dialog box to specify any of the current build configurations, or selectAll configurationsto change settings for all.
Compiler Symbols Settings
ClickSymbolsunder the SDS++ Compiler to define compile time macros that are passed with the–D
option when calling thesds++
command.
Under the Defined symbols (-D
) field, you can add multiple symbols by clicking the add () icon to add each symbol.
Figure:Enter Value for Symbols
Under the Undefined symbols (-U
) field, you can cancel any previous definition of a defined symbol.
Compiler Warnings Settings
Command options related to compiler warnings (-W
) are provided through the Warnings section.
Figure:Compiler Warnings Settings
Compiler Optimization Settings
Compiler optimization flags (-O
) and other optimization settings can be specified in this section.
Figure:Compiler Optimization Settings
Compiler Debugging Settings
Specify debug Level (-g
) and other debugging flags are specified through this section in the GUI.
Figure:Compiler Debugging Settings
Compiler Profiling Settings
Enable profiling (-pg
) to generate extra code to write profile information for analysis of the application.
Compiler Directories Settings
Include Paths for the SDS++ Compiler are added under the Directories option. You can add directories to the Include Paths by clicking the add () icon to add each symbol.
Compiler Miscellaneous Settings
Figure:Compiler Miscellaneous Settings
Inferred Options
Software platform inferred flags and software platform include paths are added under the Inferred Options section.
Figure:Inferred Options
SDS++ Linker Settings
The SDS++ Linker sections of the Tool Settings dialog box lets you set various options for thesds++
command that are passed when the linking stage of the build process is run. To access the Tool Settings dialog box, select theEdit Toolchain Settingslink from theBuild Configurationsdialog box.
The SDS++ Linker page shows thesds++
command and any additional options to be passed when callingsds++
for the linking stage.
Figure:SDS++ Linker Options
The Settings dialog box lets you specify which build configuration you are specifying the settings for. Select theConfigurationfield at the top of the dialog box to specify any of the current build configurations, or selectAll configurationsto change settings for all.
SDS++ Linker General Settings
Some general setting for the SDS++ linker are specified in this section.
Figure:SDS++ Linker General Settings
SDS++ Linker Libraries Settings
Specifies Libraries (-l
) and the library search path (-L
) for the SDS++ linker command. You can add libraries or library search paths by clicking the add () icon.
Figure:SDS++ Linker Libraries Settings
SDS++ Linker Miscellaneous Settings
Any other flags that needs to be passed to the SDS++ Linker can be provided through the Miscellaneous section.
Figure:SDS++ Linker Miscellaneous Settings
SDS++ Linker Script Settings
The path and file name of the SDS++ Linker Script is provided in the Linker Script field.
Figure:SDS++ Linker Script Settings
SDS++ Linker Inferred Options
Software platform inferred flags are added under the Inferred Options section.
Figure:SDS++ Linker Inferred Options