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: 
Highlighted
Visitor double.j
Visitor
3,692 Views
Registered: ‎10-27-2012

Vivado HLS constants and a simple register

I'm stuck with the simple problems:

 

I can't seem to get constants to work with my c code:

#define CONSTANT 50

(Syntax errors)

unresolved inclusions stdio.h and stdlib.h

 

Could someone point me to (give the code for) a simple c code (c/c++) example that copies the input to the output on a rising edge. (in_A, in_clk, out_B)

 

Thanks

0 Kudos
1 Reply
Visitor double.j
Visitor
3,677 Views
Registered: ‎10-27-2012

Re: Vivado HLS constants and a simple register

The second question is not relevant, I had a hunch but now it's confirmed. (Other ways to interface the synthesized code will be needed.)

 

So only the includes and the constants that I can't use remain a problem.

0 Kudos