Entity arith_div
Block Diagram of arith_div
Implementation of a Non-Performing restoring divider with a configurable radix. The multi-cycle division is controlled by 'start' / 'rdy'. A new division is started by asserting 'start'. The result Q = A/D is available when 'rdy' returns to '1'. A division by zero is identified by output Z. The Q and R outputs are undefined in this case.
Name |
Type |
Default |
Description |
---|---|---|---|
A_BITS |
positive |
|
|
D_BITS |
positive |
|
|
RAPOW |
positive |
1 |
|
PIPELINED |
boolean |
false |
Computation Pipeline |
Name |
Type |
Direction |
Description |
---|---|---|---|
clk |
std_logic |
in |
|
rst |
std_logic |
in |
|
start |
std_logic |
in |
|
ready |
std_logic |
out |
|
A |
std_logic_vector |
in |
|
D |
std_logic_vector |
in |
|
Q |
std_logic_vector |
out |
|
R |
std_logic_vector |
out |
|
Z |
std_logic |
out |
Division by Zero |