06-29-2017 01:05 AM
How do I write HLS C code like below VHDL code? Thank you.
MODE : integer range 0 to 1 := 1
06-29-2017 01:09 AM
#include <ap_cint.h> uint1 MODE = 1;
That's as close as I can get without knowing more about the application.
06-29-2017 01:45 AM
07-04-2017 06:04 PM
Thanks for your reply, but it is not what I mean. The generic block of VHDL will generate GUI property for user set value of this variable "MODE" (attached file). That is what I want to do the same job by HLS c/c++ code. How can I do that? Anyone could help me!
07-07-2017 01:12 AM
Why? Any document or example for me to study how to design a IP by HLS with customer property setting? Just like Xilinx's TPG IP (v6.0).
Any one could help? Thank you.
07-09-2017 07:27 PM
The reason you can't is precisely because there isn't a document that shows how to do it. It's possible to do (as shown by the TPG block) but Xilinx has not released information on how to achieve that.
If you reverse-engineer the TPG block it's possible to see how they've done it - but that's the only option at this stage.
04-15-2019 04:11 AM
A customer of us and thus Xilinx needs that feature too.
Otherwise for each configuration the C/C++ code needs to be touched...
Can someone from Xilinx please give an update on this?