| Library: | Arithmetic |
| Introduced: | 2.0 Beta 22 |
| Appearance: |
This component divides two values coming in via the west inputs and outputs the quotient on the east output. The component is designed so that it can be cascaded with other dividers to provide support a dividend with more bits than is possible with a single divider: The upper input provides the upper dataBits bits of the dividend (if it is specified at all), and the rem bits provide the remainder, which can be fed as the upper input into another divider.
If the divisor is 0, then no division is performed (i.e., the divisor is assumed to be 1).
The magnitude of the remainder will always be between 0 and |divisor|-1, with a sign matching the divisor. The quotient will always be an integer so that:
If the quotient or remainder does not fit into dataBits bits, then only the lower dataBits bits will be reported. The component does not provide any method for accessing the upper dataBits bits of the quotient or remainder.
If either of the operands contains some floating bits or some error bits, then the component's outputs will be either entirely floating or entirely error values.
When the component is selected or being added,
Alt-0 through Alt-9 alter its Data Bits
property.
None.
Supports VHDL synthesis. Divider component synthesis is broken when upper input is not connected in signed mode.