改造移位寄存器

This commit is contained in:
wzhqwq 2022-03-10 17:04:37 +08:00
父節點 b73e58453e
當前提交 f749a845b4
共有 9 個檔案被更改,包括 4325 行新增3731 行删除

155
register_8b/register_8b.bsf Normal file
查看文件

@ -0,0 +1,155 @@
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2009 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
(rect 16 16 112 240)
(text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 21 27 44 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 21 43 36 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D7" (rect 21 59 36 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D6" (rect 21 75 36 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D5" (rect 21 91 36 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D4" (rect 21 107 36 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D3" (rect 21 123 36 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D2" (rect 21 139 36 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D1" (rect 21 155 36 169)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D0" (rect 21 171 36 185)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q7" (rect 59 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q6" (rect 59 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q5" (rect 59 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q4" (rect 59 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(output)
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q3" (rect 59 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(output)
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q2" (rect 59 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(output)
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q1" (rect 59 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(output)
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q0" (rect 59 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 208)(line_width 1))
)
)

查看文件

@ -20,239 +20,141 @@ 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" ))
(rect 64 64 160 416)
(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 32)
(pt 0 144)
(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))
(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 "A5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A5" (rect 21 123 37 137)(font "Arial" (font_size 8)))
(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 144)
(pt 0 112)
(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))
(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 160)
(pt 0 96)
(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))
(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 176)
(pt 0 80)
(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))
(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 192)
(pt 0 64)
(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))
(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 208)
(pt 0 48)
(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))
(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 224)
(pt 0 32)
(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))
(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 "A2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "A2" (rect 21 267 37 281)(font "Arial" (font_size 8)))
(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 "B2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "B2" (rect 21 283 36 297)(font "Arial" (font_size 8)))
(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 "C2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "C2" (rect 21 299 36 313)(font "Arial" (font_size 8)))
(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 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)
(pt 96 144)
(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))
(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)
@ -262,13 +164,48 @@ applicable agreement for further details.
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(pt 96 112)
(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))
(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 464)(line_width 1))
(rectangle (rect 16 16 80 336)(line_width 1))
)
)

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

查看文件

@ -0,0 +1,155 @@
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2009 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
(rect 64 64 160 288)
(text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 160)
(input)
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 21 155 44 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 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 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))
)
)

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

查看文件

