nc仿真突然挂掉
打印
ncsim : *e sigusr: unix sigfpe raised from user application code
然后就退出了
之前的环境都是运行稳定的
ncsim/sigusr =
The Unix signal indicated occurred either in user application code
(for example, SystemC, PLI/VPI/VHPI/FMI application or DPI import
function), or in code called from user application code. The user
should use a C/C++ debugger to find the source of the issue and
correct. The recommended method is to either use Simvision or
manually debug the issue and
- make sure your source code is compiled with -g
- use debugger associated with compiler on ncelab/ncsim
executable
- set a breakpoint on the function nc_signal_raised
gdb: break nc_signal_raised
dbx: stop in nc_signal_raised
- For gdb, handle signals with nostop, noprint to avoid
seeing ncelab/ncsim use of Unix signals:
handle SIGBUS SIGSEGV SIGFPE SIGILL SIGALRM nostop noprint