upgrade single adder to ALU with adder & shifter

This commit is contained in:
wzhqwq 2022-04-01 09:59:39 +08:00
父節點 6d6bce4487
當前提交 1bdd55d75f
共有 7 個檔案被更改,包括 5578 行新增984 行删除

檔案差異因為檔案過大而無法顯示 載入差異

查看文件

@ -20,9 +20,9 @@ applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
(rect 16 16 144 400)
(rect 64 64 192 480)
(text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 368 25 380)(font "Arial" ))
(text "inst" (rect 8 400 25 412)(font "Arial" ))
(port
(pt 0 32)
(input)
@ -163,6 +163,20 @@ applicable agreement for further details.
(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 0 352)
(input)
(text "S1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "S1" (rect 21 347 36 361)(font "Arial" (font_size 8)))
(line (pt 0 352)(pt 16 352)(line_width 1))
)
(port
(pt 0 368)
(input)
(text "S0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "S0" (rect 21 363 36 377)(font "Arial" (font_size 8)))
(line (pt 0 368)(pt 16 368)(line_width 1))
)
(port
(pt 128 32)
(output)
@ -219,35 +233,35 @@ applicable agreement for further details.
(text "Q7" (rect 91 139 107 153)(font "Arial" (font_size 8)))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(port
(pt 128 160)
(output)
(text "FLG_V" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "FLG_V" (rect 67 155 107 169)(font "Arial" (font_size 8)))
(line (pt 128 160)(pt 112 160)(line_width 1))
)
(port
(pt 128 176)
(output)
(text "FLG_N" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_N" (rect 69 171 107 185)(font "Arial" (font_size 8)))
(text "FLG_V" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "FLG_V" (rect 67 171 107 185)(font "Arial" (font_size 8)))
(line (pt 128 176)(pt 112 176)(line_width 1))
)
(port
(pt 128 192)
(output)
(text "FLG_Z" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_Z" (rect 69 187 107 201)(font "Arial" (font_size 8)))
(text "FLG_N" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_N" (rect 69 187 107 201)(font "Arial" (font_size 8)))
(line (pt 128 192)(pt 112 192)(line_width 1))
)
(port
(pt 128 208)
(output)
(text "FLG_C" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_C" (rect 69 203 107 217)(font "Arial" (font_size 8)))
(text "FLG_Z" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_Z" (rect 69 203 107 217)(font "Arial" (font_size 8)))
(line (pt 128 208)(pt 112 208)(line_width 1))
)
(port
(pt 128 160)
(output)
(text "FLG_C" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_C" (rect 69 155 107 169)(font "Arial" (font_size 8)))
(line (pt 128 160)(pt 112 160)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 368)(line_width 1))
(rectangle (rect 16 16 112 400)(line_width 1))
)
)

查看文件

@ -71,70 +71,6 @@ applicable agreement for further details.
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 944 768 1000 784))
)
(pin
(output)
(rect 1704 1552 1880 1568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLG_V" (rect 90 0 124 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 1704 1568 1880 1584)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLG_N" (rect 90 0 125 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 1704 1600 1880 1616)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLG_C" (rect 90 0 125 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 1704 1584 1880 1600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLG_Z" (rect 90 0 124 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 3696 1312 3872 1328)
@ -407,6 +343,70 @@ applicable agreement for further details.
(flipy)
(annotation_block (location)(rect 1168 496 1224 512))
)
(pin
(output)
(rect 1704 1552 1880 1568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLG_C" (rect 90 0 125 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 1704 1568 1880 1584)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLG_V" (rect 90 0 124 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 1704 1584 1880 1600)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLG_N" (rect 90 0 125 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 1704 1600 1880 1616)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLG_Z" (rect 90 0 124 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
(bidir)
(rect 4456 1320 4632 1336)
@ -543,238 +543,6 @@ applicable agreement for further details.
)
(text "VCC" (rect 4 7 24 17)(font "Arial" (font_size 6)))
)
(symbol
(rect 1320 1400 1448 1784)
(text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 8 368 31 380)(font "Arial" ))
(port
(pt 0 32)
(input)
(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 0 48)
(input)
(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 0 64)
(input)
(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 128 32)
(output)
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q0" (rect 91 27 107 41)(font "Arial" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q1" (rect 91 43 107 57)(font "Arial" (font_size 8)))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q2" (rect 91 59 107 73)(font "Arial" (font_size 8)))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 80)
(output)
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q3" (rect 91 75 107 89)(font "Arial" (font_size 8)))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q4" (rect 91 91 107 105)(font "Arial" (font_size 8)))
(line (pt 128 96)(pt 112 96)(line_width 1))
)
(port
(pt 128 112)
(output)
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q5" (rect 91 107 107 121)(font "Arial" (font_size 8)))
(line (pt 128 112)(pt 112 112)(line_width 1))
)
(port
(pt 128 128)
(output)
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q6" (rect 91 123 107 137)(font "Arial" (font_size 8)))
(line (pt 128 128)(pt 112 128)(line_width 1))
)
(port
(pt 128 144)
(output)
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q7" (rect 91 139 107 153)(font "Arial" (font_size 8)))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(port
(pt 128 160)
(output)
(text "FLG_V" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "FLG_V" (rect 67 155 107 169)(font "Arial" (font_size 8)))
(line (pt 128 160)(pt 112 160)(line_width 1))
)
(port
(pt 128 176)
(output)
(text "FLG_N" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_N" (rect 69 171 107 185)(font "Arial" (font_size 8)))
(line (pt 128 176)(pt 112 176)(line_width 1))
)
(port
(pt 128 192)
(output)
(text "FLG_Z" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_Z" (rect 69 187 107 201)(font "Arial" (font_size 8)))
(line (pt 128 192)(pt 112 192)(line_width 1))
)
(port
(pt 128 208)
(output)
(text "FLG_C" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_C" (rect 69 203 107 217)(font "Arial" (font_size 8)))
(line (pt 128 208)(pt 112 208)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 368)(line_width 1))
)
)
(symbol
(rect 2104 1408 2200 1664)
(text "register_4x" (rect 5 0 69 14)(font "Arial" (font_size 8)))
@ -2110,6 +1878,252 @@ applicable agreement for further details.
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 1320 1400 1448 1816)
(text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 8 400 31 412)(font "Arial" ))
(port
(pt 0 32)
(input)
(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 0 48)
(input)
(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 0 64)
(input)
(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 0 352)
(input)
(text "S1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "S1" (rect 21 347 36 361)(font "Arial" (font_size 8)))
(line (pt 0 352)(pt 16 352)(line_width 1))
)
(port
(pt 0 368)
(input)
(text "S0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "S0" (rect 21 363 36 377)(font "Arial" (font_size 8)))
(line (pt 0 368)(pt 16 368)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q0" (rect 91 27 107 41)(font "Arial" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q1" (rect 91 43 107 57)(font "Arial" (font_size 8)))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q2" (rect 91 59 107 73)(font "Arial" (font_size 8)))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 80)
(output)
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q3" (rect 91 75 107 89)(font "Arial" (font_size 8)))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q4" (rect 91 91 107 105)(font "Arial" (font_size 8)))
(line (pt 128 96)(pt 112 96)(line_width 1))
)
(port
(pt 128 112)
(output)
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q5" (rect 91 107 107 121)(font "Arial" (font_size 8)))
(line (pt 128 112)(pt 112 112)(line_width 1))
)
(port
(pt 128 128)
(output)
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q6" (rect 91 123 107 137)(font "Arial" (font_size 8)))
(line (pt 128 128)(pt 112 128)(line_width 1))
)
(port
(pt 128 144)
(output)
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q7" (rect 91 139 107 153)(font "Arial" (font_size 8)))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(port
(pt 128 176)
(output)
(text "FLG_V" (rect 0 0 40 14)(font "Arial" (font_size 8)))
(text "FLG_V" (rect 67 171 107 185)(font "Arial" (font_size 8)))
(line (pt 128 176)(pt 112 176)(line_width 1))
)
(port
(pt 128 192)
(output)
(text "FLG_N" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_N" (rect 69 187 107 201)(font "Arial" (font_size 8)))
(line (pt 128 192)(pt 112 192)(line_width 1))
)
(port
(pt 128 208)
(output)
(text "FLG_Z" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_Z" (rect 69 203 107 217)(font "Arial" (font_size 8)))
(line (pt 128 208)(pt 112 208)(line_width 1))
)
(port
(pt 128 160)
(output)
(text "FLG_C" (rect 0 0 38 14)(font "Arial" (font_size 8)))
(text "FLG_C" (rect 69 155 107 169)(font "Arial" (font_size 8)))
(line (pt 128 160)(pt 112 160)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 400)(line_width 1))
)
)
(connector
(pt 1448 1432)
(pt 1464 1432)
@ -3486,70 +3500,10 @@ applicable agreement for further details.
(pt 176 888)
(pt 176 2152)
)
(connector
(pt 2104 1440)
(pt 2064 1440)
)
(connector
(pt 2696 1592)
(pt 2632 1592)
)
(connector
(pt 2632 1592)
(pt 2632 424)
)
(connector
(pt 2064 424)
(pt 2632 424)
)
(connector
(pt 3160 1456)
(pt 3144 1456)
)
(connector
(pt 3144 1456)
(pt 3144 424)
)
(connector
(pt 2632 424)
(pt 3144 424)
)
(connector
(pt 3448 1224)
(pt 3400 1224)
)
(connector
(pt 3400 1224)
(pt 3400 424)
)
(connector
(pt 3144 424)
(pt 3400 424)
)
(connector
(pt 4184 1232)
(pt 4080 1232)
)
(connector
(pt 4080 1232)
(pt 4080 424)
)
(connector
(pt 3400 424)
(pt 4080 424)
)
(connector
(pt 4080 424)
(pt 4664 424)
)
(connector
(pt 1336 8)
(pt 1352 8)
)
(connector
(pt 1240 56)
(pt 1224 56)
)
(connector
(pt 1208 40)
(pt 1208 72)
@ -3594,10 +3548,6 @@ applicable agreement for further details.
(pt 1160 -248)
(pt 1240 -248)
)
(connector
(pt 1512 120)
(pt 1512 -88)
)
(connector
(pt 1160 -232)
(pt 1240 -232)
@ -3638,10 +3588,6 @@ applicable agreement for further details.
(pt 1336 -120)
(pt 1392 -120)
)
(connector
(pt 1320 1688)
(pt 1224 1688)
)
(connector
(pt 1360 -272)
(pt 1360 -248)
@ -3674,46 +3620,10 @@ applicable agreement for further details.
(pt 1360 -152)
(pt 1360 -136)
)
(connector
(pt 1224 56)
(pt 1224 120)
)
(connector
(pt 1224 120)
(pt 1224 1688)
)
(connector
(pt 2064 120)
(pt 2064 424)
)
(connector
(pt 2064 424)
(pt 2064 1440)
)
(connector
(pt 1512 120)
(pt 2064 120)
)
(connector
(pt 1224 120)
(pt 1512 120)
)
(connector
(pt 1160 120)
(pt 1224 120)
)
(connector
(pt 1160 72)
(pt 1208 72)
)
(connector
(pt 1336 -88)
(pt 1512 -88)
)
(connector
(pt 1448 1576)
(pt 1704 1576)
)
(connector
(pt 1448 1608)
(pt 1704 1608)
@ -3731,20 +3641,149 @@ applicable agreement for further details.
(pt 1216 -40)
)
(connector
(pt 1448 1560)
(pt 1688 1560)
(pt 1216 -40)
(pt 1688 -40)
)
(connector
(pt 1688 1560)
(pt 1448 1560)
(pt 1704 1560)
)
(connector
(pt 1688 1576)
(pt 1688 -40)
(pt 1688 1560)
)
(connector
(pt 1216 -40)
(pt 1688 -40)
(pt 1448 1576)
(pt 1688 1576)
)
(connector
(pt 1688 1576)
(pt 1704 1576)
)
(connector
(pt 2104 1440)
(pt 2064 1440)
(color 0 0 0)
)
(connector
(pt 2696 1592)
(pt 2632 1592)
(color 0 0 0)
)
(connector
(pt 2632 1592)
(pt 2632 424)
(color 0 0 0)
)
(connector
(pt 2064 424)
(pt 2632 424)
(color 0 0 0)
)
(connector
(pt 3160 1456)
(pt 3144 1456)
(color 0 0 0)
)
(connector
(pt 3144 1456)
(pt 3144 424)
(color 0 0 0)
)
(connector
(pt 2632 424)
(pt 3144 424)
(color 0 0 0)
)
(connector
(pt 3448 1224)
(pt 3400 1224)
(color 0 0 0)
)
(connector
(pt 3400 1224)
(pt 3400 424)
(color 0 0 0)
)
(connector
(pt 3144 424)
(pt 3400 424)
(color 0 0 0)
)
(connector
(pt 4184 1232)
(pt 4080 1232)
(color 0 0 0)
)
(connector
(pt 4080 1232)
(pt 4080 424)
(color 0 0 0)
)
(connector
(pt 3400 424)
(pt 4080 424)
(color 0 0 0)
)
(connector
(pt 4080 424)
(pt 4664 424)
(color 0 0 0)
)
(connector
(pt 1240 56)
(pt 1224 56)
(color 0 0 0)
)
(connector
(pt 1512 120)
(pt 1512 -88)
(color 0 0 0)
)
(connector
(pt 1320 1688)
(pt 1224 1688)
(color 0 0 0)
)
(connector
(pt 1224 56)
(pt 1224 120)
(color 0 0 0)
)
(connector
(pt 1224 120)
(pt 1224 1688)
(color 0 0 0)
)
(connector
(pt 2064 120)
(pt 2064 424)
(color 0 0 0)
)
(connector
(pt 2064 424)
(pt 2064 1440)
(color 0 0 0)
)
(connector
(pt 1512 120)
(pt 2064 120)
(color 0 0 0)
)
(connector
(pt 1224 120)
(pt 1512 120)
(color 0 0 0)
)
(connector
(pt 1160 120)
(pt 1224 120)
(color 0 0 0)
)
(connector
(pt 1336 -88)
(pt 1512 -88)
(color 0 0 0)
)
(junction (pt 2040 992))
(junction (pt 2032 1008))
@ -3816,7 +3855,7 @@ applicable agreement for further details.
(junction (pt 1360 -152))
(junction (pt 1224 120))
(junction (pt 1512 120))
(junction (pt 1688 1560))
(junction (pt 1688 1576))
(text "from MDR" (rect 832 840 887 854)(font "Arial" (font_size 8)))
(text "from general registers" (rect 776 1120 902 1134)(font "Arial" (font_size 8)))
(text "from PC" (rect 792 1232 836 1246)(font "Arial" (font_size 8)))

1077
machine_alpha/shifter_8b.bdf Normal file

檔案差異因為檔案過大而無法顯示 載入差異

查看文件

@ -0,0 +1,183 @@
/*
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 64 64 296 160)
(text "shifter_8b" (rect 5 0 62 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 48 96)
(input)
(text "A7" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A7" (rect 40 56 54 72)(font "Arial" (font_size 8))(vertical))
(line (pt 48 96)(pt 48 80)(line_width 1))
)
(port
(pt 64 96)
(input)
(text "A6" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A6" (rect 56 56 70 72)(font "Arial" (font_size 8))(vertical))
(line (pt 64 96)(pt 64 80)(line_width 1))
)
(port
(pt 80 96)
(input)
(text "A5" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A5" (rect 72 56 86 72)(font "Arial" (font_size 8))(vertical))
(line (pt 80 96)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(input)
(text "A4" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A4" (rect 88 56 102 72)(font "Arial" (font_size 8))(vertical))
(line (pt 96 96)(pt 96 80)(line_width 1))
)
(port
(pt 112 96)
(input)
(text "A3" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A3" (rect 104 56 118 72)(font "Arial" (font_size 8))(vertical))
(line (pt 112 96)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(input)
(text "A2" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A2" (rect 120 56 134 72)(font "Arial" (font_size 8))(vertical))
(line (pt 128 96)(pt 128 80)(line_width 1))
)
(port
(pt 144 96)
(input)
(text "A1" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A1" (rect 136 56 150 72)(font "Arial" (font_size 8))(vertical))
(line (pt 144 96)(pt 144 80)(line_width 1))
)
(port
(pt 160 96)
(input)
(text "A0" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A0" (rect 152 56 166 72)(font "Arial" (font_size 8))(vertical))
(line (pt 160 96)(pt 160 80)(line_width 1))
)
(port
(pt 232 32)
(input)
(text "LM" (rect -56 0 -40 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 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 191 56 208 70)(font "Arial" (font_size 8)))
(line (pt 216 64)(pt 232 64)(line_width 1))
)
(port
(pt 176 96)
(input)
(text "L" (rect 0 -160 7 -146)(font "Arial" (font_size 8)))
(text "L" (rect 168 65 182 72)(font "Arial" (font_size 8))(vertical))
(line (pt 176 96)(pt 176 80)(line_width 1))
)
(port
(pt 32 96)
(input)
(text "R" (rect 0 -160 8 -146)(font "Arial" (font_size 8)))
(text "R" (rect 24 64 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 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 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 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 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 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 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 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 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 24 24 38 39)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 216 80)(line_width 1))
)
)

檔案差異因為檔案過大而無法顯示 載入差異

查看文件

@ -0,0 +1,274 @@
/*
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 496)
(text "triple_selector_8b" (rect 5 0 106 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 464 25 476)(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 "C7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C7" (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 "A6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A6" (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 "B6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B6" (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 "C6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C6" (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 "A5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A5" (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 "B5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B5" (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 "C5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C5" (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 "A4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A4" (rect 21 171 37 185)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 0 192)
(input)
(text "B4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B4" (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 "C4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C4" (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 "A3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A3" (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 "B3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B3" (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 "C3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C3" (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 "A2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A2" (rect 21 267 37 281)(font "Arial" (font_size 8)))
(line (pt 0 272)(pt 16 272)(line_width 1))
)
(port
(pt 0 288)
(input)
(text "B2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B2" (rect 21 283 36 297)(font "Arial" (font_size 8)))
(line (pt 0 288)(pt 16 288)(line_width 1))
)
(port
(pt 0 304)
(input)
(text "C2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C2" (rect 21 299 36 313)(font "Arial" (font_size 8)))
(line (pt 0 304)(pt 16 304)(line_width 1))
)
(port
(pt 0 320)
(input)
(text "A1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A1" (rect 21 315 37 329)(font "Arial" (font_size 8)))
(line (pt 0 320)(pt 16 320)(line_width 1))
)
(port
(pt 0 336)
(input)
(text "B1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B1" (rect 21 331 36 345)(font "Arial" (font_size 8)))
(line (pt 0 336)(pt 16 336)(line_width 1))
)
(port
(pt 0 352)
(input)
(text "C1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C1" (rect 21 347 36 361)(font "Arial" (font_size 8)))
(line (pt 0 352)(pt 16 352)(line_width 1))
)
(port
(pt 0 368)
(input)
(text "A0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A0" (rect 21 363 37 377)(font "Arial" (font_size 8)))
(line (pt 0 368)(pt 16 368)(line_width 1))
)
(port
(pt 0 384)
(input)
(text "B0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B0" (rect 21 379 36 393)(font "Arial" (font_size 8)))
(line (pt 0 384)(pt 16 384)(line_width 1))
)
(port
(pt 0 400)
(input)
(text "C0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C0" (rect 21 395 36 409)(font "Arial" (font_size 8)))
(line (pt 0 400)(pt 16 400)(line_width 1))
)
(port
(pt 0 416)
(input)
(text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8)))
(text "AY" (rect 21 411 39 425)(font "Arial" (font_size 8)))
(line (pt 0 416)(pt 16 416)(line_width 1))
)
(port
(pt 0 432)
(input)
(text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "BY" (rect 21 427 38 441)(font "Arial" (font_size 8)))
(line (pt 0 432)(pt 16 432)(line_width 1))
)
(port
(pt 0 448)
(input)
(text "CY" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "CY" (rect 21 443 38 457)(font "Arial" (font_size 8)))
(line (pt 0 448)(pt 16 448)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(output)
(text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(output)
(text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(output)
(text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(output)
(text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 464)(line_width 1))
)
)