OpenCores
URL https://opencores.org/ocsvn/4-bit-system/4-bit-system/trunk

Subversion Repositories 4-bit-system

[/] [4-bit-system/] [trunk/] [fulladder.bdf] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 openware
/*
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-2012 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 80 184 248 200)
25
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
26
        (text "a" (rect 5 0 11 12)(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 80 200 248 216)
41
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
42
        (text "b" (rect 5 0 11 12)(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 80 224 248 240)
57
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
58
        (text "carryin" (rect 5 0 40 12)(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
        (output)
72
        (rect 616 352 792 368)
73
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
74
        (text "carryout" (rect 90 0 131 12)(font "Arial" ))
75
        (pt 0 8)
76
        (drawing
77
                (line (pt 0 8)(pt 52 8))
78
                (line (pt 52 4)(pt 78 4))
79
                (line (pt 52 12)(pt 78 12))
80
                (line (pt 52 12)(pt 52 4))
81
                (line (pt 78 4)(pt 82 8))
82
                (line (pt 82 8)(pt 78 12))
83
                (line (pt 78 12)(pt 82 8))
84
        )
85
)
86
(pin
87
        (output)
88
        (rect 528 216 704 232)
89
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
90
        (text "sum" (rect 90 0 111 12)(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 432 200 496 248)
104
        (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6)))
105
        (text "inst" (rect 3 37 20 49)(font "Arial" ))
106
        (port
107
                (pt 0 16)
108
                (input)
109
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
110
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
111
                (line (pt 0 16)(pt 11 16))
112
        )
113
        (port
114
                (pt 0 32)
115
                (input)
116
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
117
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
118
                (line (pt 0 32)(pt 11 32))
119
        )
120
        (port
121
                (pt 64 24)
122
                (output)
123
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
124
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
125
                (line (pt 49 24)(pt 64 24))
126
        )
127
        (drawing
128
                (line (pt 14 13)(pt 25 13))
129
                (line (pt 14 36)(pt 25 36))
130
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
131
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
132
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
133
                (arc (pt 8 36)(pt 8 12)(rect -21 7 14 42))
134
        )
135
)
136
(symbol
137
        (rect 296 176 360 224)
138
        (text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6)))
139
        (text "inst1" (rect 3 37 26 49)(font "Arial" ))
140
        (port
141
                (pt 0 16)
142
                (input)
143
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
144
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
145
                (line (pt 0 16)(pt 11 16))
146
        )
147
        (port
148
                (pt 0 32)
149
                (input)
150
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
151
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
152
                (line (pt 0 32)(pt 11 32))
153
        )
154
        (port
155
                (pt 64 24)
156
                (output)
157
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
158
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
159
                (line (pt 49 24)(pt 64 24))
160
        )
161
        (drawing
162
                (line (pt 14 13)(pt 25 13))
163
                (line (pt 14 36)(pt 25 36))
164
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
165
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
166
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
167
                (arc (pt 8 36)(pt 8 12)(rect -21 7 14 42))
168
        )
169
)
170
(symbol
171
        (rect 440 376 504 424)
172
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
173
        (text "inst3" (rect 3 37 26 49)(font "Arial" ))
174
        (port
175
                (pt 0 16)
176
                (input)
177
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
178
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
179
                (line (pt 0 16)(pt 14 16))
180
        )
181
        (port
182
                (pt 0 32)
183
                (input)
184
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
185
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
186
                (line (pt 0 32)(pt 14 32))
187
        )
188
        (port
189
                (pt 64 24)
190
                (output)
191
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
192
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
193
                (line (pt 42 24)(pt 64 24))
194
        )
195
        (drawing
196
                (line (pt 14 12)(pt 30 12))
197
                (line (pt 14 37)(pt 31 37))
198
                (line (pt 14 12)(pt 14 37))
199
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
200
        )
201
)
202
(symbol
203
        (rect 440 304 504 352)
204
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
205
        (text "inst4" (rect 3 37 26 49)(font "Arial" ))
206
        (port
207
                (pt 0 16)
208
                (input)
209
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
210
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
211
                (line (pt 0 16)(pt 14 16))
212
        )
213
        (port
214
                (pt 0 32)
215
                (input)
216
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
217
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
218
                (line (pt 0 32)(pt 14 32))
219
        )
220
        (port
221
                (pt 64 24)
222
                (output)
223
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
224
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
225
                (line (pt 42 24)(pt 64 24))
226
        )
227
        (drawing
228
                (line (pt 14 12)(pt 30 12))
229
                (line (pt 14 37)(pt 31 37))
230
                (line (pt 14 12)(pt 14 37))
231
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
232
        )
233
)
234
(symbol
235
        (rect 536 336 600 384)
236
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
237
        (text "inst9" (rect 3 37 26 49)(font "Arial" ))
238
        (port
239
                (pt 0 32)
240
                (input)
241
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
242
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
243
                (line (pt 0 32)(pt 15 32))
244
        )
245
        (port
246
                (pt 0 16)
247
                (input)
248
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
249
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
250
                (line (pt 0 16)(pt 15 16))
251
        )
252
        (port
253
                (pt 64 24)
254
                (output)
255
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
256
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
257
                (line (pt 48 24)(pt 64 24))
258
        )
259
        (drawing
260
                (line (pt 14 36)(pt 25 36))
261
                (line (pt 14 13)(pt 25 13))
262
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
263
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
264
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
265
        )
266
)
267
(connector
268
        (pt 496 328)
269
        (pt 504 328)
270
)
271
(connector
272
        (pt 504 328)
273
        (pt 528 328)
274
)
275
(connector
276
        (pt 528 328)
277
        (pt 528 352)
278
)
279
(connector
280
        (pt 528 352)
281
        (pt 536 352)
282
)
283
(connector
284
        (pt 504 400)
285
        (pt 528 400)
286
)
287
(connector
288
        (pt 528 400)
289
        (pt 528 368)
290
)
291
(connector
292
        (pt 528 368)
293
        (pt 536 368)
294
)
295
(connector
296
        (pt 440 320)
297
        (pt 408 320)
298
)
299
(connector
300
        (pt 408 320)
301
        (pt 408 216)
302
)
303
(connector
304
        (pt 376 216)
305
        (pt 408 216)
306
)
307
(connector
308
        (pt 408 216)
309
        (pt 432 216)
310
)
311
(connector
312
        (pt 376 216)
313
        (pt 376 200)
314
)
315
(connector
316
        (pt 376 200)
317
        (pt 360 200)
318
)
319
(connector
320
        (pt 360 200)
321
        (pt 352 200)
322
)
323
(connector
324
        (pt 440 392)
325
        (pt 288 392)
326
)
327
(connector
328
        (pt 288 392)
329
        (pt 288 192)
330
)
331
(connector
332
        (pt 440 408)
333
        (pt 272 408)
334
)
335
(connector
336
        (pt 272 408)
337
        (pt 272 208)
338
)
339
(connector
340
        (pt 592 360)
341
        (pt 600 360)
342
)
343
(connector
344
        (pt 600 360)
345
        (pt 616 360)
346
)
347
(connector
348
        (pt 240 192)
349
        (pt 248 192)
350
)
351
(connector
352
        (pt 248 192)
353
        (pt 288 192)
354
)
355
(connector
356
        (pt 288 192)
357
        (pt 296 192)
358
)
359
(connector
360
        (pt 248 208)
361
        (pt 272 208)
362
)
363
(connector
364
        (pt 272 208)
365
        (pt 296 208)
366
)
367
(connector
368
        (pt 440 232)
369
        (pt 432 232)
370
)
371
(connector
372
        (pt 448 336)
373
        (pt 440 336)
374
)
375
(connector
376
        (pt 440 336)
377
        (pt 392 336)
378
)
379
(connector
380
        (pt 392 336)
381
        (pt 392 232)
382
)
383
(connector
384
        (pt 432 232)
385
        (pt 392 232)
386
)
387
(connector
388
        (pt 392 232)
389
        (pt 248 232)
390
)
391
(connector
392
        (pt 488 224)
393
        (pt 496 224)
394
)
395
(connector
396
        (pt 496 224)
397
        (pt 528 224)
398
)
399
(junction (pt 504 328))
400
(junction (pt 408 216))
401
(junction (pt 360 200))
402
(junction (pt 288 192))
403
(junction (pt 600 360))
404
(junction (pt 248 192))
405
(junction (pt 272 208))
406
(junction (pt 432 232))
407
(junction (pt 440 336))
408
(junction (pt 392 232))
409
(junction (pt 496 224))

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.