From 07ad3a25d3c61aa5bc537a052ac18dbcd9fb1724 Mon Sep 17 00:00:00 2001 From: juzeon <812312770@qq.com> Date: Thu, 17 Mar 2022 16:35:54 +0800 Subject: [PATCH] stash microprogram_adder --- .../counter_8b_with_input.bsf | 162 ++ microprogram_adder/counter_8b_with_input.bdf | 1375 +++++++++++++++++ microprogram_adder/counter_8b_with_input.bsf | 162 ++ microprogram_adder/microprogram_adder.bdf | 705 +++++++++ microprogram_adder/microprogram_adder.qpf | 30 + microprogram_adder/microprogram_adder.qsf | 47 + 6 files changed, 2481 insertions(+) create mode 100644 counter_8b_with_input/counter_8b_with_input.bsf create mode 100644 microprogram_adder/counter_8b_with_input.bdf create mode 100644 microprogram_adder/counter_8b_with_input.bsf create mode 100644 microprogram_adder/microprogram_adder.bdf create mode 100644 microprogram_adder/microprogram_adder.qpf create mode 100644 microprogram_adder/microprogram_adder.qsf diff --git a/counter_8b_with_input/counter_8b_with_input.bsf b/counter_8b_with_input/counter_8b_with_input.bsf new file mode 100644 index 0000000..065126c --- /dev/null +++ b/counter_8b_with_input/counter_8b_with_input.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 "counter_8b_with_input" (rect 5 0 135 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 208 25 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (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 "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (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 "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (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 "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (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 "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (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 "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (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 "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (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 "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (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 "LD" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "LD" (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 "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (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 "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 187 44 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)) + ) +) diff --git a/microprogram_adder/counter_8b_with_input.bdf b/microprogram_adder/counter_8b_with_input.bdf new file mode 100644 index 0000000..0739e01 --- /dev/null +++ b/microprogram_adder/counter_8b_with_input.bdf @@ -0,0 +1,1375 @@ +/* +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 136 200 152) + (text "INPUT" (rect 133 6 161 16)(font "Arial" (font_size 6))) + (text "D0" (rect 5 4 19 16)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 4)(pt 92 12)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + ) + (flipx) + (text "VCC" (rect 136 -1 156 9)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 120 200 136) + (text "INPUT" (rect 133 6 161 16)(font "Arial" (font_size 6))) + (text "D1" (rect 5 4 19 16)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 4)(pt 92 12)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + ) + (flipx) + (text "VCC" (rect 136 -1 156 9)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 104 200 120) + (text "INPUT" (rect 133 6 161 16)(font "Arial" (font_size 6))) + (text "D2" (rect 5 4 19 16)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 4)(pt 92 12)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + ) + (flipx) + (text "VCC" (rect 136 -1 156 9)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 88 200 104) + (text "INPUT" (rect 133 6 161 16)(font "Arial" (font_size 6))) + (text "D3" (rect 5 4 19 16)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 4)(pt 92 12)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + ) + (flipx) + (text "VCC" (rect 136 -1 156 9)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 72 200 88) + (text "INPUT" (rect 133 6 161 16)(font "Arial" (font_size 6))) + (text "D4" (rect 5 4 19 16)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 4)(pt 92 12)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + ) + (flipx) + (text "VCC" (rect 136 -1 156 9)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 56 200 72) + (text "INPUT" (rect 133 6 161 16)(font "Arial" (font_size 6))) + (text "D5" (rect 5 4 19 16)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 4)(pt 92 12)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + ) + (flipx) + (text "VCC" (rect 136 -1 156 9)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 40 200 56) + (text "INPUT" (rect 133 6 161 16)(font "Arial" (font_size 6))) + (text "D6" (rect 5 4 19 16)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 4)(pt 92 12)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + ) + (flipx) + (text "VCC" (rect 136 -1 156 9)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect 32 24 200 40) + (text "INPUT" (rect 133 6 161 16)(font "Arial" (font_size 6))) + (text "D7" (rect 5 4 19 16)(font "Arial" )) + (pt 168 8) + (drawing + (line (pt 92 4)(pt 117 4)(line_width 1)) + (line (pt 92 12)(pt 117 12)(line_width 1)) + (line (pt 121 8)(pt 168 8)(line_width 1)) + (line (pt 92 4)(pt 92 12)(line_width 1)) + (line (pt 117 12)(pt 121 8)(line_width 1)) + (line (pt 117 4)(pt 121 8)(line_width 1)) + ) + (flipx) + (text "VCC" (rect 136 -1 156 9)(font "Arial" (font_size 6))) +) +(pin + (input) + (rect -64 416 104 432) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "LD" (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 -64 448 104 464) + (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 -64 480 104 496) + (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 1184 8 1360 24) + (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 1184 24 1360 40) + (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 1184 40 1360 56) + (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 1184 56 1360 72) + (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 1184 72 1360 88) + (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 1184 88 1360 104) + (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 1184 104 1360 120) + (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 1184 120 1360 136) + (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 592 0 688 320) + (text "adder_8b" (rect 5 0 59 14)(font "Arial" (font_size 8))) + (text "inst7" (rect 8 304 31 316)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "A7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A7" (rect 21 27 37 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "B7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B7" (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 "A6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A6" (rect 21 59 37 73)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "B6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B6" (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 "A5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A5" (rect 21 91 37 105)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "B5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B5" (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 "A4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A4" (rect 21 123 37 137)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 144) + (input) + (text "B4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B4" (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 "A3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A3" (rect 21 155 37 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "B3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B3" (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 "A2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A2" (rect 21 187 37 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 0 208) + (input) + (text "B2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B2" (rect 21 203 36 217)(font "Arial" (font_size 8))) + (line (pt 0 208)(pt 16 208)(line_width 1)) + ) + (port + (pt 0 224) + (input) + (text "A1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A1" (rect 21 219 37 233)(font "Arial" (font_size 8))) + (line (pt 0 224)(pt 16 224)(line_width 1)) + ) + (port + (pt 0 240) + (input) + (text "B1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B1" (rect 21 235 36 249)(font "Arial" (font_size 8))) + (line (pt 0 240)(pt 16 240)(line_width 1)) + ) + (port + (pt 0 256) + (input) + (text "A0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A0" (rect 21 251 37 265)(font "Arial" (font_size 8))) + (line (pt 0 256)(pt 16 256)(line_width 1)) + ) + (port + (pt 0 272) + (input) + (text "B0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B0" (rect 21 267 36 281)(font "Arial" (font_size 8))) + (line (pt 0 272)(pt 16 272)(line_width 1)) + ) + (port + (pt 0 288) + (input) + (text "CI" (rect 0 0 10 14)(font "Arial" (font_size 8))) + (text "CI" (rect 21 283 31 297)(font "Arial" (font_size 8))) + (line (pt 0 288)(pt 16 288)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "CO" (rect 0 0 17 14)(font "Arial" (font_size 8))) + (text "CO" (rect 58 27 75 41)(font "Arial" (font_size 8))) + (line (pt 96 32)(pt 80 32)(line_width 1)) + ) + (port + (pt 96 48) + (output) + (text "S7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S7" (rect 60 43 75 57)(font "Arial" (font_size 8))) + (line (pt 96 48)(pt 80 48)(line_width 1)) + ) + (port + (pt 96 64) + (output) + (text "S6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S6" (rect 60 59 75 73)(font "Arial" (font_size 8))) + (line (pt 96 64)(pt 80 64)(line_width 1)) + ) + (port + (pt 96 80) + (output) + (text "S5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S5" (rect 60 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) + ) + (port + (pt 96 96) + (output) + (text "S4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S4" (rect 60 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) + ) + (port + (pt 96 112) + (output) + (text "S3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S3" (rect 60 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) + ) + (port + (pt 96 128) + (output) + (text "S2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S2" (rect 60 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) + ) + (port + (pt 96 144) + (output) + (text "S1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S1" (rect 60 139 75 153)(font "Arial" (font_size 8))) + (line (pt 96 144)(pt 80 144)(line_width 1)) + ) + (port + (pt 96 160) + (output) + (text "S0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "S0" (rect 60 155 75 169)(font "Arial" (font_size 8))) + (line (pt 96 160)(pt 80 160)(line_width 1)) + ) + (drawing + (rectangle (rect 16 16 80 304)(line_width 1)) + ) +) +(symbol + (rect 888 -16 984 208) + (text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8))) + (text "inst8" (rect 8 208 31 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)) + ) +) +(symbol + (rect 528 320 560 352) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst9" (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 304 0 400 352) + (text "double_selector_8b" (rect 5 0 117 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 336 25 348)(font "Arial" )) + (port + (pt 0 144) + (input) + (text "a0" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a0" (rect 21 136 35 150)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "a1" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a1" (rect 21 120 35 134)(font "Arial" (font_size 8))) + (line (pt 0 128)(pt 16 128)(line_width 1)) + ) + (port + (pt 0 112) + (input) + (text "a2" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a2" (rect 21 104 35 118)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "a3" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a3" (rect 21 88 35 102)(font "Arial" (font_size 8))) + (line (pt 0 96)(pt 16 96)(line_width 1)) + ) + (port + (pt 0 80) + (input) + (text "a4" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a4" (rect 21 72 35 86)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 64) + (input) + (text "a5" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a5" (rect 21 56 35 70)(font "Arial" (font_size 8))) + (line (pt 0 64)(pt 16 64)(line_width 1)) + ) + (port + (pt 0 48) + (input) + (text "a6" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a6" (rect 21 40 35 54)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) + ) + (port + (pt 0 32) + (input) + (text "a7" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "a7" (rect 21 24 35 38)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) + ) + (port + (pt 0 272) + (input) + (text "b0" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b0" (rect 21 267 35 281)(font "Arial" (font_size 8))) + (line (pt 0 272)(pt 16 272)(line_width 1)) + ) + (port + (pt 0 256) + (input) + (text "b1" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b1" (rect 21 251 35 265)(font "Arial" (font_size 8))) + (line (pt 0 256)(pt 16 256)(line_width 1)) + ) + (port + (pt 0 240) + (input) + (text "b2" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b2" (rect 21 235 35 249)(font "Arial" (font_size 8))) + (line (pt 0 240)(pt 16 240)(line_width 1)) + ) + (port + (pt 0 224) + (input) + (text "b3" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b3" (rect 21 219 35 233)(font "Arial" (font_size 8))) + (line (pt 0 224)(pt 16 224)(line_width 1)) + ) + (port + (pt 0 208) + (input) + (text "b4" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b4" (rect 21 203 35 217)(font "Arial" (font_size 8))) + (line (pt 0 208)(pt 16 208)(line_width 1)) + ) + (port + (pt 0 192) + (input) + (text "b5" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b5" (rect 21 187 35 201)(font "Arial" (font_size 8))) + (line (pt 0 192)(pt 16 192)(line_width 1)) + ) + (port + (pt 0 176) + (input) + (text "b6" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b6" (rect 21 171 35 185)(font "Arial" (font_size 8))) + (line (pt 0 176)(pt 16 176)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "b7" (rect 0 0 14 14)(font "Arial" (font_size 8))) + (text "b7" (rect 21 155 35 169)(font "Arial" (font_size 8))) + (line (pt 0 160)(pt 16 160)(line_width 1)) + ) + (port + (pt 0 288) + (input) + (text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8))) + (text "AY" (rect 21 283 39 297)(font "Arial" (font_size 8))) + (line (pt 0 288)(pt 16 288)(line_width 1)) + ) + (port + (pt 0 304) + (input) + (text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8))) + (text "BY" (rect 21 299 38 313)(font "Arial" (font_size 8))) + (line (pt 0 304)(pt 16 304)(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)) + ) + (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 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 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 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 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 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 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)) + ) + (drawing + (rectangle (rect 16 16 80 336)(line_width 1)) + ) +) +(symbol + (rect 184 272 232 304) + (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)) + ) +) +(connector + (pt 504 64) + (pt 592 64) +) +(connector + (pt 888 48) + (pt 688 48) +) +(connector + (pt 688 64) + (pt 888 64) +) +(connector + (pt 888 80) + (pt 688 80) +) +(connector + (pt 688 96) + (pt 888 96) +) +(connector + (pt 688 112) + (pt 888 112) +) +(connector + (pt 688 128) + (pt 888 128) +) +(connector + (pt 688 144) + (pt 888 144) +) +(connector + (pt 688 160) + (pt 888 160) +) +(connector + (pt 592 48) + (pt 544 48) +) +(connector + (pt 592 80) + (pt 544 80) +) +(connector + (pt 544 48) + (pt 544 80) +) +(connector + (pt 592 112) + (pt 544 112) +) +(connector + (pt 544 80) + (pt 544 112) +) +(connector + (pt 592 144) + (pt 544 144) +) +(connector + (pt 544 112) + (pt 544 144) +) +(connector + (pt 592 176) + (pt 544 176) +) +(connector + (pt 544 144) + (pt 544 176) +) +(connector + (pt 592 208) + (pt 544 208) +) +(connector + (pt 544 176) + (pt 544 208) +) +(connector + (pt 592 240) + (pt 544 240) +) +(connector + (pt 544 208) + (pt 544 240) +) +(connector + (pt 592 272) + (pt 544 272) +) +(connector + (pt 544 240) + (pt 544 272) +) +(connector + (pt 544 272) + (pt 544 320) +) +(connector + (pt 200 144) + (pt 304 144) +) +(connector + (pt 200 128) + (pt 304 128) +) +(connector + (pt 200 112) + (pt 304 112) +) +(connector + (pt 200 96) + (pt 304 96) +) +(connector + (pt 200 80) + (pt 304 80) +) +(connector + (pt 200 64) + (pt 304 64) +) +(connector + (pt 200 48) + (pt 304 48) +) +(connector + (pt 200 32) + (pt 304 32) +) +(connector + (pt 400 32) + (pt 592 32) +) +(connector + (pt 504 48) + (pt 504 64) +) +(connector + (pt 400 48) + (pt 504 48) +) +(connector + (pt 496 64) + (pt 496 96) +) +(connector + (pt 400 64) + (pt 496 64) +) +(connector + (pt 496 96) + (pt 592 96) +) +(connector + (pt 488 80) + (pt 488 128) +) +(connector + (pt 400 80) + (pt 488 80) +) +(connector + (pt 488 128) + (pt 592 128) +) +(connector + (pt 480 96) + (pt 480 160) +) +(connector + (pt 400 96) + (pt 480 96) +) +(connector + (pt 480 160) + (pt 592 160) +) +(connector + (pt 472 112) + (pt 472 192) +) +(connector + (pt 400 112) + (pt 472 112) +) +(connector + (pt 472 192) + (pt 592 192) +) +(connector + (pt 464 128) + (pt 464 224) +) +(connector + (pt 400 128) + (pt 464 128) +) +(connector + (pt 464 224) + (pt 592 224) +) +(connector + (pt 400 144) + (pt 448 144) +) +(connector + (pt 448 144) + (pt 448 256) +) +(connector + (pt 448 256) + (pt 592 256) +) +(connector + (pt 104 304) + (pt 304 304) +) +(connector + (pt 104 288) + (pt 104 304) +) +(connector + (pt 104 288) + (pt 184 288) +) +(connector + (pt 232 288) + (pt 304 288) +) +(connector + (pt 104 384) + (pt 496 384) +) +(connector + (pt 496 384) + (pt 496 288) +) +(connector + (pt 104 304) + (pt 104 384) +) +(connector + (pt 104 384) + (pt 104 424) +) +(connector + (pt 496 288) + (pt 592 288) +) +(connector + (pt 104 456) + (pt 872 456) +) +(connector + (pt 872 456) + (pt 872 32) +) +(connector + (pt 872 32) + (pt 888 32) +) +(connector + (pt 104 488) + (pt 848 488) +) +(connector + (pt 848 16) + (pt 848 488) +) +(connector + (pt 848 16) + (pt 888 16) +) +(connector + (pt 992 128) + (pt 992 -32) +) +(connector + (pt 992 -32) + (pt 288 -32) +) +(connector + (pt 984 128) + (pt 992 128) +) +(connector + (pt 992 128) + (pt 1184 128) +) +(connector + (pt 288 -32) + (pt 288 272) +) +(connector + (pt 288 272) + (pt 304 272) +) +(connector + (pt 1000 112) + (pt 1000 -40) +) +(connector + (pt 984 112) + (pt 1000 112) +) +(connector + (pt 1000 112) + (pt 1184 112) +) +(connector + (pt 1000 -40) + (pt 280 -40) +) +(connector + (pt 280 -40) + (pt 280 256) +) +(connector + (pt 280 256) + (pt 304 256) +) +(connector + (pt 1008 96) + (pt 1008 -48) +) +(connector + (pt 1008 -48) + (pt 272 -48) +) +(connector + (pt 984 96) + (pt 1008 96) +) +(connector + (pt 1008 96) + (pt 1184 96) +) +(connector + (pt 272 -48) + (pt 272 240) +) +(connector + (pt 272 240) + (pt 304 240) +) +(connector + (pt 1016 80) + (pt 1016 -56) +) +(connector + (pt 1016 -56) + (pt 264 -56) +) +(connector + (pt 984 80) + (pt 1016 80) +) +(connector + (pt 1016 80) + (pt 1184 80) +) +(connector + (pt 264 -56) + (pt 264 224) +) +(connector + (pt 264 224) + (pt 304 224) +) +(connector + (pt 1024 64) + (pt 1024 -64) +) +(connector + (pt 1024 -64) + (pt 256 -64) +) +(connector + (pt 984 64) + (pt 1024 64) +) +(connector + (pt 1024 64) + (pt 1184 64) +) +(connector + (pt 256 -64) + (pt 256 208) +) +(connector + (pt 256 208) + (pt 304 208) +) +(connector + (pt 1032 48) + (pt 1032 -72) +) +(connector + (pt 1032 -72) + (pt 248 -72) +) +(connector + (pt 984 48) + (pt 1032 48) +) +(connector + (pt 1032 48) + (pt 1184 48) +) +(connector + (pt 248 -72) + (pt 248 192) +) +(connector + (pt 248 192) + (pt 304 192) +) +(connector + (pt 1040 32) + (pt 1040 -80) +) +(connector + (pt 1040 -80) + (pt 240 -80) +) +(connector + (pt 984 32) + (pt 1040 32) +) +(connector + (pt 1040 32) + (pt 1184 32) +) +(connector + (pt 240 -80) + (pt 240 176) +) +(connector + (pt 240 176) + (pt 304 176) +) +(connector + (pt 1048 16) + (pt 1048 -88) +) +(connector + (pt 1048 -88) + (pt 232 -88) +) +(connector + (pt 984 16) + (pt 1048 16) +) +(connector + (pt 1048 16) + (pt 1184 16) +) +(connector + (pt 232 -88) + (pt 232 160) +) +(connector + (pt 232 160) + (pt 304 160) +) +(junction (pt 544 80)) +(junction (pt 544 112)) +(junction (pt 544 144)) +(junction (pt 544 176)) +(junction (pt 544 208)) +(junction (pt 544 240)) +(junction (pt 544 272)) +(junction (pt 104 304)) +(junction (pt 104 384)) +(junction (pt 992 128)) +(junction (pt 1000 112)) +(junction (pt 1008 96)) +(junction (pt 1016 80)) +(junction (pt 1024 64)) +(junction (pt 1032 48)) +(junction (pt 1040 32)) +(junction (pt 1048 16)) diff --git a/microprogram_adder/counter_8b_with_input.bsf b/microprogram_adder/counter_8b_with_input.bsf new file mode 100644 index 0000000..065126c --- /dev/null +++ b/microprogram_adder/counter_8b_with_input.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 "counter_8b_with_input" (rect 5 0 135 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 208 25 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (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 "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (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 "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (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 "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (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 "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (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 "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (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 "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (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 "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (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 "LD" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "LD" (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 "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (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 "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 187 44 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)) + ) +) diff --git a/microprogram_adder/microprogram_adder.bdf b/microprogram_adder/microprogram_adder.bdf new file mode 100644 index 0000000..57b2abe --- /dev/null +++ b/microprogram_adder/microprogram_adder.bdf @@ -0,0 +1,705 @@ +/* +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 760 792 928 808) + (text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) + (text "P" (rect 5 0 12 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 -24 1040 144 1056) + (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 360 904 536 920) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "A0" (rect 90 0 102 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 360 888 536 904) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "A1" (rect 90 0 102 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 360 872 536 888) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "A2" (rect 90 0 102 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 360 856 536 872) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "A3" (rect 90 0 102 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 360 840 536 856) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "A4" (rect 90 0 102 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 360 824 536 840) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "A5" (rect 90 0 102 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 360 808 536 824) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "A6" (rect 90 0 102 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 360 792 536 808) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "A7" (rect 90 0 102 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 360 984 536 1000) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "CP¦ÌIR" (rect 90 0 123 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 360 1024 536 1040) + (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) + (text "¦ÌRD" (rect 90 0 112 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 224 768 320 992) + (text "counter_8b_with_input" (rect 5 0 135 14)(font "Arial" (font_size 8))) + (text "inst" (rect 8 208 25 220)(font "Arial" )) + (port + (pt 0 32) + (input) + (text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D7" (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 "D6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D6" (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 "D5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D5" (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 "D4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D4" (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 "D3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D3" (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 "D2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D2" (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 "D1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D1" (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 "D0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "D0" (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 "LD" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "LD" (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 "CP" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "CP" (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 "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 187 44 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 96 976 128 1008) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst1" (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 120 936 152 952) + (text "VCC" (rect 7 6 27 16)(font "Arial" (font_size 6))) + (text "inst3" (rect 3 -1 26 11)(font "Arial" )(invisible)) + (port + (pt 16 0) + (output) + (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) + (text "1" (rect 19 -3 24 9)(font "Courier New" (bold))(invisible)) + (line (pt 16 0)(pt 16 8)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) + (flipx) +) +(symbol + (rect 1008 784 1056 816) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst6" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(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 1160 784 1224 832) + (text "AND2" (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 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 1160 856 1224 904) + (text "AND2" (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 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 1160 928 1224 976) + (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)) + ) +) +(connector + (pt 224 800) + (pt 112 800) +) +(connector + (pt 224 816) + (pt 112 816) +) +(connector + (pt 112 800) + (pt 112 816) +) +(connector + (pt 224 832) + (pt 112 832) +) +(connector + (pt 112 816) + (pt 112 832) +) +(connector + (pt 224 848) + (pt 112 848) +) +(connector + (pt 112 832) + (pt 112 848) +) +(connector + (pt 224 864) + (pt 112 864) +) +(connector + (pt 112 848) + (pt 112 864) +) +(connector + (pt 224 880) + (pt 112 880) +) +(connector + (pt 112 864) + (pt 112 880) +) +(connector + (pt 224 896) + (pt 112 896) +) +(connector + (pt 112 880) + (pt 112 896) +) +(connector + (pt 224 912) + (pt 112 912) +) +(connector + (pt 112 896) + (pt 112 912) +) +(connector + (pt 112 912) + (pt 112 976) +) +(connector + (pt 224 928) + (pt 136 928) +) +(connector + (pt 136 928) + (pt 136 936) +) +(connector + (pt 224 944) + (pt 168 944) +) +(connector + (pt 320 800) + (pt 360 800) +) +(connector + (pt 320 816) + (pt 360 816) +) +(connector + (pt 320 832) + (pt 360 832) +) +(connector + (pt 320 848) + (pt 360 848) +) +(connector + (pt 320 864) + (pt 360 864) +) +(connector + (pt 320 880) + (pt 360 880) +) +(connector + (pt 320 896) + (pt 360 896) +) +(connector + (pt 320 912) + (pt 360 912) +) +(connector + (pt 1112 872) + (pt 1160 872) +) +(connector + (pt 1112 944) + (pt 1160 944) +) +(connector + (pt 1112 800) + (pt 1112 872) +) +(connector + (pt 1112 872) + (pt 1112 944) +) +(connector + (pt 1056 800) + (pt 1112 800) +) +(connector + (pt 1112 800) + (pt 1160 800) +) +(connector + (pt 168 944) + (pt 168 1080) +) +(connector + (pt 976 800) + (pt 976 1080) +) +(connector + (pt 928 800) + (pt 976 800) +) +(connector + (pt 976 800) + (pt 1008 800) +) +(connector + (pt 360 992) + (pt 336 992) +) +(connector + (pt 976 1080) + (pt 336 1080) +) +(connector + (pt 336 1080) + (pt 168 1080) +) +(connector + (pt 360 1032) + (pt 336 1032) +) +(connector + (pt 336 992) + (pt 336 1032) +) +(connector + (pt 336 1032) + (pt 336 1080) +) +(connector + (pt 224 960) + (pt 184 960) +) +(connector + (pt 184 960) + (pt 184 1048) +) +(connector + (pt 144 1048) + (pt 184 1048) +) +(junction (pt 112 816)) +(junction (pt 112 832)) +(junction (pt 112 848)) +(junction (pt 112 864)) +(junction (pt 112 880)) +(junction (pt 112 896)) +(junction (pt 112 912)) +(junction (pt 1112 800)) +(junction (pt 1112 872)) +(junction (pt 976 800)) +(junction (pt 336 1080)) +(junction (pt 336 1032)) diff --git a/microprogram_adder/microprogram_adder.qpf b/microprogram_adder/microprogram_adder.qpf new file mode 100644 index 0000000..5057b44 --- /dev/null +++ b/microprogram_adder/microprogram_adder.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 = 16:02:07 March 17, 2022 +# +# -------------------------------------------------------------------------- # + +QUARTUS_VERSION = "9.0" +DATE = "16:02:07 March 17, 2022" + +# Revisions + +PROJECT_REVISION = "microprogram_adder" diff --git a/microprogram_adder/microprogram_adder.qsf b/microprogram_adder/microprogram_adder.qsf new file mode 100644 index 0000000..a9beb29 --- /dev/null +++ b/microprogram_adder/microprogram_adder.qsf @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- # +# +# 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 = 16:02:07 March 17, 2022 +# +# -------------------------------------------------------------------------- # +# +# Notes: +# +# 1) The default values for assignments are stored in the file: +# microprogram_adder_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 microprogram_adder +set_global_assignment -name ORIGINAL_QUARTUS_VERSION "9.0 SP2" +set_global_assignment -name PROJECT_CREATION_TIME_DATE "16:02:07 MARCH 17, 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 \ No newline at end of file