Entities | |
behv | architecture |
Libraries | |
ieee |
Use Clauses | |
ieee.std_logic_1164.all | |
ieee.std_logic_unsigned.all |
Generics | |
n | natural := 2 |
number of bits of counter |
Ports | |
clk | in std_logic |
clock | |
clear | in std_logic |
clear counter | |
count | in std_logic |
count down | |
Q | out std_logic_vector ( n - 1 downto 0 ) |
counter value |