importing function from math lib of C to system verilog using DPI and Modelsim

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
Visit site
Activity points
1,285
hi

i am trying to call the sqrt function in c language to system verilog using DPI but for sum reason the value taken in is always zero...

can anyone help me out?

thanks loads in advance
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…