You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1868 lines
40 KiB
1868 lines
40 KiB
/* |
|
WARNING: Do NOT edit the input and output ports in this file in a text |
|
editor if you plan to continue editing the block that represents it in |
|
the Block Editor! File corruption is VERY likely to occur. |
|
*/ |
|
/* |
|
Copyright (C) 1991-2013 Altera Corporation |
|
Your use of Altera Corporation's design tools, logic functions |
|
and other software and tools, and its AMPP partner logic |
|
functions, and any output files from any of the foregoing |
|
(including device programming or simulation files), and any |
|
associated documentation or information are expressly subject |
|
to the terms and conditions of the Altera Program License |
|
Subscription Agreement, Altera MegaCore Function License |
|
Agreement, or other applicable license agreement, including, |
|
without limitation, that your use is for the sole purpose of |
|
programming logic devices manufactured by Altera and sold by |
|
Altera or its authorized distributors. Please refer to the |
|
applicable agreement for further details. |
|
*/ |
|
(header "graphic" (version "1.4")) |
|
(pin |
|
(input) |
|
(rect 64 48 240 64) |
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
|
(text "clk" (rect 9 0 23 12)(font "Arial" )) |
|
(pt 176 8) |
|
(drawing |
|
(line (pt 92 12)(pt 117 12)) |
|
(line (pt 92 4)(pt 117 4)) |
|
(line (pt 121 8)(pt 176 8)) |
|
(line (pt 92 12)(pt 92 4)) |
|
(line (pt 117 4)(pt 121 8)) |
|
(line (pt 117 12)(pt 121 8)) |
|
) |
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 64 24 240 40) |
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
|
(text "reset" (rect 9 0 33 12)(font "Arial" )) |
|
(pt 176 8) |
|
(drawing |
|
(line (pt 92 12)(pt 117 12)) |
|
(line (pt 92 4)(pt 117 4)) |
|
(line (pt 121 8)(pt 176 8)) |
|
(line (pt 92 12)(pt 92 4)) |
|
(line (pt 117 4)(pt 121 8)) |
|
(line (pt 117 12)(pt 121 8)) |
|
) |
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 16 160 192 176) |
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
|
(text "INPUT_A1" (rect 9 0 60 12)(font "Arial" )) |
|
(pt 176 8) |
|
(drawing |
|
(line (pt 92 12)(pt 117 12)) |
|
(line (pt 92 4)(pt 117 4)) |
|
(line (pt 121 8)(pt 176 8)) |
|
(line (pt 92 12)(pt 92 4)) |
|
(line (pt 117 4)(pt 121 8)) |
|
(line (pt 117 12)(pt 121 8)) |
|
) |
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 8 384 184 400) |
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
|
(text "INPUT_B4" (rect 9 0 60 12)(font "Arial" )) |
|
(pt 176 8) |
|
(drawing |
|
(line (pt 92 12)(pt 117 12)) |
|
(line (pt 92 4)(pt 117 4)) |
|
(line (pt 121 8)(pt 176 8)) |
|
(line (pt 92 12)(pt 92 4)) |
|
(line (pt 117 4)(pt 121 8)) |
|
(line (pt 117 12)(pt 121 8)) |
|
) |
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 24 176 192 192) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "INPUT_A2" (rect 5 0 56 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 24 192 192 208) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "INPUT_A3" (rect 5 0 57 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 24 208 192 224) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "INPUT_A4" (rect 5 0 57 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 16 336 184 352) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "INPUT_B1" (rect 5 0 57 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 16 352 184 368) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "INPUT_B2" (rect 5 0 57 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 16 368 184 384) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "INPUT_B3" (rect 5 0 57 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(input) |
|
(rect 400 432 568 448) |
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6))) |
|
(text "isAdd" (rect 5 0 33 12)(font "Arial" )) |
|
(pt 168 8) |
|
(drawing |
|
(line (pt 84 12)(pt 109 12)) |
|
(line (pt 84 4)(pt 109 4)) |
|
(line (pt 113 8)(pt 168 8)) |
|
(line (pt 84 12)(pt 84 4)) |
|
(line (pt 109 4)(pt 113 8)) |
|
(line (pt 109 12)(pt 113 8)) |
|
) |
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6))) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 72 1464 88) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_A" (rect 90 0 147 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 104 1464 120) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_B" (rect 90 0 146 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 136 1464 152) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_C" (rect 90 0 147 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 168 1464 184) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_D" (rect 90 0 147 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 200 1464 216) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_E" (rect 90 0 146 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 232 1464 248) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_F" (rect 90 0 146 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 264 1464 280) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_G" (rect 90 0 147 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 344 1464 360) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_A2" (rect 90 0 152 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 376 1464 392) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_B2" (rect 90 0 152 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 408 1464 424) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_C2" (rect 90 0 153 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 440 1464 456) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_D2" (rect 90 0 153 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 472 1464 488) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_E2" (rect 90 0 152 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 504 1464 520) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_F2" (rect 90 0 152 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 1288 536 1464 552) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "OUTPUT_G2" (rect 90 0 153 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 848 424 1024 440) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "overflow" (rect 90 0 132 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 952 -8 1128 8) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "i[0]" (rect 90 0 105 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 944 8 1120 24) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "i[1]" (rect 90 0 105 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 936 32 1112 48) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "i[2]" (rect 90 0 105 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(pin |
|
(output) |
|
(rect 936 48 1112 64) |
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
|
(text "i[3]" (rect 90 0 105 12)(font "Arial" )) |
|
(pt 0 8) |
|
(drawing |
|
(line (pt 0 8)(pt 52 8)) |
|
(line (pt 52 4)(pt 78 4)) |
|
(line (pt 52 12)(pt 78 12)) |
|
(line (pt 52 12)(pt 52 4)) |
|
(line (pt 78 4)(pt 82 8)) |
|
(line (pt 82 8)(pt 78 12)) |
|
(line (pt 78 12)(pt 82 8)) |
|
) |
|
) |
|
(symbol |
|
(rect 632 96 736 256) |
|
(text "74171" (rect 36 0 77 16)(font "Arial" (font_size 10))) |
|
(text "inst1" (rect 3 149 21 159)(font "Arial" (font_size 6))) |
|
(port |
|
(pt 0 40) |
|
(input) |
|
(text "CLRN" (rect 20 33 51 47)(font "Arial" (font_size 8))) |
|
(text "CLRN" (rect 20 33 51 47)(font "Arial" (font_size 8))) |
|
(line (pt 0 40)(pt 8 40)) |
|
) |
|
(port |
|
(pt 0 72) |
|
(input) |
|
(text "D1" (rect 20 65 35 79)(font "Arial" (font_size 8))) |
|
(text "D1" (rect 20 65 35 79)(font "Arial" (font_size 8))) |
|
(line (pt 0 72)(pt 16 72)) |
|
) |
|
(port |
|
(pt 0 56) |
|
(input) |
|
(text "CLK" (rect 20 49 43 63)(font "Arial" (font_size 8))) |
|
(text "CLK" (rect 20 49 43 63)(font "Arial" (font_size 8))) |
|
(line (pt 0 56)(pt 16 56)) |
|
) |
|
(port |
|
(pt 0 88) |
|
(input) |
|
(text "D2" (rect 20 81 35 95)(font "Arial" (font_size 8))) |
|
(text "D2" (rect 20 81 35 95)(font "Arial" (font_size 8))) |
|
(line (pt 0 88)(pt 16 88)) |
|
) |
|
(port |
|
(pt 0 120) |
|
(input) |
|
(text "D4" (rect 20 113 35 127)(font "Arial" (font_size 8))) |
|
(text "D4" (rect 20 113 35 127)(font "Arial" (font_size 8))) |
|
(line (pt 0 120)(pt 16 120)) |
|
) |
|
(port |
|
(pt 0 104) |
|
(input) |
|
(text "D3" (rect 20 97 35 111)(font "Arial" (font_size 8))) |
|
(text "D3" (rect 20 97 35 111)(font "Arial" (font_size 8))) |
|
(line (pt 0 104)(pt 16 104)) |
|
) |
|
(port |
|
(pt 104 136) |
|
(output) |
|
(text "QN4" (rect 60 127 89 142)(font "Arial" (font_size 9))) |
|
(text "QN4" (rect 67 127 96 142)(font "Arial" (font_size 9))) |
|
(line (pt 96 136)(pt 104 136)) |
|
) |
|
(port |
|
(pt 104 88) |
|
(output) |
|
(text "Q3" (rect 68 80 86 95)(font "Arial" (font_size 9))) |
|
(text "Q3" (rect 68 80 86 95)(font "Arial" (font_size 9))) |
|
(line (pt 88 88)(pt 104 88)) |
|
) |
|
(port |
|
(pt 104 104) |
|
(output) |
|
(text "QN3" (rect 60 96 89 111)(font "Arial" (font_size 9))) |
|
(text "QN3" (rect 67 96 96 111)(font "Arial" (font_size 9))) |
|
(line (pt 96 104)(pt 104 104)) |
|
) |
|
(port |
|
(pt 104 120) |
|
(output) |
|
(text "Q4" (rect 68 111 86 126)(font "Arial" (font_size 9))) |
|
(text "Q4" (rect 68 111 86 126)(font "Arial" (font_size 9))) |
|
(line (pt 88 120)(pt 104 120)) |
|
) |
|
(port |
|
(pt 104 40) |
|
(output) |
|
(text "QN1" (rect 60 33 89 48)(font "Arial" (font_size 9))) |
|
(text "QN1" (rect 67 33 96 48)(font "Arial" (font_size 9))) |
|
(line (pt 96 40)(pt 104 40)) |
|
) |
|
(port |
|
(pt 104 56) |
|
(output) |
|
(text "Q2" (rect 68 49 86 64)(font "Arial" (font_size 9))) |
|
(text "Q2" (rect 68 49 86 64)(font "Arial" (font_size 9))) |
|
(line (pt 88 56)(pt 104 56)) |
|
) |
|
(port |
|
(pt 104 72) |
|
(output) |
|
(text "QN2" (rect 60 64 89 79)(font "Arial" (font_size 9))) |
|
(text "QN2" (rect 67 64 96 79)(font "Arial" (font_size 9))) |
|
(line (pt 96 72)(pt 104 72)) |
|
) |
|
(port |
|
(pt 104 24) |
|
(output) |
|
(text "Q1" (rect 68 17 86 32)(font "Arial" (font_size 9))) |
|
(text "Q1" (rect 68 17 86 32)(font "Arial" (font_size 9))) |
|
(line (pt 88 24)(pt 104 24)) |
|
) |
|
(drawing |
|
(text "QUAD D-FF" (rect 26 145 92 159)(font "Arial" (font_size 8))) |
|
(line (pt 16 16)(pt 88 16)) |
|
(line (pt 16 144)(pt 88 144)) |
|
(line (pt 16 144)(pt 16 16)) |
|
(line (pt 88 144)(pt 88 16)) |
|
(circle (rect 88 100 96 108)) |
|
(circle (rect 88 132 96 140)) |
|
(circle (rect 8 36 16 44)) |
|
(circle (rect 88 36 96 44)) |
|
(circle (rect 88 68 96 76)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 64 1288 96) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst2" (rect 3 21 26 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 96 1288 128) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst3" (rect 3 21 26 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 128 1288 160) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst4" (rect 3 21 26 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 160 1288 192) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst5" (rect 3 21 26 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 192 1288 224) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst6" (rect 3 21 26 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 224 1288 256) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst7" (rect 3 21 26 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 256 1288 288) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst8" (rect 3 21 26 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 336 1288 368) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst10" (rect 3 21 32 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 368 1288 400) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst11" (rect 3 21 32 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 400 1288 432) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst12" (rect 3 21 32 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 432 1288 464) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst13" (rect 3 21 32 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 464 1288 496) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst14" (rect 3 21 32 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 496 1288 528) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst15" (rect 3 21 32 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1240 528 1288 560) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst16" (rect 3 21 32 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 1024 88 1152 264) |
|
(text "segment" (rect 5 0 47 12)(font "Arial" )) |
|
(text "inst17" (rect 8 160 37 172)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "i[3..0]" (rect 0 0 28 12)(font "Arial" )) |
|
(text "i[3..0]" (rect 21 27 49 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)(line_width 3)) |
|
) |
|
(port |
|
(pt 128 32) |
|
(output) |
|
(text "a" (rect 0 0 5 12)(font "Arial" )) |
|
(text "a" (rect 103 27 108 39)(font "Arial" )) |
|
(line (pt 128 32)(pt 112 32)) |
|
) |
|
(port |
|
(pt 128 48) |
|
(output) |
|
(text "b" (rect 0 0 5 12)(font "Arial" )) |
|
(text "b" (rect 103 43 108 55)(font "Arial" )) |
|
(line (pt 128 48)(pt 112 48)) |
|
) |
|
(port |
|
(pt 128 64) |
|
(output) |
|
(text "c" (rect 0 0 5 12)(font "Arial" )) |
|
(text "c" (rect 103 59 108 71)(font "Arial" )) |
|
(line (pt 128 64)(pt 112 64)) |
|
) |
|
(port |
|
(pt 128 80) |
|
(output) |
|
(text "d" (rect 0 0 5 12)(font "Arial" )) |
|
(text "d" (rect 103 75 108 87)(font "Arial" )) |
|
(line (pt 128 80)(pt 112 80)) |
|
) |
|
(port |
|
(pt 128 96) |
|
(output) |
|
(text "e" (rect 0 0 5 12)(font "Arial" )) |
|
(text "e" (rect 103 91 108 103)(font "Arial" )) |
|
(line (pt 128 96)(pt 112 96)) |
|
) |
|
(port |
|
(pt 128 112) |
|
(output) |
|
(text "f" (rect 0 0 4 12)(font "Arial" )) |
|
(text "f" (rect 104 107 108 119)(font "Arial" )) |
|
(line (pt 128 112)(pt 112 112)) |
|
) |
|
(port |
|
(pt 128 128) |
|
(output) |
|
(text "g" (rect 0 0 5 12)(font "Arial" )) |
|
(text "g" (rect 103 123 108 135)(font "Arial" )) |
|
(line (pt 128 128)(pt 112 128)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 112 160)) |
|
) |
|
) |
|
(symbol |
|
(rect 1032 360 1152 536) |
|
(text "sign" (rect 5 0 25 12)(font "Arial" )) |
|
(text "inst19" (rect 8 160 37 172)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "sign" (rect 0 0 20 12)(font "Arial" )) |
|
(text "sign" (rect 21 27 41 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)) |
|
) |
|
(port |
|
(pt 120 32) |
|
(output) |
|
(text "a" (rect 0 0 5 12)(font "Arial" )) |
|
(text "a" (rect 95 27 100 39)(font "Arial" )) |
|
(line (pt 120 32)(pt 104 32)) |
|
) |
|
(port |
|
(pt 120 48) |
|
(output) |
|
(text "b" (rect 0 0 5 12)(font "Arial" )) |
|
(text "b" (rect 95 43 100 55)(font "Arial" )) |
|
(line (pt 120 48)(pt 104 48)) |
|
) |
|
(port |
|
(pt 120 64) |
|
(output) |
|
(text "c" (rect 0 0 5 12)(font "Arial" )) |
|
(text "c" (rect 95 59 100 71)(font "Arial" )) |
|
(line (pt 120 64)(pt 104 64)) |
|
) |
|
(port |
|
(pt 120 80) |
|
(output) |
|
(text "d" (rect 0 0 5 12)(font "Arial" )) |
|
(text "d" (rect 95 75 100 87)(font "Arial" )) |
|
(line (pt 120 80)(pt 104 80)) |
|
) |
|
(port |
|
(pt 120 96) |
|
(output) |
|
(text "e" (rect 0 0 5 12)(font "Arial" )) |
|
(text "e" (rect 95 91 100 103)(font "Arial" )) |
|
(line (pt 120 96)(pt 104 96)) |
|
) |
|
(port |
|
(pt 120 112) |
|
(output) |
|
(text "f" (rect 0 0 4 12)(font "Arial" )) |
|
(text "f" (rect 96 107 100 119)(font "Arial" )) |
|
(line (pt 120 112)(pt 104 112)) |
|
) |
|
(port |
|
(pt 120 128) |
|
(output) |
|
(text "g" (rect 0 0 5 12)(font "Arial" )) |
|
(text "g" (rect 95 123 100 135)(font "Arial" )) |
|
(line (pt 120 128)(pt 104 128)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 104 160)) |
|
) |
|
) |
|
(symbol |
|
(rect 800 112 928 224) |
|
(text "encoder" (rect 5 0 43 12)(font "Arial" )) |
|
(text "inst20" (rect 8 96 37 108)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "a" (rect 0 0 5 12)(font "Arial" )) |
|
(text "a" (rect 21 27 26 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)) |
|
) |
|
(port |
|
(pt 0 48) |
|
(input) |
|
(text "b" (rect 0 0 5 12)(font "Arial" )) |
|
(text "b" (rect 21 43 26 55)(font "Arial" )) |
|
(line (pt 0 48)(pt 16 48)) |
|
) |
|
(port |
|
(pt 0 64) |
|
(input) |
|
(text "c" (rect 0 0 5 12)(font "Arial" )) |
|
(text "c" (rect 21 59 26 71)(font "Arial" )) |
|
(line (pt 0 64)(pt 16 64)) |
|
) |
|
(port |
|
(pt 0 80) |
|
(input) |
|
(text "d" (rect 0 0 5 12)(font "Arial" )) |
|
(text "d" (rect 21 75 26 87)(font "Arial" )) |
|
(line (pt 0 80)(pt 16 80)) |
|
) |
|
(port |
|
(pt 128 32) |
|
(output) |
|
(text "sign" (rect 0 0 20 12)(font "Arial" )) |
|
(text "sign" (rect 91 27 111 39)(font "Arial" )) |
|
(line (pt 128 32)(pt 112 32)) |
|
) |
|
(port |
|
(pt 128 48) |
|
(output) |
|
(text "o[3..0]" (rect 0 0 31 12)(font "Arial" )) |
|
(text "o[3..0]" (rect 81 43 112 55)(font "Arial" )) |
|
(line (pt 128 48)(pt 112 48)(line_width 3)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 112 96)) |
|
) |
|
) |
|
(symbol |
|
(rect 376 112 496 304) |
|
(text "7483" (rect 47 1 80 17)(font "Arial" (font_size 10))) |
|
(text "inst" (rect 3 181 18 191)(font "Arial" (font_size 6))) |
|
(port |
|
(pt 0 168) |
|
(input) |
|
(text "B4" (rect 21 162 36 176)(font "Arial" (font_size 8))) |
|
(text "B4" (rect 21 162 36 176)(font "Arial" (font_size 8))) |
|
(line (pt 0 168)(pt 16 168)) |
|
) |
|
(port |
|
(pt 0 24) |
|
(input) |
|
(text "C0" (rect 21 19 36 33)(font "Arial" (font_size 8))) |
|
(text "C0" (rect 21 19 36 33)(font "Arial" (font_size 8))) |
|
(line (pt 0 24)(pt 16 24)) |
|
) |
|
(port |
|
(pt 0 56) |
|
(input) |
|
(text "A1" (rect 21 51 37 65)(font "Arial" (font_size 8))) |
|
(text "A1" (rect 21 51 37 65)(font "Arial" (font_size 8))) |
|
(line (pt 0 56)(pt 16 56)) |
|
) |
|
(port |
|
(pt 0 88) |
|
(input) |
|
(text "A2" (rect 21 83 37 97)(font "Arial" (font_size 8))) |
|
(text "A2" (rect 21 83 37 97)(font "Arial" (font_size 8))) |
|
(line (pt 0 88)(pt 16 88)) |
|
) |
|
(port |
|
(pt 0 72) |
|
(input) |
|
(text "B1" (rect 21 67 36 81)(font "Arial" (font_size 8))) |
|
(text "B1" (rect 21 67 36 81)(font "Arial" (font_size 8))) |
|
(line (pt 0 72)(pt 16 72)) |
|
) |
|
(port |
|
(pt 0 104) |
|
(input) |
|
(text "B2" (rect 21 99 36 113)(font "Arial" (font_size 8))) |
|
(text "B2" (rect 21 99 36 113)(font "Arial" (font_size 8))) |
|
(line (pt 0 104)(pt 16 104)) |
|
) |
|
(port |
|
(pt 0 120) |
|
(input) |
|
(text "A3" (rect 21 115 37 129)(font "Arial" (font_size 8))) |
|
(text "A3" (rect 21 115 37 129)(font "Arial" (font_size 8))) |
|
(line (pt 0 120)(pt 16 120)) |
|
) |
|
(port |
|
(pt 0 136) |
|
(input) |
|
(text "B3" (rect 21 131 36 145)(font "Arial" (font_size 8))) |
|
(text "B3" (rect 21 131 36 145)(font "Arial" (font_size 8))) |
|
(line (pt 0 136)(pt 16 136)) |
|
) |
|
(port |
|
(pt 0 152) |
|
(input) |
|
(text "A4" (rect 21 147 37 161)(font "Arial" (font_size 8))) |
|
(text "A4" (rect 21 147 37 161)(font "Arial" (font_size 8))) |
|
(line (pt 0 152)(pt 16 152)) |
|
) |
|
(port |
|
(pt 120 88) |
|
(output) |
|
(text "S3" (rect 87 83 102 97)(font "Arial" (font_size 8))) |
|
(text "S3" (rect 87 83 102 97)(font "Arial" (font_size 8))) |
|
(line (pt 104 88)(pt 120 88)) |
|
) |
|
(port |
|
(pt 120 104) |
|
(output) |
|
(text "S4" (rect 87 99 102 113)(font "Arial" (font_size 8))) |
|
(text "S4" (rect 87 99 102 113)(font "Arial" (font_size 8))) |
|
(line (pt 104 104)(pt 120 104)) |
|
) |
|
(port |
|
(pt 120 72) |
|
(output) |
|
(text "S2" (rect 87 67 102 81)(font "Arial" (font_size 8))) |
|
(text "S2" (rect 87 67 102 81)(font "Arial" (font_size 8))) |
|
(line (pt 104 72)(pt 120 72)) |
|
) |
|
(port |
|
(pt 120 136) |
|
(output) |
|
(text "C4" (rect 87 131 102 145)(font "Arial" (font_size 8))) |
|
(text "C4" (rect 87 131 102 145)(font "Arial" (font_size 8))) |
|
(line (pt 104 136)(pt 120 136)) |
|
) |
|
(port |
|
(pt 120 56) |
|
(output) |
|
(text "S1" (rect 87 51 102 65)(font "Arial" (font_size 8))) |
|
(text "S1" (rect 87 51 102 65)(font "Arial" (font_size 8))) |
|
(line (pt 104 56)(pt 120 56)) |
|
) |
|
(drawing |
|
(text "FULL ADDER" (rect 29 179 103 193)(font "Arial" (font_size 8))) |
|
(line (pt 16 16)(pt 104 16)) |
|
(line (pt 16 176)(pt 16 16)) |
|
(line (pt 16 176)(pt 104 176)) |
|
(line (pt 104 176)(pt 104 16)) |
|
) |
|
) |
|
(symbol |
|
(rect 184 312 320 456) |
|
(text "operator" (rect 5 0 45 12)(font "Arial" )) |
|
(text "inst21" (rect 8 128 37 140)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "b1" (rect 0 0 11 12)(font "Arial" )) |
|
(text "b1" (rect 21 27 32 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)) |
|
) |
|
(port |
|
(pt 0 48) |
|
(input) |
|
(text "b2" (rect 0 0 11 12)(font "Arial" )) |
|
(text "b2" (rect 21 43 32 55)(font "Arial" )) |
|
(line (pt 0 48)(pt 16 48)) |
|
) |
|
(port |
|
(pt 0 64) |
|
(input) |
|
(text "b3" (rect 0 0 11 12)(font "Arial" )) |
|
(text "b3" (rect 21 59 32 71)(font "Arial" )) |
|
(line (pt 0 64)(pt 16 64)) |
|
) |
|
(port |
|
(pt 0 80) |
|
(input) |
|
(text "b4" (rect 0 0 11 12)(font "Arial" )) |
|
(text "b4" (rect 21 75 32 87)(font "Arial" )) |
|
(line (pt 0 80)(pt 16 80)) |
|
) |
|
(port |
|
(pt 0 96) |
|
(input) |
|
(text "isAdd" (rect 0 0 27 12)(font "Arial" )) |
|
(text "isAdd" (rect 21 91 48 103)(font "Arial" )) |
|
(line (pt 0 96)(pt 16 96)) |
|
) |
|
(port |
|
(pt 136 32) |
|
(output) |
|
(text "o1" (rect 0 0 11 12)(font "Arial" )) |
|
(text "o1" (rect 106 27 117 39)(font "Arial" )) |
|
(line (pt 136 32)(pt 120 32)) |
|
) |
|
(port |
|
(pt 136 48) |
|
(output) |
|
(text "o2" (rect 0 0 11 12)(font "Arial" )) |
|
(text "o2" (rect 106 43 117 55)(font "Arial" )) |
|
(line (pt 136 48)(pt 120 48)) |
|
) |
|
(port |
|
(pt 136 64) |
|
(output) |
|
(text "o3" (rect 0 0 11 12)(font "Arial" )) |
|
(text "o3" (rect 106 59 117 71)(font "Arial" )) |
|
(line (pt 136 64)(pt 120 64)) |
|
) |
|
(port |
|
(pt 136 80) |
|
(output) |
|
(text "o4" (rect 0 0 11 12)(font "Arial" )) |
|
(text "o4" (rect 106 75 117 87)(font "Arial" )) |
|
(line (pt 136 80)(pt 120 80)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 120 128)) |
|
) |
|
) |
|
(symbol |
|
(rect 728 400 848 512) |
|
(text "overflow" (rect 5 0 47 12)(font "Arial" )) |
|
(text "inst23" (rect 8 96 37 108)(font "Arial" )) |
|
(port |
|
(pt 0 32) |
|
(input) |
|
(text "iA" (rect 0 0 10 12)(font "Arial" )) |
|
(text "iA" (rect 21 27 31 39)(font "Arial" )) |
|
(line (pt 0 32)(pt 16 32)) |
|
) |
|
(port |
|
(pt 0 48) |
|
(input) |
|
(text "iB" (rect 0 0 9 12)(font "Arial" )) |
|
(text "iB" (rect 21 43 30 55)(font "Arial" )) |
|
(line (pt 0 48)(pt 16 48)) |
|
) |
|
(port |
|
(pt 0 64) |
|
(input) |
|
(text "o" (rect 0 0 5 12)(font "Arial" )) |
|
(text "o" (rect 21 59 26 71)(font "Arial" )) |
|
(line (pt 0 64)(pt 16 64)) |
|
) |
|
(port |
|
(pt 120 32) |
|
(output) |
|
(text "v" (rect 0 0 7 12)(font "Arial" )) |
|
(text "v" (rect 94 27 101 39)(font "Arial" )) |
|
(line (pt 120 32)(pt 104 32)) |
|
) |
|
(drawing |
|
(rectangle (rect 16 16 104 96)) |
|
) |
|
) |
|
(symbol |
|
(rect 536 16 584 48) |
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) |
|
(text "inst25" (rect 3 21 32 33)(font "Arial" )) |
|
(port |
|
(pt 0 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 0 16)(pt 13 16)) |
|
) |
|
(port |
|
(pt 48 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(line (pt 39 16)(pt 48 16)) |
|
) |
|
(drawing |
|
(line (pt 13 25)(pt 13 7)) |
|
(line (pt 13 7)(pt 31 16)) |
|
(line (pt 13 25)(pt 31 16)) |
|
(circle (rect 31 12 39 20)) |
|
) |
|
) |
|
(symbol |
|
(rect 528 320 576 352) |
|
(text "NOT" (rect 27 22 47 32)(font "Arial" (font_size 6))) |
|
(text "inst26" (rect 16 -1 45 11)(font "Arial" )) |
|
(port |
|
(pt 48 16) |
|
(input) |
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) |
|
(text "IN" (rect 35 13 46 25)(font "Courier New" (bold))(invisible)) |
|
(line (pt 48 16)(pt 35 16)) |
|
) |
|
(port |
|
(pt 0 16) |
|
(output) |
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
|
(text "OUT" (rect -1 13 16 25)(font "Courier New" (bold))(invisible)) |
|
(line (pt 9 16)(pt 0 16)) |
|
) |
|
(drawing |
|
(line (pt 35 7)(pt 35 25)) |
|
(line (pt 35 25)(pt 17 16)) |
|
(line (pt 35 7)(pt 17 16)) |
|
(circle (rect 9 12 17 20)) |
|
) |
|
(rotate180) |
|
) |
|
(connector |
|
(pt 1240 80) |
|
(pt 1176 80) |
|
) |
|
(connector |
|
(pt 1240 112) |
|
(pt 1208 112) |
|
) |
|
(connector |
|
(pt 1240 240) |
|
(pt 1184 240) |
|
) |
|
(connector |
|
(pt 1176 80) |
|
(pt 1176 120) |
|
) |
|
(connector |
|
(pt 1208 112) |
|
(pt 1208 136) |
|
) |
|
(connector |
|
(pt 1208 144) |
|
(pt 1208 152) |
|
) |
|
(connector |
|
(pt 1200 176) |
|
(pt 1200 168) |
|
) |
|
(connector |
|
(pt 1192 208) |
|
(pt 1192 184) |
|
) |
|
(connector |
|
(pt 1184 240) |
|
(pt 1184 200) |
|
) |
|
(connector |
|
(pt 1240 272) |
|
(pt 1152 272) |
|
) |
|
(connector |
|
(pt 1152 216) |
|
(pt 1152 272) |
|
) |
|
(connector |
|
(pt 1208 144) |
|
(pt 1240 144) |
|
) |
|
(connector |
|
(pt 1200 176) |
|
(pt 1240 176) |
|
) |
|
(connector |
|
(pt 1192 208) |
|
(pt 1240 208) |
|
) |
|
(connector |
|
(pt 1240 352) |
|
(pt 1176 352) |
|
) |
|
(connector |
|
(pt 1240 384) |
|
(pt 1208 384) |
|
) |
|
(connector |
|
(pt 1240 512) |
|
(pt 1184 512) |
|
) |
|
(connector |
|
(pt 1176 352) |
|
(pt 1176 392) |
|
) |
|
(connector |
|
(pt 1208 384) |
|
(pt 1208 408) |
|
) |
|
(connector |
|
(pt 1208 416) |
|
(pt 1208 424) |
|
) |
|
(connector |
|
(pt 1200 448) |
|
(pt 1200 440) |
|
) |
|
(connector |
|
(pt 1192 480) |
|
(pt 1192 456) |
|
) |
|
(connector |
|
(pt 1184 512) |
|
(pt 1184 472) |
|
) |
|
(connector |
|
(pt 1240 544) |
|
(pt 1152 544) |
|
) |
|
(connector |
|
(pt 1152 488) |
|
(pt 1152 544) |
|
) |
|
(connector |
|
(pt 1208 416) |
|
(pt 1240 416) |
|
) |
|
(connector |
|
(pt 1200 448) |
|
(pt 1240 448) |
|
) |
|
(connector |
|
(pt 1192 480) |
|
(pt 1240 480) |
|
) |
|
(connector |
|
(pt 1152 392) |
|
(pt 1176 392) |
|
) |
|
(connector |
|
(pt 1152 408) |
|
(pt 1208 408) |
|
) |
|
(connector |
|
(pt 1152 424) |
|
(pt 1208 424) |
|
) |
|
(connector |
|
(pt 1152 440) |
|
(pt 1200 440) |
|
) |
|
(connector |
|
(pt 1152 456) |
|
(pt 1192 456) |
|
) |
|
(connector |
|
(pt 1152 472) |
|
(pt 1184 472) |
|
) |
|
(connector |
|
(pt 952 392) |
|
(pt 1032 392) |
|
) |
|
(connector |
|
(pt 1152 120) |
|
(pt 1176 120) |
|
) |
|
(connector |
|
(pt 1152 136) |
|
(pt 1208 136) |
|
) |
|
(connector |
|
(pt 1152 152) |
|
(pt 1208 152) |
|
) |
|
(connector |
|
(pt 1152 168) |
|
(pt 1200 168) |
|
) |
|
(connector |
|
(pt 1152 184) |
|
(pt 1192 184) |
|
) |
|
(connector |
|
(pt 1152 200) |
|
(pt 1184 200) |
|
) |
|
(connector |
|
(pt 536 56) |
|
(pt 536 152) |
|
) |
|
(connector |
|
(pt 584 32) |
|
(pt 584 136) |
|
) |
|
(connector |
|
(pt 584 136) |
|
(pt 632 136) |
|
) |
|
(connector |
|
(pt 768 120) |
|
(pt 736 120) |
|
) |
|
(connector |
|
(pt 760 152) |
|
(pt 736 152) |
|
) |
|
(connector |
|
(pt 768 216) |
|
(pt 736 216) |
|
) |
|
(connector |
|
(pt 952 144) |
|
(pt 928 144) |
|
) |
|
(connector |
|
(pt 952 392) |
|
(pt 952 144) |
|
) |
|
(connector |
|
(pt 768 144) |
|
(pt 800 144) |
|
) |
|
(connector |
|
(pt 760 160) |
|
(pt 800 160) |
|
) |
|
(connector |
|
(pt 768 192) |
|
(pt 800 192) |
|
) |
|
(connector |
|
(pt 760 152) |
|
(pt 760 160) |
|
) |
|
(connector |
|
(pt 768 216) |
|
(pt 768 192) |
|
) |
|
(connector |
|
(pt 744 184) |
|
(pt 744 176) |
|
) |
|
(connector |
|
(pt 736 184) |
|
(pt 744 184) |
|
) |
|
(connector |
|
(pt 744 176) |
|
(pt 800 176) |
|
) |
|
(connector |
|
(pt 240 56) |
|
(pt 536 56) |
|
) |
|
(connector |
|
(pt 496 184) |
|
(pt 632 184) |
|
) |
|
(connector |
|
(pt 496 200) |
|
(pt 632 200) |
|
) |
|
(connector |
|
(pt 192 168) |
|
(pt 376 168) |
|
) |
|
(connector |
|
(pt 192 184) |
|
(pt 312 184) |
|
) |
|
(connector |
|
(pt 312 184) |
|
(pt 312 200) |
|
) |
|
(connector |
|
(pt 312 200) |
|
(pt 376 200) |
|
) |
|
(connector |
|
(pt 264 200) |
|
(pt 192 200) |
|
) |
|
(connector |
|
(pt 264 200) |
|
(pt 264 232) |
|
) |
|
(connector |
|
(pt 264 232) |
|
(pt 376 232) |
|
) |
|
(connector |
|
(pt 192 216) |
|
(pt 232 216) |
|
) |
|
(connector |
|
(pt 232 216) |
|
(pt 232 264) |
|
) |
|
(connector |
|
(pt 320 344) |
|
(pt 328 344) |
|
) |
|
(connector |
|
(pt 328 344) |
|
(pt 328 184) |
|
) |
|
(connector |
|
(pt 328 184) |
|
(pt 376 184) |
|
) |
|
(connector |
|
(pt 320 360) |
|
(pt 344 360) |
|
) |
|
(connector |
|
(pt 344 360) |
|
(pt 344 216) |
|
) |
|
(connector |
|
(pt 344 216) |
|
(pt 376 216) |
|
) |
|
(connector |
|
(pt 320 376) |
|
(pt 360 376) |
|
) |
|
(connector |
|
(pt 360 376) |
|
(pt 360 248) |
|
) |
|
(connector |
|
(pt 360 248) |
|
(pt 376 248) |
|
) |
|
(connector |
|
(pt 376 392) |
|
(pt 376 280) |
|
) |
|
(connector |
|
(pt 568 440) |
|
(pt 592 440) |
|
) |
|
(connector |
|
(pt 184 472) |
|
(pt 592 472) |
|
) |
|
(connector |
|
(pt 184 472) |
|
(pt 184 408) |
|
) |
|
(connector |
|
(pt 592 336) |
|
(pt 592 440) |
|
) |
|
(connector |
|
(pt 592 440) |
|
(pt 592 472) |
|
) |
|
(connector |
|
(pt 512 336) |
|
(pt 512 96) |
|
) |
|
(connector |
|
(pt 512 96) |
|
(pt 376 96) |
|
) |
|
(connector |
|
(pt 376 96) |
|
(pt 376 136) |
|
) |
|
(connector |
|
(pt 416 312) |
|
(pt 416 368) |
|
) |
|
(connector |
|
(pt 416 312) |
|
(pt 280 312) |
|
) |
|
(connector |
|
(pt 280 312) |
|
(pt 280 264) |
|
) |
|
(connector |
|
(pt 376 264) |
|
(pt 280 264) |
|
) |
|
(connector |
|
(pt 280 264) |
|
(pt 232 264) |
|
) |
|
(connector |
|
(pt 320 392) |
|
(pt 376 392) |
|
) |
|
(connector |
|
(pt 376 392) |
|
(pt 688 392) |
|
) |
|
(connector |
|
(pt 688 448) |
|
(pt 728 448) |
|
) |
|
(connector |
|
(pt 688 392) |
|
(pt 688 448) |
|
) |
|
(connector |
|
(pt 728 368) |
|
(pt 416 368) |
|
) |
|
(connector |
|
(pt 728 368) |
|
(pt 728 432) |
|
) |
|
(connector |
|
(text "i[3..0]" (rect 938 144 966 156)(font "Arial" )) |
|
(pt 984 160) |
|
(pt 928 160) |
|
(bus) |
|
) |
|
(connector |
|
(pt 984 120) |
|
(pt 984 160) |
|
(bus) |
|
) |
|
(connector |
|
(pt 984 120) |
|
(pt 1024 120) |
|
(bus) |
|
) |
|
(connector |
|
(pt 944 0) |
|
(pt 952 0) |
|
) |
|
(connector |
|
(pt 496 168) |
|
(pt 632 168) |
|
) |
|
(connector |
|
(pt 728 464) |
|
(pt 616 464) |
|
) |
|
(connector |
|
(pt 616 216) |
|
(pt 616 464) |
|
) |
|
(connector |
|
(pt 496 216) |
|
(pt 616 216) |
|
) |
|
(connector |
|
(pt 616 216) |
|
(pt 632 216) |
|
) |
|
(connector |
|
(pt 536 152) |
|
(pt 632 152) |
|
) |
|
(connector |
|
(pt 536 32) |
|
(pt 240 32) |
|
) |
|
(connector |
|
(pt 576 336) |
|
(pt 592 336) |
|
) |
|
(connector |
|
(pt 512 336) |
|
(pt 528 336) |
|
) |
|
(connector |
|
(pt 768 120) |
|
(pt 768 144) |
|
) |
|
(junction (pt 592 440)) |
|
(junction (pt 280 264)) |
|
(junction (pt 376 392)) |
|
(junction (pt 616 216))
|
|
|