PoC.arith.bcdcollect¶
Todo
No documentation available.
Entity Declaration:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | entity arith_bcdcollect is
generic (
BITS : natural := 0; -- Maximum Number of Input Bits
-- Zero (0): unspecified
-- -> practical limit by bcd'length
FRACTION : boolean := false -- Binary Fractional Input
);
port (
-- Clock
clk : in std_logic;
-- Functional Interface
rst : in std_logic;-- Reset Value to Zero (0)
bin : in std_logic;-- Sequential Binary Input, last digit at binary point:
-- Integer Input: MSB first, Fractional Input: LSB first
ena : in std_logic;-- Input Enable
bcd : out t_bcd_vector -- Parallel BCD Output, most-significant digit left
);
end arith_bcdcollect;
|