importing math functions from c to sv through DPI

Status
Not open for further replies.

samia23

Newbie level 1
Joined
Jan 17, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,285
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
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…