07-14-2018 10:34 AM - edited 07-14-2018 10:35 AM
I was running 2d convolution example given by vivado. It contains two possible top level functions. I selected "filter11x11_orig".
The only change I did is "#define TEST_IMG_ROWS 8 #define TEST_IMG_COLS 8".
Rest entire code is same. But still co-simulation failed with following message.
ERROR: System received a signal named SIGSEGV and the program has to stop immediately! This signal was generated when a program tries to read or write outside the memory that is allocated for it, or to write memory that can only be read. Possible cause of this problem may be: 1) the depth setting of pointer type argument is much larger than it needed; 2)insufficient depth of array argument; 3)null pointer etc. Current execution stopped during CodeState = ENTER_WRAPC_PC. You can search CodeState variable name in apatb*.cpp file under ./sim/wrapc dir to locate the position. ERROR: [COSIM 212-379] Detected segmentation violation, please check C tb. ERROR: [COSIM 212-362] Aborting co-simulation: C TB post check failed. ERROR: [COSIM 212-4] *** C/RTL co-simulation finished: FAIL ***
Can anyone please help me?