abimann
Member level 4
How to divide range of numbers from -32767 to +32767 and get according data from -1 to +1.
So i use signed core, reminder type both fractional and reminder too.
It is OK, when results must be 1 or more,but when result must be less then 1, that gave wrong number.
When result must be more then 1, quotient show right results in two's compliment digits (according to datasheet) . But !!! fractional part is mad, cannot use two's compliment digit conversion. when i divide any digit by 32767 (0111111111111111) and in fractional result is always equal to dividend. I try fractional part 32-bit width but no luck.
Why it doesnot work ? Does anyone meet this problem ?
So i use signed core, reminder type both fractional and reminder too.
It is OK, when results must be 1 or more,but when result must be less then 1, that gave wrong number.
When result must be more then 1, quotient show right results in two's compliment digits (according to datasheet) . But !!! fractional part is mad, cannot use two's compliment digit conversion. when i divide any digit by 32767 (0111111111111111) and in fractional result is always equal to dividend. I try fractional part 32-bit width but no luck.
Why it doesnot work ? Does anyone meet this problem ?