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