Working with SDx
When a project is opened in the SDx IDE, the project is arranged in a series of different window and editor views, also known as a perspective in the IDE. The tool opens with the SDx (default) perspective.
Figure: SDAccel - Default Perspective
See Launching SDx for more information about opening the software.
As shown, the default perspective has an arrangement of Project Explorer
view, Project Editor window, and the Outline view across the top, and the Report view,
the Console view, and Target Connections view across the bottom. A brief description of
these are:
- Project Explorer: Displays a tree view of the project folders and the source files, build files, and reports generated by the tool.
- Project Editor: This is the primary window for interacting with the project in the SDx IDE. It displays project settings, context sensitive code editors, and provides access to many commands for working with the project.
- Outline: Displays an outline of the current file opened in the Project Editor.
- Report: Displays the SDx reports of performance estimation, profile summaries, and build results.
- Console: Presents multiple views including the command console, problem reports, project properties, and logs and terminal views.
- Target Connections: Provides status for different targets connected to the SDx tool, such as the Vivado hardware server, Target Communication Framework (TCF), and QEMU networking.
You can open and close windows, using the
command, and arrange them to suit your needs by dragging and dropping them into new locations in the IDE. Save the window arrangement as a perspective using the command. This lets you define different perspectives for initial project editing, report analysis, and debug for example.You can open different perspectives using the
command. You can restore the default window arrangement by opening the SDx (default) perspective.Command-Line Flow
In addition to the SDx IDE, the SDAccel environment provides a command line interface to support a scripted Makefile flow, or command-line execution as described in Compilation Flow.
- C and C++ code for the host application can be compiled
using the
xcpp
command. - The OpenCL kernel can be compiled using the
xocc
command. - The command line executables are located in the installation directory at <sdx_install>/bin.