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

Subversion Repositories 4-bit-system

[/] [4-bit-system/] [trunk/] [alu1bit.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 48 144 216 160)
25
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
26
        (text "operation1" (rect 5 0 55 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 48 112 216 128)
41
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
42
        (text "operation0" (rect 5 0 55 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 96 240 264 256)
57
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
58
        (text "a" (rect 5 0 10 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
        (input)
72
        (rect 96 256 264 272)
73
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
74
        (text "b" (rect 5 0 10 12)(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 24 352 192 368)
89
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
90
        (text "carryin" (rect 5 0 39 12)(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
        (output)
104
        (rect 608 168 784 184)
105
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
106
        (text "result" (rect 90 0 117 12)(font "Arial" ))
107
        (pt 0 8)
108
        (drawing
109
                (line (pt 0 8)(pt 52 8))
110
                (line (pt 52 4)(pt 78 4))
111
                (line (pt 52 12)(pt 78 12))
112
                (line (pt 52 12)(pt 52 4))
113
                (line (pt 78 4)(pt 82 8))
114
                (line (pt 82 8)(pt 78 12))
115
                (line (pt 78 12)(pt 82 8))
116
        )
117
)
118
(pin
119
        (output)
120
        (rect 472 360 648 376)
121
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
122
        (text "carryout" (rect 90 0 131 12)(font "Arial" ))
123
        (pt 0 8)
124
        (drawing
125
                (line (pt 0 8)(pt 52 8))
126
                (line (pt 52 4)(pt 78 4))
127
                (line (pt 52 12)(pt 78 12))
128
                (line (pt 52 12)(pt 52 4))
129
                (line (pt 78 4)(pt 82 8))
130
                (line (pt 82 8)(pt 78 12))
131
                (line (pt 78 12)(pt 82 8))
132
        )
133
)
134
(symbol
135
        (rect 464 144 576 304)
136
        (text "mux4to1" (rect 5 0 53 14)(font "Arial" (font_size 8)))
137
        (text "inst" (rect 8 144 25 156)(font "Arial" ))
138
        (port
139
                (pt 0 32)
140
                (input)
141
                (text "select0" (rect 0 0 41 14)(font "Arial" (font_size 8)))
142
                (text "select0" (rect 21 27 62 41)(font "Arial" (font_size 8)))
143
                (line (pt 0 32)(pt 16 32))
144
        )
145
        (port
146
                (pt 0 48)
147
                (input)
148
                (text "select1" (rect 0 0 41 14)(font "Arial" (font_size 8)))
149
                (text "select1" (rect 21 43 62 57)(font "Arial" (font_size 8)))
150
                (line (pt 0 48)(pt 16 48))
151
        )
152
        (port
153
                (pt 0 64)
154
                (input)
155
                (text "in0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
156
                (text "in0" (rect 21 59 37 73)(font "Arial" (font_size 8)))
157
                (line (pt 0 64)(pt 16 64))
158
        )
159
        (port
160
                (pt 0 80)
161
                (input)
162
                (text "in1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
163
                (text "in1" (rect 21 75 37 89)(font "Arial" (font_size 8)))
164
                (line (pt 0 80)(pt 16 80))
165
        )
166
        (port
167
                (pt 0 96)
168
                (input)
169
                (text "in2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
170
                (text "in2" (rect 21 91 37 105)(font "Arial" (font_size 8)))
171
                (line (pt 0 96)(pt 16 96))
172
        )
173
        (port
174
                (pt 0 112)
175
                (input)
176
                (text "in3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
177
                (text "in3" (rect 21 107 37 121)(font "Arial" (font_size 8)))
178
                (line (pt 0 112)(pt 16 112))
179
        )
180
        (port
181
                (pt 112 32)
182
                (output)
183
                (text "out" (rect 0 0 17 14)(font "Arial" (font_size 8)))
184
                (text "out" (rect 74 27 91 41)(font "Arial" (font_size 8)))
185
                (line (pt 112 32)(pt 96 32))
186
        )
187
        (drawing
188
                (rectangle (rect 16 16 96 144))
189
        )
190
)
191
(symbol
192
        (rect 248 296 392 392)
193
        (text "fulladder" (rect 5 0 54 14)(font "Arial" (font_size 8)))
194
        (text "inst2" (rect 8 80 31 92)(font "Arial" ))
195
        (port
196
                (pt 0 32)
197
                (input)
198
                (text "a" (rect 0 0 7 14)(font "Arial" (font_size 8)))
199
                (text "a" (rect 21 27 28 41)(font "Arial" (font_size 8)))
200
                (line (pt 0 32)(pt 16 32))
201
        )
202
        (port
203
                (pt 0 48)
204
                (input)
205
                (text "b" (rect 0 0 7 14)(font "Arial" (font_size 8)))
206
                (text "b" (rect 21 43 28 57)(font "Arial" (font_size 8)))
207
                (line (pt 0 48)(pt 16 48))
208
        )
209
        (port
210
                (pt 0 64)
211
                (input)
212
                (text "carryin" (rect 0 0 40 14)(font "Arial" (font_size 8)))
213
                (text "carryin" (rect 21 59 61 73)(font "Arial" (font_size 8)))
214
                (line (pt 0 64)(pt 16 64))
215
        )
216
        (port
217
                (pt 144 32)
218
                (output)
219
                (text "sum" (rect 0 0 23 14)(font "Arial" (font_size 8)))
220
                (text "sum" (rect 100 27 123 41)(font "Arial" (font_size 8)))
221
                (line (pt 144 32)(pt 128 32))
222
        )
223
        (port
224
                (pt 144 48)
225
                (output)
226
                (text "carryout" (rect 0 0 48 14)(font "Arial" (font_size 8)))
227
                (text "carryout" (rect 75 43 123 57)(font "Arial" (font_size 8)))
228
                (line (pt 144 48)(pt 128 48))
229
        )
230
        (drawing
231
                (rectangle (rect 16 16 128 80))
232
        )
233
)
234
(symbol
235
        (rect 336 184 400 232)
236
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
237
        (text "inst3" (rect 3 37 26 49)(font "Arial" ))
238
        (port
239
                (pt 0 16)
240
                (input)
241
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
242
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
243
                (line (pt 0 16)(pt 14 16))
244
        )
245
        (port
246
                (pt 0 32)
247
                (input)
248
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
249
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
250
                (line (pt 0 32)(pt 14 32))
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 42 24)(pt 64 24))
258
        )
259
        (drawing
260
                (line (pt 14 12)(pt 30 12))
261
                (line (pt 14 37)(pt 31 37))
262
                (line (pt 14 12)(pt 14 37))
263
                (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
264
        )
265
)
266
(symbol
267
        (rect 336 232 400 280)
268
        (text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
269
        (text "inst4" (rect 3 37 26 49)(font "Arial" ))
270
        (port
271
                (pt 0 32)
272
                (input)
273
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
274
                (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
275
                (line (pt 0 32)(pt 15 32))
276
        )
277
        (port
278
                (pt 0 16)
279
                (input)
280
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
281
                (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
282
                (line (pt 0 16)(pt 15 16))
283
        )
284
        (port
285
                (pt 64 24)
286
                (output)
287
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
288
                (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
289
                (line (pt 48 24)(pt 64 24))
290
        )
291
        (drawing
292
                (line (pt 14 36)(pt 25 36))
293
                (line (pt 14 13)(pt 25 13))
294
                (arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
295
                (arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
296
                (arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
297
        )
298
)
299
(symbol
300
        (rect 488 320 520 352)
301
        (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
302
        (text "inst5" (rect 3 21 26 33)(font "Arial" )(invisible))
303
        (port
304
                (pt 16 0)
305
                (output)
306
                (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
307
                (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
308
                (line (pt 16 8)(pt 16 0))
309
        )
310
        (drawing
311
                (line (pt 8 8)(pt 16 16))
312
                (line (pt 16 16)(pt 24 8))
313
                (line (pt 8 8)(pt 24 8))
314
        )
315
)
316
(connector
317
        (pt 392 256)
318
        (pt 400 256)
319
)
320
(connector
321
        (pt 400 256)
322
        (pt 440 256)
323
)
324
(connector
325
        (pt 440 256)
326
        (pt 440 224)
327
)
328
(connector
329
        (pt 440 224)
330
        (pt 464 224)
331
)
332
(connector
333
        (pt 400 208)
334
        (pt 464 208)
335
)
336
(connector
337
        (pt 576 176)
338
        (pt 608 176)
339
)
340
(connector
341
        (pt 608 176)
342
        (pt 616 176)
343
)
344
(connector
345
        (pt 384 344)
346
        (pt 392 344)
347
)
348
(connector
349
        (pt 392 344)
350
        (pt 456 344)
351
)
352
(connector
353
        (pt 456 344)
354
        (pt 456 368)
355
)
356
(connector
357
        (pt 456 368)
358
        (pt 472 368)
359
)
360
(connector
361
        (pt 472 368)
362
        (pt 480 368)
363
)
364
(connector
365
        (pt 392 328)
366
        (pt 448 328)
367
)
368
(connector
369
        (pt 448 240)
370
        (pt 448 328)
371
)
372
(connector
373
        (pt 448 240)
374
        (pt 464 240)
375
)
376
(connector
377
        (pt 464 256)
378
        (pt 456 256)
379
)
380
(connector
381
        (pt 456 256)
382
        (pt 456 312)
383
)
384
(connector
385
        (pt 456 312)
386
        (pt 504 312)
387
)
388
(connector
389
        (pt 504 312)
390
        (pt 504 320)
391
)
392
(connector
393
        (pt 248 176)
394
        (pt 248 152)
395
)
396
(connector
397
        (pt 248 152)
398
        (pt 216 152)
399
)
400
(connector
401
        (pt 344 248)
402
        (pt 336 248)
403
)
404
(connector
405
        (pt 256 264)
406
        (pt 264 264)
407
)
408
(connector
409
        (pt 336 264)
410
        (pt 344 264)
411
)
412
(connector
413
        (pt 344 200)
414
        (pt 336 200)
415
)
416
(connector
417
        (pt 336 200)
418
        (pt 304 200)
419
)
420
(connector
421
        (pt 336 248)
422
        (pt 304 248)
423
)
424
(connector
425
        (pt 304 248)
426
        (pt 264 248)
427
)
428
(connector
429
        (pt 304 200)
430
        (pt 304 248)
431
)
432
(connector
433
        (pt 304 248)
434
        (pt 304 280)
435
)
436
(connector
437
        (pt 304 280)
438
        (pt 232 280)
439
)
440
(connector
441
        (pt 232 280)
442
        (pt 232 328)
443
)
444
(connector
445
        (pt 232 328)
446
        (pt 248 328)
447
)
448
(connector
449
        (pt 344 216)
450
        (pt 336 216)
451
)
452
(connector
453
        (pt 336 216)
454
        (pt 280 216)
455
)
456
(connector
457
        (pt 264 264)
458
        (pt 280 264)
459
)
460
(connector
461
        (pt 280 264)
462
        (pt 336 264)
463
)
464
(connector
465
        (pt 280 216)
466
        (pt 280 264)
467
)
468
(connector
469
        (pt 280 264)
470
        (pt 280 272)
471
)
472
(connector
473
        (pt 280 272)
474
        (pt 216 272)
475
)
476
(connector
477
        (pt 216 272)
478
        (pt 216 344)
479
)
480
(connector
481
        (pt 216 344)
482
        (pt 248 344)
483
)
484
(connector
485
        (pt 248 360)
486
        (pt 192 360)
487
)
488
(connector
489
        (pt 192 360)
490
        (pt 184 360)
491
)
492
(connector
493
        (pt 272 152)
494
        (pt 440 152)
495
)
496
(connector
497
        (pt 440 152)
498
        (pt 440 176)
499
)
500
(connector
501
        (pt 440 176)
502
        (pt 464 176)
503
)
504
(connector
505
        (pt 464 176)
506
        (pt 472 176)
507
)
508
(connector
509
        (pt 248 176)
510
        (pt 424 176)
511
)
512
(connector
513
        (pt 424 176)
514
        (pt 424 192)
515
)
516
(connector
517
        (pt 424 192)
518
        (pt 464 192)
519
)
520
(connector
521
        (pt 272 152)
522
        (pt 272 120)
523
)
524
(connector
525
        (pt 216 120)
526
        (pt 272 120)
527
)
528
(junction (pt 400 256))
529
(junction (pt 608 176))
530
(junction (pt 392 344))
531
(junction (pt 472 368))
532
(junction (pt 336 248))
533
(junction (pt 264 264))
534
(junction (pt 336 264))
535
(junction (pt 336 200))
536
(junction (pt 304 248))
537
(junction (pt 336 216))
538
(junction (pt 280 264))
539
(junction (pt 192 360))
540
(junction (pt 464 176))

powered by: WebSVN 2.1.0

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