![]() |
This section documents the necessary steps to migrate command-line based projects to Vitis™ IDE.
Step 2 Import project source code
Step 4 Configure system project in packaging options
-
Launch Vitis IDE by issuing the command,
vitis
. -
After the previously listed steps are completed, the created system project is expected to have AI Engine and hardware link sub-projects, as illustrated in the following image.
-
Then you need to create PS and PL sub-projects under the system project.
-
Fill in sysroot path, root FS, and kernel image information for PS application.
- Select Empty Application under Acceleration templates with PL and AIE accelerators" for PS sub-project.
After the previously listed steps are completed, you should have AI Engine, PS, PL and hardware link sub-projects under system project.
-
Continue to import data for the AI Engine sub-project, source code for PS, PL, and hardware link sub-projects.
Note: If the PS sub-project requires the defer-aie-run
option in packaging, you must import aie_control_xrt.cpp
in the PS sub-project.
-
Configure the hardware link with the
v++
option 
nk=kernel:1:kernel_n
line from thesystem.cfg
file. This is because the Vitis IDE relies on the previous step to determine the number of instances for each PL kernel. Redundant configurations of the number of kernels insystem.cfg
results in compilation errors. 
is required, invokegraph.run()
andgraph.end()
from PS, then use the--package.defer_aie_run
option. -
If data files need to be packaged to the sd_card, then use the
--package.sd_dir ${PROJECT_PATH}/data
option.
GitHub issues will be used for tracking requests and bugs. For questions go to support.xilinx.com.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
XD005 | © Copyright 2021-2022 Xilinx, Inc.