Altera_Forum
Honored Contributor
12 years agoconversion of negative floating point number in binary using VHDL
I was literally stuck witha problem regarding the conversion of negative floating point number in binary and to write it in VHDL.For example the num is -0.8.when i convert it into binary it is like .11001100.since it is -ve i have to convert it into 2's complement and to provide the extra MSB bit.
My question is that how to represent it in VHDL without using that decimal point.Plz kindly help me in this regard.