Forum Discussion
abaxor
New Contributor
4 years agoHow to convert an ihc::hls_float <8, 23> s_tanf to an ac_int or ac_fixed?
Hi,
I have to calculate an arctan on a CycloneV. Since HLS/ac_fixed_math.h does not include atan I use HLS/hls_float_math.h. Just now I run in trouble to convert the
ihc::hls_float <8, 23> s_tan...
aikeu
Regular Contributor
4 years agoHi abaxor,
Sorry that I may not fully understand your request regarding the conversion as you mentioned. Can share with me more details on your work?
There is some tutorial/design example in the HLS directory that may help with your understanding.
<quartus_installdir>//hls\examples\tutorials\ac_datatypes\ac_fixed_constructor
Refer to this link for more info:
Thanks.
Regards,
Aik Eu