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: 
Observer ktum
Observer
8,711 Views
Registered: ‎09-18-2015

Internal error when using custom dilate/erode

I am getting an internal error everytime I try to synthesize a program with a custom Dilate or Erode function call.

 

This is the code...

 

 

#include "top.h"

void image_filter(AXI_STREAM& INPUT_STREAM, AXI_STREAM& OUTPUT_STREAM, int rows, int cols) {
    //Create AXI streaming interfaces for the core
#pragma HLS INTERFACE axis port=INPUT_STREAM
#pragma HLS INTERFACE axis port=OUTPUT_STREAM

#pragma HLS RESOURCE core=AXI_SLAVE variable=rows metadata="-bus_bundle CONTROL_BUS"
#pragma HLS RESOURCE core=AXI_SLAVE variable=cols metadata="-bus_bundle CONTROL_BUS"
#pragma HLS RESOURCE core=AXI_SLAVE variable=return metadata="-bus_bundle CONTROL_BUS"

#pragma HLS INTERFACE ap_stable port=rows
#pragma HLS INTERFACE ap_stable port=cols

	GRAYSCALE_IMAGE src(rows,cols);
	GRAYSCALE_IMAGE dst(rows, cols);
#pragma HLS dataflow
    hls::AXIvideo2Mat(INPUT_STREAM, src);

    hls::Window<3, 3, unsigned char> kernel;
    hls::Dilate<0,1>(src, dst, kernel);

    hls::Mat2AXIvideo(dst, OUTPUT_STREAM);
}

 

 

This is the Vivado HLS console...

 

 

@I [HLS-10] Setting target device to 'xc7z030sbg485-1'
@I [HLS-10] Analyzing design file 'mop_close/src/top.cpp' ... 
In file included from mop_close/src/top.cpp:1:
In file included from mop_close/src/top.h:4:
In file included from C:/Xilinx/Vivado_HLS/2015.3/include\hls_video.h:62:
C:/Xilinx/Vivado_HLS/2015.3/include/hls/hls_video_imgproc.h:659:74: warning: array index -1 is before the beginning of the array [-Warray-bounds]
    filter_opr_flow_more<OPR_KERNEL,BORDERMODE,SRC_T,DST_T,KN_T,POINT_T>(internal[ITERATIONS-2],_dst,_kernel,anchor,rows,cols);
                                                                         ^        ~~~~~~~~~~~~
C:/Xilinx/Vivado_HLS/2015.3/include/hls/hls_video_imgproc.h:710:9: note: in instantiation of function template specialization 'hls::filter_opr_iter<hls::dilate_kernel, hls::BORDER_REPLICATE, 1, 0, 0, unsigned char, int, 480, 640, 3, 3>' requested here
        filter_opr_iter<OPR_KERNEL, BORDERMODE, ITERATIONS,SRC_T,DST_T,KN_T,POINT_T>(_src,_dst,_kernel,anchor,rows,cols);
        ^
C:/Xilinx/Vivado_HLS/2015.3/include/hls/hls_video_imgproc.h:758:5: note: in instantiation of function template specialization 'hls::morp_opr<hls::dilate_kernel, hls::BORDER_REPLICATE, 0, 1, 0, 0, unsigned char, int, 480, 640, 3, 3>' requested here
    morp_opr<dilate_kernel,BORDER_REPLICATE,Shape_type,ITERATIONS>(_src,_dst,_kernel,anchor);
    ^
mop_close/src/top.cpp:35:5: note: in instantiation of function template specialization 'hls::Dilate<0, 1, 0, 0, unsigned char, 480, 640, 3, 3>' requested here
    hls::Dilate<0,1>(src, dst, kernel);
    ^
C:/Xilinx/Vivado_HLS/2015.3/include/hls/hls_video_imgproc.h:651:5: note: array 'internal' declared here
    Mat<IMG_HEIGHT,IMG_WIDTH,DST_T> internal[ITERATIONS-1];
    ^
