|
| 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-2015 Altera Corporation. All rights reserved. |
| 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, the Altera Quartus II License Agreement, |
| 15 | +the Altera MegaCore Function License Agreement, or other |
| 16 | +applicable license agreement, including, without limitation, |
| 17 | +that your use is for the sole purpose of programming logic |
| 18 | +devices manufactured by Altera and sold by Altera or its |
| 19 | +authorized distributors. Please refer to the applicable |
| 20 | +agreement for further details. |
| 21 | +*/ |
| 22 | +(header "symbol" (version "1.2")) |
| 23 | +(symbol |
| 24 | + (rect 16 16 112 208) |
| 25 | + (text "4bit_adder" (rect 5 0 67 12)(font "Arial" (font_size 8))) |
| 26 | + (text "inst" (rect 8 178 25 188)(font "Arial" )) |
| 27 | + (port |
| 28 | + (pt 0 32) |
| 29 | + (input) |
| 30 | + (text "A4" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 31 | + (text "A4" (rect 21 27 38 39)(font "Arial" (font_size 8))) |
| 32 | + (line (pt 0 32)(pt 16 32)) |
| 33 | + ) |
| 34 | + (port |
| 35 | + (pt 0 48) |
| 36 | + (input) |
| 37 | + (text "B4" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 38 | + (text "B4" (rect 21 43 38 55)(font "Arial" (font_size 8))) |
| 39 | + (line (pt 0 48)(pt 16 48)) |
| 40 | + ) |
| 41 | + (port |
| 42 | + (pt 0 64) |
| 43 | + (input) |
| 44 | + (text "A3" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 45 | + (text "A3" (rect 21 59 38 71)(font "Arial" (font_size 8))) |
| 46 | + (line (pt 0 64)(pt 16 64)) |
| 47 | + ) |
| 48 | + (port |
| 49 | + (pt 0 80) |
| 50 | + (input) |
| 51 | + (text "B3" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 52 | + (text "B3" (rect 21 75 38 87)(font "Arial" (font_size 8))) |
| 53 | + (line (pt 0 80)(pt 16 80)) |
| 54 | + ) |
| 55 | + (port |
| 56 | + (pt 0 96) |
| 57 | + (input) |
| 58 | + (text "A2" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 59 | + (text "A2" (rect 21 91 38 103)(font "Arial" (font_size 8))) |
| 60 | + (line (pt 0 96)(pt 16 96)) |
| 61 | + ) |
| 62 | + (port |
| 63 | + (pt 0 112) |
| 64 | + (input) |
| 65 | + (text "B2" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 66 | + (text "B2" (rect 21 107 38 119)(font "Arial" (font_size 8))) |
| 67 | + (line (pt 0 112)(pt 16 112)) |
| 68 | + ) |
| 69 | + (port |
| 70 | + (pt 0 128) |
| 71 | + (input) |
| 72 | + (text "A1" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 73 | + (text "A1" (rect 21 123 38 135)(font "Arial" (font_size 8))) |
| 74 | + (line (pt 0 128)(pt 16 128)) |
| 75 | + ) |
| 76 | + (port |
| 77 | + (pt 0 144) |
| 78 | + (input) |
| 79 | + (text "B1" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 80 | + (text "B1" (rect 21 139 38 151)(font "Arial" (font_size 8))) |
| 81 | + (line (pt 0 144)(pt 16 144)) |
| 82 | + ) |
| 83 | + (port |
| 84 | + (pt 96 32) |
| 85 | + (output) |
| 86 | + (text "C4" (rect 0 0 18 12)(font "Arial" (font_size 8))) |
| 87 | + (text "C4" (rect 57 27 75 39)(font "Arial" (font_size 8))) |
| 88 | + (line (pt 96 32)(pt 80 32)) |
| 89 | + ) |
| 90 | + (port |
| 91 | + (pt 96 48) |
| 92 | + (output) |
| 93 | + (text "S4" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 94 | + (text "S4" (rect 58 43 75 55)(font "Arial" (font_size 8))) |
| 95 | + (line (pt 96 48)(pt 80 48)) |
| 96 | + ) |
| 97 | + (port |
| 98 | + (pt 96 64) |
| 99 | + (output) |
| 100 | + (text "S3" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 101 | + (text "S3" (rect 58 59 75 71)(font "Arial" (font_size 8))) |
| 102 | + (line (pt 96 64)(pt 80 64)) |
| 103 | + ) |
| 104 | + (port |
| 105 | + (pt 96 80) |
| 106 | + (output) |
| 107 | + (text "S2" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 108 | + (text "S2" (rect 58 75 75 87)(font "Arial" (font_size 8))) |
| 109 | + (line (pt 96 80)(pt 80 80)) |
| 110 | + ) |
| 111 | + (port |
| 112 | + (pt 96 96) |
| 113 | + (output) |
| 114 | + (text "S1" (rect 0 0 17 12)(font "Arial" (font_size 8))) |
| 115 | + (text "S1" (rect 58 91 75 103)(font "Arial" (font_size 8))) |
| 116 | + (line (pt 96 96)(pt 80 96)) |
| 117 | + ) |
| 118 | + (drawing |
| 119 | + (rectangle (rect 16 16 80 176)) |
| 120 | + ) |
| 121 | +) |
0 commit comments