diff options
author | Pacien TRAN-GIRARD | 2014-04-11 21:07:18 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-04-11 21:07:18 +0200 |
commit | 2a1b2c866bb630038100a150ee5da976f551e072 (patch) | |
tree | 1c4be1030bc807333ae16f02b4299c92879c64cc /FPGA/commande/commande.bdf | |
parent | 114850276c3719fd12a4413794943485e1eb7483 (diff) | |
download | fpga-home-automation-2a1b2c866bb630038100a150ee5da976f551e072.tar.gz |
Add "commande" module
Diffstat (limited to 'FPGA/commande/commande.bdf')
-rw-r--r-- | FPGA/commande/commande.bdf | 366 |
1 files changed, 366 insertions, 0 deletions
diff --git a/FPGA/commande/commande.bdf b/FPGA/commande/commande.bdf new file mode 100644 index 0000000..3e52632 --- /dev/null +++ b/FPGA/commande/commande.bdf | |||
@@ -0,0 +1,366 @@ | |||
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 "graphic" (version "1.4")) | ||
22 | (pin | ||
23 | (input) | ||
24 | (rect 56 0 232 16) | ||
25 | (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) | ||
26 | (text "clk" (rect 9 0 23 11)(font "Arial" )) | ||
27 | (pt 176 8) | ||
28 | (drawing | ||
29 | (line (pt 92 12)(pt 117 12)) | ||
30 | (line (pt 92 4)(pt 117 4)) | ||
31 | (line (pt 121 8)(pt 176 8)) | ||
32 | (line (pt 92 12)(pt 92 4)) | ||
33 | (line (pt 117 4)(pt 121 8)) | ||
34 | (line (pt 117 12)(pt 121 8)) | ||
35 | ) | ||
36 | (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) | ||
37 | ) | ||
38 | (pin | ||
39 | (input) | ||
40 | (rect 56 16 232 32) | ||
41 | (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) | ||
42 | (text "resetn" (rect 9 0 39 11)(font "Arial" )) | ||
43 | (pt 176 8) | ||
44 | (drawing | ||
45 | (line (pt 92 12)(pt 117 12)) | ||
46 | (line (pt 92 4)(pt 117 4)) | ||
47 | (line (pt 121 8)(pt 176 8)) | ||
48 | (line (pt 92 12)(pt 92 4)) | ||
49 | (line (pt 117 4)(pt 121 8)) | ||
50 | (line (pt 117 12)(pt 121 8)) | ||
51 | ) | ||
52 | (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) | ||
53 | ) | ||
54 | (pin | ||
55 | (input) | ||
56 | (rect 56 48 232 64) | ||
57 | (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) | ||
58 | (text "fan_auto_user" (rect 9 0 80 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 56 64 232 80) | ||
73 | (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) | ||
74 | (text "alarm_user" (rect 9 0 65 11)(font "Arial" )) | ||
75 | (pt 176 8) | ||
76 | (drawing | ||
77 | (line (pt 92 12)(pt 117 12)) | ||
78 | (line (pt 92 4)(pt 117 4)) | ||
79 | (line (pt 121 8)(pt 176 8)) | ||
80 | (line (pt 92 12)(pt 92 4)) | ||
81 | (line (pt 117 4)(pt 121 8)) | ||
82 | (line (pt 117 12)(pt 121 8)) | ||
83 | ) | ||
84 | (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) | ||
85 | ) | ||
86 | (pin | ||
87 | (input) | ||
88 | (rect 56 80 232 96) | ||
89 | (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) | ||
90 | (text "hot" (rect 9 0 24 11)(font "Arial" )) | ||
91 | (pt 176 8) | ||
92 | (drawing | ||
93 | (line (pt 92 12)(pt 117 12)) | ||
94 | (line (pt 92 4)(pt 117 4)) | ||
95 | (line (pt 121 8)(pt 176 8)) | ||
96 | (line (pt 92 12)(pt 92 4)) | ||
97 | (line (pt 117 4)(pt 121 8)) | ||
98 | (line (pt 117 12)(pt 121 8)) | ||
99 | ) | ||
100 | (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) | ||
101 | ) | ||
102 | (pin | ||
103 | (input) | ||
104 | (rect 56 96 232 112) | ||
105 | (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) | ||
106 | (text "sound_high_level" (rect 9 0 95 11)(font "Arial" )) | ||
107 | (pt 176 8) | ||
108 | (drawing | ||
109 | (line (pt 92 12)(pt 117 12)) | ||
110 | (line (pt 92 4)(pt 117 4)) | ||
111 | (line (pt 121 8)(pt 176 8)) | ||
112 | (line (pt 92 12)(pt 92 4)) | ||
113 | (line (pt 117 4)(pt 121 8)) | ||
114 | (line (pt 117 12)(pt 121 8)) | ||
115 | ) | ||
116 | (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) | ||
117 | ) | ||
118 | (pin | ||
119 | (input) | ||
120 | (rect 56 32 232 48) | ||
121 | (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) | ||
122 | (text "speed_user[1..0]" (rect 9 0 91 11)(font "Arial" )) | ||
123 | (pt 176 8) | ||
124 | (drawing | ||
125 | (line (pt 92 12)(pt 117 12)) | ||
126 | (line (pt 92 4)(pt 117 4)) | ||
127 | (line (pt 121 8)(pt 176 8)) | ||
128 | (line (pt 92 12)(pt 92 4)) | ||
129 | (line (pt 117 4)(pt 121 8)) | ||
130 | (line (pt 117 12)(pt 121 8)) | ||
131 | ) | ||
132 | (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) | ||
133 | ) | ||
134 | (pin | ||
135 | (output) | ||
136 | (rect 648 0 824 16) | ||
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 16 824 32) | ||
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 32 824 48) | ||
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 | (symbol | ||
183 | (rect 384 0 512 128) | ||
184 | (text "alarm" (rect 5 0 36 13)(font "Arial" (font_size 8))) | ||
185 | (text "alarm_block" (rect 8 113 68 124)(font "Arial" )) | ||
186 | (port | ||
187 | (pt 0 32) | ||
188 | (input) | ||
189 | (text "clk" (rect 0 0 17 13)(font "Arial" (font_size 8))) | ||
190 | (text "clk" (rect 21 27 38 40)(font "Arial" (font_size 8))) | ||
191 | (line (pt 0 32)(pt 16 32)) | ||
192 | ) | ||
193 | (port | ||
194 | (pt 0 48) | ||
195 | (input) | ||
196 | (text "resetn" (rect 0 0 35 13)(font "Arial" (font_size 8))) | ||
197 | (text "resetn" (rect 21 43 56 56)(font "Arial" (font_size 8))) | ||
198 | (line (pt 0 48)(pt 16 48)) | ||
199 | ) | ||
200 | (port | ||
201 | (pt 0 64) | ||
202 | (input) | ||
203 | (text "enable" (rect 0 0 37 13)(font "Arial" (font_size 8))) | ||
204 | (text "enable" (rect 21 59 58 72)(font "Arial" (font_size 8))) | ||
205 | (line (pt 0 64)(pt 16 64)) | ||
206 | ) | ||
207 | (port | ||
208 | (pt 0 80) | ||
209 | (input) | ||
210 | (text "activate" (rect 0 0 43 13)(font "Arial" (font_size 8))) | ||
211 | (text "activate" (rect 21 75 64 88)(font "Arial" (font_size 8))) | ||
212 | (line (pt 0 80)(pt 16 80)) | ||
213 | ) | ||
214 | (port | ||
215 | (pt 128 32) | ||
216 | (output) | ||
217 | (text "alarm" (rect 0 0 31 13)(font "Arial" (font_size 8))) | ||
218 | (text "alarm" (rect 76 27 107 40)(font "Arial" (font_size 8))) | ||
219 | (line (pt 128 32)(pt 112 32)) | ||
220 | ) | ||
221 | (drawing | ||
222 | (rectangle (rect 16 16 112 112)) | ||
223 | ) | ||
224 | ) | ||