You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Getting_Started/Vitis/Part2.md
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,6 @@
11
11
12
12
# Vitis Getting Started Tutorial
13
13
14
-
***Version: Vitis 2021.2***
15
-
16
14
## Part 2 : Installation and Configuration
17
15
18
16
To develop and deploy applications with Vitis, you need to install the Vitis unified software environment, the Xilinx Runtime library (XRT) and the platform files specific to the acceleration card used in your project.
@@ -74,15 +72,20 @@ The packages required for each platform can be found on the corresponding downlo
74
72
75
73
### Step 5 – Setup the environment to run Vitis
76
74
77
-
To configure the environment to run Vitis, run the following scripts which set up the environment to run in a specific command shell.
75
+
To configure the environment to run Vitis, run the following script which sets up the environment to run in a specific command shell.
Copy file name to clipboardExpand all lines: Getting_Started/Vitis/Part3.md
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,6 @@
11
11
12
12
# Vitis Getting Started Tutorial
13
13
14
-
***Version: Vitis 2021.2***
15
-
16
14
## Part 3 : Review the Kernel Code and Host Application
17
15
18
16
The example used in this tutorial is a trivial vector-add application. The simplicity of this example allows focusing on the key concepts of FPGA acceleration without being distracted by complicated algorithmic consideration.
@@ -119,4 +117,4 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
119
117
See the License for the specific language governing permissions and
Copy file name to clipboardExpand all lines: Getting_Started/Vitis/Part4-data_center.md
+12-15Lines changed: 12 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,6 @@
11
11
12
12
# Vitis Getting Started Tutorial
13
13
14
-
***Version: Vitis 2021.2***
15
-
16
14
## Part 4 : Build and Run the Data Center Application
17
15
18
16
In this fourth part of the Introduction to Vitis tutorial, you will compile and run the vector-add example using each of three build targets supported in the Vitis flow as described below. The overall flow is described in [Data Center Application Acceleration Flow](https://docs.xilinx.com/r/en-US/ug1393-vitis-application-acceleration/Data-Center-Application-Acceleration-Development-Flow), and includes the image flow diagram shown below. From the image you can see the standard G++ compilation process for the host application, and the use of the Vitis compiler (`v++`) for building the Xilinx device binary (`xclbin`). These are the steps you will be working through in this lab.
@@ -29,7 +27,7 @@
29
27
30
28
### Setting up the environment
31
29
32
-
> IMPORTANT: This tutorial requires Vitis 2021.1 or later to run.
30
+
> IMPORTANT: This tutorial requires Vitis 2022.1 or later to run.
33
31
34
32
*NOTE: The instructions provided below assume that you are running in a bash shell.*
35
33
@@ -61,9 +59,9 @@ Then, after changing into the target build directory, enter the following comman
Here is a brief explanation of each of these four commands:
@@ -75,10 +73,9 @@ Here is a brief explanation of each of these four commands:
75
73
76
74
The `-t` option of the `v++` command specifies the build target. Here it is set to `sw_emu` so we are building for software emulation.
77
75
78
-
Notice also the `--config` option which is used to specify the name of a configuration file containing additional options. Here we are using this configuration file to specify the name of the targeted platform and the mapping of kernel arguments to specific memory banks.
76
+
Notice also the `--config` option which is used to specify the name of a configuration file containing additional options. Here we are using this configuration file to specify the number of kernels and the mapping of kernel arguments to specific memory banks.
79
77
80
78
```bash
81
-
platform=xilinx_u200_gen3x16_xdma_1_202110_1
82
79
debug=1
83
80
save-temps=1
84
81
@@ -137,9 +134,9 @@ Then, after changing into the target build directory, enter the following comman
Refer to *Targeting Software Emulation* for a brief explanation of these different commands. The only difference with the previous step is the `v++` target (`-t`) option which is changed from `sw_emu` to `hw_emu`. All other options remain the same.
@@ -168,8 +165,8 @@ Then, after changing into the target build directory, enter the following comman
To target Hardware, the `v++ -t` option is set to `hw` and the `emconfigutil` command is not needed, as you will be running on an actual hardware platform rather than an emulated platform. All other options remain identical.
@@ -186,7 +183,7 @@ After the build completes you can run the application on a system with the Alveo
186
183
187
184
You should see the same TEST PASSED message indicating that the run completed successfully. If you look in the u200/hw folder you will see some of the files that were created during this build and run process. Refer to *Targeting Software Emulation* for a brief explanation of the different files.
188
185
189
-
Congratulations!! You have just completed your first run of a Vitis accelerated application on the Alveo U200 card! There are additional [Vitis-Tutorials](https://github.com/Xilinx/Vitis-Tutorials) to work through to learn additional details of the Vitis tools, and [Vitis_Accel_Examples](https://github.com/Xilinx/Vitis_Accel_Examples/tree/2021.2) to use for examples of host application and kernel coding.
186
+
Congratulations!! You have just completed your first run of a Vitis accelerated application on the Alveo U200 card! There are additional [Vitis-Tutorials](https://github.com/Xilinx/Vitis-Tutorials) to work through to learn additional details of the Vitis tools, and [Vitis_Accel_Examples](https://github.com/Xilinx/Vitis_Accel_Examples/tree/2022.1) to use for examples of host application and kernel coding.
190
187
191
188
## Next Step
192
189
@@ -205,4 +202,4 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
205
202
See the License for the specific language governing permissions and
Copy file name to clipboardExpand all lines: Getting_Started/Vitis/Part4-embedded_platform.md
+11-14Lines changed: 11 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,6 @@
11
11
12
12
# Vitis Getting Started Tutorial
13
13
14
-
***Version: Vitis 2021.2***
15
-
16
14
## Part 4 : Build and Run the Embedded Processor Application
17
15
18
16
In this fourth part of the Introduction to Vitis tutorial, you will compile and run the vector-add example using each of three build targets supported in the Vitis flow as described below. The overall flow is described in [Embedded Processor Application Acceleration Flow](https://docs.xilinx.com/r/en-US/ug1393-vitis-application-acceleration/Embedded-Processor-Application-Acceleration-Development-Flow), and includes the image flow diagram shown below. From the image you can see the G++ cross-compiler for building the host application for the Arm processor, and the use of the Vitis compiler (`v++`) for building the Xilinx device binary (`xclbin`). These are the steps you will be working through in this lab.
@@ -37,7 +35,6 @@
37
35
38
36
```bash
39
37
source<VITIS_install_path>/settings64.sh
40
-
source<XRT_install_path>/setup.sh
41
38
unset LD_LIBRARY_PATH
42
39
```
43
40
@@ -72,9 +69,9 @@ Then, after changing into the target build directory, enter the following comman
Refer to *Targeting Software Emulation* for a brief explanation of these different commands. The only difference with the previous step is the `v++` target (`-t`) option which is changed from `sw_emu` to `hw_emu`. All other options remain the same.
@@ -214,9 +211,9 @@ Then, after changing into the target build directory, enter the following comman
To target Hardware, the `v++ -t` option is set to `hw` and the `emconfigutil` command is not needed, as you will be running on an actual hardware platform rather than an emulated platform. All other options remain identical.
@@ -233,7 +230,7 @@ export XILINX_XRT=/usr
233
230
234
231
You should see the same TEST PASSED message indicating that the run completed successfully. If you look in the zcu102/hw folder you will see some of the files that were created during this build and run process. Refer to *Targeting Software Emulation* for a brief explanation of the different files.
235
232
236
-
Congratulations!! You have just completed your first run of a Vitis accelerated application on the ZCU102 card! There are additional [Vitis-Tutorials](https://github.com/Xilinx/Vitis-Tutorials) to work through to learn additional details of the Vitis tools, and [Vitis_Accel_Examples](https://github.com/Xilinx/Vitis_Accel_Examples/tree/2021.2) to use for examples of host application and kernel coding.
233
+
Congratulations!! You have just completed your first run of a Vitis accelerated application on the ZCU102 card! There are additional [Vitis-Tutorials](https://github.com/Xilinx/Vitis-Tutorials) to work through to learn additional details of the Vitis tools, and [Vitis_Accel_Examples](https://github.com/Xilinx/Vitis_Accel_Examples/tree/2022.1) to use for examples of host application and kernel coding.
237
234
238
235
## Next Step
239
236
@@ -252,4 +249,4 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
252
249
See the License for the specific language governing permissions and
Copy file name to clipboardExpand all lines: Getting_Started/Vitis/Part5.md
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,6 @@
11
11
12
12
# Vitis Getting Started Tutorial
13
13
14
-
***Version: Vitis 2021.2***
15
-
16
14
## Part 5 : Visualizing Results and Analyzing Reports
17
15
18
16
Now that you have successfully built and run the vector-add example, now you can look at the results and reports generated along the way. This example is configured to generate build and run summaries for all three build targets (software emulation, hardware emulation and hardware). Any of these summary reports can be viewed and analyzed using the Vitis analyzer tool as described in [Using the Vitis Analyzer](https://docs.xilinx.com/r/en-US/ug1393-vitis-application-acceleration/Using-the-Vitis-Analyzer).
@@ -41,11 +39,10 @@ If you look into the directory where you ran the application, you will notice th
41
39
42
40
*IMPORTANT: If you targeted the ZCU102 hardware, these files are stored on the SD card and must be copied back to your workstation to continue this lab. Refer to [Running Emulation on an Embedded Processor Platform](https://docs.xilinx.com/r/en-US/ug1393-vitis-application-acceleration/Running-Emulation-on-an-Embedded-Processor-Platform) for more information.*
43
41
44
-
The generation of these files and reports is controlled by runtime options located in the `xrt.ini` file. This tutorial contains a pre-existing `xrt.ini` file which enables the generation of profile data and a timeline of execution with the following content:
42
+
The generation of these files and reports is controlled by runtime options located in the `xrt.ini` file. This tutorial contains a pre-existing `xrt.ini` file which enables the generation a timeline of execution, and the profile summary data, with the following content:
45
43
46
44
```bash
47
45
[Debug]
48
-
opencl_summary=true
49
46
opencl_trace=true
50
47
```
51
48
@@ -119,4 +116,4 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
119
116
See the License for the specific language governing permissions and
0 commit comments