vijayalaxmi
Newbie level 1
i want to know a synthesizable code to find the value of....
for eg. x to the power of y , where x is an integer and y is a real number ,like
2 to the power of 0.5.
i tried with ** operator,like defining x and y as integer and real data types respectively and z as areal data type .given the exp. z<="**"(x,y),
where "**" is a predefined function in math_real package in ieee library.
but real data types are not synthesizable.
so,plz someone help me in this regard.
for eg. x to the power of y , where x is an integer and y is a real number ,like
2 to the power of 0.5.
i tried with ** operator,like defining x and y as integer and real data types respectively and z as areal data type .given the exp. z<="**"(x,y),
where "**" is a predefined function in math_real package in ieee library.
but real data types are not synthesizable.
so,plz someone help me in this regard.