PoC.arith.counter_gray
Todo
No documentation available.
Entity Declaration:
1 INIT : natural := 0 -- Initial/reset counter value
2 );
3 port (
4 clk : in std_logic;
5 rst : in std_logic; -- Reset to INIT value
6 inc : in std_logic; -- Increment
7 dec : in std_logic := '0'; -- Decrement
8 val : out std_logic_vector(BITS-1 downto 0); -- Value output
9 cry : out std_logic -- Carry output
10 );
11end entity arith_counter_gray;
12
13
14architecture rtl of arith_counter_gray is