1 |
2 |
arniml |
-------------------------------------------------------------------------------
|
2 |
|
|
--
|
3 |
107 |
arniml |
-- $Id: t400_system_comp_pack-p.vhd,v 1.4 2006-06-05 20:02:46 arniml Exp $
|
4 |
2 |
arniml |
--
|
5 |
|
|
-- Copyright (c) 2006, Arnim Laeuger (arniml@opencores.org)
|
6 |
|
|
--
|
7 |
|
|
-- All rights reserved
|
8 |
|
|
--
|
9 |
|
|
-------------------------------------------------------------------------------
|
10 |
|
|
|
11 |
|
|
library ieee;
|
12 |
|
|
use ieee.std_logic_1164.all;
|
13 |
|
|
|
14 |
|
|
use work.t400_opt_pack.all;
|
15 |
|
|
|
16 |
|
|
package t400_system_comp_pack is
|
17 |
|
|
|
18 |
|
|
component t410_notri
|
19 |
|
|
generic (
|
20 |
|
|
opt_ck_div_g : integer := t400_opt_ck_div_16_c;
|
21 |
|
|
opt_cko_g : integer := t400_opt_cko_crystal_c;
|
22 |
|
|
opt_l_out_type_7_g : integer := t400_opt_out_type_std_c;
|
23 |
|
|
opt_l_out_type_6_g : integer := t400_opt_out_type_std_c;
|
24 |
|
|
opt_l_out_type_5_g : integer := t400_opt_out_type_std_c;
|
25 |
|
|
opt_l_out_type_4_g : integer := t400_opt_out_type_std_c;
|
26 |
|
|
opt_l_out_type_3_g : integer := t400_opt_out_type_std_c;
|
27 |
|
|
opt_l_out_type_2_g : integer := t400_opt_out_type_std_c;
|
28 |
|
|
opt_l_out_type_1_g : integer := t400_opt_out_type_std_c;
|
29 |
|
|
opt_l_out_type_0_g : integer := t400_opt_out_type_std_c;
|
30 |
|
|
opt_d_out_type_3_g : integer := t400_opt_out_type_std_c;
|
31 |
|
|
opt_d_out_type_2_g : integer := t400_opt_out_type_std_c;
|
32 |
|
|
opt_d_out_type_1_g : integer := t400_opt_out_type_std_c;
|
33 |
|
|
opt_d_out_type_0_g : integer := t400_opt_out_type_std_c;
|
34 |
|
|
opt_g_out_type_3_g : integer := t400_opt_out_type_std_c;
|
35 |
|
|
opt_g_out_type_2_g : integer := t400_opt_out_type_std_c;
|
36 |
|
|
opt_g_out_type_1_g : integer := t400_opt_out_type_std_c;
|
37 |
|
|
opt_g_out_type_0_g : integer := t400_opt_out_type_std_c;
|
38 |
|
|
opt_so_output_type_g : integer := t400_opt_out_type_std_c;
|
39 |
|
|
opt_sk_output_type_g : integer := t400_opt_out_type_std_c
|
40 |
|
|
);
|
41 |
|
|
port (
|
42 |
|
|
ck_i : in std_logic;
|
43 |
|
|
ck_en_i : in std_logic;
|
44 |
|
|
reset_n_i : in std_logic;
|
45 |
|
|
cko_i : in std_logic;
|
46 |
|
|
io_l_i : in std_logic_vector(7 downto 0);
|
47 |
|
|
io_l_o : out std_logic_vector(7 downto 0);
|
48 |
|
|
io_l_en_o : out std_logic_vector(7 downto 0);
|
49 |
|
|
io_d_o : out std_logic_vector(3 downto 0);
|
50 |
|
|
io_d_en_o : out std_logic_vector(3 downto 0);
|
51 |
|
|
io_g_i : in std_logic_vector(3 downto 0);
|
52 |
|
|
io_g_o : out std_logic_vector(3 downto 0);
|
53 |
|
|
io_g_en_o : out std_logic_vector(3 downto 0);
|
54 |
|
|
si_i : in std_logic;
|
55 |
|
|
so_o : out std_logic;
|
56 |
|
|
so_en_o : out std_logic;
|
57 |
|
|
sk_o : out std_logic;
|
58 |
|
|
sk_en_o : out std_logic
|
59 |
|
|
);
|
60 |
|
|
end component;
|
61 |
|
|
|
62 |
|
|
component t411
|
63 |
|
|
generic (
|
64 |
|
|
opt_ck_div_g : integer := t400_opt_ck_div_16_c;
|
65 |
|
|
opt_l_out_type_7_g : integer := t400_opt_out_type_std_c;
|
66 |
|
|
opt_l_out_type_6_g : integer := t400_opt_out_type_std_c;
|
67 |
|
|
opt_l_out_type_5_g : integer := t400_opt_out_type_std_c;
|
68 |
|
|
opt_l_out_type_4_g : integer := t400_opt_out_type_std_c;
|
69 |
|
|
opt_l_out_type_3_g : integer := t400_opt_out_type_std_c;
|
70 |
|
|
opt_l_out_type_2_g : integer := t400_opt_out_type_std_c;
|
71 |
|
|
opt_l_out_type_1_g : integer := t400_opt_out_type_std_c;
|
72 |
|
|
opt_l_out_type_0_g : integer := t400_opt_out_type_std_c;
|
73 |
|
|
opt_d_out_type_1_g : integer := t400_opt_out_type_std_c;
|
74 |
|
|
opt_d_out_type_0_g : integer := t400_opt_out_type_std_c;
|
75 |
|
|
opt_g_out_type_2_g : integer := t400_opt_out_type_std_c;
|
76 |
|
|
opt_g_out_type_1_g : integer := t400_opt_out_type_std_c;
|
77 |
|
|
opt_g_out_type_0_g : integer := t400_opt_out_type_std_c;
|
78 |
|
|
opt_so_output_type_g : integer := t400_opt_out_type_std_c;
|
79 |
|
|
opt_sk_output_type_g : integer := t400_opt_out_type_std_c
|
80 |
|
|
);
|
81 |
|
|
port (
|
82 |
|
|
ck_i : in std_logic;
|
83 |
|
|
ck_en_i : in std_logic;
|
84 |
|
|
reset_n_i : in std_logic;
|
85 |
|
|
si_i : in std_logic;
|
86 |
|
|
so_o : out std_logic;
|
87 |
|
|
sk_o : out std_logic;
|
88 |
|
|
io_l_b : inout std_logic_vector(7 downto 0);
|
89 |
|
|
io_d_o : out std_logic_vector(1 downto 0);
|
90 |
|
|
io_g_b : inout std_logic_vector(2 downto 0)
|
91 |
|
|
);
|
92 |
|
|
end component;
|
93 |
|
|
|
94 |
14 |
arniml |
component t420_notri
|
95 |
|
|
generic (
|
96 |
|
|
opt_ck_div_g : integer := t400_opt_ck_div_16_c;
|
97 |
|
|
opt_cko_g : integer := t400_opt_cko_crystal_c;
|
98 |
|
|
opt_l_out_type_7_g : integer := t400_opt_out_type_std_c;
|
99 |
|
|
opt_l_out_type_6_g : integer := t400_opt_out_type_std_c;
|
100 |
|
|
opt_l_out_type_5_g : integer := t400_opt_out_type_std_c;
|
101 |
|
|
opt_l_out_type_4_g : integer := t400_opt_out_type_std_c;
|
102 |
|
|
opt_l_out_type_3_g : integer := t400_opt_out_type_std_c;
|
103 |
|
|
opt_l_out_type_2_g : integer := t400_opt_out_type_std_c;
|
104 |
|
|
opt_l_out_type_1_g : integer := t400_opt_out_type_std_c;
|
105 |
|
|
opt_l_out_type_0_g : integer := t400_opt_out_type_std_c;
|
106 |
107 |
arniml |
opt_microbus_g : integer := t400_opt_no_microbus_c;
|
107 |
14 |
arniml |
opt_d_out_type_3_g : integer := t400_opt_out_type_std_c;
|
108 |
|
|
opt_d_out_type_2_g : integer := t400_opt_out_type_std_c;
|
109 |
|
|
opt_d_out_type_1_g : integer := t400_opt_out_type_std_c;
|
110 |
|
|
opt_d_out_type_0_g : integer := t400_opt_out_type_std_c;
|
111 |
|
|
opt_g_out_type_3_g : integer := t400_opt_out_type_std_c;
|
112 |
|
|
opt_g_out_type_2_g : integer := t400_opt_out_type_std_c;
|
113 |
|
|
opt_g_out_type_1_g : integer := t400_opt_out_type_std_c;
|
114 |
|
|
opt_g_out_type_0_g : integer := t400_opt_out_type_std_c;
|
115 |
|
|
opt_so_output_type_g : integer := t400_opt_out_type_std_c;
|
116 |
|
|
opt_sk_output_type_g : integer := t400_opt_out_type_std_c
|
117 |
|
|
);
|
118 |
|
|
port (
|
119 |
|
|
ck_i : in std_logic;
|
120 |
|
|
ck_en_i : in std_logic;
|
121 |
|
|
reset_n_i : in std_logic;
|
122 |
|
|
cko_i : in std_logic;
|
123 |
|
|
io_l_i : in std_logic_vector(7 downto 0);
|
124 |
|
|
io_l_o : out std_logic_vector(7 downto 0);
|
125 |
|
|
io_l_en_o : out std_logic_vector(7 downto 0);
|
126 |
|
|
io_d_o : out std_logic_vector(3 downto 0);
|
127 |
|
|
io_d_en_o : out std_logic_vector(3 downto 0);
|
128 |
|
|
io_g_i : in std_logic_vector(3 downto 0);
|
129 |
|
|
io_g_o : out std_logic_vector(3 downto 0);
|
130 |
|
|
io_g_en_o : out std_logic_vector(3 downto 0);
|
131 |
|
|
io_in_i : in std_logic_vector(3 downto 0);
|
132 |
|
|
si_i : in std_logic;
|
133 |
|
|
so_o : out std_logic;
|
134 |
|
|
so_en_o : out std_logic;
|
135 |
|
|
sk_o : out std_logic;
|
136 |
|
|
sk_en_o : out std_logic
|
137 |
|
|
);
|
138 |
|
|
end component;
|
139 |
|
|
|
140 |
|
|
component t420
|
141 |
|
|
generic (
|
142 |
|
|
opt_ck_div_g : integer := t400_opt_ck_div_16_c;
|
143 |
55 |
arniml |
opt_cko_g : integer := t400_opt_cko_crystal_c;
|
144 |
14 |
arniml |
opt_l_out_type_7_g : integer := t400_opt_out_type_std_c;
|
145 |
|
|
opt_l_out_type_6_g : integer := t400_opt_out_type_std_c;
|
146 |
|
|
opt_l_out_type_5_g : integer := t400_opt_out_type_std_c;
|
147 |
|
|
opt_l_out_type_4_g : integer := t400_opt_out_type_std_c;
|
148 |
|
|
opt_l_out_type_3_g : integer := t400_opt_out_type_std_c;
|
149 |
|
|
opt_l_out_type_2_g : integer := t400_opt_out_type_std_c;
|
150 |
|
|
opt_l_out_type_1_g : integer := t400_opt_out_type_std_c;
|
151 |
|
|
opt_l_out_type_0_g : integer := t400_opt_out_type_std_c;
|
152 |
107 |
arniml |
opt_microbus_g : integer := t400_opt_no_microbus_c;
|
153 |
14 |
arniml |
opt_d_out_type_1_g : integer := t400_opt_out_type_std_c;
|
154 |
|
|
opt_d_out_type_0_g : integer := t400_opt_out_type_std_c;
|
155 |
|
|
opt_g_out_type_2_g : integer := t400_opt_out_type_std_c;
|
156 |
|
|
opt_g_out_type_1_g : integer := t400_opt_out_type_std_c;
|
157 |
|
|
opt_g_out_type_0_g : integer := t400_opt_out_type_std_c;
|
158 |
|
|
opt_so_output_type_g : integer := t400_opt_out_type_std_c;
|
159 |
|
|
opt_sk_output_type_g : integer := t400_opt_out_type_std_c
|
160 |
|
|
);
|
161 |
|
|
port (
|
162 |
|
|
ck_i : in std_logic;
|
163 |
|
|
ck_en_i : in std_logic;
|
164 |
|
|
reset_n_i : in std_logic;
|
165 |
55 |
arniml |
cko_i : in std_logic;
|
166 |
14 |
arniml |
io_l_b : inout std_logic_vector(7 downto 0);
|
167 |
|
|
io_d_o : out std_logic_vector(3 downto 0);
|
168 |
|
|
io_g_b : inout std_logic_vector(3 downto 0);
|
169 |
|
|
io_in_i : in std_logic_vector(3 downto 0);
|
170 |
|
|
si_i : in std_logic;
|
171 |
|
|
so_o : out std_logic;
|
172 |
|
|
sk_o : out std_logic
|
173 |
|
|
);
|
174 |
|
|
end component;
|
175 |
|
|
|
176 |
2 |
arniml |
end t400_system_comp_pack;
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
-------------------------------------------------------------------------------
|
180 |
|
|
-- File History:
|
181 |
|
|
--
|
182 |
|
|
-- $Log: not supported by cvs2svn $
|
183 |
107 |
arniml |
-- Revision 1.3 2006/05/23 01:16:19 arniml
|
184 |
|
|
-- routi CKO to t400_core
|
185 |
|
|
--
|
186 |
55 |
arniml |
-- Revision 1.2 2006/05/14 22:29:33 arniml
|
187 |
|
|
-- t420 hierarchies added
|
188 |
|
|
--
|
189 |
14 |
arniml |
-- Revision 1.1.1.1 2006/05/06 01:56:45 arniml
|
190 |
|
|
-- import from local CVS repository, LOC_CVS_0_1
|
191 |
|
|
--
|
192 |
2 |
arniml |
-------------------------------------------------------------------------------
|