-
Notifications
You must be signed in to change notification settings - Fork 1
/
code_select_04.bdf
269 lines (269 loc) · 7.2 KB
/
code_select_04.bdf
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
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
/*
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 "graphic" (version "1.4"))
(pin
(input)
(rect 488 448 672 464)
(text "INPUT" (rect 141 0 177 13)(font "Arial" (font_size 6)))
(text "data_04[2..0]" (rect 5 0 88 15)(font "Arial" ))
(pt 184 8)
(drawing
(line (pt 100 12)(pt 125 12))
(line (pt 100 4)(pt 125 4))
(line (pt 129 8)(pt 184 8))
(line (pt 100 12)(pt 100 4))
(line (pt 125 4)(pt 129 8))
(line (pt 125 12)(pt 129 8))
)
(text "VCC" (rect 144 7 168 20)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 472 312 672 328)
(text "INPUT" (rect 157 0 193 13)(font "Arial" (font_size 6)))
(text "hour_h_04[3..0]" (rect 5 0 106 15)(font "Arial" ))
(pt 200 8)
(drawing
(line (pt 116 12)(pt 141 12))
(line (pt 116 4)(pt 141 4))
(line (pt 145 8)(pt 200 8))
(line (pt 116 12)(pt 116 4))
(line (pt 141 4)(pt 145 8))
(line (pt 141 12)(pt 145 8))
)
(text "VCC" (rect 160 7 184 20)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 480 328 672 344)
(text "INPUT" (rect 149 0 185 13)(font "Arial" (font_size 6)))
(text "hour_l_04[3..0]" (rect 5 0 101 15)(font "Arial" ))
(pt 192 8)
(drawing
(line (pt 108 12)(pt 133 12))
(line (pt 108 4)(pt 133 4))
(line (pt 137 8)(pt 192 8))
(line (pt 108 12)(pt 108 4))
(line (pt 133 4)(pt 137 8))
(line (pt 133 12)(pt 137 8))
)
(text "VCC" (rect 152 7 176 20)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 480 344 672 360)
(text "INPUT" (rect 149 0 185 13)(font "Arial" (font_size 6)))
(text "min_h_04[3..0]" (rect 5 0 101 15)(font "Arial" ))
(pt 192 8)
(drawing
(line (pt 108 12)(pt 133 12))
(line (pt 108 4)(pt 133 4))
(line (pt 137 8)(pt 192 8))
(line (pt 108 12)(pt 108 4))
(line (pt 133 4)(pt 137 8))
(line (pt 133 12)(pt 137 8))
)
(text "VCC" (rect 152 7 176 20)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 480 360 672 376)
(text "INPUT" (rect 149 0 185 13)(font "Arial" (font_size 6)))
(text "min_l_04[3..0]" (rect 5 0 97 15)(font "Arial" ))
(pt 192 8)
(drawing
(line (pt 108 12)(pt 133 12))
(line (pt 108 4)(pt 133 4))
(line (pt 137 8)(pt 192 8))
(line (pt 108 12)(pt 108 4))
(line (pt 133 4)(pt 137 8))
(line (pt 133 12)(pt 137 8))
)
(text "VCC" (rect 152 7 176 20)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 480 376 672 392)
(text "INPUT" (rect 149 0 185 13)(font "Arial" (font_size 6)))
(text "sec_h_04[3..0]" (rect 5 0 100 15)(font "Arial" ))
(pt 192 8)
(drawing
(line (pt 108 12)(pt 133 12))
(line (pt 108 4)(pt 133 4))
(line (pt 137 8)(pt 192 8))
(line (pt 108 12)(pt 108 4))
(line (pt 133 4)(pt 137 8))
(line (pt 133 12)(pt 137 8))
)
(text "VCC" (rect 152 7 176 20)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 480 392 672 408)
(text "INPUT" (rect 149 0 185 13)(font "Arial" (font_size 6)))
(text "sec_l_04[3..0]" (rect 5 0 95 15)(font "Arial" ))
(pt 192 8)
(drawing
(line (pt 108 12)(pt 133 12))
(line (pt 108 4)(pt 133 4))
(line (pt 137 8)(pt 192 8))
(line (pt 108 12)(pt 108 4))
(line (pt 133 4)(pt 137 8))
(line (pt 133 12)(pt 137 8))
)
(text "VCC" (rect 152 7 176 20)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 984 352 1167 368)
(text "OUTPUT" (rect 1 0 51 13)(font "Arial" (font_size 6)))
(text "code_04[3..0]" (rect 90 0 177 15)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(symbol
(rect 792 280 936 424)
(text "mux6" (rect 54 0 98 19)(font "Arial" (font_size 10)))
(text "inst" (rect 8 125 31 140)(font "Arial" ))
(port
(pt 0 40)
(input)
(text "data5x[3..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
(text "data5x[3..0]" (rect 4 24 85 40)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 64 40)(line_width 3))
)
(port
(pt 0 56)
(input)
(text "data4x[3..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
(text "data4x[3..0]" (rect 4 40 85 56)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 64 56)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "data3x[3..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
(text "data3x[3..0]" (rect 4 56 85 72)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 64 72)(line_width 3))
)
(port
(pt 0 88)
(input)
(text "data2x[3..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
(text "data2x[3..0]" (rect 4 72 85 88)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 64 88)(line_width 3))
)
(port
(pt 0 104)
(input)
(text "data1x[3..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
(text "data1x[3..0]" (rect 4 88 85 104)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 64 104)(line_width 3))
)
(port
(pt 0 120)
(input)
(text "data0x[3..0]" (rect 0 0 81 16)(font "Arial" (font_size 8)))
(text "data0x[3..0]" (rect 4 104 85 120)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 64 120)(line_width 3))
)
(port
(pt 72 144)
(input)
(text "sel[2..0]" (rect 0 0 16 55)(font "Arial" (font_size 8))(vertical))
(text "sel[2..0]" (rect 64 82 80 137)(font "Arial" (font_size 8))(vertical))
(line (pt 72 144)(pt 72 132)(line_width 3))
)
(port
(pt 144 80)
(output)
(text "result[3..0]" (rect 0 0 73 16)(font "Arial" (font_size 8)))
(text "result[3..0]" (rect 79 64 152 80)(font "Arial" (font_size 8)))
(line (pt 144 80)(pt 80 80)(line_width 3))
)
(drawing
(line (pt 64 24)(pt 64 136))
(line (pt 64 24)(pt 80 32))
(line (pt 64 136)(pt 80 128))
(line (pt 80 32)(pt 80 128))
(line (pt 0 0)(pt 146 0))
(line (pt 146 0)(pt 146 146))
(line (pt 0 146)(pt 146 146))
(line (pt 0 0)(pt 0 146))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
(line (pt 0 0)(pt 0 0))
)
)
(connector
(pt 864 456)
(pt 864 424)
(bus)
)
(connector
(pt 672 456)
(pt 864 456)
(bus)
)
(connector
(pt 672 336)
(pt 792 336)
(bus)
)
(connector
(pt 672 352)
(pt 792 352)
(bus)
)
(connector
(pt 984 360)
(pt 936 360)
(bus)
)
(connector
(pt 672 368)
(pt 792 368)
(bus)
)
(connector
(pt 672 384)
(pt 792 384)
(bus)
)
(connector
(pt 672 400)
(pt 792 400)
(bus)
)
(connector
(pt 672 320)
(pt 792 320)
(bus)
)