English | 日本語
See other versions | |||||
Introduction | Lab1: Creating the DSA for a Zynq UltraScale+ MPSoC Processor Design | Lab 2: Creating the SDSoC Platform | Lab 3: Using Your Custom Platform |
-
On the SDx IDE menu, select File > New > SDx Application Project to begin creating a new Application project.
-
In the Create a New SDx Application Project dialog, type sdx_app1 as the Project name.
-
Click Next.
-
In the Platform dialog, select Add Custom Platform command (the '+' icon).
This opens the Specify Custom Platform Location dialog box, letting you navigate to the platform folder. If you were following the instructions in this tutorial, you will find the platform at /tmp/sdx_workspace/zcu102_board/export/zcu102_board.
-
After adding the zcu102_board platform, select it in the Platform dialog box, and click Next.
-
Accept the default settings in the System Configuration dialog box:
- System configuration: sysconfig1
- Runtime: C/C++
- Domain: standalone on psu_cortexa53
- CPU: psu_cortexa53_0
- OS: standalone
To generate a Linux application, the LinuxConfig system can be selected.
-
Click Next.
-
On the Templates dialog, select Array Partitioning and click Finish.
Note: To get or update the example applications, you can click click the SDx Examples button. Refer to the SDSoC Develpment Environment User Guide (UG1027) for more information.
The newly created SDSoC application sdx_app1
is shown in the Project Explorer view and the Assistant view.
📌 NOTE: The Assistant view shows a hardware accelerated function named
matmul_partition_accel
which is part of the Array Partitioning example.
-
The Editor view shows settings for
sdx_app1
in the Application Project Settings window. -
In the Assistant view, expand sdx_app1 [SDSoC], and right-click Debug [Hardware] and select Build.
-
The Assistant view provides build results through links to the following:
-
Compilation log
-
Data motion report for accelerator
-
Generated SD card image contents
-
-
You can also scroll through the Console window to view the transcript of the build process which is captured in the sds.log.
-
In the Assistant view, right-click SD Card Image and select Open > Open in File Browser to open a view to the SD Card contents on the disk. The
sd_card
directory is located in the SDx workspace at/tmp/sdx_workspace/sdx_app1/Debug/sd_card
.You can copy the SD card directory contents to the root directory of a FAT32 formatted SD card and boot a ZCU102 platform using this SD card to run and view the sdx_app1 UART output on a terminal program.
In completing Lab 3, you have successfully created a custom SDSoC platform that targets the Zynq UltraScale+ MPSoC with a standalone software runtime environment. You have also built the SDSoC array partitioning example on top of the custom SDSoC platform (zcu102_board).
- Lab 1: Creating the DSA for a Zynq UltraScale+ MPSoC Processor Design
- Lab 2: Creating the SDSoC Platform
Copyright© 2019 Xilinx