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