In reply to chr_sue:
Hi dave, chr_sue
i think there is a misundrstood, ModelSIM does not found sin, cos, log, or any mathematical function i had used in my code, the uvm-1.1b\win32\uvm_dpi.dll exist and not empty but the math function i’m using is not integrated in the DLL.
i had used the following command to import “sin” generation function into my code:
import “DPI-C” pure function real sin(input real rTheta);
i had downloaded uvm_1.2,
i think i need to compile the $UVM_HOME/src/dpi/uvm_dpi.cc, i will try this(try to adapt this to ModelSim10.1c) and hope this work:
For Windows (win32):
cd $UVM_HOME/examples
setenv MTI_HOME /u/release/10.0a/questasim/
make -f Makefile.questa dpi_libWin
mkdir -p …/lib
c:/QuestaSim_10.0a/gcc-4.2.1-mingw32vc9/bin/g++.exe
-g -DQUESTA -W -shared
-Bsymbolic -Ic:/QuestaSim_10.0a/include
…/src/dpi/uvm_dpi.cc -o
…/lib/uvm_dpi.dll
c:/QuestaSim_10.0a/win32/mtipli.dll -lregex
i may need gcc, but i do not know the exact command to do this
Regards,