UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 58096

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

Description

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).

Solution

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 Created 10/23/2013
Last Updated 05/02/2014
Status Active
Type General Article
Tools
  • Vivado Design Suite - 2013.2
  • Vivado Design Suite - 2013.3