kaushiksangam
Newbie level 6
vhdl real to integer
I want to convert real numbers to integer numbers in VHDL.
The real numbers that I am using are between -1 and +1. For example I would like to convert the number -0.67857 to a 18 bit signed representation.
Can someone please help me otu with this.
I want to convert real numbers to integer numbers in VHDL.
The real numbers that I am using are between -1 and +1. For example I would like to convert the number -0.67857 to a 18 bit signed representation.
Can someone please help me otu with this.