cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Observer
Observer
785 Views
Registered: ‎07-27-2018

Problem with AXI stream interface HLS

Hi, 

 

I am trying to create an AXI stream packet generator IP in vivado HLS. For this I need to change the AXI stream datawidth to 128 from the default 32.

 

I found the following solution on the internet help forums :

#include "ap_axi_sdata.h"
#include "hls_stream.h"
typedef ap_axiu<128,1,1,1> AXI_VALUE;

 

 

But HLS is giving me a syntax error on the typedef line. Can someone tell me where I am going wrong and what must be done to correct this?

 

0 Kudos
1 Reply
Highlighted
Advisor
Advisor
763 Views
Registered: ‎04-26-2015

What is the exact error? Is this in a .cpp file or a .c one?

0 Kudos