@ -20,157 +20,171 @@ applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
(rect 64 64 264 224)
(rect 64 64 304 192)
(text "shiftable_register" (rect 5 0 104 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 144 25 156)(font "Arial" ))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 32 160)
(pt 48 128)
(input)
(text "D7" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D7" (rect 24 121 38 136)(font "Arial" (font_size 8))(vertical))
(line (pt 32 160)(pt 32 144)(line_width 1))
(text "D7" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
(text "D7" (rect 40 89 54 104)(font "Arial" (font_size 8))(vertical))
(line (pt 48 128)(pt 48 112)(line_width 1))
)
(port
(pt 48 160)
(pt 64 128)
(input)
(text "D6" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D6" (rect 40 121 54 136)(font "Arial" (font_size 8))(vertical))
(line (pt 48 160)(pt 48 144)(line_width 1))
(text "D6" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
(text "D6" (rect 56 89 70 104)(font "Arial" (font_size 8))(vertical))
(line (pt 64 128)(pt 64 112)(line_width 1))
)
(port
(pt 64 160)
(pt 80 128)
(input)
(text "D5" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D5" (rect 56 121 70 136)(font "Arial" (font_size 8))(vertical))
(line (pt 64 160)(pt 64 144)(line_width 1))
(text "D5" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
(text "D5" (rect 72 89 86 104)(font "Arial" (font_size 8))(vertical))
(line (pt 80 128)(pt 80 112)(line_width 1))
)
(port
(pt 80 160)
(pt 96 128)
(input)
(text "D4" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D4" (rect 72 121 86 136)(font "Arial" (font_size 8))(vertical))
(line (pt 80 160)(pt 80 144)(line_width 1))
(text "D4" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
(text "D4" (rect 88 89 102 104)(font "Arial" (font_size 8))(vertical))
(line (pt 96 128)(pt 96 112)(line_width 1))
)
(port
(pt 96 160)
(pt 112 128)
(input)
(text "D3" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D3" (rect 88 121 102 136)(font "Arial" (font_size 8))(vertical))
(line (pt 96 160)(pt 96 144)(line_width 1))
(text "D3" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
(text "D3" (rect 104 89 118 104)(font "Arial" (font_size 8))(vertical))
(line (pt 112 128)(pt 112 112)(line_width 1))
)
(port
(pt 112 160)
(pt 128 128)
(input)
(text "D2" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D2" (rect 104 121 118 136)(font "Arial" (font_size 8))(vertical))
(line (pt 112 160)(pt 112 144)(line_width 1))
(text "D2" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
(text "D2" (rect 120 89 134 104)(font "Arial" (font_size 8))(vertical))
(line (pt 128 128)(pt 128 112)(line_width 1))
)
(port
(pt 128 160)
(pt 144 128)
(input)
(text "D1" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D1" (rect 120 121 134 136)(font "Arial" (font_size 8))(vertical))
(line (pt 128 160)(pt 128 144)(line_width 1))
(text "D1" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
(text "D1" (rect 136 89 150 104)(font "Arial" (font_size 8))(vertical))
(line (pt 144 128)(pt 144 112)(line_width 1))
)
(port
(pt 144 160)
(pt 160 128)
(input)
(text "D0" (rect 0 -96 15 -82)(font "Arial" (font_size 8)))
(text "D0" (rect 136 121 150 136)(font "Arial" (font_size 8))(vertical))
(line (pt 144 160)(pt 144 144)(line_width 1))
(text "D0" (rect 0 -160 15 -146)(font "Arial" (font_size 8)))
(text "D0" (rect 152 89 166 104)(font "Arial" (font_size 8))(vertical))
(line (pt 160 128)(pt 160 112)(line_width 1))
)
(port
(pt 200 48)
(pt 240 32)
(input)
(text "LM" (rect -120 0 -104 14)(font "Arial" (font_size 8)))
(text "LM" (rect 160 40 176 54)(font "Arial" (font_size 8)))
(line (pt 200 48)(pt 184 48)(line_width 1))
(text "LM" (rect -144 0 -128 14)(font "Arial" (font_size 8)))
(text "LM" (rect 200 24 216 38)(font "Arial" (font_size 8)))
(line (pt 224 32)(pt 240 32)(line_width 1))
)
(port
(pt 200 64)
(pt 240 48)
(input)
(text "DM" (rect -120 0 -103 14)(font "Arial" (font_size 8)))
(text "DM" (rect 159 56 176 70)(font "Arial" (font_size 8)))
(line (pt 184 64)(pt 200 64)(line_width 1))
(text "DM" (rect -144 0 -127 14)(font "Arial" (font_size 8)))
(text "DM" (rect 199 40 216 54)(font "Arial" (font_size 8)))
(line (pt 224 48)(pt 240 48)(line_width 1))
)
(port
(pt 200 80)
(pt 240 64)
(input)
(text "RM" (rect -120 0 -103 14)(font "Arial" (font_size 8)))
(text "RM" (rect 159 72 176 86)(font "Arial" (font_size 8)))
(line (pt 200 80)(pt 184 80)(line_width 1))
(text "RM" (rect -144 0 -127 14)(font "Arial" (font_size 8)))
(text "RM" (rect 199 56 216 70)(font "Arial" (font_size 8)))
(line (pt 224 64)(pt 240 64)(line_width 1))
)
(port
(pt 200 96)
(pt 240 80)
(input)
(text "CK" (rect -120 0 -104 14)(font "Arial" (font_size 8)))
(text "CK" (rect 160 88 176 102)(font "Arial" (font_size 8)))
(line (pt 184 96)(pt 200 96)(line_width 1))
(text "CK" (rect -144 0 -128 14)(font "Arial" (font_size 8)))
(text "CK" (rect 200 72 216 86)(font "Arial" (font_size 8)))
(line (pt 224 80)(pt 240 80)(line_width 1))
)
(port
(pt 200 112)
(pt 240 96)
(input)
(text "CLR" (rect -120 0 -97 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 153 104 176 118)(font "Arial" (font_size 8)))
(line (pt 184 112)(pt 200 112)(line_width 1))
(text "CLR" (rect -144 0 -121 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 193 88 216 102)(font "Arial" (font_size 8)))
(line (pt 224 96)(pt 240 96)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "Y7" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 24 24 38 40)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
(pt 176 128)
(input)
(text "L" (rect 0 -160 7 -146)(font "Arial" (font_size 8)))
(text "L" (rect 168 97 182 104)(font "Arial" (font_size 8))(vertical))
(line (pt 176 128)(pt 176 112)(line_width 1))
)
(port
(pt 32 128)
(input)
(text "R" (rect 0 -160 8 -146)(font "Arial" (font_size 8)))
(text "R" (rect 24 96 38 104)(font "Arial" (font_size 8))(vertical))
(line (pt 32 128)(pt 32 112)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "Y6" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 40 24 54 40)(font "Arial" (font_size 8))(vertical))
(text "Y7" (rect 288 0 304 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 "Y5" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 56 24 70 40)(font "Arial" (font_size 8))(vertical))
(text "Y6" (rect 288 0 304 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 "Y4" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 72 24 86 40)(font "Arial" (font_size 8))(vertical))
(text "Y5" (rect 288 0 304 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 "Y3" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 88 24 102 40)(font "Arial" (font_size 8))(vertical))
(text "Y4" (rect 288 0 304 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 "Y2" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 104 24 118 40)(font "Arial" (font_size 8))(vertical))
(text "Y3" (rect 288 0 304 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 "Y1" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 120 24 134 40)(font "Arial" (font_size 8))(vertical))
(text "Y2" (rect 288 0 304 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 "Y0" (rect 224 0 240 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 136 24 150 40)(font "Arial" (font_size 8))(vertical))
(text "Y1" (rect 288 0 304 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 288 0 304 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))
)
(drawing
(rectangle (rect 16 16 184 144)(line_width 1))
(rectangle (rect 16 16 224 112)(line_width 1))
)
)

查看文件

@ -0,0 +1,865 @@
/*
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 40 408 208 424)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A0" (rect 9 0 21 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 40 360 208 376)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A1" (rect 9 0 21 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 40 312 208 328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A2" (rect 9 0 21 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 40 264 208 280)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A3" (rect 9 0 21 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 40 216 208 232)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A4" (rect 9 0 21 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 40 456 208 472)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "LM" (rect 9 0 23 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 40 504 208 520)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "DM" (rect 9 0 25 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 40 552 208 568)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "RM" (rect 9 0 25 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 40 168 208 184)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A5" (rect 9 0 21 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 40 120 208 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A6" (rect 9 0 21 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 40 72 208 88)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "A7" (rect 9 0 21 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 688 168 864 184)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y0" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 688 152 864 168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y1" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 688 136 864 152)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y2" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 688 120 864 136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y3" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 688 104 864 120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y4" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 688 88 864 104)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y5" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 688 72 864 88)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y6" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 688 56 864 72)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y7" (rect 90 0 104 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(symbol
(rect 296 496 328 528)
(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 488 32 584 512)
(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))
)
)
(connector
(pt 584 176)
(pt 688 176)
)
(connector
(pt 584 160)
(pt 688 160)
)
(connector
(pt 584 144)
(pt 688 144)
)
(connector
(pt 584 128)
(pt 688 128)
)
(connector
(pt 584 112)
(pt 688 112)
)
(connector
(pt 584 96)
(pt 688 96)
)
(connector
(pt 584 80)
(pt 688 80)
)
(connector
(pt 584 64)
(pt 688 64)
)
(connector
(pt 488 352)
(pt 472 352)
)
(connector
(pt 472 352)
(pt 472 416)
)
(connector
(pt 208 416)
(pt 472 416)
)
(connector
(pt 472 416)
(pt 488 416)
)
(connector
(pt 488 304)
(pt 456 304)
)
(connector
(pt 456 368)
(pt 488 368)
)
(connector
(pt 488 256)
(pt 440 256)
)
(connector
(pt 440 320)
(pt 488 320)
)
(connector
(pt 488 208)
(pt 424 208)
)
(connector
(pt 424 272)
(pt 488 272)
)
(connector
(pt 208 272)
(pt 424 272)
)
(connector
(pt 208 320)
(pt 440 320)
)
(connector
(pt 208 368)
(pt 456 368)
)
(connector
(pt 488 160)
(pt 408 160)
)
(connector
(pt 208 224)
(pt 408 224)
)
(connector
(pt 408 224)
(pt 488 224)
)
(connector
(pt 488 112)
(pt 392 112)
)
(connector
(pt 208 176)
(pt 392 176)
)
(connector
(pt 392 176)
(pt 488 176)
)
(connector
(pt 488 64)
(pt 376 64)
)
(connector
(pt 208 128)
(pt 376 128)
)
(connector
(pt 376 128)
(pt 488 128)
)
(connector
(pt 456 432)
(pt 488 432)
)
(connector
(pt 456 304)
(pt 456 368)
)
(connector
(pt 456 368)
(pt 456 432)
)
(connector
(pt 440 384)
(pt 488 384)
)
(connector
(pt 440 256)
(pt 440 320)
)
(connector
(pt 440 320)
(pt 440 384)
)
(connector
(pt 424 336)
(pt 488 336)
)
(connector
(pt 424 208)
(pt 424 272)
)
(connector
(pt 424 272)
(pt 424 336)
)
(connector
(pt 408 288)
(pt 488 288)
)
(connector
(pt 408 160)
(pt 408 224)
)
(connector
(pt 408 224)
(pt 408 288)
)
(connector
(pt 392 240)
(pt 488 240)
)
(connector
(pt 392 112)
(pt 392 176)
)
(connector
(pt 392 176)
(pt 392 240)
)
(connector
(pt 376 192)
(pt 488 192)
)
(connector
(pt 376 64)
(pt 376 128)
)
(connector
(pt 376 128)
(pt 376 192)
)
(connector
(pt 488 144)
(pt 360 144)
)
(connector
(pt 360 144)
(pt 360 80)
)
(connector
(pt 208 80)
(pt 360 80)
)
(connector
(pt 360 80)
(pt 488 80)
)
(connector
(pt 488 96)
(pt 312 96)
)
(connector
(pt 488 400)
(pt 312 400)
)
(connector
(pt 312 96)
(pt 312 400)
)
(connector
(pt 312 400)
(pt 312 496)
)
(connector
(pt 488 480)
(pt 288 480)
)
(connector
(pt 488 464)
(pt 272 464)
)
(connector
(pt 488 448)
(pt 256 448)
)
(connector
(pt 272 464)
(pt 272 512)
)
(connector
(pt 272 512)
(pt 208 512)
)
(connector
(pt 256 448)
(pt 256 464)
)
(connector
(pt 256 464)
(pt 208 464)
)
(connector
(pt 288 480)
(pt 288 560)
)
(connector
(pt 288 560)
(pt 208 560)
)
(junction (pt 472 416))
(junction (pt 456 368))
(junction (pt 440 320))
(junction (pt 424 272))
(junction (pt 408 224))
(junction (pt 392 176))
(junction (pt 376 128))
(junction (pt 360 80))
(junction (pt 312 400))

查看文件

@ -0,0 +1,176 @@
/*
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 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 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 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 232 32)
(input)
(text "LM" (rect -72 0 -56 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 -72 0 -55 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 -72 0 -55 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 48 0)
(output)
(text "Y7" (rect 208 0 224 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 208 0 224 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 208 0 224 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 208 0 224 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 208 0 224 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 208 0 224 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 208 0 224 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 208 0 224 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))
)
(drawing
(rectangle (rect 16 16 224 80)(line_width 1))
)
)