Forum Discussion
NSuku1
New Contributor
7 years agoOutput of a slave component using HLS
Hi all, I'm new to FPGA design and HLS compiler. I tried developing a matrix slave component which needs to interact with an Avalon memory mapped master interface. hls_avalon_slave_component
compo...
MuhammadAr_U_Intel
Contributor
7 years agoHi Nivetha,
I suspect this is due to your component return type is set to void. Try using a return type as "int" and return the value from component. You should see an output named "returndata" in HLS output.
You may refer to some basic HLS example with return type "int" such as "counter" example provided with HLS distribution. Located in <HLS install dir>/examples/counter
I hope my reply is helpful to you.
Thanks,
Arslan