|
| 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-2010 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 "symbol" (version "1.1")) |
| 22 | +(symbol |
| 23 | + (rect 16 16 112 112) |
| 24 | + (text "half_adder" (rect 5 0 56 12)(font "Arial" )) |
| 25 | + (text "inst" (rect 8 80 25 92)(font "Arial" )) |
| 26 | + (port |
| 27 | + (pt 0 32) |
| 28 | + (input) |
| 29 | + (text "a" (rect 0 0 5 12)(font "Arial" )) |
| 30 | + (text "a" (rect 21 27 26 39)(font "Arial" )) |
| 31 | + (line (pt 0 32)(pt 16 32)(line_width 1)) |
| 32 | + ) |
| 33 | + (port |
| 34 | + (pt 0 48) |
| 35 | + (input) |
| 36 | + (text "b" (rect 0 0 5 12)(font "Arial" )) |
| 37 | + (text "b" (rect 21 43 26 55)(font "Arial" )) |
| 38 | + (line (pt 0 48)(pt 16 48)(line_width 1)) |
| 39 | + ) |
| 40 | + (port |
| 41 | + (pt 96 32) |
| 42 | + (output) |
| 43 | + (text "c" (rect 0 0 5 12)(font "Arial" )) |
| 44 | + (text "c" (rect 70 27 75 39)(font "Arial" )) |
| 45 | + (line (pt 96 32)(pt 80 32)(line_width 1)) |
| 46 | + ) |
| 47 | + (port |
| 48 | + (pt 96 48) |
| 49 | + (output) |
| 50 | + (text "s" (rect 0 0 5 12)(font "Arial" )) |
| 51 | + (text "s" (rect 70 43 75 55)(font "Arial" )) |
| 52 | + (line (pt 96 48)(pt 80 48)(line_width 1)) |
| 53 | + ) |
| 54 | + (drawing |
| 55 | + (rectangle (rect 16 16 80 80)(line_width 1)) |
| 56 | + ) |
| 57 | +) |
0 commit comments