abdoo
Newbie level 5
Hi all,
I'm new in using DPI methodology to import C function with ModelSim
I'm writing a SystemVerilog code that generate sine wave it useid "sin" function that i had imported using :
import "DPI-C" pure function real sin (input real rTheta);
but i'm when simulating my code the tool did not found the "sin" function":
Failed to find user specified function 'log' in DPI precompiled library search list "C:/modeltech_10.1c/uvm-1.1b\win32\uvm_dpi.dll
may i need a C compiler to be intalled
I'm new in using DPI methodology to import C function with ModelSim
I'm writing a SystemVerilog code that generate sine wave it useid "sin" function that i had imported using :
import "DPI-C" pure function real sin (input real rTheta);
but i'm when simulating my code the tool did not found the "sin" function":
Failed to find user specified function 'log' in DPI precompiled library search list "C:/modeltech_10.1c/uvm-1.1b\win32\uvm_dpi.dll
may i need a C compiler to be intalled