07-12-2018 06:01 AM
I want to use the sobel filter from XAPP1167 in microzed 7020 platform.
In a first time i designed with a posterize hls block and it was working fine, but with the sobel filter, I have a signal, but a black screen.
I configured the HLS sobel block in SDK like this:
hsobel_config = XImage_filter_LookupConfig(XPAR_IMAGE_FILTER_0_DEVICE_ID);
I've attached the design file, provided by vivado.
I tried with a VDMA before and after the sobel filter,
and one just after the sobel filter
Thanks for any help.
07-12-2018 06:57 AM
At a quick look, the system design looks ok. I would suggest using a "System ILA" to capture the input video and output video streams of the sobel filter so that you can verify if the data looks correct.
Also double check your VDMA frame buffers and verify that they are being properly initialized. It's easy to be reading from the wrong location and getting bad results.
07-12-2018 07:57 AM
Tedbooth, thanks for your reply,
I will add ILA block to my design, to check.
Concerning the VDMA:
for the first one I write and read in this space:
unsigned int srcBuffer0= (XPAR_PS7_DDR_0_S_AXI_BASEADDR + 0x100000);
and for the second one:
unsigned int srcBuffer1 = (XPAR_PS7_DDR_0_S_AXI_BASEADDR + 0x100000 +0xf00000);
and it was working for the posterize algorithme.