How do we divide a/b
without using division operation? As my hardware IP does not support division instruction, we use library function to do the division and hence takes a lot of cycles. If I want this division in a fast data path, is there a way to do this using some scaled multiplication operation.
Note both and a and b are unsigned 32-bit integers. And we are not interested in the floating-point operation, hence we can ignore the decimal part of the division.
Note b here have some fixed values which are pre-known to us.