Is there any way to print 2's complement value in HLS C/C++ ?
Hi, dear HLS elites,
I'm exploring how to print 2's complement value for variables declared as ap_fixed in HLS C/C++. Now I only can write the following HLS code to print the ap_fixed type variables as binary with signed value shown below. However, it's not straightforward for debugging. Do you know if it's possible to print the value of ap_fixed variable as 2's complement in Vivado HLS ? Thanks