From 4333eff1ca3c8676718c0d660197339f9758d4d5 Mon Sep 17 00:00:00 2001 From: juzeon <812312770@qq.com> Date: Wed, 18 May 2022 20:07:42 +0800 Subject: [PATCH] update test ALU --- test_ALU/ALU_3_in_1.bdf | 766 +++++++++++++++++++++++----------------- test_ALU/shifter_8b.bsf | 28 +- test_ALU/test_ALU.qsf | 6 +- 3 files changed, 459 insertions(+), 341 deletions(-) diff --git a/test_ALU/ALU_3_in_1.bdf b/test_ALU/ALU_3_in_1.bdf index 40a3196..9b20d4f 100644 --- a/test_ALU/ALU_3_in_1.bdf +++ b/test_ALU/ALU_3_in_1.bdf @@ -4,7 +4,7 @@ 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 +Copyright (C) 1991-2008 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 @@ -362,7 +362,7 @@ applicable agreement for further details. ) (pin (input) - (rect 1104 2120 1120 2288) + (rect 1104 2152 1120 2320) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "S1" (rect 1 133 13 145)(font "Arial" )(vertical)) (pt 8 0) @@ -379,7 +379,7 @@ applicable agreement for further details. ) (pin (input) - (rect 1120 2120 1136 2288) + (rect 1120 2152 1136 2320) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "S0" (rect 1 133 13 145)(font "Arial" )(vertical)) (pt 8 0) @@ -396,7 +396,7 @@ applicable agreement for further details. ) (pin (input) - (rect 1088 2120 1104 2288) + (rect 1088 2152 1104 2320) (text "INPUT" (rect 0 7 10 35)(font "Arial" (font_size 6))(vertical)) (text "S2" (rect 1 133 13 145)(font "Arial" )(vertical)) (pt 8 0) @@ -1653,7 +1653,7 @@ applicable agreement for further details. ) ) (symbol - (rect 1064 2008 1256 2104) + (rect 1064 2040 1256 2136) (text "38_decoder" (rect 0 23 14 91)(font "Arial" (font_size 8))(vertical)) (text "inst6" (rect 174 63 186 86)(font "Arial" )(vertical)) (port @@ -1963,7 +1963,7 @@ applicable agreement for further details. (flipy) ) (symbol - (rect 1032 1968 1064 2000) + (rect 1016 2016 1048 2048) (text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6))) (text "inst4" (rect 3 21 26 33)(font "Arial" )(invisible)) (port @@ -1980,7 +1980,7 @@ applicable agreement for further details. ) ) (symbol - (rect 1032 1880 1064 1896) + (rect 1016 1928 1048 1944) (text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6))) (text "inst18" (rect 3 5 32 17)(font "Arial" )(invisible)) (port @@ -2131,7 +2131,7 @@ applicable agreement for further details. (rotate90) ) (symbol - (rect 1184 1920 1232 1984) + (rect 1160 1936 1208 2000) (text "OR2" (rect 0 45 10 63)(font "Arial" (font_size 6))(vertical)) (text "ALU1" (rect 38 37 50 64)(font "Arial" )(vertical)) (port @@ -2280,21 +2280,21 @@ applicable agreement for further details. (port (pt 232 32) (input) - (text "LM" (rect -56 0 -40 14)(font "Arial" (font_size 8))) + (text "LM" (rect -24 0 -8 14)(font "Arial" (font_size 8))) (text "LM" (rect 192 24 208 38)(font "Arial" (font_size 8))) (line (pt 216 32)(pt 232 32)(line_width 1)) ) (port (pt 232 48) (input) - (text "DM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "DM" (rect -24 0 -7 14)(font "Arial" (font_size 8))) (text "DM" (rect 191 40 208 54)(font "Arial" (font_size 8))) (line (pt 216 48)(pt 232 48)(line_width 1)) ) (port (pt 232 64) (input) - (text "RM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "RM" (rect -24 0 -7 14)(font "Arial" (font_size 8))) (text "RM" (rect 191 56 208 70)(font "Arial" (font_size 8))) (line (pt 216 64)(pt 232 64)(line_width 1)) ) @@ -2309,69 +2309,69 @@ applicable agreement for further details. (pt 32 96) (input) (text "L_in" (rect 0 -160 23 -146)(font "Arial" (font_size 8))) - (text "L_in" (rect 24 48 38 71)(font "Arial" (font_size 8))(vertical)) + (text "L_in" (rect 24 49 38 72)(font "Arial" (font_size 8))(vertical)) (line (pt 32 96)(pt 32 80)(line_width 1)) ) (port (pt 48 0) (output) - (text "Y7" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y7" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical)) (line (pt 48 0)(pt 48 16)(line_width 1)) ) (port (pt 64 0) (output) - (text "Y6" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y6" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical)) (line (pt 64 0)(pt 64 16)(line_width 1)) ) (port (pt 80 0) (output) - (text "Y5" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y5" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical)) (line (pt 80 0)(pt 80 16)(line_width 1)) ) (port (pt 96 0) (output) - (text "Y4" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y4" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical)) (line (pt 96 0)(pt 96 16)(line_width 1)) ) (port (pt 112 0) (output) - (text "Y3" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y3" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical)) (line (pt 112 0)(pt 112 16)(line_width 1)) ) (port (pt 128 0) (output) - (text "Y2" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y2" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical)) (line (pt 128 0)(pt 128 16)(line_width 1)) ) (port (pt 144 0) (output) - (text "Y1" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y1" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical)) (line (pt 144 0)(pt 144 16)(line_width 1)) ) (port (pt 160 0) (output) - (text "Y0" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y0" (rect 152 24 166 40)(font "Arial" (font_size 8))(vertical)) (line (pt 160 0)(pt 160 16)(line_width 1)) ) (port (pt 32 0) (output) - (text "C8" (rect 192 0 207 14)(font "Arial" (font_size 8))) + (text "C8" (rect 160 0 175 14)(font "Arial" (font_size 8))) (text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical)) (line (pt 32 0)(pt 32 16)(line_width 1)) ) @@ -2379,36 +2379,119 @@ applicable agreement for further details. (rectangle (rect 16 16 216 80)(line_width 1)) ) ) +(symbol + (rect 920 1928 968 1960) + (text "NOT" (rect 27 22 47 32)(font "Arial" (font_size 6))) + (text "inst2" (rect 22 -1 45 11)(font "Arial" )) + (port + (pt 48 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 35 13 46 25)(font "Courier New" (bold))(invisible)) + (line (pt 48 16)(pt 35 16)(line_width 1)) + ) + (port + (pt 0 16) + (output) + (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) + (text "OUT" (rect -1 13 16 25)(font "Courier New" (bold))(invisible)) + (line (pt 9 16)(pt 0 16)(line_width 1)) + ) + (drawing + (line (pt 35 7)(pt 35 25)(line_width 1)) + (line (pt 35 25)(pt 17 16)(line_width 1)) + (line (pt 35 7)(pt 17 16)(line_width 1)) + (circle (rect 9 12 17 20)(line_width 1)) + ) + (rotate180) +) +(symbol + (rect 992 1216 1040 1248) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst7" (rect 3 21 26 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(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 1080 1224 1144 1272) - (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6))) - (text "inst50" (rect 3 37 32 49)(font "Arial" )) + (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 14 16)(line_width 1)) + (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 "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)) + (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 42 24)(pt 64 24)(line_width 1)) + (line (pt 43 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)) + (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 992 1176 1040 1208) + (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6))) + (text "inst11" (rect 3 21 32 33)(font "Arial" )) + (port + (pt 0 16) + (input) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible)) + (line (pt 0 16)(pt 13 16)(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 @@ -2599,10 +2682,6 @@ applicable agreement for further details. (pt 664 1728) (pt 664 1736) ) -(connector - (pt 1144 1872) - (pt 1160 1872) -) (connector (pt 1096 1872) (pt 1048 1872) @@ -2623,10 +2702,6 @@ applicable agreement for further details. (pt 1048 1840) (pt 1048 1872) ) -(connector - (pt 1160 1888) - (pt 1192 1888) -) (connector (pt 1192 1840) (pt 1192 1888) @@ -2651,86 +2726,6 @@ applicable agreement for further details. (pt 664 1736) (pt 720 1736) ) -(connector - (pt 656 1888) - (pt 656 1952) -) -(connector - (pt 688 1888) - (pt 688 1952) -) -(connector - (pt 704 1888) - (pt 704 1952) -) -(connector - (pt 736 1888) - (pt 736 1952) -) -(connector - (pt 752 1888) - (pt 752 1952) -) -(connector - (pt 768 1888) - (pt 768 1952) -) -(connector - (pt 848 1888) - (pt 848 1952) -) -(connector - (pt 864 1888) - (pt 864 1952) -) -(connector - (pt 880 1888) - (pt 880 1952) -) -(connector - (pt 896 1888) - (pt 896 1952) -) -(connector - (pt 672 1888) - (pt 672 1936) -) -(connector - (pt 720 1888) - (pt 720 1936) -) -(connector - (pt 784 1888) - (pt 784 1936) -) -(connector - (pt 800 1888) - (pt 800 1936) -) -(connector - (pt 816 1888) - (pt 816 1936) -) -(connector - (pt 832 1888) - (pt 832 1936) -) -(connector - (pt 912 1888) - (pt 912 1904) -) -(connector - (pt 1192 2008) - (pt 1192 2000) -) -(connector - (pt 1160 1920) - (pt 928 1920) -) -(connector - (pt 928 1888) - (pt 928 1920) -) (connector (pt 656 1536) (pt 1120 1536) @@ -2782,10 +2777,6 @@ applicable agreement for further details. (pt 632 1360) (color 138 138 138) ) -(connector - (pt 1048 1936) - (pt 1048 1896) -) (connector (pt 904 1712) (pt 1152 1712) @@ -2802,18 +2793,6 @@ applicable agreement for further details. (pt 872 1744) (pt 1056 1744) ) -(connector - (pt 1176 1992) - (pt 1200 1992) -) -(connector - (pt 1216 2000) - (pt 1216 1984) -) -(connector - (pt 1200 1992) - (pt 1200 1984) -) (connector (pt 584 1728) (pt 584 1776) @@ -2882,22 +2861,6 @@ applicable agreement for further details. (pt 568 1728) (pt 568 1920) ) -(connector - (pt 1112 1840) - (pt 1112 2008) -) -(connector - (pt 1128 1856) - (pt 1128 2008) -) -(connector - (pt 1144 1872) - (pt 1144 2008) -) -(connector - (pt 1176 1992) - (pt 1176 2008) -) (connector (pt 720 1736) (pt 720 1792) @@ -2918,10 +2881,6 @@ applicable agreement for further details. (pt 656 1768) (pt 656 1792) ) -(connector - (pt 1048 1952) - (pt 1048 1968) -) (connector (pt 1200 1696) (pt 1200 1776) @@ -3002,18 +2961,6 @@ applicable agreement for further details. (pt 808 2040) (pt 808 2120) ) -(connector - (pt 1112 2104) - (pt 1112 2120) -) -(connector - (pt 1128 2104) - (pt 1128 2120) -) -(connector - (pt 1096 2104) - (pt 1096 2120) -) (connector (pt 168 1336) (pt 528 1336) @@ -3030,10 +2977,6 @@ applicable agreement for further details. (pt 512 1320) (pt 560 1320) ) -(connector - (pt 656 1952) - (pt 688 1952) -) (connector (pt 344 1480) (pt 472 1480) @@ -3044,74 +2987,6 @@ applicable agreement for further details. (pt 528 1480) (color 138 138 138) ) -(connector - (pt 672 1936) - (pt 720 1936) -) -(connector - (pt 720 1936) - (pt 784 1936) -) -(connector - (pt 784 1936) - (pt 800 1936) -) -(connector - (pt 800 1936) - (pt 816 1936) -) -(connector - (pt 816 1936) - (pt 832 1936) -) -(connector - (pt 832 1936) - (pt 1048 1936) -) -(connector - (pt 912 1904) - (pt 1008 1904) -) -(connector - (pt 1008 1904) - (pt 1208 1904) -) -(connector - (pt 688 1952) - (pt 704 1952) -) -(connector - (pt 704 1952) - (pt 736 1952) -) -(connector - (pt 736 1952) - (pt 752 1952) -) -(connector - (pt 752 1952) - (pt 768 1952) -) -(connector - (pt 768 1952) - (pt 848 1952) -) -(connector - (pt 848 1952) - (pt 864 1952) -) -(connector - (pt 864 1952) - (pt 880 1952) -) -(connector - (pt 880 1952) - (pt 896 1952) -) -(connector - (pt 896 1952) - (pt 1048 1952) -) (connector (pt 1160 1320) (pt 1160 1336) @@ -3120,46 +2995,10 @@ applicable agreement for further details. (pt 1160 1336) (pt 1160 1352) ) -(connector - (pt 1096 1840) - (pt 1096 1872) -) -(connector - (pt 1096 1872) - (pt 1096 2008) -) -(connector - (pt 1064 1856) - (pt 1128 1856) -) -(connector - (pt 1128 1856) - (pt 1144 1856) -) -(connector - (pt 1160 1888) - (pt 1160 1920) -) -(connector - (pt 1160 1920) - (pt 1160 2008) -) -(connector - (pt 1192 2000) - (pt 1216 2000) -) -(connector - (pt 1216 2000) - (pt 1248 2000) -) (connector (pt 1208 1840) (pt 1208 1904) ) -(connector - (pt 1208 1904) - (pt 1208 1920) -) (connector (pt 1160 1352) (pt 1160 1368) @@ -3184,14 +3023,6 @@ applicable agreement for further details. (pt 488 2072) (pt 488 2120) ) -(connector - (pt 1248 2000) - (pt 1248 1568) -) -(connector - (pt 1248 1568) - (pt 976 1568) -) (connector (pt 992 1776) (pt 840 1776) @@ -3270,21 +3101,6 @@ applicable agreement for further details. (pt 472 1480) (color 138 138 138) ) -(connector - (pt 1088 1344) - (pt 1088 1384) - (color 255 45 129) -) -(connector - (pt 1176 1384) - (pt 1088 1384) - (color 255 45 129) -) -(connector - (pt 800 1344) - (pt 1088 1344) - (color 255 45 129) -) (connector (pt 216 2016) (pt 216 2104) @@ -3320,10 +3136,6 @@ applicable agreement for further details. (pt 1176 1288) (color 0 0 0) ) -(connector - (pt 872 1192) - (pt 664 1192) -) (connector (pt 872 1744) (pt 872 1192) @@ -3597,35 +3409,323 @@ applicable agreement for further details. (color 0 128 128) ) (connector - (pt 976 1568) - (pt 976 1240) + (pt 656 1888) + (pt 656 1984) ) (connector - (pt 976 1240) + (pt 672 1888) + (pt 672 1968) +) +(connector + (pt 688 1888) + (pt 688 1984) +) +(connector + (pt 704 1888) + (pt 704 1984) +) +(connector + (pt 720 1888) + (pt 720 1968) +) +(connector + (pt 736 1888) + (pt 736 1984) +) +(connector + (pt 752 1888) + (pt 752 1984) +) +(connector + (pt 768 1888) + (pt 768 1984) +) +(connector + (pt 784 1888) + (pt 784 1968) +) +(connector + (pt 800 1888) + (pt 800 1968) +) +(connector + (pt 816 1888) + (pt 816 1968) +) +(connector + (pt 832 1888) + (pt 832 1968) +) +(connector + (pt 848 1888) + (pt 848 1984) +) +(connector + (pt 864 1888) + (pt 864 1984) +) +(connector + (pt 880 1888) + (pt 880 1984) +) +(connector + (pt 896 1888) + (pt 896 1984) +) +(connector + (pt 656 1984) + (pt 688 1984) +) +(connector + (pt 688 1984) + (pt 704 1984) +) +(connector + (pt 704 1984) + (pt 736 1984) +) +(connector + (pt 736 1984) + (pt 752 1984) +) +(connector + (pt 752 1984) + (pt 768 1984) +) +(connector + (pt 672 1968) + (pt 720 1968) +) +(connector + (pt 768 1984) + (pt 848 1984) +) +(connector + (pt 848 1984) + (pt 864 1984) +) +(connector + (pt 864 1984) + (pt 880 1984) +) +(connector + (pt 720 1968) + (pt 784 1968) +) +(connector + (pt 784 1968) + (pt 800 1968) +) +(connector + (pt 800 1968) + (pt 816 1968) +) +(connector + (pt 1032 1984) + (pt 1032 2016) +) +(connector + (pt 880 1984) + (pt 896 1984) +) +(connector + (pt 896 1984) + (pt 1032 1984) +) +(connector + (pt 1032 1968) + (pt 1032 1944) +) +(connector + (pt 816 1968) + (pt 832 1968) +) +(connector + (pt 832 1968) + (pt 1032 1968) +) +(connector + (pt 912 1888) + (pt 912 1944) +) +(connector + (pt 912 1944) + (pt 920 1944) +) +(connector + (pt 976 1944) + (pt 968 1944) +) +(connector + (pt 976 1920) + (pt 976 1944) +) +(connector + (pt 928 1888) + (pt 928 1920) +) +(connector + (pt 928 1920) + (pt 976 1920) +) +(connector + (pt 976 1920) + (pt 1160 1920) +) +(connector + (pt 1192 1888) + (pt 1160 1888) +) +(connector + (pt 1160 1872) + (pt 1144 1872) +) +(connector + (pt 976 1568) + (pt 1248 1568) +) +(connector + (pt 1096 1840) + (pt 1096 1872) +) +(connector + (pt 1064 1856) + (pt 1128 1856) +) +(connector + (pt 1128 1856) + (pt 1144 1856) +) +(connector + (pt 1160 1888) + (pt 1160 1920) +) +(connector + (pt 1096 1872) + (pt 1096 2040) +) +(connector + (pt 1112 1840) + (pt 1112 2040) +) +(connector + (pt 1128 1856) + (pt 1128 2040) +) +(connector + (pt 1144 1872) + (pt 1144 2040) +) +(connector + (pt 1160 1920) + (pt 1160 2040) +) +(connector + (pt 1112 2136) + (pt 1112 2152) +) +(connector + (pt 1128 2136) + (pt 1128 2152) +) +(connector + (pt 1096 2136) + (pt 1096 2152) +) +(connector + (pt 1184 1904) + (pt 1184 1936) +) +(connector + (pt 1008 1904) + (pt 1184 1904) +) +(connector + (pt 1184 1904) + (pt 1208 1904) +) +(connector + (pt 1192 2000) + (pt 1192 2040) +) +(connector + (pt 1248 2024) + (pt 1248 1568) +) +(connector + (pt 1248 2024) + (pt 1176 2024) +) +(connector + (pt 1176 2000) + (pt 1176 2024) +) +(connector + (pt 1176 2024) + (pt 1176 2040) +) +(connector + (pt 1104 1344) + (pt 1104 1384) + (color 255 45 129) +) +(connector + (pt 1176 1384) + (pt 1104 1384) + (color 255 45 129) +) +(connector + (pt 800 1344) + (pt 1104 1344) + (color 255 45 129) +) +(connector + (pt 1072 1240) (pt 1080 1240) ) +(connector + (pt 976 1568) + (pt 976 1232) +) +(connector + (pt 976 1232) + (pt 992 1232) +) +(connector + (pt 1080 1248) + (pt 1056 1248) +) +(connector + (pt 1056 1248) + (pt 1056 1232) +) +(connector + (pt 1056 1232) + (pt 1040 1232) +) +(connector + (pt 1072 1240) + (pt 1072 1192) +) +(connector + (pt 664 1192) + (pt 872 1192) +) +(connector + (pt 872 1192) + (pt 992 1192) +) +(connector + (pt 1040 1192) + (pt 1072 1192) +) (junction (pt 528 1336)) (junction (pt 512 1320)) (junction (pt 216 2104)) (junction (pt 456 2104)) -(junction (pt 688 1952)) -(junction (pt 704 1952)) (junction (pt 1288 1400)) (junction (pt 472 1440)) (junction (pt 472 1480)) -(junction (pt 720 1936)) -(junction (pt 784 1936)) -(junction (pt 800 1936)) -(junction (pt 816 1936)) -(junction (pt 832 1936)) -(junction (pt 1008 1904)) -(junction (pt 736 1952)) -(junction (pt 752 1952)) -(junction (pt 768 1952)) -(junction (pt 848 1952)) -(junction (pt 864 1952)) -(junction (pt 880 1952)) -(junction (pt 896 1952)) (junction (pt 1160 1336)) (junction (pt 1160 1352)) (junction (pt 456 1592)) @@ -3638,8 +3738,6 @@ applicable agreement for further details. (junction (pt 344 1480)) (junction (pt 1096 1872)) (junction (pt 1160 1920)) -(junction (pt 1216 2000)) -(junction (pt 1208 1904)) (junction (pt 1160 1368)) (junction (pt 248 2088)) (junction (pt 488 2072)) @@ -3647,6 +3745,24 @@ applicable agreement for further details. (junction (pt 840 1256)) (junction (pt 136 1288)) (junction (pt 472 1200)) +(junction (pt 976 1920)) +(junction (pt 720 1968)) +(junction (pt 688 1984)) +(junction (pt 704 1984)) +(junction (pt 736 1984)) +(junction (pt 752 1984)) +(junction (pt 768 1984)) +(junction (pt 848 1984)) +(junction (pt 784 1968)) +(junction (pt 864 1984)) +(junction (pt 880 1984)) +(junction (pt 896 1984)) +(junction (pt 800 1968)) +(junction (pt 816 1968)) +(junction (pt 832 1968)) +(junction (pt 1184 1904)) +(junction (pt 1176 2024)) +(junction (pt 872 1192)) (text "B" (rect 488 1328 496 1342)(font "Arial" (font_size 8))) (text "A" (rect 488 1312 497 1326)(font "Arial" (font_size 8))) (text "Q" (rect 488 1352 497 1366)(font "Arial" (font_size 8))) @@ -3654,5 +3770,5 @@ applicable agreement for further details. (text "zero" (rect 520 1432 560 1451)(font "Arial" (color 101 0 223)(font_size 12)(bold))) (rectangle (rect 520 1456 664 1616)(color 101 0 223)(line_width 2)) (rectangle (rect 480 1296 808 1424)(color 255 45 129)(line_width 2)) -(rectangle (rect 648 1928 728 1960)(color 0 128 0)) -(rectangle (rect 776 1928 856 1960)(color 0 128 0)) +(rectangle (rect 648 1960 728 1992)(color 0 128 0)) +(rectangle (rect 776 1960 856 1992)(color 0 128 0)) diff --git a/test_ALU/shifter_8b.bsf b/test_ALU/shifter_8b.bsf index 056dd7d..541db39 100644 --- a/test_ALU/shifter_8b.bsf +++ b/test_ALU/shifter_8b.bsf @@ -4,7 +4,7 @@ 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 +Copyright (C) 1991-2008 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 @@ -82,21 +82,21 @@ applicable agreement for further details. (port (pt 232 32) (input) - (text "LM" (rect -56 0 -40 14)(font "Arial" (font_size 8))) + (text "LM" (rect -24 0 -8 14)(font "Arial" (font_size 8))) (text "LM" (rect 192 24 208 38)(font "Arial" (font_size 8))) (line (pt 216 32)(pt 232 32)(line_width 1)) ) (port (pt 232 48) (input) - (text "DM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "DM" (rect -24 0 -7 14)(font "Arial" (font_size 8))) (text "DM" (rect 191 40 208 54)(font "Arial" (font_size 8))) (line (pt 216 48)(pt 232 48)(line_width 1)) ) (port (pt 232 64) (input) - (text "RM" (rect -56 0 -39 14)(font "Arial" (font_size 8))) + (text "RM" (rect -24 0 -7 14)(font "Arial" (font_size 8))) (text "RM" (rect 191 56 208 70)(font "Arial" (font_size 8))) (line (pt 216 64)(pt 232 64)(line_width 1)) ) @@ -111,69 +111,69 @@ applicable agreement for further details. (pt 32 96) (input) (text "L_in" (rect 0 -160 23 -146)(font "Arial" (font_size 8))) - (text "L_in" (rect 24 48 38 71)(font "Arial" (font_size 8))(vertical)) + (text "L_in" (rect 24 49 38 72)(font "Arial" (font_size 8))(vertical)) (line (pt 32 96)(pt 32 80)(line_width 1)) ) (port (pt 48 0) (output) - (text "Y7" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y7" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y7" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical)) (line (pt 48 0)(pt 48 16)(line_width 1)) ) (port (pt 64 0) (output) - (text "Y6" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y6" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y6" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical)) (line (pt 64 0)(pt 64 16)(line_width 1)) ) (port (pt 80 0) (output) - (text "Y5" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y5" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y5" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical)) (line (pt 80 0)(pt 80 16)(line_width 1)) ) (port (pt 96 0) (output) - (text "Y4" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y4" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y4" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical)) (line (pt 96 0)(pt 96 16)(line_width 1)) ) (port (pt 112 0) (output) - (text "Y3" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y3" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y3" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical)) (line (pt 112 0)(pt 112 16)(line_width 1)) ) (port (pt 128 0) (output) - (text "Y2" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y2" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y2" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical)) (line (pt 128 0)(pt 128 16)(line_width 1)) ) (port (pt 144 0) (output) - (text "Y1" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y1" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y1" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical)) (line (pt 144 0)(pt 144 16)(line_width 1)) ) (port (pt 160 0) (output) - (text "Y0" (rect 192 0 208 14)(font "Arial" (font_size 8))) + (text "Y0" (rect 160 0 176 14)(font "Arial" (font_size 8))) (text "Y0" (rect 152 24 166 40)(font "Arial" (font_size 8))(vertical)) (line (pt 160 0)(pt 160 16)(line_width 1)) ) (port (pt 32 0) (output) - (text "C8" (rect 192 0 207 14)(font "Arial" (font_size 8))) + (text "C8" (rect 160 0 175 14)(font "Arial" (font_size 8))) (text "C8" (rect 24 24 38 39)(font "Arial" (font_size 8))(vertical)) (line (pt 32 0)(pt 32 16)(line_width 1)) ) diff --git a/test_ALU/test_ALU.qsf b/test_ALU/test_ALU.qsf index 703cb8b..5ebfce5 100644 --- a/test_ALU/test_ALU.qsf +++ b/test_ALU/test_ALU.qsf @@ -41,7 +41,7 @@ set_global_assignment -name DEVICE EP2C8Q208C8 set_global_assignment -name TOP_LEVEL_ENTITY test_ALU set_global_assignment -name ORIGINAL_QUARTUS_VERSION "9.0 SP2" set_global_assignment -name PROJECT_CREATION_TIME_DATE "16:09:17 MAY 17, 2022" -set_global_assignment -name LAST_QUARTUS_VERSION "9.0 SP2" +set_global_assignment -name LAST_QUARTUS_VERSION 8.1 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 @@ -91,4 +91,6 @@ set_location_assignment PIN_86 -to S1 set_location_assignment PIN_87 -to S2 set_global_assignment -name MISC_FILE "D:/projects/quartus/test_ALU/test_ALU.dpf" set_location_assignment PIN_88 -to test_in -set_location_assignment PIN_34 -to test_out \ No newline at end of file +set_location_assignment PIN_34 -to test_out +set_global_assignment -name RESERVE_ALL_UNUSED_PINS_NO_OUTPUT_GND "AS INPUT TRI-STATED" +set_global_assignment -name MISC_FILE "C:/Users/dell/Documents/quartusProj/test_ALU/test_ALU.dpf" \ No newline at end of file