dipin
Full Member level 4
- Joined
- Jul 16, 2014
- Messages
- 223
- Helped
- 14
- Reputation
- 28
- Reaction score
- 14
- Trophy points
- 18
- Activity points
- 1,731
Both Alters and Xilinx support the / function for constants and 2^n numbers.
If your application is (VERY) low speed you can also implement a purely combinatorial divider with a custom function.
the thing is division operator circuit is too big and complex . so i dont want to use that and i dont want to use any ip core too.can any one give me some logic......
Floating point in an FPGA? Talk about a huge complex circuit. Now let's not use a core and write one yourself? If the OP needs to use floating point and they don't want a big circuit they should do whatever it is they are trying to do in a processor instead of an FPGA.For fractional division you can use floating point methods.
I already recommened using non-restoring division in #4.You can use methods like restoring or non-restoring division.
Floating point in an FPGA? Talk about a huge complex circuit.
If you want to get x/y as a fractional number, you'll do an integer calculation 2^n*x/y, in other words append n zeros to the right of x. 1/y simplifies to 2^n/y. The remainder will be discarded.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?