1 warning generated.
@I [HLS-10] Validating synthesis directives ...
@I [HLS-10] Starting code transformations ...
@I [XFORM-501] Unrolling loop 'Loop-1' (C:/Xilinx/Vivado_HLS/2015.3/common/technology/autopilot/hls/hls_video_core.h:622) in function 'hls::Mat<480, 640, 0>::read()' completely.
...
@I [XFORM-721] Changing loop 'Loop_loop_height_proc' (C:/Xilinx/Vivado_HLS/2015.3/common/technology/autopilot/hls/hls_video_imgproc.h:414) to a process function for dataflow in function 'image_filter'. Stack dump: 0. Running pass 'AutoPilot loop stream pass' on module 'C:/Users/ktum/Documents/Xilinx/mop_close/solution1/.autopilot/db/a.o.1.bc'. 0x00007FFB50F96BA9 (0x0000000000000012 0x000001A59B37F3C8 0x000000000000001B 0x000001A59FFEBDD0), ?save_object_ptr@?$pointer_oserializer@Vxml_oarchive@archive@boost@@VTransition@DBFsm@fsmd@@@detail@archive@boost@@EEBAXAEAVbasic_oarchive@234@PEBX@Z() + 0x2B3019 bytes(s) 0x00007FFB50A9953E (0x000001A59F97A688 0x000000000000000A 0x00000039DD2F4110 0x000001A59FFEBDD0), ?main@Syn@@YAHHPEAPEAD@Z() + 0x65408E bytes(s) 0x00007FFB50A9A998 (0x000001A593FB2AC0 0x000001A59E058510 0x000001A5FFFFFFFF 0x000001A59F971C88), ?main@Syn@@YAHHPEAPEAD@Z() + 0x6554E8 bytes(s) 0x00007FFB50A9AF10 (0x000001A59BC58C00 0x000001A598369700 0x0000000000000000 0x0000000000000000), ?main@Syn@@YAHHPEAPEAD@Z() + 0x655A60 bytes(s) 0x00007FFB50FB0007 (0x000001A598552940 0x000001A59459AA10 0x000001A598369700 0x000001A59B4FA860), ?save_object_ptr@?$pointer_oserializer@Vxml_oarchive@archive@boost@@VTransition@DBFsm@fsmd@@@detail@archive@boost@@EEBAXAEAVbasic_oarchive@234@PEBX@Z() + 0x2CC477 bytes(s) 0x00007FFB50FAF040 (0x000001A598552940 0x00000039DD2F4BD9 0x0000000000000000 0x0000000000000000), ?save_object_ptr@?$pointer_oserializer@Vxml_oarchive@archive@boost@@VTransition@DBFsm@fsmd@@@detail@archive@boost@@EEBAXAEAVbasic_oarchive@234@PEBX@Z() + 0x2CB4B0 bytes(s) 0x00007FFB503FAD3C (0x000000000001019D 0x00000039DD2F4BD9 0x00000000000041E0 0x00007FFB5160EB30) 0x00007FFB5377A564 (0x000001A591A1A580 0x0000000064532E12 0x000001A595FBCEB0 0x000001A5901A4570), ??1TclManager@xpcl@@QEAA@XZ() + 0x1F84 bytes(s) 0x00007FFB5377CD89 (0x00000000645B2B18 0x000000000000010E 0x000001A595B9E6A0 0x000000006457938C), ?setResultObj@TclCommand@xpcl@@QEAAXPEAUTcl_Obj@@@Z() + 0x49 bytes(s) 0x00000000644B0E50 (0x0000000000000000 0x000000000000010E 0x000001A596060070 0x000000000000010E), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1D9E (0x000001A5901A4570 0x000001A595B9E6A0 0x000000000000010E 0x000000000000010E), Tcl_EvalEx() + 0x99E bytes(s) 0x00000000644B2A28 (0x0000000000000000 0x000001A5901ACD78 0x0000000000000001 0x0000000000000002), TclEvalObjEx() + 0x348 bytes(s) 0x00000000644BA88A (0x0000000000000000 0x000001A5901A4570 0x000001A5901A4570 0x0000000000000000), TclDumpMemoryInfo() + 0x340A bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x0000000000000002 0x000001A5901ACD78 0x000001A5901ACD78), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A5944BB810 0x0000000000000000 0x000001A500000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x00000000644F4464 (0x0000000000000003 0x000001A5901A4570 0x0000000000000001 0x00000000645793CD), Tcl_ExprObj() + 0x634 bytes(s) 0x00000000644B2AA6 (0x00000039DD2F57C0 0x0000000000000000 0x000001A5901A4570 0x000001A593E77C80), TclEvalObjEx() + 0x3C6 bytes(s) 0x00000000644B26CD (0x000001A59403F910 0x000001A590128E70 0x0000000000000003 0x0000000064543290), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB537DB4CE (0x000001A5901A4570 0x000001A5901A4570 0x000001A59452FAF6 0x0000000000000000) 0x00000000644B0E50 (0x000001A500000000 0x0000000000000003 0x000001A5901ACD08 0x000001A5901ACD08), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A59452FA40 0x00000000002E317F 0x6666666600000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x00000000644F4464 (0x000001A595B9A140 0x000001A5901A4570 0x00000039DD2F5F68 0x0000000000000000), Tcl_ExprObj() + 0x634 bytes(s) 0x00000000644B2AA6 (0x000001A5901ACCC0 0x000001A5901A4570 0x0000000000000000 0x0000000000000002), TclEvalObjEx() + 0x3C6 bytes(s) 0x00000000644C909A (0x0000000000000000 0x000001A5901A4570 0x0000000000000000 0x000001A5901ACCB0), TclDumpMemoryInfo() + 0x11C1A bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x000001A500000002 0x000001A5901ACCA8 0x000001A5901ACCA8), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A594485A60 0x0000000000000000 0x0000000000000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x000000006453FED4 (0x0000000000000000 0x000001A5901A4570 0x0000000000000000 0x00000000645793CD), TclObjInterpProcCore() + 0x74 bytes(s) 0x00000000644B0E50 (0x0000000000000000 0x0000000000000004 0x000001A5901AC8E0 0x000001A5901AC8E0), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A595EB6130 0x0000000000000000 0x000001A500000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x00000000644F4464 (0x0000000000000003 0x000001A5901A4570 0x0000000000000001 0x000001A5901A4570), Tcl_ExprObj() + 0x634 bytes(s) 0x00000000644B2AA6 (0x000001A5946551D0 0x0000000000000000 0x000001A5901A4570 0x000001A593E77C80), TclEvalObjEx() + 0x3C6 bytes(s) 0x00000000644B26CD (0x000001A5901AC880 0x000001A590128E70 0x0000000000000003 0x0000000064543290), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB537DB4CE (0x000001A5901A4570 0x000001A5901A4570 0x000001A5947F97FE 0x0000000000000000) 0x00000000644B0E50 (0x000001A500000000 0x0411020100000003 0x000001A5901AC868 0x000001A5901AC868), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A5947F9700 0x0000000000000000 0x0000000000000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x000000006453FED4 (0x0000000000000000 0x000001A5901A4570 0x0000000000000000 0x0000000000000000), TclObjInterpProcCore() + 0x74 bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x0000000100000006 0x000001A5901AC6D8 0x000001A5901AC6D8), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A5947F9B00 0x0000000000000000 0x0000000000000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x000000006453FED4 (0x0000000000000000 0x000001A5901A4570 0x0000000000000000 0x00000039DD2F7DA0), TclObjInterpProcCore() + 0x74 bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x0000000000000001 0x000001A5901AC578 0x000001A5901AC578), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A596069D90 0x0000000000000000 0x000001A500000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x00000000644F4464 (0x0000000000000003 0x000001A5901A4570 0x000001A595B7FF10 0x00000039DD2F84F0), Tcl_ExprObj() + 0x634 bytes(s) 0x00000000644B2AA6 (0x00000039DD2F84F8 0x0000000000000000 0x000001A5901A4570 0x000001A594655830), TclEvalObjEx() + 0x3C6 bytes(s) 0x00000000644B26CD (0x000001A5901BAB50 0x000001A590128E70 0x0000000000000003 0x000001A595B7FF10), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB537DB4CE (0x000001A5901A4570 0x000001A5901A4570 0x000001A5901AC120 0x0000000000000000) 0x00000000644B0E50 (0x0000000000000000 0x0000000000000003 0x000001A5901AC3C0 0x0000000000000003), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1D9E (0x000001A5901A4570 0x000001A5937DADFC 0x0000000000000003 0x0000000000000003), Tcl_EvalEx() + 0x99E bytes(s) 0x0000000064535952 (0x000001A5901A4570 0x0000000000000002 0x0000000000000001 0x0000000000000000), Tcl_SubstObj() + 0x832 bytes(s) 0x00000000644B1991 (0x000001A5901A4570 0x000001A5937DAD00 0x0000000000000002 0x00007FFB00000002), Tcl_EvalEx() + 0x591 bytes(s) 0x00000000644B2638 (0x000001A592053320 0x000001A592053320 0x00000039DD2F8AC0 0x00007FFB511C4324), Tcl_Eval() + 0x38 bytes(s) 0x00007FFB503CD935 (0x000000000000F2BC 0x000000000000F2BC 0x000001A592053320 0x000000000000F2BC) 0x00007FFB5377A5B3 (0x000001A595B0D360 0x000001A595B7FDDD 0x0000000000000001 0x000001A5901A4570), ??1TclManager@xpcl@@QEAA@XZ() + 0x1FD3 bytes(s) 0x00007FFB5377CD89 (0x0000000000000000 0x000001A5901A4570 0x0000000000000000 0x00000000645793CD), ?setResultObj@TclCommand@xpcl@@QEAAXPEAUTcl_Obj@@@Z() + 0x49 bytes(s) 0x00000000644B0E50 (0x0000000000000000 0x000001A500000006 0x000001A5901ABCD8 0x000001A5901ABCD8), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A595CAA4C0 0x0000000000000000 0x0000000000000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x000000006453FED4 (0x0000000000000000 0x000001A5901A4570 0x0000000000000000 0x0000000000000000), TclObjInterpProcCore() + 0x74 bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x0000000000000001 0x000001A5901ABB18 0x000001A5901ABB18), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A595F7E210 0x0000000000000000 0x000001A500000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x00000000644F4464 (0x0000000000000003 0x000001A5901A4570 0x000001A595CCAFE0 0x00000039DD2F9B50), Tcl_ExprObj() + 0x634 bytes(s) 0x00000000644B2AA6 (0x00000039DD2F9B58 0x0000000000000000 0x000001A5901A4570 0x000001A593F8E8E0), TclEvalObjEx() + 0x3C6 bytes(s) 0x00000000644B26CD (0x000001A5901BAB50 0x000001A590128E70 0x0000000000000003 0x000001A595CCAFE0), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB537DB4CE (0x000001A5901A4570 0x000001A5901A4570 0x000001A5901AB6C0 0x0000000000000000) 0x00000000644B0E50 (0x0000000000000000 0x0000000000000003 0x000001A5901AB960 0x0000000000000003), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1D9E (0x000001A5901A4570 0x000001A595B037DC 0x0000000000000003 0x0000000000000003), Tcl_EvalEx() + 0x99E bytes(s) 0x0000000064535952 (0x000001A5901A4570 0x0000000000000002 0x0000000000000001 0x0000000000000000), Tcl_SubstObj() + 0x832 bytes(s) 0x00000000644B1991 (0x000001A5901A4570 0x000001A595B02E40 0x0000000000000002 0x00007FFB00000002), Tcl_EvalEx() + 0x591 bytes(s) 0x00000000644B2638 (0x000001A590209B20 0x000001A590209B20 0x00000039DD2FA120 0x00007FFB511C4324), Tcl_Eval() + 0x38 bytes(s) 0x00007FFB503CD935 (0x0000000000001030 0x0000000000001030 0x000001A590209B20 0x0000000000001030) 0x00007FFB5377A5B3 (0x0000000000000001 0x000001A595E8BE88 0x0000000000000001 0x000001A5901A4570), ??1TclManager@xpcl@@QEAA@XZ() + 0x1FD3 bytes(s) 0x00007FFB5377CD89 (0x0000000000000000 0x0000000000000001 0x000001A593F8BEB0 0x00000000645793CD), ?setResultObj@TclCommand@xpcl@@QEAAXPEAUTcl_Obj@@@Z() + 0x49 bytes(s) 0x00000000644B0E50 (0x0000000000000000 0x000000390000000A 0x000001A5901AB258 0x000001A5901AB258), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A595D56090 0x0000000000000000 0x0000000000000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x000000006453FED4 (0x0000000000000000 0x000001A5901A4570 0x0000000000000000 0x00000000645793CD), TclObjInterpProcCore() + 0x74 bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x0000000000000001 0x000001A5901AB0B8 0x000001A5901AB0B8), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A5940061D0 0x0000000000000000 0x000001A500000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x00000000644F4464 (0x0000000000000003 0x000001A5901A4570 0x000001A5940242E0 0x00000039DD2FB1B0), Tcl_ExprObj() + 0x634 bytes(s) 0x00000000644B2AA6 (0x00000039DD2FB1B8 0x0000000000000000 0x000001A5901A4570 0x000001A593F87EF0), TclEvalObjEx() + 0x3C6 bytes(s) 0x00000000644B26CD (0x000001A5901BAB50 0x000001A590128E70 0x0000000000000003 0x000001A5940242E0), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB537DB4CE (0x000001A5901A4570 0x000001A5901A4570 0x000001A5901AAC60 0x0000000000000000) 0x00000000644B0E50 (0x0000000000000000 0x0000000000000003 0x000001A5901AAF00 0x0000000000000003), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1D9E (0x000001A5901A4570 0x000001A5936F0F0F 0x0000000000000003 0x0000000000000003), Tcl_EvalEx() + 0x99E bytes(s) 0x0000000064535952 (0x000001A5901A4570 0x0000000000000002 0x0000000000000001 0x0000000000000000), Tcl_SubstObj() + 0x832 bytes(s) 0x00000000644B1991 (0x000001A5901A4570 0x000001A5936F0D20 0x0000000000000002 0x00007FFB00000002), Tcl_EvalEx() + 0x591 bytes(s) 0x00000000644B2638 (0x000001A590209D50 0x000001A590209D50 0x00000039DD2FB780 0x00007FFB511C4324), Tcl_Eval() + 0x38 bytes(s) 0x00007FFB503CD935 (0x0000000000001030 0x0000000000001030 0x000001A590209D50 0x0000000000001030) 0x00007FFB5377A5B3 (0x000001A592409130 0x0000000064532E12 0x000001A593F87290 0x000001A5901A4570), ??1TclManager@xpcl@@QEAA@XZ() + 0x1FD3 bytes(s) 0x00007FFB5377CD89 (0x000001A595C878B0 0x0000000000000000 0x0000000000000000 0x0000000000000002), ?setResultObj@TclCommand@xpcl@@QEAAXPEAUTcl_Obj@@@Z() + 0x49 bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x0000000000000001 0x000001A5901AA6E0 0x0000000000000001), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1D9E (0x000001A5901A4570 0x000001A593FEBEE0 0x000001A500000001 0x0000000000000001), Tcl_EvalEx() + 0x99E bytes(s) 0x000000006451A4F0 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), Tcl_FSEvalFileEx() + 0x250 bytes(s) 0x00007FFB503CA503 (0x0000000000000000 0x00000039DD2FBE39 0x0000000000000000 0xFFFFFFFFFFFFFFFE) 0x00007FFB503CCF6A (0x00000000000004ED 0x00000000000004ED 0x00007FFB51604310 0x00000000000004ED) 0x00007FFB5377A5B3 (0x000001A591A1EB90 0x0000000064532E12 0x000001A5938E9CA0 0x000001A5901A4570), ??1TclManager@xpcl@@QEAA@XZ() + 0x1FD3 bytes(s) 0x00007FFB5377CD89 (0x000001A5940EA0B0 0x00000000645521F0 0x000001A5940EA0B0 0x0000000000000001), ?setResultObj@TclCommand@xpcl@@QEAAXPEAUTcl_Obj@@@Z() + 0x49 bytes(s) 0x00000000644B0E50 (0x0000000000000000 0x0000000000000002 0x000001A5940EA0B0 0x0000000000000000), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1291 (0x000001A5938E9BE0 0x0000000000000002 0x0000000000000007 0x00000039DD2FC179), Tcl_EvalObjv() + 0x51 bytes(s) 0x00000000644B2837 (0x00000039DD2FC179 0x00000039DD2FC179 0x0000000000000000 0x0000000000000000), TclEvalObjEx() + 0x157 bytes(s) 0x00000000644B26CD (0x0000000000000000 0x000000000000003E 0x0000000000000000 0x0000000000000000), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB5F7145A2 (0x00000039DD2FC5C8 0x00000000644E317C 0x00000039DD2FC5C8 0xFFFFFFFFFFFFFFFF), Rdi_hlstasks_Init() + 0x2DF2 bytes(s) 0x00007FFB54325650 (0x000001A5901A4570 0x00000039DD2FC5C8 0x0000000000000000 0x00007FFB5F718668), ?eval_in_tcl_throw@task_manager@tcltasks@hdi@@SAHPEBD0_N@Z() + 0x250 bytes(s) 0x00007FFB54327EFE (0x00000000645B2B18 0x0000000000000002 0x000001A5901C3570 0x000000006457938C), ?retrieve_except_msg_instance@task_manager@tcltasks@hdi@@SA_NAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z() + 0x43E bytes(s) 0x00000000644B0E50 (0x0000000000000000 0x0000000000000002 0x000001A5901AA280 0x0000000000000002), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1D9E (0x000001A5901A4570 0x000001A5901C3570 0x0000000000000002 0x000001A500000002), Tcl_EvalEx() + 0x99E bytes(s) 0x00000000644B291E (0x0000000000000000 0x0000000000000000 0x0000000000000002 0x0000000000000004), TclEvalObjEx() + 0x23E bytes(s) 0x000000006453F1D9 (0x0000000000000001 0x000001A590196950 0x000001A5901A4570 0x000001A5901C04BC), TclObjGetFrame() + 0x339 bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x0000003900000004 0x000001A5901A9FB8 0x000001A5901A9FB8), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A5901C03E0 0x0000000000000000 0x0000000000000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x000000006453FED4 (0x0000000000000000 0x000001A5901A4570 0x0000000000000000 0x000000006455FF6B), TclObjInterpProcCore() + 0x74 bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x0000000000000002 0x000001A5901A9EC8 0x000001A5901A9EC8), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644F5688 (0x000001A5901A4570 0x000001A591A36370 0x0000000000000000 0x000001A500000000), Tcl_ExprObj() + 0x1858 bytes(s) 0x00000000644F4464 (0x0000000000000004 0x000001A5901A4570 0xFFFFFFFFFFFFFFFE 0x00000039DD2FD8E0), Tcl_ExprObj() + 0x634 bytes(s) 0x00000000644B2AA6 (0x00000039DD2FD9A8 0x0000000000000000 0x000001A5901A4570 0x000001A59019EF70), TclEvalObjEx() + 0x3C6 bytes(s) 0x00000000644B26CD (0x000001A59020C9C0 0x000001A590128E70 0x0000000000000004 0x000001A5901D2110), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB537DB4CE (0x000001A5901A4570 0x000001A5901A4570 0x000001A5901A9A70 0x0000000000000000) 0x00000000644B0E50 (0x0000000000000000 0x0000000000000004 0x000001A5901A9D10 0x0000000000000004), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1D9E (0x000001A5901A4570 0x000001A5901C068A 0x0000000000000004 0x0000000000000004), Tcl_EvalEx() + 0x99E bytes(s) 0x0000000064535952 (0x000001A5901A4570 0x0000000000000001 0x0000000000000001 0x0000000000000000), Tcl_SubstObj() + 0x832 bytes(s) 0x00000000644B1991 (0x000001A5901A4570 0x000001A5901C05E0 0x000001A500000001 0x0000000000000001), Tcl_EvalEx() + 0x591 bytes(s) 0x000000006451A4F0 (0x00000039DD2FDF10 0x0000000000000003 0x0000000000000000 0x0000000000000000), Tcl_FSEvalFileEx() + 0x250 bytes(s) 0x00007FFB537F7CCD (0x000001A592028A58 0x000001A591EDA590 0x000001A5901A4570 0x0000C1C152358408) 0x00007FFB537F73FC (0x00000039DD2FE3E8 0x000000C800000000 0x00000039DD2FE3E8 0xFFFFFFFFFFFFFFFF) 0x00007FFB54325650 (0x000001A5901A4570 0x00000039DD2FE3E8 0x0000000000000000 0x00007FFB539FBD98), ?eval_in_tcl_throw@task_manager@tcltasks@hdi@@SAHPEBD0_N@Z() + 0x250 bytes(s) 0x00007FFB54327EFE (0x000001A5901CB960 0x0000000000000008 0x00000039DD2FE5D0 0x000000C800000000), ?retrieve_except_msg_instance@task_manager@tcltasks@hdi@@SA_NAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z() + 0x43E bytes(s) 0x00000000644B0E50 (0x000001A500000000 0x000001A500000003 0x000001A5901CB960 0x0000000000000000), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1291 (0x000001A59019EA90 0x0000000000000003 0x0000000000000002 0x00000039DD2FE7F9), Tcl_EvalObjv() + 0x51 bytes(s) 0x00000000644B2837 (0x65636172746F6E00 0x00000039DD2FE7F9 0x000001A5901A4570 0x000001A591AA63D0), TclEvalObjEx() + 0x157 bytes(s) 0x00000000644B26CD (0x000001A59020CED0 0x0000000000000000 0x000001A59020CED0 0x0000000000000000), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB53815AA9 (0x000001A59020CED0 0x00000039DD2FE8B9 0x000001A59020CED0 0x0000000000000000), Java_ui_frmwork_commandi_undo() + 0xF909 bytes(s) 0x00007FFB53815BF5 (0x00000039DD2FE970 0x000001A591AA58D0 0x00000039DD2FE970 0x0000000000000000), Java_ui_frmwork_commandi_undo() + 0xFA55 bytes(s) 0x00007FFB5380DB95 (0x000001A591AA8220 0x000001A591AA8220 0x000000000000000B 0x000001A5901A4570), Java_ui_frmwork_commandi_undo() + 0x79F5 bytes(s) 0x00007FFB5380DE77 (0x000001A591AA1030 0x000000000000010E 0x00000039DD2FEFE8 0xFFFFFFFFFFFFFFFF), Java_ui_frmwork_commandi_undo() + 0x7CD7 bytes(s) 0x00007FFB54325650 (0x000001A5901A4570 0x00000039DD2FEFE8 0x0000000000000000 0x00007FFB53A018D8), ?eval_in_tcl_throw@task_manager@tcltasks@hdi@@SAHPEBD0_N@Z() + 0x250 bytes(s) 0x00007FFB54327EFE (0xFFFFFFFFFFFFFFFE 0x000000390000003E 0x00000039DD2FF1D0 0x000000C800000000), ?retrieve_except_msg_instance@task_manager@tcltasks@hdi@@SA_NAEAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z() + 0x43E bytes(s) 0x00000000644B0E50 (0x0000000000000000 0x000000000000000B 0x000001A5901D0C30 0x0000000000000000), Tcl_ListMathFuncs() + 0x590 bytes(s) 0x00000000644B1291 (0x000001A59019F690 0x000000000000000B 0x0000000000000001 0x00000039DD2FF3F9), Tcl_EvalObjv() + 0x51 bytes(s) 0x00000000644B2837 (0x00000039DD2FF3F9 0x00000039DD2FF3F9 0x0000000000000050 0x000001A5901A4570), TclEvalObjEx() + 0x157 bytes(s) 0x00000000644B26CD (0x000000000000000B 0x0000000000000000 0x000000000000000B 0x0000000000000000), Tcl_EvalObjEx() + 0x1D bytes(s) 0x00007FFB75754211 (0x0000000000000000 0x000001A59019EB50 0x000001A5901A4570 0x0000000000000000) 0x0000000064525A41 (0x0000000000000000 0x000001A590159400 0x000001A5901668F0 0x00007FFB7569432B), Tcl_Main() + 0x471 bytes(s) 0x00007FFB5434F893 (0x000001A590159400 0x0000000000000000 0x0000000000000000 0x0000000000000000), ?join@HCTNativeThread@@QEAAXXZ() + 0x83 bytes(s) 0x00007FFB75693FEF (0x00007FFB75731DB0 0x0000000000000000 0x0000000000000000 0x0000000000000000), _beginthreadex() + 0x107 bytes(s) 0x00007FFB75694196 (0x00007FFB75694094 0x000001A590172470 0x0000000000000000 0x0000000000000000), _endthreadex() + 0x192 bytes(s) 0x00007FFB7D4D8102 (0x00007FFB7D4D80E0 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x22 bytes(s) 0x00007FFB7F6BC5B4 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() + 0x34 bytes(s) @E [HLS-102] Encountered an internal error; For technical support on this issue, please visit http://www.xilinx.com/support. @I [LIC-101] Checked in feature [HLS]

 

Any idea what is causing this error and how to fix it?

 

0 Kudos
10 Replies
Xilinx Employee
Xilinx Employee
8,687 Views
Registered: ‎10-24-2013

Re: Internal error when using custom dilate/erode

Hi @ktum

 

I see that you are using 2015.3. Can you please try using 2015.4 and see if that helps?

If you see the same issue, please attach the project archive here?

Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Observer ktum
Observer
8,614 Views
Registered: ‎09-18-2015

Re: Internal error when using custom dilate/erode

 

@I [XFORM-712] Applying dataflow to function 'image_filter' (mop_close/src/top.cpp:3), detected/extracted 4 process function(s):
	 'hls::AXIvideo2Mat<8, 480, 640, 0>'
	 'Loop_1_proc'
	 'Loop_loop_height_proc'
	 'hls::Mat2AXIvideo<8, 480, 640, 0>'.
function-local metadata used in wrong function
metadata !{i8* %"col_buf[0].val[0][0]"}
  %"col_buf[0].val[0][0]" = alloca i8, align 1
function-local metadata used in wrong function
metadata !{i8* %"col_buf[0].val[1][0]"}
  %"col_buf[0].val[1][0]" = alloca i8, align 1
function-local metadata used in wrong function
metadata !{i8* %"col_buf[0].val[2][0]"}
  %"col_buf[0].val[2][0]" = alloca i8, align 1
Broken module found, compilation aborted!
R6025
- pure virtual function call
0 Kudos
Xilinx Employee
Xilinx Employee
8,560 Views
Registered: ‎10-24-2013

Re: Internal error when using custom dilate/erode

Hi @ktum

 

Can you please attach the project archive here?

Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Observer ktum
Observer
8,555 Views
Registered: ‎09-18-2015

Re: Internal error when using custom dilate/erode

Hi @vijayak,

 

Please find the project archive attached.

 

Thank you for your assistance!

0 Kudos
Xilinx Employee
Xilinx Employee
8,543 Views
Registered: ‎10-24-2013

Re: Internal error when using custom dilate/erode

Hi @ktum

 

I am able to reproduce the issue with 2016.1 internal build as well.

I will get back to you with my findings soon.

Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Xilinx Employee
Xilinx Employee
8,345 Views
Registered: ‎10-24-2013

Re: Internal error when using custom dilate/erode

Hi @ktum

Can you try disabling the data flow directive? I could get though the synthesis phase with that.

Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Observer ktum
Observer
8,340 Views
Registered: ‎09-18-2015

Re: Internal error when using custom dilate/erode

Hi @vijayak,

 

That way it works but the latency is considerably higher than it would be with the dataflow directive.

0 Kudos
Xilinx Employee
Xilinx Employee
8,335 Views
Registered: ‎10-24-2013

Re: Internal error when using custom dilate/erode

Hi @ktum

 

Yes, I agree with you. I filed a change request (CR#949794) for the factory to fix the internal error issue.

Till they fix, see if you can aviod using the data flow directive as a workaround.

Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Xilinx Employee
Xilinx Employee
5,859 Views
Registered: ‎10-24-2013

Re: Internal error when using custom dilate/erode

Hi @ktum

 

This issue is fixed in Vivado 2016.3 version.

Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
Observer ktum
Observer
4,330 Views
Registered: ‎09-18-2015

Re: Internal error when using custom dilate/erode

Thank you @vijayak!

0 Kudos