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: 
Highlighted
Observer ain0102
Observer
501 Views
Registered: ‎02-06-2018

xf :: bitwise_not build error occurs.

Hi.

I used the bitwise_not function instead of the xf::filter2D H/W function in the filter2d example.

 

If you build the bitwise_not function by selecting Toggle H / W, the following error occurs.

 

INFO: [DMAnalysis 83-4494] Analyzing hardware accelerators...
ERROR: [DMAnalysis 83-4432] Interface type of port p_src_data_V_q0 of accelerator w0_xf_bitwise_not not supported!
Data motion generation exited with return code 1
- errors detected
sds++ log file saved as /data1/hccho/sdx/zcu102_rv_ss/sw/sysroot/filter2d/Release/_sds/reports/sds.log
ERROR: [SdsCompiler 83-5004] Build failed

 

 

source:

void filter2d_sds(unsigned short *frm_data_in, unsigned short *frm_data_out,
		  int height, int width, const coeff_t coeff, void *priv)
{
	struct filter2d_data *f2d = (struct filter2d_data *) priv;
	int pcnt = height*width;

	// split the 16b YUYV... input data into separate 8b YYYY... and 8b UVUV...
	read_f2d_input(frm_data_in, *f2d->inLuma, *f2d->inoutUV, f2d->in_fourcc, pcnt);

	// this is the xfopencv version of filter2D, found in imgproc/xf_custom_convolution.hpp
	//xf::filter2D<XF_BORDER_CONSTANT, KSIZE, KSIZE, XF_8UC1, XF_8UC1, F2D_HEIGHT, F2D_WIDTH, XF_NPPC1>
	//	(*f2d->inLuma, *f2d->outLuma, (short int *) coeff, 0);
        xf::bitwise_not<XF_8UC1, F2D_HEIGHT, F2D_WIDTH, XF_NPPC1>(*f2d->inLuma, *f2d->outLuma);

	// combine separate 8b YYYY... and 8b UVUV... data into 16b YUYV... output data
	write_f2d_output(*f2d->outLuma, *f2d->inoutUV, frm_data_out, f2d->out_fourcc, pcnt);
}

 

project:

111.png

 

Attach the sds.log file.

 

thanks.

 

0 Kudos
1 Reply
Adventurer
Adventurer
431 Views
Registered: ‎06-05-2018

Re: xf :: bitwise_not build error occurs.

Sdsoc does not support ap_memory but your argument "src" acctually is ! You can change it by pragma SDS data.
0 Kudos