Configuring SDSoC Settings through the GUI
The SDx™ GUI provides different views for you to manage SDSoC™ projects and builds, debug the design, view the design, and analyze the design.
The Assistant view in the SDx GUI 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 the SDSoC project settings, select the project in
the Assistant view and click the Settings icon () to bring up the Project Settings
window.
Figure: SDSoC Project Settings Dialog Box
Project Settings provides quick access to the project settings through the Project name: link. The Project flow: link guides you to the www.xilinx.com web site for the SDSoC flow. You can also change the platform and the system configuration for the current project using the browse button.
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 the Settings icon () 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 in Building the SDSoC Project.
You can enable analysis options like performance estimation, and event tracing as described in Profiling 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. See SDSoC Environment Getting Started Tutorial (UG1028) for more information on using these options.
The Data motion network clock frequency drop-down shows available values for the clock frequency in between the platform and hardware accelerated functions. For more information, see Selecting Clock Frequencies.
Use the Generate SD card image option 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, the Edit Toolchain Settings
link at the bottom of the dialog box opens the SDS++/SDSCC Compiler Options dialog box to let you set sds++ system compiler and sds++
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 the sds++ and
sdscc commands that are passed when the
compiler is called. To access the Tool Settings dialog box, select the Edit Toolchain Settings link from the Build Configurations dialog box.
Figure: Compiler Command Options
The Settings dialog box lets you specify which build configuration you are specifying the settings for. Select the Configuration field at the top of the dialog box to specify any of the current build configurations, or select All configurations to change settings for all.
Compiler Symbols Settings
Click Symbols under the SDS++ Compiler
to define compile time macros that are passed with the –D option when calling the sds++
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<level>) 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 the sds++ command that are passed when
the linking stage of the build process is run. To access the Tool Settings dialog
box, select the Edit Toolchain Settings link
from the Build
Configurations dialog box.
The SDS++ Linker page shows the sds++
command and any additional options to be passed when calling sds++ 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 the Configuration field at the top of the dialog box to specify any of the current build configurations, or select All configurations to 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