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: 
Visitor radhikamkr
Visitor
229 Views
Registered: ‎07-19-2018

sdx-error while doing fixed point complex operations

I was trying to do fixed point complex operations in SDx.

I defined data types as follows:

typedef ap_fixed<32,16> fixedpt;

typedef std::complex<fixedpt> complex_fixedpt;

When built am getting the following error:
cannot resolve overloaded function ‘real’ based on conversion to type ‘const void*’

Why is this happening?

Thanks.

 

0 Kudos
2 Replies
Xilinx Employee
Xilinx Employee
178 Views
Registered: ‎08-20-2018

Re: sdx-error while doing fixed point complex operations

Hello @radhikamkr

Please let us know if you are using SDSoC or SDAccel.

Is it possible to share the full log here?

 

Best Regards,
Nutan
-------------------------------------------------------------------------------
Please don't forget to reply, kudo and accept as a solution
0 Kudos
Visitor radhikamkr
Visitor
99 Views
Registered: ‎07-19-2018

Re: sdx-error while doing fixed point complex operations

Hi,

I am using sdsoc.

I can't share the code now.

I worked around it by storing real and imaginary parts separately.

Thanks.

0 Kudos