Hi I too use DPI to call my C function from SV environment. I use two step for my simulations. I compile, elaborate and generate the snapshot in one step and simulate in the second step. In my compile script i use -c and -sv options and list both SV and C files using -f option. I am using 15.22-s005 version. I belive your issue could be something realted to environment than to the code itself.
↧