DPI import function not found

,

In reply to zz8318:

Please change:

  • “uint32” in SV to “int unsigned”. SV doesn’t understand “uint32” type.
  • “uint32” in C to “unsigned int” (or keep it if you have this type in C)

I create an example for you, it works: