Does anyone have the algorithm or VHDL code that
will implement a fixed-point divider?
In my case, I have two integer numbers.
numerator = 15-bit signed
denominator = 15-bit unsigned.
By construction, the magnitude of numerator will always be less than magnitude of denominator.
Ideally would like the results in Signed 15-bit decimal output format of 1.14 where the MSB is the sign bit, and
the 14 LSB is the fractional value (not remainder).
I will then add half scale to convert this to
an unsigned decimal format of 1.14
will implement a fixed-point divider?
In my case, I have two integer numbers.
numerator = 15-bit signed
denominator = 15-bit unsigned.
By construction, the magnitude of numerator will always be less than magnitude of denominator.
Ideally would like the results in Signed 15-bit decimal output format of 1.14 where the MSB is the sign bit, and
the 14 LSB is the fractional value (not remainder).
I will then add half scale to convert this to
an unsigned decimal format of 1.14