Good morning, I have just implemented a multiplication between two numbers, and before that, I normalized them by multiplying each of them by a power of 2. However, the result of the multiplication needs to be adjusted by dividing it by a power of 2. I've attempted to implement a division, but it appears that the result will be a floating-point number, and I'll need to round it up to the nearest integer. Can anyone assist me with this?

Please, show us the code you've written and simulated so far.

Mariana D. wrote: > I have just implemented a multiplication On what hardware? With which HDL? > dividing it by a power of 2 Fairly simple: don't use the LSB.

**Please log in before posting. Registration is free and takes only a minute.**

**Existing account**

**No account?**Register here.