|
| 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-2013 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 384 144 552 160) |
| 25 | + (text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6))) |
| 26 | + (text "A" (rect 5 0 13 10)(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 149 16)(font "Arial" (font_size 6))) |
| 37 | + (annotation_block (location)(rect 328 160 384 176)) |
| 38 | +) |
| 39 | +(pin |
| 40 | + (input) |
| 41 | + (rect 384 184 552 200) |
| 42 | + (text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6))) |
| 43 | + (text "B" (rect 5 0 13 10)(font "Arial" )) |
| 44 | + (pt 168 8) |
| 45 | + (drawing |
| 46 | + (line (pt 84 12)(pt 109 12)) |
| 47 | + (line (pt 84 4)(pt 109 4)) |
| 48 | + (line (pt 113 8)(pt 168 8)) |
| 49 | + (line (pt 84 12)(pt 84 4)) |
| 50 | + (line (pt 109 4)(pt 113 8)) |
| 51 | + (line (pt 109 12)(pt 113 8)) |
| 52 | + ) |
| 53 | + (text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6))) |
| 54 | + (annotation_block (location)(rect 328 200 384 216)) |
| 55 | +) |
| 56 | +(pin |
| 57 | + (input) |
| 58 | + (rect 384 232 552 248) |
| 59 | + (text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6))) |
| 60 | + (text "C" (rect 5 0 15 10)(font "Arial" )) |
| 61 | + (pt 168 8) |
| 62 | + (drawing |
| 63 | + (line (pt 84 12)(pt 109 12)) |
| 64 | + (line (pt 84 4)(pt 109 4)) |
| 65 | + (line (pt 113 8)(pt 168 8)) |
| 66 | + (line (pt 84 12)(pt 84 4)) |
| 67 | + (line (pt 109 4)(pt 113 8)) |
| 68 | + (line (pt 109 12)(pt 113 8)) |
| 69 | + ) |
| 70 | + (text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6))) |
| 71 | + (annotation_block (location)(rect 328 248 384 264)) |
| 72 | +) |
| 73 | +(pin |
| 74 | + (input) |
| 75 | + (rect 384 264 552 280) |
| 76 | + (text "INPUT" (rect 125 0 154 9)(font "Arial" (font_size 6))) |
| 77 | + (text "D" (rect 5 0 15 10)(font "Arial" )) |
| 78 | + (pt 168 8) |
| 79 | + (drawing |
| 80 | + (line (pt 84 12)(pt 109 12)) |
| 81 | + (line (pt 84 4)(pt 109 4)) |
| 82 | + (line (pt 113 8)(pt 168 8)) |
| 83 | + (line (pt 84 12)(pt 84 4)) |
| 84 | + (line (pt 109 4)(pt 113 8)) |
| 85 | + (line (pt 109 12)(pt 113 8)) |
| 86 | + ) |
| 87 | + (text "VCC" (rect 128 7 149 16)(font "Arial" (font_size 6))) |
| 88 | + (annotation_block (location)(rect 328 280 384 296)) |
| 89 | +) |
| 90 | +(pin |
| 91 | + (output) |
| 92 | + (rect 728 248 904 264) |
| 93 | + (text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6))) |
| 94 | + (text "Y" (rect 90 0 98 10)(font "Arial" )) |
| 95 | + (pt 0 8) |
| 96 | + (drawing |
| 97 | + (line (pt 0 8)(pt 52 8)) |
| 98 | + (line (pt 52 4)(pt 78 4)) |
| 99 | + (line (pt 52 12)(pt 78 12)) |
| 100 | + (line (pt 52 12)(pt 52 4)) |
| 101 | + (line (pt 78 4)(pt 82 8)) |
| 102 | + (line (pt 82 8)(pt 78 12)) |
| 103 | + (line (pt 78 12)(pt 82 8)) |
| 104 | + ) |
| 105 | + (annotation_block (location)(rect 904 264 960 280)) |
| 106 | +) |
| 107 | +(pin |
| 108 | + (output) |
| 109 | + (rect 728 296 904 312) |
| 110 | + (text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6))) |
| 111 | + (text "Y1" (rect 90 0 104 10)(font "Arial" )) |
| 112 | + (pt 0 8) |
| 113 | + (drawing |
| 114 | + (line (pt 0 8)(pt 52 8)) |
| 115 | + (line (pt 52 4)(pt 78 4)) |
| 116 | + (line (pt 52 12)(pt 78 12)) |
| 117 | + (line (pt 52 12)(pt 52 4)) |
| 118 | + (line (pt 78 4)(pt 82 8)) |
| 119 | + (line (pt 82 8)(pt 78 12)) |
| 120 | + (line (pt 78 12)(pt 82 8)) |
| 121 | + ) |
| 122 | + (annotation_block (location)(rect 904 312 960 328)) |
| 123 | +) |
| 124 | +(pin |
| 125 | + (output) |
| 126 | + (rect 728 160 904 176) |
| 127 | + (text "OUTPUT" (rect 1 0 41 9)(font "Arial" (font_size 6))) |
| 128 | + (text "F" (rect 90 0 98 10)(font "Arial" )) |
| 129 | + (pt 0 8) |
| 130 | + (drawing |
| 131 | + (line (pt 0 8)(pt 52 8)) |
| 132 | + (line (pt 52 4)(pt 78 4)) |
| 133 | + (line (pt 52 12)(pt 78 12)) |
| 134 | + (line (pt 52 12)(pt 52 4)) |
| 135 | + (line (pt 78 4)(pt 82 8)) |
| 136 | + (line (pt 82 8)(pt 78 12)) |
| 137 | + (line (pt 78 12)(pt 82 8)) |
| 138 | + ) |
| 139 | + (annotation_block (location)(rect 904 176 960 192)) |
| 140 | +) |
| 141 | +(symbol |
| 142 | + (rect 584 232 648 280) |
| 143 | + (text "AND2" (rect 1 0 29 9)(font "Arial" (font_size 6))) |
| 144 | + (text "inst" (rect 3 37 20 47)(font "Arial" )) |
| 145 | + (port |
| 146 | + (pt 0 16) |
| 147 | + (input) |
| 148 | + (text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible)) |
| 149 | + (text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible)) |
| 150 | + (line (pt 0 16)(pt 14 16)) |
| 151 | + ) |
| 152 | + (port |
| 153 | + (pt 0 32) |
| 154 | + (input) |
| 155 | + (text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible)) |
| 156 | + (text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible)) |
| 157 | + (line (pt 0 32)(pt 14 32)) |
| 158 | + ) |
| 159 | + (port |
| 160 | + (pt 64 24) |
| 161 | + (output) |
| 162 | + (text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible)) |
| 163 | + (text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible)) |
| 164 | + (line (pt 42 24)(pt 64 24)) |
| 165 | + ) |
| 166 | + (drawing |
| 167 | + (line (pt 14 12)(pt 30 12)) |
| 168 | + (line (pt 14 37)(pt 31 37)) |
| 169 | + (line (pt 14 12)(pt 14 37)) |
| 170 | + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)) |
| 171 | + ) |
| 172 | +) |
| 173 | +(symbol |
| 174 | + (rect 680 240 728 272) |
| 175 | + (text "NOT" (rect 1 0 22 9)(font "Arial" (font_size 6))) |
| 176 | + (text "inst3" (rect 3 21 26 31)(font "Arial" )) |
| 177 | + (port |
| 178 | + (pt 0 16) |
| 179 | + (input) |
| 180 | + (text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible)) |
| 181 | + (text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible)) |
| 182 | + (line (pt 0 16)(pt 13 16)) |
| 183 | + ) |
| 184 | + (port |
| 185 | + (pt 48 16) |
| 186 | + (output) |
| 187 | + (text "OUT" (rect 32 7 54 18)(font "Courier New" (bold))(invisible)) |
| 188 | + (text "OUT" (rect 32 7 54 18)(font "Courier New" (bold))(invisible)) |
| 189 | + (line (pt 39 16)(pt 48 16)) |
| 190 | + ) |
| 191 | + (drawing |
| 192 | + (line (pt 13 25)(pt 13 7)) |
| 193 | + (line (pt 13 7)(pt 31 16)) |
| 194 | + (line (pt 13 25)(pt 31 16)) |
| 195 | + (circle (rect 31 12 39 20)) |
| 196 | + ) |
| 197 | +) |
| 198 | +(symbol |
| 199 | + (rect 680 288 728 320) |
| 200 | + (text "WIRE" (rect 1 0 26 9)(font "Arial" (font_size 6))) |
| 201 | + (text "inst4" (rect 3 21 26 31)(font "Arial" )) |
| 202 | + (port |
| 203 | + (pt 0 16) |
| 204 | + (input) |
| 205 | + (text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible)) |
| 206 | + (text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible)) |
| 207 | + (line (pt 0 16)(pt 14 16)) |
| 208 | + ) |
| 209 | + (port |
| 210 | + (pt 48 16) |
| 211 | + (output) |
| 212 | + (text "OUT" (rect 32 7 54 18)(font "Courier New" (bold))(invisible)) |
| 213 | + (text "OUT" (rect 32 7 54 18)(font "Courier New" (bold))(invisible)) |
| 214 | + (line (pt 32 16)(pt 48 16)) |
| 215 | + ) |
| 216 | + (drawing |
| 217 | + (line (pt 14 7)(pt 32 16)) |
| 218 | + (line (pt 14 25)(pt 14 7)) |
| 219 | + (line (pt 14 25)(pt 32 16)) |
| 220 | + ) |
| 221 | +) |
| 222 | +(symbol |
| 223 | + (rect 584 144 648 192) |
| 224 | + (text "NAND2" (rect 1 0 36 9)(font "Arial" (font_size 6))) |
| 225 | + (text "inst5" (rect 3 37 26 47)(font "Arial" )) |
| 226 | + (port |
| 227 | + (pt 0 32) |
| 228 | + (input) |
| 229 | + (text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible)) |
| 230 | + (text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible)) |
| 231 | + (line (pt 0 32)(pt 15 32)) |
| 232 | + ) |
| 233 | + (port |
| 234 | + (pt 0 16) |
| 235 | + (input) |
| 236 | + (text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible)) |
| 237 | + (text "IN1" (rect 2 7 24 18)(font "Courier New" (bold))(invisible)) |
| 238 | + (line (pt 0 16)(pt 15 16)) |
| 239 | + ) |
| 240 | + (port |
| 241 | + (pt 64 24) |
| 242 | + (output) |
| 243 | + (text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible)) |
| 244 | + (text "OUT" (rect 48 15 70 26)(font "Courier New" (bold))(invisible)) |
| 245 | + (line (pt 52 24)(pt 64 24)) |
| 246 | + ) |
| 247 | + (drawing |
| 248 | + (line (pt 15 37)(pt 32 37)) |
| 249 | + (line (pt 15 12)(pt 32 12)) |
| 250 | + (line (pt 15 36)(pt 15 12)) |
| 251 | + (arc (pt 32 36)(pt 32 12)(rect 20 12 45 37)) |
| 252 | + (circle (rect 44 20 52 28)) |
| 253 | + ) |
| 254 | +) |
| 255 | +(connector |
| 256 | + (pt 584 248) |
| 257 | + (pt 576 248) |
| 258 | +) |
| 259 | +(connector |
| 260 | + (pt 576 264) |
| 261 | + (pt 576 272) |
| 262 | +) |
| 263 | +(connector |
| 264 | + (pt 584 264) |
| 265 | + (pt 576 264) |
| 266 | +) |
| 267 | +(connector |
| 268 | + (pt 576 272) |
| 269 | + (pt 552 272) |
| 270 | +) |
| 271 | +(connector |
| 272 | + (pt 680 304) |
| 273 | + (pt 664 304) |
| 274 | +) |
| 275 | +(connector |
| 276 | + (pt 664 304) |
| 277 | + (pt 664 256) |
| 278 | +) |
| 279 | +(connector |
| 280 | + (pt 584 160) |
| 281 | + (pt 576 160) |
| 282 | +) |
| 283 | +(connector |
| 284 | + (pt 576 160) |
| 285 | + (pt 576 152) |
| 286 | +) |
| 287 | +(connector |
| 288 | + (pt 576 152) |
| 289 | + (pt 552 152) |
| 290 | +) |
| 291 | +(connector |
| 292 | + (pt 584 176) |
| 293 | + (pt 552 176) |
| 294 | +) |
| 295 | +(connector |
| 296 | + (pt 552 176) |
| 297 | + (pt 552 192) |
| 298 | +) |
| 299 | +(connector |
| 300 | + (pt 648 168) |
| 301 | + (pt 728 168) |
| 302 | +) |
| 303 | +(connector |
| 304 | + (pt 648 256) |
| 305 | + (pt 664 256) |
| 306 | +) |
| 307 | +(connector |
| 308 | + (pt 664 256) |
| 309 | + (pt 680 256) |
| 310 | +) |
| 311 | +(connector |
| 312 | + (pt 576 248) |
| 313 | + (pt 576 240) |
| 314 | +) |
| 315 | +(connector |
| 316 | + (pt 552 240) |
| 317 | + (pt 576 240) |
| 318 | +) |
| 319 | +(junction (pt 664 256)) |
0 commit comments