diff --git a/ALU_3_in_1/ALU_3_in_1.bdf b/ALU_3_in_1/ALU_3_in_1.bdf index 878376d..f0d5d5f 100644 --- a/ALU_3_in_1/ALU_3_in_1.bdf +++ b/ALU_3_in_1/ALU_3_in_1.bdf @@ -292,11 +292,28 @@ applicable agreement for further details. (rotate90) (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) ) +(pin + (input) + (rect 704 488 720 656) + (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) + (text "CLR" (rect 0 134 12 156)(font "Arial" )(vertical)) + (pt 8 0) + (drawing + (line (pt 12 76)(pt 12 51)(line_width 1)) + (line (pt 4 76)(pt 4 51)(line_width 1)) + (line (pt 8 47)(pt 8 0)(line_width 1)) + (line (pt 12 76)(pt 4 76)(line_width 1)) + (line (pt 4 51)(pt 8 47)(line_width 1)) + (line (pt 12 51)(pt 8 47)(line_width 1)) + ) + (rotate90) + (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) +) (pin (input) (rect 736 488 752 656) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) - (text "CPR0" (rect 0 134 12 163)(font "Arial" )(vertical)) + (text "CP_A" (rect 0 134 12 162)(font "Arial" )(vertical)) (pt 8 0) (drawing (line (pt 12 76)(pt 12 51)(line_width 1)) @@ -313,7 +330,7 @@ applicable agreement for further details. (input) (rect 768 488 784 656) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) - (text "CPR1" (rect 0 134 12 163)(font "Arial" )(vertical)) + (text "CP_B" (rect 0 134 12 162)(font "Arial" )(vertical)) (pt 8 0) (drawing (line (pt 12 76)(pt 12 51)(line_width 1)) @@ -330,24 +347,7 @@ applicable agreement for further details. (input) (rect 800 488 816 656) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) - (text "CPR2" (rect 0 134 12 163)(font "Arial" )(vertical)) - (pt 8 0) - (drawing - (line (pt 12 76)(pt 12 51)(line_width 1)) - (line (pt 4 76)(pt 4 51)(line_width 1)) - (line (pt 8 47)(pt 8 0)(line_width 1)) - (line (pt 12 76)(pt 4 76)(line_width 1)) - (line (pt 4 51)(pt 8 47)(line_width 1)) - (line (pt 12 51)(pt 8 47)(line_width 1)) - ) - (rotate90) - (text "VCC" (rect 7 12 17 32)(font "Arial" (font_size 6))(vertical)) -) -(pin - (input) - (rect 704 488 720 656) - (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) - (text "CLR" (rect 0 134 12 156)(font "Arial" )(vertical)) + (text "CP_Z" (rect 1 133 13 161)(font "Arial" )(vertical)) (pt 8 0) (drawing (line (pt 12 76)(pt 12 51)(line_width 1)) @@ -721,10 +721,42 @@ applicable agreement for further details. (rectangle (rect 16 16 384 72)(line_width 1)) ) ) +(symbol + (rect 776 240 808 272) + (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) + (text "inst3" (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 776 176 808 192) + (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6))) + (text "inst4" (rect 3 5 26 17)(font "Arial" )(invisible)) + (port + (pt 16 16) + (output) + (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) + (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) + (line (pt 16 16)(pt 16 8)(line_width 1)) + ) + (drawing + (line (pt 8 8)(pt 24 8)(line_width 1)) + ) +) (symbol (rect 200 328 424 424) (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) - (text "R0" (rect 208 65 220 79)(font "Arial" )(vertical)) + (text "A" (rect 208 65 220 72)(font "Arial" )(vertical)) (port (pt 32 96) (input) @@ -859,7 +891,7 @@ applicable agreement for further details. (symbol (rect 440 328 664 424) (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) - (text "R1" (rect 208 65 220 79)(font "Arial" )(vertical)) + (text "B" (rect 208 65 220 72)(font "Arial" )(vertical)) (port (pt 32 96) (input) @@ -994,7 +1026,7 @@ applicable agreement for further details. (symbol (rect 296 -64 520 32) (text "register_8b" (rect 0 27 14 91)(font "Arial" (font_size 8))(vertical)) - (text "R2" (rect 208 65 220 79)(font "Arial" )(vertical)) + (text "Z" (rect 208 65 220 72)(font "Arial" )(vertical)) (port (pt 32 96) (input) @@ -1126,38 +1158,6 @@ applicable agreement for further details. ) (rotate90) ) -(symbol - (rect 776 240 808 272) - (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) - (text "inst3" (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 776 176 808 192) - (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6))) - (text "inst4" (rect 3 5 26 17)(font "Arial" )(invisible)) - (port - (pt 16 16) - (output) - (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) - (text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible)) - (line (pt 16 16)(pt 16 8)(line_width 1)) - ) - (drawing - (line (pt 8 8)(pt 24 8)(line_width 1)) - ) -) (connector (pt 344 192) (pt 344 200) diff --git a/ALU_3_in_1/ALU_3_in_1.bsf b/ALU_3_in_1/ALU_3_in_1.bsf index 1bacc1e..a2db543 100644 --- a/ALU_3_in_1/ALU_3_in_1.bsf +++ b/ALU_3_in_1/ALU_3_in_1.bsf @@ -20,206 +20,206 @@ applicable agreement for further details. */ (header "symbol" (version "1.1")) (symbol - (rect 64 64 416 160) + (rect 16 16 112 400) (text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8))) - (text "inst" (rect 8 80 25 92)(font "Arial" )) + (text "inst" (rect 8 368 25 380)(font "Arial" )) (port - (pt 144 96) + (pt 0 32) (input) - (text "A0" (rect 0 -288 16 -274)(font "Arial" (font_size 8))) - (text "A0" (rect 136 56 150 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 144 96)(pt 144 80)(line_width 1)) + (text "A0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A0" (rect 21 27 37 41)(font "Arial" (font_size 8))) + (line (pt 0 32)(pt 16 32)(line_width 1)) ) (port - (pt 128 96) + (pt 0 48) (input) - (text "A1" (rect 0 -288 16 -274)(font "Arial" (font_size 8))) - (text "A1" (rect 120 56 134 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 128 96)(pt 128 80)(line_width 1)) + (text "A1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A1" (rect 21 43 37 57)(font "Arial" (font_size 8))) + (line (pt 0 48)(pt 16 48)(line_width 1)) ) (port - (pt 112 96) + (pt 0 64) (input) - (text "A2" (rect 0 -288 16 -274)(font "Arial" (font_size 8))) - (text "A2" (rect 104 56 118 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 112 96)(pt 112 80)(line_width 1)) + (text "A2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A2" (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 "A3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A3" (rect 21 75 37 89)(font "Arial" (font_size 8))) + (line (pt 0 80)(pt 16 80)(line_width 1)) + ) + (port + (pt 0 96) + (input) + (text "A4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A4" (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 "A5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A5" (rect 21 107 37 121)(font "Arial" (font_size 8))) + (line (pt 0 112)(pt 16 112)(line_width 1)) + ) + (port + (pt 0 128) + (input) + (text "A6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A6" (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 "A7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "A7" (rect 21 139 37 153)(font "Arial" (font_size 8))) + (line (pt 0 144)(pt 16 144)(line_width 1)) + ) + (port + (pt 0 160) + (input) + (text "B0" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B0" (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 "B1" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B1" (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 "B2" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B2" (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 "B3" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B3" (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 "B4" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B4" (rect 21 219 36 233)(font "Arial" (font_size 8))) + (line (pt 0 224)(pt 16 224)(line_width 1)) + ) + (port + (pt 0 240) + (input) + (text "B5" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B5" (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 "B6" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B6" (rect 21 251 36 265)(font "Arial" (font_size 8))) + (line (pt 0 256)(pt 16 256)(line_width 1)) + ) + (port + (pt 0 272) + (input) + (text "B7" (rect 0 0 15 14)(font "Arial" (font_size 8))) + (text "B7" (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 "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8))) + (text "CLR" (rect 21 283 44 297)(font "Arial" (font_size 8))) + (line (pt 0 288)(pt 16 288)(line_width 1)) + ) + (port + (pt 0 304) + (input) + (text "CP_A" (rect 0 0 31 14)(font "Arial" (font_size 8))) + (text "CP_A" (rect 21 299 52 313)(font "Arial" (font_size 8))) + (line (pt 0 304)(pt 16 304)(line_width 1)) + ) + (port + (pt 0 320) + (input) + (text "CP_B" (rect 0 0 30 14)(font "Arial" (font_size 8))) + (text "CP_B" (rect 21 315 51 329)(font "Arial" (font_size 8))) + (line (pt 0 320)(pt 16 320)(line_width 1)) + ) + (port + (pt 0 336) + (input) + (text "CP_Z" (rect 0 0 30 14)(font "Arial" (font_size 8))) + (text "CP_Z" (rect 21 331 51 345)(font "Arial" (font_size 8))) + (line (pt 0 336)(pt 16 336)(line_width 1)) + ) + (port + (pt 96 32) + (output) + (text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q0" (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 "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q1" (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 "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q2" (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 "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q3" (rect 59 75 75 89)(font "Arial" (font_size 8))) + (line (pt 96 80)(pt 80 80)(line_width 1)) ) (port (pt 96 96) - (input) - (text "A3" (rect 0 -288 16 -274)(font "Arial" (font_size 8))) - (text "A3" (rect 88 56 102 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 96 96)(pt 96 80)(line_width 1)) - ) - (port - (pt 80 96) - (input) - (text "A4" (rect 0 -288 16 -274)(font "Arial" (font_size 8))) - (text "A4" (rect 72 56 86 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 80 96)(pt 80 80)(line_width 1)) - ) - (port - (pt 64 96) - (input) - (text "A5" (rect 0 -288 16 -274)(font "Arial" (font_size 8))) - (text "A5" (rect 56 56 70 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 64 96)(pt 64 80)(line_width 1)) - ) - (port - (pt 48 96) - (input) - (text "A6" (rect 0 -288 16 -274)(font "Arial" (font_size 8))) - (text "A6" (rect 40 56 54 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 48 96)(pt 48 80)(line_width 1)) - ) - (port - (pt 32 96) - (input) - (text "A7" (rect 0 -288 16 -274)(font "Arial" (font_size 8))) - (text "A7" (rect 24 56 38 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 32 96)(pt 32 80)(line_width 1)) - ) - (port - (pt 272 96) - (input) - (text "B0" (rect 0 -288 15 -274)(font "Arial" (font_size 8))) - (text "B0" (rect 264 57 278 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 272 96)(pt 272 80)(line_width 1)) - ) - (port - (pt 256 96) - (input) - (text "B1" (rect 0 -288 15 -274)(font "Arial" (font_size 8))) - (text "B1" (rect 248 57 262 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 256 96)(pt 256 80)(line_width 1)) - ) - (port - (pt 240 96) - (input) - (text "B2" (rect 0 -288 15 -274)(font "Arial" (font_size 8))) - (text "B2" (rect 232 57 246 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 240 96)(pt 240 80)(line_width 1)) - ) - (port - (pt 224 96) - (input) - (text "B3" (rect 0 -288 15 -274)(font "Arial" (font_size 8))) - (text "B3" (rect 216 57 230 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 224 96)(pt 224 80)(line_width 1)) - ) - (port - (pt 208 96) - (input) - (text "B4" (rect 0 -288 15 -274)(font "Arial" (font_size 8))) - (text "B4" (rect 200 57 214 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 208 96)(pt 208 80)(line_width 1)) - ) - (port - (pt 192 96) - (input) - (text "B5" (rect 0 -288 15 -274)(font "Arial" (font_size 8))) - (text "B5" (rect 184 57 198 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 192 96)(pt 192 80)(line_width 1)) - ) - (port - (pt 176 96) - (input) - (text "B6" (rect 0 -288 15 -274)(font "Arial" (font_size 8))) - (text "B6" (rect 168 57 182 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 176 96)(pt 176 80)(line_width 1)) - ) - (port - (pt 160 96) - (input) - (text "B7" (rect 0 -288 15 -274)(font "Arial" (font_size 8))) - (text "B7" (rect 152 57 166 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 160 96)(pt 160 80)(line_width 1)) - ) - (port - (pt 288 96) - (input) - (text "CPR0" (rect 0 -288 30 -274)(font "Arial" (font_size 8))) - (text "CPR0" (rect 280 42 294 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 288 96)(pt 288 80)(line_width 1)) - ) - (port - (pt 304 96) - (input) - (text "CPR1" (rect 0 -288 30 -274)(font "Arial" (font_size 8))) - (text "CPR1" (rect 296 42 310 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 304 96)(pt 304 80)(line_width 1)) - ) - (port - (pt 320 96) - (input) - (text "CPR2" (rect 0 -288 30 -274)(font "Arial" (font_size 8))) - (text "CPR2" (rect 312 42 326 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 320 96)(pt 320 80)(line_width 1)) - ) - (port - (pt 336 96) - (input) - (text "CLR" (rect 0 -288 23 -274)(font "Arial" (font_size 8))) - (text "CLR" (rect 328 49 342 72)(font "Arial" (font_size 8))(vertical)) - (line (pt 336 96)(pt 336 80)(line_width 1)) - ) - (port - (pt 144 0) (output) - (text "Q0" (rect 488 0 504 14)(font "Arial" (font_size 8))) - (text "Q0" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical)) - (line (pt 144 0)(pt 144 16)(line_width 1)) + (text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q4" (rect 59 91 75 105)(font "Arial" (font_size 8))) + (line (pt 96 96)(pt 80 96)(line_width 1)) ) (port - (pt 128 0) + (pt 96 112) (output) - (text "Q1" (rect 488 0 504 14)(font "Arial" (font_size 8))) - (text "Q1" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical)) - (line (pt 128 0)(pt 128 16)(line_width 1)) + (text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q5" (rect 59 107 75 121)(font "Arial" (font_size 8))) + (line (pt 96 112)(pt 80 112)(line_width 1)) ) (port - (pt 112 0) + (pt 96 128) (output) - (text "Q2" (rect 488 0 504 14)(font "Arial" (font_size 8))) - (text "Q2" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical)) - (line (pt 112 0)(pt 112 16)(line_width 1)) + (text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q6" (rect 59 123 75 137)(font "Arial" (font_size 8))) + (line (pt 96 128)(pt 80 128)(line_width 1)) ) (port - (pt 96 0) + (pt 96 144) (output) - (text "Q3" (rect 488 0 504 14)(font "Arial" (font_size 8))) - (text "Q3" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical)) - (line (pt 96 0)(pt 96 16)(line_width 1)) - ) - (port - (pt 80 0) - (output) - (text "Q4" (rect 488 0 504 14)(font "Arial" (font_size 8))) - (text "Q4" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical)) - (line (pt 80 0)(pt 80 16)(line_width 1)) - ) - (port - (pt 64 0) - (output) - (text "Q5" (rect 488 0 504 14)(font "Arial" (font_size 8))) - (text "Q5" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical)) - (line (pt 64 0)(pt 64 16)(line_width 1)) - ) - (port - (pt 48 0) - (output) - (text "Q6" (rect 488 0 504 14)(font "Arial" (font_size 8))) - (text "Q6" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical)) - (line (pt 48 0)(pt 48 16)(line_width 1)) - ) - (port - (pt 32 0) - (output) - (text "Q7" (rect 488 0 504 14)(font "Arial" (font_size 8))) - (text "Q7" (rect 24 24 38 40)(font "Arial" (font_size 8))(vertical)) - (line (pt 32 0)(pt 32 16)(line_width 1)) + (text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8))) + (text "Q7" (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 352 80)(line_width 1)) + (rectangle (rect 16 16 80 368)(line_width 1)) ) )