summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-04-11 21:07:18 +0200
committerPacien TRAN-GIRARD2014-04-11 21:07:18 +0200
commit2a1b2c866bb630038100a150ee5da976f551e072 (patch)
tree1c4be1030bc807333ae16f02b4299c92879c64cc
parent114850276c3719fd12a4413794943485e1eb7483 (diff)
downloadfpga-home-automation-2a1b2c866bb630038100a150ee5da976f551e072.tar.gz
Add "commande" module
-rw-r--r--FPGA/commande/alarm.bdf281
-rw-r--r--FPGA/commande/alarm.bsf64
-rw-r--r--FPGA/commande/commande.bdf366
-rw-r--r--FPGA/commande/commande.bsf99
-rw-r--r--FPGA/commande/commande.qpf30
-rw-r--r--FPGA/commande/commande.qsf71
-rw-r--r--FPGA/commande/commande_pin.tcl17
-rw-r--r--FPGA/commande/commande_pin.tcl.bak17
-rw-r--r--FPGA/commande/fan.bdf412
-rw-r--r--FPGA/commande/fan.bsf71
10 files changed, 1428 insertions, 0 deletions
diff --git a/FPGA/commande/alarm.bdf b/FPGA/commande/alarm.bdf
new file mode 100644
index 0000000..1ad591a
--- /dev/null
+++ b/FPGA/commande/alarm.bdf
@@ -0,0 +1,281 @@
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 24 16 192 32)
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 24 32 192 48)
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 24 48 192 64)
57 (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
58 (text "enable" (rect 5 0 39 11)(font "Arial" ))
59 (pt 168 8)
60 (drawing
61 (line (pt 84 12)(pt 109 12))
62 (line (pt 84 4)(pt 109 4))
63 (line (pt 113 8)(pt 168 8))
64 (line (pt 84 12)(pt 84 4))
65 (line (pt 109 4)(pt 113 8))
66 (line (pt 109 12)(pt 113 8))
67 )
68 (text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
69)
70(pin
71 (input)
72 (rect 24 64 192 80)
73 (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
74 (text "activate" (rect 5 0 44 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 (output)
88 (rect 424 16 600 32)
89 (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
90 (text "alarm" (rect 90 0 118 11)(font "Arial" ))
91 (pt 0 8)
92 (drawing
93 (line (pt 0 8)(pt 52 8))
94 (line (pt 52 4)(pt 78 4))
95 (line (pt 52 12)(pt 78 12))
96 (line (pt 52 12)(pt 52 4))
97 (line (pt 78 4)(pt 82 8))
98 (line (pt 82 8)(pt 78 12))
99 (line (pt 78 12)(pt 82 8))
100 )
101)
102(symbol
103 (rect 296 144 328 160)
104 (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
105 (text "inst2" (rect 3 5 26 16)(font "Arial" )(invisible))
106 (port
107 (pt 16 16)
108 (output)
109 (text "1" (rect 19 7 26 18)(font "Courier New" (bold))(invisible))
110 (text "1" (rect 19 7 26 18)(font "Courier New" (bold))(invisible))
111 (line (pt 16 16)(pt 16 8))
112 )
113 (drawing
114 (line (pt 8 8)(pt 24 8))
115 )
116)
117(symbol
118 (rect 280 16 344 64)
119 (text "AND2" (rect 1 0 28 10)(font "Arial" (font_size 6)))
120 (text "and" (rect 3 37 21 48)(font "Arial" ))
121 (port
122 (pt 0 16)
123 (input)
124 (text "IN1" (rect 2 7 22 18)(font "Courier New" (bold))(invisible))
125 (text "IN1" (rect 2 7 22 18)(font "Courier New" (bold))(invisible))
126 (line (pt 0 16)(pt 14 16))
127 )
128 (port
129 (pt 0 32)
130 (input)
131 (text "IN2" (rect 2 23 22 34)(font "Courier New" (bold))(invisible))
132 (text "IN2" (rect 2 23 22 34)(font "Courier New" (bold))(invisible))
133 (line (pt 0 32)(pt 14 32))
134 )
135 (port
136 (pt 64 24)
137 (output)
138 (text "OUT" (rect 48 15 68 26)(font "Courier New" (bold))(invisible))
139 (text "OUT" (rect 48 15 68 26)(font "Courier New" (bold))(invisible))
140 (line (pt 42 24)(pt 64 24))
141 )
142 (drawing
143 (line (pt 14 12)(pt 30 12))
144 (line (pt 14 37)(pt 31 37))
145 (line (pt 14 12)(pt 14 37))
146 (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
147 )
148)
149(symbol
150 (rect 280 80 344 128)
151 (text "OR2" (rect 1 0 22 10)(font "Arial" (font_size 6)))
152 (text "or" (rect 3 37 14 48)(font "Arial" ))
153 (port
154 (pt 0 32)
155 (input)
156 (text "IN2" (rect 2 23 22 34)(font "Courier New" (bold))(invisible))
157 (text "IN2" (rect 2 23 22 34)(font "Courier New" (bold))(invisible))
158 (line (pt 0 32)(pt 15 32))
159 )
160 (port
161 (pt 0 16)
162 (input)
163 (text "IN1" (rect 2 7 22 18)(font "Courier New" (bold))(invisible))
164 (text "IN1" (rect 2 7 22 18)(font "Courier New" (bold))(invisible))
165 (line (pt 0 16)(pt 15 16))
166 )
167 (port
168 (pt 64 24)
169 (output)
170 (text "OUT" (rect 48 15 68 26)(font "Courier New" (bold))(invisible))
171 (text "OUT" (rect 48 15 68 26)(font "Courier New" (bold))(invisible))
172 (line (pt 48 24)(pt 64 24))
173 )
174 (drawing
175 (line (pt 14 36)(pt 25 36))
176 (line (pt 14 13)(pt 25 13))
177 (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
178 (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
179 (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
180 )
181)
182(symbol
183 (rect 280 160 344 240)
184 (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
185 (text "latch" (rect 3 68 26 79)(font "Arial" ))
186 (port
187 (pt 32 80)
188 (input)
189 (text "CLRN" (rect 21 59 48 70)(font "Courier New" (bold)))
190 (text "CLRN" (rect 21 58 48 69)(font "Courier New" (bold)))
191 (line (pt 32 80)(pt 32 76))
192 )
193 (port
194 (pt 0 40)
195 (input)
196 (text "CLK" (rect 3 29 23 40)(font "Courier New" (bold))(invisible))
197 (text "CLK" (rect 3 29 23 40)(font "Courier New" (bold))(invisible))
198 (line (pt 0 40)(pt 12 40))
199 )
200 (port
201 (pt 0 24)
202 (input)
203 (text "D" (rect 14 20 21 31)(font "Courier New" (bold)))
204 (text "D" (rect 14 20 21 31)(font "Courier New" (bold)))
205 (line (pt 0 24)(pt 12 24))
206 )
207 (port
208 (pt 32 0)
209 (input)
210 (text "PRN" (rect 24 13 44 24)(font "Courier New" (bold)))
211 (text "PRN" (rect 24 11 44 22)(font "Courier New" (bold)))
212 (line (pt 32 4)(pt 32 0))
213 )
214 (po