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

Vivado HLS 2014.1 - For hls::stream what are the valid data types for T?

Description

Given a stream specified as hls::stream<T>, what are the valid data types which can be used as T?

Solution

Given a stream specified as hls::stream<T>, valid data types for T are:

* Any C++ native data type

* A Vivado HLS arbitrary precision type (for example, ap_int<>, ap_ufixed<> or a user-defined (typedef) structure type).

Limitation: General user-defined classes (or structures) that contain methods (member functions) should not be used as the type (T) for a stream variable.

AR# 60459
Date Created 04/29/2014
Last Updated 11/25/2014
Status Active
Type General Article
Tools
  • Vivado Design Suite - 2014.1
  • Vivado Design Suite