diff options
Diffstat (limited to 'FPGA/top/top.bsf')
-rw-r--r-- | FPGA/top/top.bsf | 232 |
1 files changed, 232 insertions, 0 deletions
diff --git a/FPGA/top/top.bsf b/FPGA/top/top.bsf new file mode 100644 index 0000000..a89daec --- /dev/null +++ b/FPGA/top/top.bsf | |||
@@ -0,0 +1,232 @@ | |||
1 | /* | ||
2 | WARNING: Do NOT edit the input and output ports in this file in a text | ||
3 | editor if you plan to continue editing the block that represents it in | ||
4 | the Block Editor! File corruption is VERY likely to occur. | ||
5 | */ | ||
6 | /* | ||
7 | Copyright (C) 1991-2013 Altera Corporation | ||
8 | Your use of Altera Corporation's design tools, logic functions | ||
9 | and other software and tools, and its AMPP partner logic | ||
10 | functions, and any output files from any of the foregoing | ||
11 | (including device programming or simulation files), and any | ||
12 | associated documentation or information are expressly subject | ||
13 | to the terms and conditions of the Altera Program License | ||
14 | Subscription Agreement, Altera MegaCore Function License | ||
15 | Agreement, or other applicable license agreement, including, | ||
16 | without limitation, that your use is for the sole purpose of | ||
17 | programming logic devices manufactured by Altera and sold by | ||
18 | Altera or its authorized distributors. Please refer to the | ||
19 | applicable agreement for further details. | ||
20 | */ | ||
21 | (header "symbol" (version "1.2")) | ||
22 | (symbol | ||
23 | (rect 16 16 240 432) | ||
24 | (text "top" (rect 5 0 23 13)(font "Arial" (font_size 8))) | ||
25 | (text "inst" (rect 8 401 26 412)(font "Arial" )) | ||
26 | (port | ||
27 | (pt 0 32) | ||
28 | (input) | ||
29 | (text "clk" (rect 0 0 18 13)(font "Arial" (font_size 8))) | ||
30 | (text "clk" (rect 21 27 39 40)(font "Arial" (font_size 8))) | ||
31 | (line (pt 0 32)(pt 16 32)) | ||
32 | ) | ||
33 | (port | ||
34 | (pt 0 48) | ||
35 | (input) | ||
36 | (text "resetn" (rect 0 0 36 13)(font "Arial" (font_size 8))) | ||
37 | (text "resetn" (rect 21 43 57 56)(font "Arial" (font_size 8))) | ||
38 | (line (pt 0 48)(pt 16 48)) | ||
39 | ) | ||
40 | (port | ||
41 | (pt 0 64) | ||
42 | (input) | ||
43 | (text "speed_user[1..0]" (rect 0 0 95 13)(font "Arial" (font_size 8))) | ||
44 | (text "speed_user[1..0]" (rect 21 59 116 72)(font "Arial" (font_size 8))) | ||
45 | (line (pt 0 64)(pt 16 64)(line_width 3)) | ||
46 | ) | ||
47 | (port | ||
48 | (pt 0 80) | ||
49 | (input) | ||
50 | (text "fan_auto_user" (rect 0 0 82 13)(font "Arial" (font_size 8))) | ||
51 | (text "fan_auto_user" (rect 21 75 103 88)(font "Arial" (font_size 8))) | ||
52 | (line (pt 0 80)(pt 16 80)) | ||
53 | ) | ||
54 | (port | ||
55 | (pt 0 96) | ||
56 | (input) | ||
57 | (text "alarm_user" (rect 0 0 64 13)(font "Arial" (font_size 8))) | ||
58 | (text "alarm_user" (rect 21 91 85 104)(font "Arial" (font_size 8))) | ||
59 | (line (pt 0 96)(pt 16 96)) | ||
60 | ) | ||
61 | (port | ||
62 | (pt 0 112) | ||
63 | (input) | ||
64 | (text "hot" (rect 0 0 18 13)(font "Arial" (font_size 8))) | ||
65 | (text "hot" (rect 21 107 39 120)(font "Arial" (font_size 8))) | ||
66 | (line (pt 0 112)(pt 16 112)) | ||
67 | ) | ||
68 | (port | ||
69 | (pt 0 128) | ||
70 | (input) | ||
71 | (text "sound_high_level" (rect 0 0 99 13)(font "Arial" (font_size 8))) | ||
72 | (text "sound_high_level" (rect 21 123 120 136)(font "Arial" (font_size 8))) | ||
73 | (line (pt 0 128)(pt 16 128)) | ||
74 | ) | ||
75 | (port | ||
76 | (pt 224 32) | ||
77 | (output) | ||
78 | (text "speed[1..0]" (rect 0 0 63 13)(font "Arial" (font_size 8))) | ||
79 | (text "speed[1..0]" (rect 140 27 203 40)(font "Arial" (font_size 8))) | ||
80 | (line (pt 224 32)(pt 208 32)(line_width 3)) | ||
81 | ) | ||
82 | (port | ||
83 | (pt 224 48) | ||
84 | (output) | ||
85 | (text "fan_auto" (rect 0 0 50 13)(font "Arial" (font_size 8))) | ||
86 | (text "fan_auto" (rect 153 43 203 56)(font "Arial" (font_size 8))) | ||
87 | (line (pt 224 48)(pt 208 48)) | ||
88 | ) | ||
89 | (port | ||
90 | (pt 224 64) | ||
91 | (output) | ||
92 | (text "alarm" (rect 0 0 33 13)(font "Arial" (font_size 8))) | ||
93 | (text "alarm" (rect 170 59 203 72)(font "Arial" (font_size 8))) | ||
94 | (line (pt 224 64)(pt 208 64)) | ||
95 | ) | ||
96 | (port | ||
97 | (pt 224 80) | ||
98 | (output) | ||
99 | (text "hex7[6..0]" (rect 0 0 56 13)(font "Arial" (font_size 8))) | ||
100 | (text "hex7[6..0]" (rect 147 75 203 88)(font "Arial" (font_size 8))) | ||
101 | (line (pt 224 80)(pt 208 80)(line_width 3)) | ||
102 | ) | ||
103 | (port | ||
104 | (pt 224 96) | ||
105 | (output) | ||
106 | (text "hex6[6..0]" (rect 0 0 56 13)(font "Arial" (font_size 8))) | ||
107 | (text "hex6[6..0]" (rect 147 91 203 104)(font "Arial" (font_size 8))) | ||
108 | (line (pt 224 96)(pt 208 96)(line_width 3)) | ||
109 | ) | ||
110 | (port | ||
111 | (pt 224 112) | ||
112 | (output) | ||
113 | (text "hex5[6..0]" (rect 0 0 56 13)(font "Arial" (font_size 8))) | ||
114 | (text "hex5[6..0]" (rect 147 107 203 120)(font "Arial" (font_size 8))) | ||
115 | (line (pt 224 112)(pt 208 112)(line_width 3)) | ||
116 | ) | ||
117 | (port | ||
118 | (pt 224 128) | ||
119 | (output) | ||
120 | (text "hex4[6..0]" (rect 0 0 56 13)(font "Arial" (font_size 8))) | ||
121 | (text "hex4[6..0]" (rect 147 123 203 136)(font "Arial" (font_size 8))) | ||
122 | (line (pt 224 128)(pt 208 128)(line_width 3)) | ||
123 | ) | ||
124 | (port | ||
125 | (pt 224 144) | ||
126 | (output) | ||
127 | (text "hex3[6..0]" (rect 0 0 56 13)(font "Arial" (font_size 8))) | ||
128 | (text "hex3[6..0]" (rect 147 139 203 152)(font "Arial" (font_size 8))) | ||
129 | (line (pt 224 144)(pt 208 144)(line_width 3)) | ||
130 | ) | ||
131 | (port | ||
132 | (pt 224 160) | ||
133 | (output) | ||
134 | (text "hex2[6..0]" (rect 0 0 56 13)(font "Arial" (font_size 8))) | ||
135 | (text "hex2[6..0]" (rect 147 155 203 168)(font "Arial" (font_size 8))) | ||
136 | (line (pt 224 160)(pt 208 160)(line_width 3)) | ||
137 | ) | ||
138 | (port | ||
139 | (pt 224 176) | ||
140 | (output) | ||
141 | (text "hex1[6..0]" (rect 0 0 56 13)(font "Arial" (font_size 8))) | ||
142 | (text "hex1[6..0]" (rect 147 171 203 184)(font "Arial" (font_size 8))) | ||
143 | (line (pt 224 176)(pt 208 176)(line_width 3)) | ||
144 | ) | ||
145 | (port | ||
146 | (pt 224 192) | ||
147 | (output) | ||
148 | (text "hex0[6..0]" (rect 0 0 56 13)(font "Arial" (font_size 8))) | ||
149 | (text "hex0[6..0]" (rect 147 187 203 200)(font "Arial" (font_size 8))) | ||
150 | (line (pt 224 192)(pt 208 192)(line_width 3)) | ||
151 | ) | ||
152 | (port | ||
153 | (pt 224 208) | ||
154 | (output) | ||
155 | (text "fan" (rect 0 0 18 13)(font "Arial" (font_size 8))) | ||
156 | (text "fan" (rect 185 203 203 216)(font "Arial" (font_size 8))) | ||
157 | (line (pt 224 208)(pt 208 208)) | ||
158 | ) | ||
159 | (port | ||
160 | (pt 224 224) | ||
161 | (output) | ||
162 | (text "led_fan" (rect 0 0 42 13)(font "Arial" (font_size 8))) | ||
163 | (text "led_fan" (rect 161 219 203 232)(font "Arial" (font_size 8))) | ||
164 | (line (pt 224 224)(pt 208 224)) | ||
165 | ) | ||
166 | (port | ||
167 | (pt 224 240) | ||
168 | (output) | ||
169 | (text "xti_mclk" (rect 0 0 48 13)(font "Arial" (font_size 8))) | ||
170 | (text "xti_mclk" (rect 155 235 203 248)(font "Arial" (font_size 8))) | ||
171 | (line (pt 224 240)(pt 208 240)) | ||
172 | ) | ||
173 | (port | ||
174 | (pt 224 256) | ||
175 | (output) | ||
176 | (text "i2c_sdat" (rect 0 0 48 13)(font "Arial" (font_size 8))) | ||
177 | (text "i2c_sdat" (rect 155 251 203 264)(font "Arial" (font_size 8))) | ||
178 | (line (pt 224 256)(pt 208 256)) | ||
179 | ) | ||
180 | (port | ||
181 | (pt 224 272) | ||
182 | (output) | ||
183 | (text "i2c_sclk" (rect 0 0 47 13)(font "Arial" (font_size 8))) | ||
184 | (text "i2c_sclk" (rect 156 267 203 280)(font "Arial" (font_size 8))) | ||
185 | (line (pt 224 272)(pt 208 272)) | ||
186 | ) | ||
187 | (port | ||
188 | (pt 224 288) | ||
189 | (output) | ||
190 | (text "aud_bclk" (rect 0 0 53 13)(font "Arial" (font_size 8))) | ||
191 | (text "aud_bclk" (rect 150 283 203 296)(font "Arial" (font_size 8))) | ||
192 | (line (pt 224 288)(pt 208 288)) | ||
193 | ) | ||
194 | (port | ||
195 | (pt 224 304) | ||
196 | (output) | ||
197 | (text "aud_dacdat" (rect 0 0 67 13)(font "Arial" (font_size 8))) | ||
198 | (text "aud_dacdat" (rect 136 299 203 312)(font "Arial" (font_size 8))) | ||
199 | (line (pt 224 304)(pt 208 304)) | ||
200 | ) | ||
201 | (port | ||
202 | (pt 224 320) | ||
203 | (output) | ||
204 | (text "aud_daclrck" (rect 0 0 70 13)(font "Arial" (font_size 8))) | ||
205 | (text "aud_daclrck" (rect 133 315 203 328)(font "Arial" (font_size 8))) | ||
206 | (line (pt 224 320)(pt 208 320)) | ||
207 | ) | ||
208 | (port | ||
209 | (pt 224 336) | ||
210 | (output) | ||
211 | (text "aud_xck" (rect 0 0 49 13)(font "Arial" (font_size 8))) | ||
212 | (text "aud_xck" (rect 154 331 203 344)(font "Arial" (font_size 8))) | ||
213 | (line (pt 224 336)(pt 208 336)) | ||
214 | ) | ||
215 | (port | ||
216 | (pt 224 352) | ||
217 | (output) | ||
218 | (text "end_config" (rect 0 0 63 13)(font "Arial" (font_size 8))) | ||
219 | (text "end_config" (rect 140 347 203 360)(font "Arial" (font_size 8))) | ||
220 | (line (pt 224 352)(pt 208 352)) | ||
221 | ) | ||
222 | (port | ||
223 | (pt 224 368) | ||
224 | (output) | ||
225 | (text "end_tempo" (rect 0 0 64 13)(font "Arial" (font_size 8))) | ||
226 | (text "end_tempo" (rect 139 363 203 376)(font "Arial" (font_size 8))) | ||
227 | (line (pt 224 368)(pt 208 368)) | ||
228 | ) | ||
229 | (drawing | ||
230 | (rectangle (rect 16 16 208 400)) | ||
231 | ) | ||
232 | ) | ||