Sara
02-22-2007, 04:48 AM
HI
http://forums.parallax.com/images/smilies/rolleyes.gif·http://forums.parallax.com/images/smilies/rolleyes.gif·http://forums.parallax.com/images/smilies/rolleyes.gif
I have problem with VHDL code how can i use number like 21,42333 as integer· in VHDL to calculate this
equation:
q=tan-1(sin (x-y)/(cos z*tan d - sin z *cos(x-y))
all values x,y,z,d is input must be in integer·
http://forums.parallax.com/images/smilies/smhair.gif·http://forums.parallax.com/images/smilies/smhair.gif http://forums.parallax.com/images/smilies/smhair.gif http://forums.parallax.com/images/smilies/shocked.gif http://forums.parallax.com/images/smilies/shocked.gif http://forums.parallax.com/images/smilies/shocked.gif
http://forums.parallax.com/images/smilies/rolleyes.gif·http://forums.parallax.com/images/smilies/rolleyes.gif·http://forums.parallax.com/images/smilies/rolleyes.gif
I have problem with VHDL code how can i use number like 21,42333 as integer· in VHDL to calculate this
equation:
q=tan-1(sin (x-y)/(cos z*tan d - sin z *cos(x-y))
all values x,y,z,d is input must be in integer·
http://forums.parallax.com/images/smilies/smhair.gif·http://forums.parallax.com/images/smilies/smhair.gif http://forums.parallax.com/images/smilies/smhair.gif http://forums.parallax.com/images/smilies/shocked.gif http://forums.parallax.com/images/smilies/shocked.gif http://forums.parallax.com/images/smilies/shocked.gif