-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlist_internal_pins
52 lines (45 loc) · 1.08 KB
/
list_internal_pins
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
entity elevator is
port (
CLK,RESET,S: in std_logic;
B: in std_logic_vector(3 downto 0);
SENSE,MOTOR,DOOR,FLOOR,TARGET: out std_logic
);
end elevator;
-- COMPARATOR ------------------------
component comparator is
port (
floor,target: in unsigned(1 downto 0);
sense,motor: out std_logic
);
end component;
-- REGISTER --------------------------
component register2 is
port (
reset,clk,enable : in std_logic;
input : in std_logic_vector(1 downto 0);
output : out std_logic_vector(1 downto 0)
);
end component;
-- EDGE DETECTOR ---------------------
component edge_det is
port (
input,clk,reset : in std_logic;
output : out std_logic
);
end component;
-- ENCODER ---------------------------
component encoder4 is
port (
input : in std_logic_vector(3 downto 0);
output : out std_logic_vector(1 downto 0);
act : out std_logic
);
end component;
-- COUNTER ---------------------------
component counter3 is
port (
sensor,reset,clk,enable,sense: in std_logic;
count : out unsigned(1 downto 0);
carry_out : out std_logic
);
end component;