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