samia23
Newbie level 1
Hey,
im trying to import the square root function from math lib of c to system verilog through DPI. im using the starter edition of Modelsim provided by Altera and have linked it with MinGw. i have tried importing a simple hello task and it worked but when trying to import the sqrt function, im not getting proper results.
this is very important to me as it is a part of my project which is due next week.:sad:
please help me out!!!
thanks
im trying to import the square root function from math lib of c to system verilog through DPI. im using the starter edition of Modelsim provided by Altera and have linked it with MinGw. i have tried importing a simple hello task and it worked but when trying to import the sqrt function, im not getting proper results.
this is very important to me as it is a part of my project which is due next week.:sad:
please help me out!!!
thanks