summaryrefslogtreecommitdiffstats
path: root/part_2/ex5/simulation/modelsim/rtl_work/counter_8/_primary.vhd
blob: 0dd84bc32d5f44956f9893e0c6a0e6feb40be4ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
library verilog;
use verilog.vl_types.all;
entity counter_8 is
    generic(
        BIT_SZ          : integer := 8
    );
    port(
        clock           : in     vl_logic;
        enable          : in     vl_logic;
        count           : out    vl_logic_vector
    );
    attribute mti_svvh_generic_type : integer;
    attribute mti_svvh_generic_type of BIT_SZ : constant is 1;
end counter_8;