-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFinalProject.vhd.bak
51 lines (49 loc) · 1.44 KB
/
FinalProject.vhd.bak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;
entity FinalProject is
port (clk: in std_logic;
Sa, Sd, Se, Sf : in std_logic;
O1 : out std_logic_vector (0 to 6);
O2 : out std_logic_vector (0 to 6);
Ar, Ay, Ag, Br, By, Bg, Cr, Cy, Cg, Dg, Er, Ey, Eg, Fr, Fy, Fg : out std_logic;
);
end FinalProject;
architecture model of FinalProject is
component Timer60 is
port (clk: in std_logic;
count : out std_logic_vector (7 downto 0));
end component;
component Timer30 is
port (clk: in std_logic;
count : out std_logic_vector (7 downto 0));
end component;
component Timer20 is
port (clk: in std_logic;
count : out std_logic_vector (7 downto 0));
end component;
component Timer10 is
port (clk: in std_logic;
count : out std_logic_vector (7 downto 0));
end component;
component Timer5 is
port (clk: in std_logic;
count : out std_logic_vector (7 downto 0));
end component;
component Timer2 is
port (clk: in std_logic;
count : out std_logic_vector (7 downto 0));
end component;
component Timer1 is
port (clk: in std_logic;
count : out std_logic_vector (7 downto 0));
end component;
component HEXtoBCD is
port (A : in std_logic_vector (7 downto 0);
Z : out std_logic_vector (7 downto 0));
end component;
component BCDto7Seg is
port (A : in std_logic_vector (3 downto 0);
Z : out std_logic_vector (0 to 6));
end component;