diff --git a/register_4x/38_decoder.bdf b/register_4x/38_decoder.bdf new file mode 100644 index 0000000..4f89c23 --- /dev/null +++ b/register_4x/38_decoder.bdf @@ -0,0 +1,886 @@ +/* +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-2009 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. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 32 328 200 344) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "I0" (rect 5 0 14 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 240 200 256) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "I1" (rect 5 0 14 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 144 200 160) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "I2" (rect 5 0 14 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (output) + (rect 664 40 840 56) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 376 840 392) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 328 840 344) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 280 840 296) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 232 840 248) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 184 840 200) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 136 840 152) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 664 88 840 104) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Y6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 296 136 344 168) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst" (rect 3 21 20 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)(line_width 1)) + ) + (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)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 296 232 344 264) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst1" (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)(line_width 1)) + ) + (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)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 296 320 344 352) + (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)(line_width 1)) + ) + (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)(line_width 1)) + ) + (drawing + (line (pt 13 25)(pt 13 7)(line_width 1)) + (line (pt 13 7)(pt 31 16)(line_width 1)) + (line (pt 13 25)(pt 31 16)(line_width 1)) + (circle (rect 31 12 39 20)(line_width 1)) + ) +) +(symbol + (rect 544 24 608 72) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 72 608 120) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 120 608 168) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 168 608 216) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 216 608 264) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 264 608 312) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 312 608 360) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst9" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(symbol + (rect 544 360 608 408) + (text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst10" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 16 16)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible)) + (line (pt 0 24)(pt 16 24)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 43 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 16 12)(pt 31 12)(line_width 1)) + (line (pt 16 37)(pt 31 37)(line_width 1)) + (line (pt 16 12)(pt 16 37)(line_width 1)) + (arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1)) + ) +) +(connector + (pt 216 40) + (pt 216 152) +) +(connector + (pt 240 48) + (pt 240 248) +) +(connector + (pt 264 56) + (pt 264 336) +) +(connector + (pt 544 184) + (pt 360 184) +) +(connector + (pt 344 152) + (pt 376 152) +) +(connector + (pt 376 376) + (pt 544 376) +) +(connector + (pt 544 88) + (pt 360 88) +) +(connector + (pt 544 288) + (pt 416 288) +) +(connector + (pt 544 344) + (pt 464 344) +) +(connector + (pt 544 96) + (pt 416 96) +) +(connector + (pt 544 328) + (pt 376 328) +) +(connector + (pt 544 280) + (pt 376 280) +) +(connector + (pt 544 232) + (pt 376 232) +) +(connector + (pt 544 240) + (pt 416 240) +) +(connector + (pt 544 104) + (pt 520 104) +) +(connector + (pt 520 392) + (pt 544 392) +) +(connector + (pt 544 296) + (pt 520 296) +) +(connector + (pt 544 200) + (pt 520 200) +) +(connector + (pt 344 336) + (pt 520 336) +) +(connector + (pt 544 136) + (pt 360 136) +) +(connector + (pt 544 152) + (pt 464 152) +) +(connector + (pt 544 144) + (pt 400 144) +) +(connector + (pt 400 384) + (pt 544 384) +) +(connector + (pt 544 336) + (pt 528 336) +) +(connector + (pt 528 336) + (pt 528 352) +) +(connector + (pt 528 352) + (pt 400 352) +) +(connector + (pt 544 192) + (pt 400 192) +) +(connector + (pt 344 248) + (pt 400 248) +) +(connector + (pt 544 248) + (pt 464 248) +) +(connector + (pt 608 336) + (pt 664 336) +) +(connector + (pt 608 288) + (pt 664 288) +) +(connector + (pt 608 384) + (pt 664 384) +) +(connector + (pt 608 240) + (pt 664 240) +) +(connector + (pt 608 192) + (pt 664 192) +) +(connector + (pt 608 144) + (pt 664 144) +) +(connector + (pt 608 96) + (pt 664 96) +) +(connector + (pt 608 48) + (pt 664 48) +) +(connector + (pt 200 152) + (pt 216 152) +) +(connector + (pt 216 152) + (pt 296 152) +) +(connector + (pt 200 248) + (pt 240 248) +) +(connector + (pt 240 248) + (pt 296 248) +) +(connector + (pt 200 336) + (pt 264 336) +) +(connector + (pt 264 336) + (pt 296 336) +) +(connector + (pt 216 40) + (pt 360 40) +) +(connector + (pt 360 40) + (pt 544 40) +) +(connector + (pt 240 48) + (pt 416 48) +) +(connector + (pt 416 48) + (pt 544 48) +) +(connector + (pt 376 328) + (pt 376 376) +) +(connector + (pt 376 152) + (pt 376 232) +) +(connector + (pt 376 232) + (pt 376 280) +) +(connector + (pt 376 280) + (pt 376 328) +) +(connector + (pt 416 48) + (pt 416 96) +) +(connector + (pt 416 96) + (pt 416 240) +) +(connector + (pt 416 240) + (pt 416 288) +) +(connector + (pt 520 104) + (pt 520 200) +) +(connector + (pt 520 200) + (pt 520 296) +) +(connector + (pt 520 296) + (pt 520 336) +) +(connector + (pt 520 336) + (pt 520 392) +) +(connector + (pt 360 40) + (pt 360 88) +) +(connector + (pt 360 88) + (pt 360 136) +) +(connector + (pt 360 136) + (pt 360 184) +) +(connector + (pt 264 56) + (pt 464 56) +) +(connector + (pt 464 56) + (pt 544 56) +) +(connector + (pt 400 144) + (pt 400 192) +) +(connector + (pt 400 192) + (pt 400 248) +) +(connector + (pt 400 248) + (pt 400 352) +) +(connector + (pt 400 352) + (pt 400 384) +) +(connector + (pt 464 56) + (pt 464 152) +) +(connector + (pt 464 152) + (pt 464 248) +) +(connector + (pt 464 248) + (pt 464 344) +) +(junction (pt 216 152)) +(junction (pt 240 248)) +(junction (pt 264 336)) +(junction (pt 360 88)) +(junction (pt 360 40)) +(junction (pt 416 96)) +(junction (pt 416 48)) +(junction (pt 376 328)) +(junction (pt 376 280)) +(junction (pt 376 232)) +(junction (pt 416 240)) +(junction (pt 520 200)) +(junction (pt 520 296)) +(junction (pt 520 336)) +(junction (pt 360 136)) +(junction (pt 464 152)) +(junction (pt 464 56)) +(junction (pt 400 352)) +(junction (pt 400 192)) +(junction (pt 400 248)) +(junction (pt 464 248)) diff --git a/register_4x/38_decoder.bsf b/register_4x/38_decoder.bsf new file mode 100644 index 0000000..942dc3a --- /dev/null +++ b/register_4x/38_decoder.bsf @@ -0,0 +1,106 @@ +/* +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-2009 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 "symbol" (version "1.1")) +(symbol + (rect 16 16 112 208) + (text "38_decoder" (rect 5 0 73 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 176 25 188)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "I2" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I2" (rect 21 27 30 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "I1" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I1" (rect 21 43 30 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "I0" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I0" (rect 21 59 30 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 176)(line_width 1)) + ) +) diff --git a/register_4x/register_4x.bdf b/register_4x/register_4x.bdf new file mode 100644 index 0000000..d1eb004 --- /dev/null +++ b/register_4x/register_4x.bdf @@ -0,0 +1,2154 @@ +/* +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-2009 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. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 448 232 616 248) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D0" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 448 216 616 232) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D1" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 448 200 616 216) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D2" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 448 184 616 200) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D3" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 448 168 616 184) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D4" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 448 152 616 168) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D5" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 448 136 616 152) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D6" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 448 120 616 136) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D7" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect -96 48 72 64) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "EN0" (rect 5 0 26 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect -96 32 72 48) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "EN1" (rect 5 0 26 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect -96 248 72 264) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CP" (rect 5 0 20 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect -112 -304 56 -288) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CLR" (rect 5 0 27 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (output) + (rect 1112 184 1288 200) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1112 168 1288 184) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1112 152 1288 168) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1112 136 1288 152) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1112 120 1288 136) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1112 104 1288 120) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1112 88 1288 104) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 1112 72 1288 88) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 104 -8 200 184) + (text "38_decoder" (rect 5 0 73 14)(font "Arial" (font_size 8))) + (text "inst4" (rect 8 176 31 188)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "I2" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I2" (rect 21 27 30 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "I1" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I1" (rect 21 43 30 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "I0" (rect 0 0 9 14)(font "Arial" (font_size 8))) + (text "I0" (rect 21 59 30 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 176)(line_width 1)) + ) +) +(symbol + (rect 72 128 104 160) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 21 26 33)(font "Arial" )(invisible)) + (port + (pt 16 0) + (output) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible)) + (line (pt 16 8)(pt 16 0)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 16 16)(line_width 1)) + (line (pt 16 16)(pt 24 8)(line_width 1)) + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) +) +(symbol + (rect 864 48 960 272) + (text "register_8b_with_switch" (rect 5 0 147 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 208 25 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "EN" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "EN" (rect 21 27 36 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 208)(line_width 1)) + ) +) +(symbol + (rect 864 280 960 504) + (text "register_8b_with_switch" (rect 5 0 147 14)(font "Arial" (font_size 8))) + (text "inst6" (rect 8 208 31 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "EN" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "EN" (rect 21 27 36 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 208)(line_width 1)) + ) +) +(symbol + (rect 864 512 960 736) + (text "register_8b_with_switch" (rect 5 0 147 14)(font "Arial" (font_size 8))) + (text "inst7" (rect 8 208 31 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "EN" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "EN" (rect 21 27 36 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 208)(line_width 1)) + ) +) +(symbol + (rect 864 744 960 968) + (text "register_8b_with_switch" (rect 5 0 147 14)(font "Arial" (font_size 8))) + (text "inst8" (rect 8 208 31 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "EN" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "EN" (rect 21 27 36 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 208)(line_width 1)) + ) +) +(symbol + (rect 296 -200 360 -152) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst9" (rect 3 37 26 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 -128 360 -80) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst10" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 -64 360 -16) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst11" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 296 0 360 48) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst12" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 648 -200 712 -152) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst13" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 648 -128 712 -80) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst14" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 648 -64 712 -16) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst15" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(symbol + (rect 648 0 712 48) + (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) + (text "inst16" (rect 3 37 32 49)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 14 16)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible)) + (line (pt 0 32)(pt 14 32)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) + (line (pt 42 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 14 12)(pt 30 12)(line_width 1)) + (line (pt 14 37)(pt 31 37)(line_width 1)) + (line (pt 14 12)(pt 14 37)(line_width 1)) + (arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1)) + ) +) +(connector + (pt 616 240) + (pt 816 240) +) +(connector + (pt 816 240) + (pt 864 240) +) +(connector + (pt 864 936) + (pt 816 936) +) +(connector + (pt 800 920) + (pt 864 920) +) +(connector + (pt 616 224) + (pt 800 224) +) +(connector + (pt 800 224) + (pt 864 224) +) +(connector + (pt 784 904) + (pt 864 904) +) +(connector + (pt 616 208) + (pt 784 208) +) +(connector + (pt 784 208) + (pt 864 208) +) +(connector + (pt 768 888) + (pt 864 888) +) +(connector + (pt 616 192) + (pt 768 192) +) +(connector + (pt 768 192) + (pt 864 192) +) +(connector + (pt 752 872) + (pt 864 872) +) +(connector + (pt 864 176) + (pt 752 176) +) +(connector + (pt 752 176) + (pt 616 176) +) +(connector + (pt 736 856) + (pt 864 856) +) +(connector + (pt 616 160) + (pt 736 160) +) +(connector + (pt 736 160) + (pt 864 160) +) +(connector + (pt 720 840) + (pt 864 840) +) +(connector + (pt 616 144) + (pt 720 144) +) +(connector + (pt 720 144) + (pt 864 144) +) +(connector + (pt 704 824) + (pt 864 824) +) +(connector + (pt 864 128) + (pt 704 128) +) +(connector + (pt 704 128) + (pt 616 128) +) +(connector + (pt 816 472) + (pt 864 472) +) +(connector + (pt 816 240) + (pt 816 472) +) +(connector + (pt 864 456) + (pt 800 456) +) +(connector + (pt 800 224) + (pt 800 456) +) +(connector + (pt 864 440) + (pt 784 440) +) +(connector + (pt 784 208) + (pt 784 440) +) +(connector + (pt 864 424) + (pt 768 424) +) +(connector + (pt 768 192) + (pt 768 424) +) +(connector + (pt 864 408) + (pt 752 408) +) +(connector + (pt 752 176) + (pt 752 408) +) +(connector + (pt 864 392) + (pt 736 392) +) +(connector + (pt 736 160) + (pt 736 392) +) +(connector + (pt 864 376) + (pt 720 376) +) +(connector + (pt 720 144) + (pt 720 376) +) +(connector + (pt 864 360) + (pt 704 360) +) +(connector + (pt 704 128) + (pt 704 360) +) +(connector + (pt 864 704) + (pt 816 704) +) +(connector + (pt 816 472) + (pt 816 704) +) +(connector + (pt 816 704) + (pt 816 936) +) +(connector + (pt 864 688) + (pt 800 688) +) +(connector + (pt 800 456) + (pt 800 688) +) +(connector + (pt 800 688) + (pt 800 920) +) +(connector + (pt 864 672) + (pt 784 672) +) +(connector + (pt 784 440) + (pt 784 672) +) +(connector + (pt 784 672) + (pt 784 904) +) +(connector + (pt 864 656) + (pt 768 656) +) +(connector + (pt 768 424) + (pt 768 656) +) +(connector + (pt 768 656) + (pt 768 888) +) +(connector + (pt 864 640) + (pt 752 640) +) +(connector + (pt 752 408) + (pt 752 640) +) +(connector + (pt 752 640) + (pt 752 872) +) +(connector + (pt 864 624) + (pt 736 624) +) +(connector + (pt 736 392) + (pt 736 624) +) +(connector + (pt 736 624) + (pt 736 856) +) +(connector + (pt 864 608) + (pt 720 608) +) +(connector + (pt 720 376) + (pt 720 608) +) +(connector + (pt 720 608) + (pt 720 840) +) +(connector + (pt 864 592) + (pt 704 592) +) +(connector + (pt 704 360) + (pt 704 592) +) +(connector + (pt 704 592) + (pt 704 824) +) +(connector + (pt 104 56) + (pt 72 56) +) +(connector + (pt 104 40) + (pt 72 40) +) +(connector + (pt 104 24) + (pt 88 24) +) +(connector + (pt 88 24) + (pt 88 128) +) +(connector + (pt 72 256) + (pt 288 256) +) +(connector + (pt 288 32) + (pt 296 32) +) +(connector + (pt 280 136) + (pt 280 16) +) +(connector + (pt 280 16) + (pt 296 16) +) +(connector + (pt 272 120) + (pt 272 -48) +) +(connector + (pt 272 -48) + (pt 296 -48) +) +(connector + (pt 264 -112) + (pt 296 -112) +) +(connector + (pt 264 104) + (pt 264 -112) +) +(connector + (pt 256 88) + (pt 256 -184) +) +(connector + (pt 288 32) + (pt 288 256) +) +(connector + (pt 256 -184) + (pt 296 -184) +) +(connector + (pt 288 -168) + (pt 296 -168) +) +(connector + (pt 296 -32) + (pt 288 -32) +) +(connector + (pt 288 -32) + (pt 288 32) +) +(connector + (pt 296 -96) + (pt 288 -96) +) +(connector + (pt 288 -168) + (pt 288 -96) +) +(connector + (pt 288 -96) + (pt 288 -32) +) +(connector + (pt 864 808) + (pt 440 808) +) +(connector + (pt 440 808) + (pt 440 24) +) +(connector + (pt 360 24) + (pt 440 24) +) +(connector + (pt 864 576) + (pt 432 576) +) +(connector + (pt 432 576) + (pt 432 -40) +) +(connector + (pt 360 -40) + (pt 432 -40) +) +(connector + (pt 864 344) + (pt 424 344) +) +(connector + (pt 424 344) + (pt 424 -104) +) +(connector + (pt 360 -104) + (pt 424 -104) +) +(connector + (pt 864 112) + (pt 416 112) +) +(connector + (pt 416 112) + (pt 416 -176) +) +(connector + (pt 360 -176) + (pt 416 -176) +) +(connector + (pt 648 32) + (pt 408 32) +) +(connector + (pt 200 136) + (pt 280 136) +) +(connector + (pt 280 136) + (pt 408 136) +) +(connector + (pt 648 -32) + (pt 400 -32) +) +(connector + (pt 200 120) + (pt 272 120) +) +(connector + (pt 272 120) + (pt 400 120) +) +(connector + (pt 648 -96) + (pt 392 -96) +) +(connector + (pt 200 104) + (pt 264 104) +) +(connector + (pt 264 104) + (pt 392 104) +) +(connector + (pt 648 -168) + (pt 384 -168) +) +(connector + (pt 384 -168) + (pt 384 88) +) +(connector + (pt 200 88) + (pt 256 88) +) +(connector + (pt 56 -296) + (pt 616 -296) +) +(connector + (pt 616 16) + (pt 648 16) +) +(connector + (pt 648 -48) + (pt 616 -48) +) +(connector + (pt 616 -48) + (pt 616 16) +) +(connector + (pt 648 -112) + (pt 616 -112) +) +(connector + (pt 616 -112) + (pt 616 -48) +) +(connector + (pt 648 -184) + (pt 616 -184) +) +(connector + (pt 616 -296) + (pt 616 -184) +) +(connector + (pt 616 -184) + (pt 616 -112) +) +(connector + (pt 712 24) + (pt 824 24) +) +(connector + (pt 824 24) + (pt 824 792) +) +(connector + (pt 824 792) + (pt 864 792) +) +(connector + (pt 712 -40) + (pt 832 -40) +) +(connector + (pt 832 -40) + (pt 832 560) +) +(connector + (pt 832 560) + (pt 864 560) +) +(connector + (pt 712 -104) + (pt 840 -104) +) +(connector + (pt 840 -104) + (pt 840 328) +) +(connector + (pt 840 328) + (pt 864 328) +) +(connector + (pt 712 -176) + (pt 848 -176) +) +(connector + (pt 848 -176) + (pt 848 96) +) +(connector + (pt 848 96) + (pt 864 96) +) +(connector + (pt 808 88) + (pt 808 80) +) +(connector + (pt 256 88) + (pt 384 88) +) +(connector + (pt 384 88) + (pt 808 88) +) +(connector + (pt 808 80) + (pt 864 80) +) +(connector + (pt 392 312) + (pt 864 312) +) +(connector + (pt 392 -96) + (pt 392 104) +) +(connector + (pt 392 104) + (pt 392 312) +) +(connector + (pt 400 544) + (pt 864 544) +) +(connector + (pt 400 -32) + (pt 400 120) +) +(connector + (pt 400 120) + (pt 400 544) +) +(connector + (pt 408 776) + (pt 864 776) +) +(connector + (pt 408 32) + (pt 408 136) +) +(connector + (pt 408 136) + (pt 408 776) +) +(connector + (pt 984 888) + (pt 960 888) +) +(connector + (pt 1112 192) + (pt 984 192) +) +(connector + (pt 984 192) + (pt 960 192) +) +(connector + (pt 960 176) + (pt 992 176) +) +(connector + (pt 992 176) + (pt 1112 176) +) +(connector + (pt 992 872) + (pt 960 872) +) +(connector + (pt 1000 856) + (pt 960 856) +) +(connector + (pt 960 160) + (pt 1000 160) +) +(connector + (pt 1000 160) + (pt 1112 160) +) +(connector + (pt 1008 840) + (pt 960 840) +) +(connector + (pt 960 144) + (pt 1008 144) +) +(connector + (pt 1008 144) + (pt 1112 144) +) +(connector + (pt 1016 824) + (pt 960 824) +) +(connector + (pt 960 128) + (pt 1016 128) +) +(connector + (pt 1016 128) + (pt 1112 128) +) +(connector + (pt 1024 808) + (pt 960 808) +) +(connector + (pt 960 112) + (pt 1024 112) +) +(connector + (pt 1024 112) + (pt 1112 112) +) +(connector + (pt 1032 792) + (pt 960 792) +) +(connector + (pt 960 96) + (pt 1032 96) +) +(connector + (pt 1032 96) + (pt 1112 96) +) +(connector + (pt 1040 776) + (pt 960 776) +) +(connector + (pt 960 80) + (pt 1040 80) +) +(connector + (pt 1040 80) + (pt 1112 80) +) +(connector + (pt 960 424) + (pt 984 424) +) +(connector + (pt 984 192) + (pt 984 424) +) +(connector + (pt 960 408) + (pt 992 408) +) +(connector + (pt 992 176) + (pt 992 408) +) +(connector + (pt 960 392) + (pt 1000 392) +) +(connector + (pt 1000 160) + (pt 1000 392) +) +(connector + (pt 960 376) + (pt 1008 376) +) +(connector + (pt 1008 144) + (pt 1008 376) +) +(connector + (pt 960 360) + (pt 1016 360) +) +(connector + (pt 1016 128) + (pt 1016 360) +) +(connector + (pt 960 344) + (pt 1024 344) +) +(connector + (pt 1024 112) + (pt 1024 344) +) +(connector + (pt 960 328) + (pt 1032 328) +) +(connector + (pt 1032 96) + (pt 1032 328) +) +(connector + (pt 960 312) + (pt 1040 312) +) +(connector + (pt 1040 80) + (pt 1040 312) +) +(connector + (pt 960 656) + (pt 984 656) +) +(connector + (pt 984 424) + (pt 984 656) +) +(connector + (pt 984 656) + (pt 984 888) +) +(connector + (pt 960 640) + (pt 992 640) +) +(connector + (pt 992 408) + (pt 992 640) +) +(connector + (pt 992 640) + (pt 992 872) +) +(connector + (pt 960 624) + (pt 1000 624) +) +(connector + (pt 1000 392) + (pt 1000 624) +) +(connector + (pt 1000 624) + (pt 1000 856) +) +(connector + (pt 960 608) + (pt 1008 608) +) +(connector + (pt 1008 376) + (pt 1008 608) +) +(connector + (pt 1008 608) + (pt 1008 840) +) +(connector + (pt 960 592) + (pt 1016 592) +) +(connector + (pt 1016 360) + (pt 1016 592) +) +(connector + (pt 1016 592) + (pt 1016 824) +) +(connector + (pt 960 576) + (pt 1024 576) +) +(connector + (pt 1024 344) + (pt 1024 576) +) +(connector + (pt 1024 576) + (pt 1024 808) +) +(connector + (pt 960 560) + (pt 1032 560) +) +(connector + (pt 1032 328) + (pt 1032 560) +) +(connector + (pt 1032 560) + (pt 1032 792) +) +(connector + (pt 960 544) + (pt 1040 544) +) +(connector + (pt 1040 312) + (pt 1040 544) +) +(connector + (pt 1040 544) + (pt 1040 776) +) +(junction (pt 816 240)) +(junction (pt 800 224)) +(junction (pt 784 208)) +(junction (pt 768 192)) +(junction (pt 752 176)) +(junction (pt 736 160)) +(junction (pt 720 144)) +(junction (pt 704 128)) +(junction (pt 816 472)) +(junction (pt 800 456)) +(junction (pt 784 440)) +(junction (pt 768 424)) +(junction (pt 752 408)) +(junction (pt 736 392)) +(junction (pt 720 376)) +(junction (pt 704 360)) +(junction (pt 816 704)) +(junction (pt 800 688)) +(junction (pt 784 672)) +(junction (pt 768 656)) +(junction (pt 752 640)) +(junction (pt 736 624)) +(junction (pt 720 608)) +(junction (pt 704 592)) +(junction (pt 288 32)) +(junction (pt 288 -32)) +(junction (pt 288 -96)) +(junction (pt 280 136)) +(junction (pt 272 120)) +(junction (pt 264 104)) +(junction (pt 256 88)) +(junction (pt 616 -48)) +(junction (pt 616 -112)) +(junction (pt 616 -184)) +(junction (pt 384 88)) +(junction (pt 392 104)) +(junction (pt 400 120)) +(junction (pt 408 136)) +(junction (pt 984 192)) +(junction (pt 992 176)) +(junction (pt 1000 160)) +(junction (pt 1008 144)) +(junction (pt 1016 128)) +(junction (pt 1024 112)) +(junction (pt 1032 96)) +(junction (pt 1040 80)) +(junction (pt 984 424)) +(junction (pt 992 408)) +(junction (pt 1000 392)) +(junction (pt 1008 376)) +(junction (pt 1016 360)) +(junction (pt 1024 344)) +(junction (pt 1032 328)) +(junction (pt 1040 312)) +(junction (pt 984 656)) +(junction (pt 992 640)) +(junction (pt 1000 624)) +(junction (pt 1008 608)) +(junction (pt 1016 592)) +(junction (pt 1024 576)) +(junction (pt 1032 560)) +(junction (pt 1040 544)) diff --git a/register_4x/register_4x.bsf b/register_4x/register_4x.bsf new file mode 100644 index 0000000..0f6b07f --- /dev/null +++ b/register_4x/register_4x.bsf @@ -0,0 +1,169 @@ +/* +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-2009 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 "symbol" (version "1.1")) +(symbol + (rect 16 16 112 272) + (text "register_4x" (rect 5 0 69 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 240 25 252)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 27 44 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "EN1" (rect 0 0 22 14)(font "Arial" (font_size 8))) + (text "EN1" (rect 21 43 43 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "EN0" (rect 0 0 22 14)(font "Arial" (font_size 8))) + (text "EN0" (rect 21 59 43 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 0 208) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 203 36 217)(font "Arial" (font_size 8))) + (line (pt 0 208)(pt 16 208)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 240)(line_width 1)) + ) +) diff --git a/register_4x/register_4x.qpf b/register_4x/register_4x.qpf new file mode 100644 index 0000000..ffc03d4 --- /dev/null +++ b/register_4x/register_4x.qpf @@ -0,0 +1,30 @@ +# -------------------------------------------------------------------------- # +# +# Copyright (C) 1991-2009 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. +# +# -------------------------------------------------------------------------- # +# +# Quartus II +# Version 9.0 Build 235 06/17/2009 Service Pack 2 SJ Web Edition +# Date created = 14:35:36 March 29, 2022 +# +# -------------------------------------------------------------------------- # + +QUARTUS_VERSION = "9.0" +DATE = "14:35:36 March 29, 2022" + +# Revisions + +PROJECT_REVISION = "register_4x" diff --git a/register_4x/register_4x.qsf b/register_4x/register_4x.qsf new file mode 100644 index 0000000..25f9f55 --- /dev/null +++ b/register_4x/register_4x.qsf @@ -0,0 +1,53 @@ +# -------------------------------------------------------------------------- # +# +# Copyright (C) 1991-2009 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. +# +# -------------------------------------------------------------------------- # +# +# Quartus II +# Version 9.0 Build 235 06/17/2009 Service Pack 2 SJ Web Edition +# Date created = 14:35:36 March 29, 2022 +# +# -------------------------------------------------------------------------- # +# +# Notes: +# +# 1) The default values for assignments are stored in the file: +# register_4x_assignment_defaults.qdf +# If this file doesn't exist, see file: +# assignment_defaults.qdf +# +# 2) Altera recommends that you do not modify this file. This +# file is updated automatically by the Quartus II software +# and any changes you make may be lost or overwritten. +# +# -------------------------------------------------------------------------- # + + +set_global_assignment -name FAMILY "Cyclone II" +set_global_assignment -name DEVICE EP2C8Q208C8 +set_global_assignment -name TOP_LEVEL_ENTITY register_4x +set_global_assignment -name ORIGINAL_QUARTUS_VERSION "9.0 SP2" +set_global_assignment -name PROJECT_CREATION_TIME_DATE "14:35:36 MARCH 29, 2022" +set_global_assignment -name LAST_QUARTUS_VERSION "9.0 SP2" +set_global_assignment -name USE_GENERATED_PHYSICAL_CONSTRAINTS OFF -section_id eda_blast_fpga +set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0 +set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85 +set_global_assignment -name BDF_FILE register_4x.bdf +set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top +set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top +set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top +set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region" +set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region" \ No newline at end of file diff --git a/register_4x/register_8b.bdf b/register_4x/register_8b.bdf new file mode 100644 index 0000000..58d2990 --- /dev/null +++ b/register_4x/register_8b.bdf @@ -0,0 +1,1004 @@ +/* +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-2009 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. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 32 40 200 56) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CP" (rect 5 0 20 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 8 200 24) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CLR" (rect 5 0 27 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 80 200 96) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D7" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 176 200 192) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D6" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 272 200 288) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D5" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 368 200 384) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D4" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 464 200 480) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D3" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 560 200 576) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D2" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 656 200 672) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D1" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 752 200 768) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D0" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (output) + (rect 464 80 640 96) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 176 640 192) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 272 640 288) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 368 640 384) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 464 640 480) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 560 640 576) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 656 640 672) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 464 752 640 768) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 344 64 408 144) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst" (rect 3 68 20 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 160 408 240) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst2" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 256 408 336) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 352 408 432) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 448 408 528) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 544 408 624) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 640 408 720) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 344 736 408 816) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(connector + (pt 200 88) + (pt 344 88) +) +(connector + (pt 408 88) + (pt 464 88) +) +(connector + (pt 200 184) + (pt 344 184) +) +(connector + (pt 408 184) + (pt 464 184) +) +(connector + (pt 200 280) + (pt 344 280) +) +(connector + (pt 408 280) + (pt 464 280) +) +(connector + (pt 200 376) + (pt 344 376) +) +(connector + (pt 408 376) + (pt 464 376) +) +(connector + (pt 200 472) + (pt 344 472) +) +(connector + (pt 408 472) + (pt 464 472) +) +(connector + (pt 200 568) + (pt 344 568) +) +(connector + (pt 408 568) + (pt 464 568) +) +(connector + (pt 200 664) + (pt 344 664) +) +(connector + (pt 408 664) + (pt 464 664) +) +(connector + (pt 200 760) + (pt 344 760) +) +(connector + (pt 408 760) + (pt 464 760) +) +(connector + (pt 200 48) + (pt 248 48) +) +(connector + (pt 248 776) + (pt 344 776) +) +(connector + (pt 344 680) + (pt 248 680) +) +(connector + (pt 344 584) + (pt 248 584) +) +(connector + (pt 344 488) + (pt 248 488) +) +(connector + (pt 344 392) + (pt 248 392) +) +(connector + (pt 344 296) + (pt 248 296) +) +(connector + (pt 344 200) + (pt 248 200) +) +(connector + (pt 344 104) + (pt 248 104) +) +(connector + (pt 376 728) + (pt 280 728) +) +(connector + (pt 376 152) + (pt 280 152) +) +(connector + (pt 376 632) + (pt 280 632) +) +(connector + (pt 376 536) + (pt 280 536) +) +(connector + (pt 376 440) + (pt 280 440) +) +(connector + (pt 376 248) + (pt 280 248) +) +(connector + (pt 376 816) + (pt 376 832) +) +(connector + (pt 280 832) + (pt 376 832) +) +(connector + (pt 376 344) + (pt 280 344) +) +(connector + (pt 200 16) + (pt 376 16) +) +(connector + (pt 280 40) + (pt 376 40) +) +(connector + (pt 248 680) + (pt 248 776) +) +(connector + (pt 248 584) + (pt 248 680) +) +(connector + (pt 248 488) + (pt 248 584) +) +(connector + (pt 248 392) + (pt 248 488) +) +(connector + (pt 248 48) + (pt 248 104) +) +(connector + (pt 248 104) + (pt 248 200) +) +(connector + (pt 248 200) + (pt 248 296) +) +(connector + (pt 248 296) + (pt 248 392) +) +(connector + (pt 376 720) + (pt 376 728) +) +(connector + (pt 376 728) + (pt 376 736) +) +(connector + (pt 376 144) + (pt 376 152) +) +(connector + (pt 376 152) + (pt 376 160) +) +(connector + (pt 376 624) + (pt 376 632) +) +(connector + (pt 376 632) + (pt 376 640) +) +(connector + (pt 376 528) + (pt 376 536) +) +(connector + (pt 376 536) + (pt 376 544) +) +(connector + (pt 376 432) + (pt 376 440) +) +(connector + (pt 376 440) + (pt 376 448) +) +(connector + (pt 376 240) + (pt 376 248) +) +(connector + (pt 376 248) + (pt 376 256) +) +(connector + (pt 280 632) + (pt 280 728) +) +(connector + (pt 280 728) + (pt 280 832) +) +(connector + (pt 376 336) + (pt 376 344) +) +(connector + (pt 376 344) + (pt 376 352) +) +(connector + (pt 280 440) + (pt 280 536) +) +(connector + (pt 280 536) + (pt 280 632) +) +(connector + (pt 280 40) + (pt 280 152) +) +(connector + (pt 280 152) + (pt 280 248) +) +(connector + (pt 280 248) + (pt 280 344) +) +(connector + (pt 280 344) + (pt 280 440) +) +(connector + (pt 376 16) + (pt 376 40) +) +(connector + (pt 376 40) + (pt 376 64) +) +(junction (pt 248 680)) +(junction (pt 248 584)) +(junction (pt 248 488)) +(junction (pt 248 392)) +(junction (pt 248 296)) +(junction (pt 248 104)) +(junction (pt 248 200)) +(junction (pt 376 728)) +(junction (pt 376 152)) +(junction (pt 376 632)) +(junction (pt 376 536)) +(junction (pt 376 440)) +(junction (pt 376 248)) +(junction (pt 280 632)) +(junction (pt 280 536)) +(junction (pt 280 728)) +(junction (pt 376 344)) +(junction (pt 280 440)) +(junction (pt 280 344)) +(junction (pt 280 152)) +(junction (pt 280 248)) +(junction (pt 376 40)) diff --git a/register_4x/register_8b.bsf b/register_4x/register_8b.bsf new file mode 100644 index 0000000..938b8cc --- /dev/null +++ b/register_4x/register_8b.bsf @@ -0,0 +1,155 @@ +/* +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-2009 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 "symbol" (version "1.1")) +(symbol + (rect 16 16 112 240) + (text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 208 25 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 27 44 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 43 36 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 208)(line_width 1)) + ) +) diff --git a/register_4x/register_8b_with_switch.bdf b/register_4x/register_8b_with_switch.bdf new file mode 100644 index 0000000..9992515 --- /dev/null +++ b/register_4x/register_8b_with_switch.bdf @@ -0,0 +1,1407 @@ +/* +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-2009 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. +*/ +//#pragma file_not_in_maxplusii_format +(header "graphic" (version "1.3")) +(pin + (input) + (rect 80 88 248 104) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CP" (rect 5 0 20 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 56 248 72) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "CLR" (rect 5 0 27 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 128 248 144) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D7" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 224 248 240) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D6" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 320 248 336) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D5" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 416 248 432) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D4" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 512 248 528) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D3" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 608 248 624) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D2" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 704 248 720) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D1" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 800 248 816) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "D0" (rect 5 0 19 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 80 0 248 16) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "EN" (rect 5 0 20 12)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 12)(pt 92 4)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + ) + (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) +) +(pin + (output) + (rect 736 128 912 144) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q7" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 736 224 912 240) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q6" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 736 320 912 336) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q5" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 736 416 912 432) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q4" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 736 512 912 528) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q3" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 736 608 912 624) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q2" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 736 704 912 720) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q1" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(pin + (output) + (rect 736 800 912 816) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "Q0" (rect 90 0 104 12)(font "Arial" )) + (pt 0 8) + (drawing + (line (pt 0 8)(pt 52 8)(line_width 1)) + (line (pt 52 4)(pt 78 4)(line_width 1)) + (line (pt 52 12)(pt 78 12)(line_width 1)) + (line (pt 52 12)(pt 52 4)(line_width 1)) + (line (pt 78 4)(pt 82 8)(line_width 1)) + (line (pt 82 8)(pt 78 12)(line_width 1)) + (line (pt 78 12)(pt 82 8)(line_width 1)) + ) +) +(symbol + (rect 392 112 456 192) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst" (rect 3 68 20 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 392 208 456 288) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst2" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 392 304 456 384) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 392 400 456 480) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 392 496 456 576) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst5" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 392 592 456 672) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 392 688 456 768) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 392 784 456 864) + (text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6))) + (text "inst8" (rect 3 68 26 80)(font "Arial" )) + (port + (pt 32 80) + (input) + (text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold))) + (text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold))) + (line (pt 32 80)(pt 32 76)(line_width 1)) + ) + (port + (pt 0 40) + (input) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible)) + (line (pt 0 40)(pt 12 40)(line_width 1)) + ) + (port + (pt 0 24) + (input) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (text "D" (rect 14 20 19 32)(font "Courier New" (bold))) + (line (pt 0 24)(pt 12 24)(line_width 1)) + ) + (port + (pt 32 0) + (input) + (text "PRN" (rect 24 13 41 25)(font "Courier New" (bold))) + (text "PRN" (rect 24 11 41 23)(font "Courier New" (bold))) + (line (pt 32 4)(pt 32 0)(line_width 1)) + ) + (port + (pt 64 24) + (output) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (text "Q" (rect 45 20 50 32)(font "Courier New" (bold))) + (line (pt 52 24)(pt 64 24)(line_width 1)) + ) + (drawing + (line (pt 12 12)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 52 68)(line_width 1)) + (line (pt 52 68)(pt 52 12)(line_width 1)) + (line (pt 12 68)(pt 12 12)(line_width 1)) + (line (pt 19 40)(pt 12 47)(line_width 1)) + (line (pt 12 32)(pt 20 40)(line_width 1)) + (circle (rect 28 4 36 12)(line_width 1)) + (circle (rect 28 68 36 76)(line_width 1)) + ) +) +(symbol + (rect 568 120 616 152) + (text "TRI" (rect 1 0 16 10)(font "Arial" (font_size 6))) + (text "inst1" (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 14 16)(line_width 1)) + ) + (port + (pt 24 0) + (input) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (line (pt 24 12)(pt 24 0)(line_width 1)) + ) + (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 32 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 14 25)(pt 14 7)(line_width 1)) + (line (pt 14 25)(pt 32 16)(line_width 1)) + (line (pt 14 7)(pt 32 16)(line_width 1)) + ) +) +(symbol + (rect 568 216 616 248) + (text "TRI" (rect 1 0 16 10)(font "Arial" (font_size 6))) + (text "inst9" (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 14 16)(line_width 1)) + ) + (port + (pt 24 0) + (input) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (line (pt 24 12)(pt 24 0)(line_width 1)) + ) + (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 32 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 14 25)(pt 14 7)(line_width 1)) + (line (pt 14 25)(pt 32 16)(line_width 1)) + (line (pt 14 7)(pt 32 16)(line_width 1)) + ) +) +(symbol + (rect 568 312 616 344) + (text "TRI" (rect 1 0 16 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 14 16)(line_width 1)) + ) + (port + (pt 24 0) + (input) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (line (pt 24 12)(pt 24 0)(line_width 1)) + ) + (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 32 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 14 25)(pt 14 7)(line_width 1)) + (line (pt 14 25)(pt 32 16)(line_width 1)) + (line (pt 14 7)(pt 32 16)(line_width 1)) + ) +) +(symbol + (rect 568 408 616 440) + (text "TRI" (rect 1 0 16 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 14 16)(line_width 1)) + ) + (port + (pt 24 0) + (input) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (line (pt 24 12)(pt 24 0)(line_width 1)) + ) + (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 32 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 14 25)(pt 14 7)(line_width 1)) + (line (pt 14 25)(pt 32 16)(line_width 1)) + (line (pt 14 7)(pt 32 16)(line_width 1)) + ) +) +(symbol + (rect 568 504 616 536) + (text "TRI" (rect 1 0 16 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 14 16)(line_width 1)) + ) + (port + (pt 24 0) + (input) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (line (pt 24 12)(pt 24 0)(line_width 1)) + ) + (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 32 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 14 25)(pt 14 7)(line_width 1)) + (line (pt 14 25)(pt 32 16)(line_width 1)) + (line (pt 14 7)(pt 32 16)(line_width 1)) + ) +) +(symbol + (rect 568 600 616 632) + (text "TRI" (rect 1 0 16 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 14 16)(line_width 1)) + ) + (port + (pt 24 0) + (input) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (line (pt 24 12)(pt 24 0)(line_width 1)) + ) + (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 32 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 14 25)(pt 14 7)(line_width 1)) + (line (pt 14 25)(pt 32 16)(line_width 1)) + (line (pt 14 7)(pt 32 16)(line_width 1)) + ) +) +(symbol + (rect 568 696 616 728) + (text "TRI" (rect 1 0 16 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 14 16)(line_width 1)) + ) + (port + (pt 24 0) + (input) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (line (pt 24 12)(pt 24 0)(line_width 1)) + ) + (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 32 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 14 25)(pt 14 7)(line_width 1)) + (line (pt 14 25)(pt 32 16)(line_width 1)) + (line (pt 14 7)(pt 32 16)(line_width 1)) + ) +) +(symbol + (rect 568 792 616 824) + (text "TRI" (rect 1 0 16 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 14 16)(line_width 1)) + ) + (port + (pt 24 0) + (input) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible)) + (line (pt 24 12)(pt 24 0)(line_width 1)) + ) + (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 32 16)(pt 48 16)(line_width 1)) + ) + (drawing + (line (pt 14 25)(pt 14 7)(line_width 1)) + (line (pt 14 25)(pt 32 16)(line_width 1)) + (line (pt 14 7)(pt 32 16)(line_width 1)) + ) +) +(connector + (pt 248 136) + (pt 392 136) +) +(connector + (pt 248 232) + (pt 392 232) +) +(connector + (pt 248 328) + (pt 392 328) +) +(connector + (pt 248 424) + (pt 392 424) +) +(connector + (pt 248 520) + (pt 392 520) +) +(connector + (pt 248 616) + (pt 392 616) +) +(connector + (pt 248 712) + (pt 392 712) +) +(connector + (pt 248 808) + (pt 392 808) +) +(connector + (pt 248 96) + (pt 296 96) +) +(connector + (pt 296 824) + (pt 392 824) +) +(connector + (pt 392 728) + (pt 296 728) +) +(connector + (pt 392 632) + (pt 296 632) +) +(connector + (pt 392 536) + (pt 296 536) +) +(connector + (pt 392 440) + (pt 296 440) +) +(connector + (pt 392 344) + (pt 296 344) +) +(connector + (pt 392 248) + (pt 296 248) +) +(connector + (pt 392 152) + (pt 296 152) +) +(connector + (pt 424 776) + (pt 328 776) +) +(connector + (pt 424 200) + (pt 328 200) +) +(connector + (pt 424 680) + (pt 328 680) +) +(connector + (pt 424 584) + (pt 328 584) +) +(connector + (pt 424 488) + (pt 328 488) +) +(connector + (pt 424 296) + (pt 328 296) +) +(connector + (pt 424 864) + (pt 424 880) +) +(connector + (pt 328 880) + (pt 424 880) +) +(connector + (pt 424 392) + (pt 328 392) +) +(connector + (pt 248 64) + (pt 424 64) +) +(connector + (pt 328 88) + (pt 424 88) +) +(connector + (pt 296 728) + (pt 296 824) +) +(connector + (pt 296 632) + (pt 296 728) +) +(connector + (pt 296 536) + (pt 296 632) +) +(connector + (pt 296 96) + (pt 296 152) +) +(connector + (pt 296 152) + (pt 296 248) +) +(connector + (pt 296 248) + (pt 296 344) +) +(connector + (pt 296 344) + (pt 296 440) +) +(connector + (pt 296 440) + (pt 296 536) +) +(connector + (pt 424 768) + (pt 424 776) +) +(connector + (pt 424 776) + (pt 424 784) +) +(connector + (pt 424 192) + (pt 424 200) +) +(connector + (pt 424 200) + (pt 424 208) +) +(connector + (pt 424 672) + (pt 424 680) +) +(connector + (pt 424 680) + (pt 424 688) +) +(connector + (pt 424 576) + (pt 424 584) +) +(connector + (pt 424 584) + (pt 424 592) +) +(connector + (pt 424 480) + (pt 424 488) +) +(connector + (pt 424 488) + (pt 424 496) +) +(connector + (pt 424 288) + (pt 424 296) +) +(connector + (pt 424 296) + (pt 424 304) +) +(connector + (pt 328 776) + (pt 328 880) +) +(connector + (pt 424 384) + (pt 424 392) +) +(connector + (pt 424 392) + (pt 424 400) +) +(connector + (pt 328 584) + (pt 328 680) +) +(connector + (pt 328 680) + (pt 328 776) +) +(connector + (pt 328 88) + (pt 328 200) +) +(connector + (pt 328 200) + (pt 328 296) +) +(connector + (pt 328 296) + (pt 328 392) +) +(connector + (pt 328 392) + (pt 328 488) +) +(connector + (pt 328 488) + (pt 328 584) +) +(connector + (pt 424 64) + (pt 424 88) +) +(connector + (pt 424 88) + (pt 424 112) +) +(connector + (pt 456 136) + (pt 568 136) +) +(connector + (pt 456 232) + (pt 568 232) +) +(connector + (pt 456 328) + (pt 568 328) +) +(connector + (pt 456 424) + (pt 568 424) +) +(connector + (pt 456 520) + (pt 568 520) +) +(connector + (pt 456 616) + (pt 568 616) +) +(connector + (pt 456 712) + (pt 568 712) +) +(connector + (pt 456 808) + (pt 568 808) +) +(connector + (pt 616 136) + (pt 736 136) +) +(connector + (pt 616 232) + (pt 736 232) +) +(connector + (pt 616 328) + (pt 736 328) +) +(connector + (pt 616 424) + (pt 736 424) +) +(connector + (pt 616 520) + (pt 736 520) +) +(connector + (pt 616 616) + (pt 736 616) +) +(connector + (pt 616 712) + (pt 736 712) +) +(connector + (pt 616 808) + (pt 736 808) +) +(connector + (pt 248 8) + (pt 512 8) +) +(connector + (pt 512 768) + (pt 592 768) +) +(connector + (pt 592 768) + (pt 592 792) +) +(connector + (pt 592 696) + (pt 592 672) +) +(connector + (pt 592 672) + (pt 512 672) +) +(connector + (pt 512 672) + (pt 512 768) +) +(connector + (pt 512 568) + (pt 592 568) +) +(connector + (pt 592 568) + (pt 592 600) +) +(connector + (pt 512 568) + (pt 512 672) +) +(connector + (pt 512 472) + (pt 592 472) +) +(connector + (pt 592 472) + (pt 592 504) +) +(connector + (pt 512 472) + (pt 512 568) +) +(connector + (pt 512 376) + (pt 592 376) +) +(connector + (pt 592 376) + (pt 592 408) +) +(connector + (pt 512 376) + (pt 512 472) +) +(connector + (pt 512 280) + (pt 592 280) +) +(connector + (pt 592 280) + (pt 592 312) +) +(connector + (pt 512 280) + (pt 512 376) +) +(connector + (pt 512 192) + (pt 592 192) +) +(connector + (pt 592 192) + (pt 592 216) +) +(connector + (pt 512 192) + (pt 512 280) +) +(connector + (pt 512 80) + (pt 592 80) +) +(connector + (pt 592 80) + (pt 592 120) +) +(connector + (pt 512 8) + (pt 512 80) +) +(connector + (pt 512 80) + (pt 512 192) +) +(junction (pt 296 728)) +(junction (pt 296 632)) +(junction (pt 296 536)) +(junction (pt 296 440)) +(junction (pt 296 152)) +(junction (pt 296 248)) +(junction (pt 296 344)) +(junction (pt 424 776)) +(junction (pt 424 200)) +(junction (pt 424 680)) +(junction (pt 424 584)) +(junction (pt 424 488)) +(junction (pt 424 296)) +(junction (pt 328 776)) +(junction (pt 328 680)) +(junction (pt 424 392)) +(junction (pt 328 584)) +(junction (pt 328 488)) +(junction (pt 328 200)) +(junction (pt 328 296)) +(junction (pt 328 392)) +(junction (pt 424 88)) +(junction (pt 512 672)) +(junction (pt 512 568)) +(junction (pt 512 472)) +(junction (pt 512 376)) +(junction (pt 512 280)) +(junction (pt 512 192)) +(junction (pt 512 80)) diff --git a/register_4x/register_8b_with_switch.bsf b/register_4x/register_8b_with_switch.bsf new file mode 100644 index 0000000..78044b8 --- /dev/null +++ b/register_4x/register_8b_with_switch.bsf @@ -0,0 +1,162 @@ +/* +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-2009 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 "symbol" (version "1.1")) +(symbol + (rect 16 16 112 240) + (text "register_8b_with_switch" (rect 5 0 147 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 208 25 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "EN" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "EN" (rect 21 27 36 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 43 44 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (rect 21 59 36 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (rect 21 75 36 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (rect 21 91 36 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (rect 21 107 36 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (rect 21 123 36 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (rect 21 139 36 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (rect 21 155 36 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (rect 21 171 36 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (rect 21 187 36 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 208)(line_width 1)) + ) +)