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# 52751

Vivado HLS 2012.x - read and write from 64 bit memory with structs casting - example


I would like to read some data from memory and cast directly to my own data structures.

Is this possible? 

How can I do this?


This example builds on the examples and Vivado HLS user guide and documentation.

One thing to understand from the user guide is that "Pointer casting is not however supported between general types".

The attached example will read and write from a single port 64 bits memory. 

Please use it along with the User Guide.

When run, the TB produces the following output:

before call:
calling HLS block
done, after call:






Associated Attachments

Name File Size File Type
AR52751.zip 1006 Bytes ZIP
AR# 52751
Date 03/23/2015
Status Active
Type General Article
  • Vivado Design Suite
Page Bookmarked