AR# 58096


2013.3 Vivado HLS - How to integerate device driver generated from HLS to SDK?


There is an option in Vivado HLS to export Pcore for EDK.

This article covers how to integrate the driver generated by HLS to an SDK board support package (BSP).


1. Export "Pcore for EDK" by clicking the "Export RTL" button in Vivado HLS.

2. Copy the generated driver from the directory /impl/drivers to a repository directory for SDK. 

For example, copy /impl/drivers/hls_macc_top_v1_10_a to the directory /sdk_sw_repo/drivers. 

The directory structure will now look like the below example:

3. In SDK, select "XIlinx Tools->Repositories",and click "new", then add the directory "/sdk_sw_repo" to the Local Repositories or the Global Repositories.

4. Select "File->New->Board Support Package" to create a BSP.

The head files and source files of the HLS driver will be copied to the BSP automatically. 

It will look similar to the example below:

Note: The steps of integrating IP cores from HLS in hardware design IPI and exporting it to SDK are omitted here. 

For the IPI and SDK usage, please refer to  "Implement Vivado HLS IP on a Zynq Device" in UG871.

AR# 58096
Date 05/02/2014
Status Active
Type General Article
People Also Viewed