verilog code instructions

Status
Not open for further replies.

noura7

Member level 2
Joined
Apr 19, 2010
Messages
52
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
tunisia
Activity points
1,589
hi all,

Please can any one help me how can i write these equations with verilog code instructions:

"sum = d1*1.9821 + d2*1.5040 + d3*0.4131 ;

sum1 = d1 + d3*(-3.6139e-4) + d4 + (-d5) ; "

thanks a lot

noura
 

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