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!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer pmpakos
Observer
364 Views
Registered: ‎05-13-2018

DataPack typedef

Hello

 

Is it possible to define via typedef a Vec_t type like the following ?

 

using Vec_t = hlslib::DataPack<float, kWidth>;

 

(the above is from an example from this tutorial for HLS Design https://github.com/spcl/hls_tutorial_examples/blob/master/example_7/example7.cpp )

 

I have found the Color Conversion Example (https://github.com/Xilinx/SDSoC_Examples/blob/master/cpp/getting_started/custom_data_type/src/rgb_to_hsv.h) where it defines new data structures, but I want to do something more customizable.

 

What are the libraries for hlslib::DataPack ? Unfortunately, I cannot find anything by Googling

0 Kudos