doublechenchen

Simulation failed: SIGSEGV

0
阅读(4292)

Problem: when i use the csim to simulate the HLS , it turns out: 'simulation failed: SIGSEGV'

solution: 

 

IF the issue with large data that you are having is in the test bench part of the code so you should use malloc - read on the internet about stack and heap and allocations issues, it's something about that.IF the issue with large data that you are having is in the C code part to be synthesized (ie turned into RTL and BRAMs) then you should change your design as int data[480][640] will consume a lot of BRAMs. . you should use an alternative implementation for your design - or look into using dataflow and or array streaming.