Files
quartus/shiftable_register/shiftable_register.bdf
2022-03-10 17:04:37 +08:00

1299 行
30 KiB
Plaintext

/*
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 64 512 232 528)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D7" (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 64 528 232 544)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D6" (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 64 544 232 560)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D5" (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 64 560 232 576)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D4" (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 64 576 232 592)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D3" (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 64 592 232 608)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D2" (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 64 608 232 624)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D1" (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 64 624 232 640)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "D0" (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 64 744 232 760)
(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 64 760 232 776)
(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 64 776 232 792)
(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 64 792 232 808)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CK" (rect 9 0 24 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 64 808 232 824)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLR" (rect 9 0 31 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 64 824 232 840)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "L" (rect 9 0 14 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 64 840 232 856)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "R" (rect 9 0 17 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 840 384 1016 400)
(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))
)
)
(pin
(output)
(rect 840 400 1016 416)
(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 840 416 1016 432)
(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 840 432 1016 448)
(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 840 448 1016 464)
(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 840 464 1016 480)
(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 840 480 1016 496)
(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 840 496 1016 512)
(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))
)
)
(symbol
(rect 600 344 696 576)
(text "shifter_8b" (rect 82 5 96 62)(font "Arial" (font_size 8))(vertical))
(text "inst" (rect 4 8 16 25)(font "Arial" )(vertical))
(port
(pt 0 32)
(input)
(text "R" (rect 0 -160 8 -146)(font "Arial" (font_size 8)))
(text "R" (rect 24 24 32 38)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "A7" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A7" (rect 24 40 40 54)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "A6" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A6" (rect 24 56 40 70)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "A5" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A5" (rect 24 72 40 86)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "A4" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A4" (rect 24 88 40 102)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "A3" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A3" (rect 24 104 40 118)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "A2" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A2" (rect 24 120 40 134)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "A1" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A1" (rect 24 136 40 150)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "A0" (rect 0 -160 16 -146)(font "Arial" (font_size 8)))
(text "A0" (rect 24 152 40 166)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "L" (rect 0 -160 7 -146)(font "Arial" (font_size 8)))
(text "L" (rect 24 168 31 182)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 64 232)
(input)
(text "LM" (rect -72 0 -56 14)(font "Arial" (font_size 8)))
(text "LM" (rect 58 192 72 208)(font "Arial" (font_size 8))(vertical))
(line (pt 64 216)(pt 64 232)(line_width 1))
)
(port
(pt 48 232)
(input)
(text "DM" (rect -72 0 -55 14)(font "Arial" (font_size 8)))
(text "DM" (rect 42 191 56 208)(font "Arial" (font_size 8))(vertical))
(line (pt 48 216)(pt 48 232)(line_width 1))
)
(port
(pt 32 232)
(input)
(text "RM" (rect -72 0 -55 14)(font "Arial" (font_size 8)))
(text "RM" (rect 26 191 40 208)(font "Arial" (font_size 8))(vertical))
(line (pt 32 216)(pt 32 232)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "Y7" (rect 208 0 224 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 56 40 72 54)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "Y6" (rect 208 0 224 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 56 56 72 70)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "Y5" (rect 208 0 224 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 56 72 72 86)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(output)
(text "Y4" (rect 208 0 224 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 56 88 72 102)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(output)
(text "Y3" (rect 208 0 224 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 56 104 72 118)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(output)
(text "Y2" (rect 208 0 224 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 56 120 72 134)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(output)
(text "Y1" (rect 208 0 224 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 56 136 72 150)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(port
(pt 96 160)
(output)
(text "Y0" (rect 208 0 224 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 56 152 72 166)(font "Arial" (font_size 8)))
(line (pt 96 160)(pt 80 160)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 224)(line_width 1))
)
(rotate270)
)
(symbol
(rect 312 360 408 712)
(text "double_selector_8b" (rect 5 0 117 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 8 336 31 348)(font "Arial" ))
(port
(pt 0 144)
(input)
(text "a0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a0" (rect 21 136 35 150)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "a1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a1" (rect 21 120 35 134)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "a2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a2" (rect 21 104 35 118)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "a3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a3" (rect 21 88 35 102)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "a4" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a4" (rect 21 72 35 86)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "a5" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a5" (rect 21 56 35 70)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "a6" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a6" (rect 21 40 35 54)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "a7" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a7" (rect 21 24 35 38)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 272)
(input)
(text "b0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b0" (rect 21 267 35 281)(font "Arial" (font_size 8)))
(line (pt 0 272)(pt 16 272)(line_width 1))
)
(port
(pt 0 256)
(input)
(text "b1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b1" (rect 21 251 35 265)(font "Arial" (font_size 8)))
(line (pt 0 256)(pt 16 256)(line_width 1))
)
(port
(pt 0 240)
(input)
(text "b2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b2" (rect 21 235 35 249)(font "Arial" (font_size 8)))
(line (pt 0 240)(pt 16 240)(line_width 1))
)
(port
(pt 0 224)
(input)
(text "b3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b3" (rect 21 219 35 233)(font "Arial" (font_size 8)))
(line (pt 0 224)(pt 16 224)(line_width 1))
)
(port
(pt 0 208)
(input)
(text "b4" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b4" (rect 21 203 35 217)(font "Arial" (font_size 8)))
(line (pt 0 208)(pt 16 208)(line_width 1))
)
(port
(pt 0 192)
(input)
(text "b5" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b5" (rect 21 187 35 201)(font "Arial" (font_size 8)))
(line (pt 0 192)(pt 16 192)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "b6" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b6" (rect 21 171 35 185)(font "Arial" (font_size 8)))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "b7" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b7" (rect 21 155 35 169)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 288)
(input)
(text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8)))
(text "AY" (rect 21 283 39 297)(font "Arial" (font_size 8)))
(line (pt 0 288)(pt 16 288)(line_width 1))
)
(port
(pt 0 304)
(input)
(text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "BY" (rect 21 299 38 313)(font "Arial" (font_size 8)))
(line (pt 0 304)(pt 16 304)(line_width 1))
)
(port
(pt 96 144)
(output)
(text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(port
(pt 96 128)
(output)
(text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 112)
(output)
(text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 96)
(output)
(text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 336)(line_width 1))
)
)
(symbol
(rect 456 360 552 584)
(text "register_8b" (rect 5 0 69 14)(font "Arial" (font_size 8)))
(text "inst4" (rect 8 208 31 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))
)
)
(symbol
(rect 248 664 280 712)
(text "NOT" (rect 0 27 10 47)(font "Arial" (font_size 6))(vertical))
(text "inst19" (rect 21 16 33 45)(font "Arial" )(vertical))
(port
(pt 16 48)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 7 35 19 46)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 48)(pt 16 35)(line_width 1))
)
(port
(pt 16 0)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 7 -1 19 16)(font "Courier New" (bold))(vertical)(invisible))
(line (pt 16 9)(pt 16 0)(line_width 1))
)
(drawing
(line (pt 25 35)(pt 7 35)(line_width 1))
(line (pt 7 35)(pt 16 17)(line_width 1))
(line (pt 25 35)(pt 16 17)(line_width 1))
(circle (rect 12 9 20 17)(line_width 1))
)
(rotate90)
)
(connector
(pt 312 504)
(pt 296 504)
)
(connector
(pt 312 488)
(pt 280 488)
)
(connector
(pt 312 472)
(pt 264 472)
)
(connector
(pt 312 456)
(pt 248 456)
)
(connector
(pt 312 440)
(pt 232 440)
)
(connector
(pt 312 424)
(pt 216 424)
)
(connector
(pt 312 408)
(pt 200 408)
)
(connector
(pt 312 392)
(pt 184 392)
)
(connector
(pt 408 392)
(pt 456 392)
)
(connector
(pt 408 408)
(pt 456 408)
)
(connector
(pt 408 424)
(pt 456 424)
)
(connector
(pt 408 440)
(pt 456 440)
)
(connector
(pt 408 456)
(pt 456 456)
)
(connector
(pt 408 472)
(pt 456 472)
)
(connector
(pt 408 488)
(pt 456 488)
)
(connector
(pt 408 504)
(pt 456 504)
)
(connector
(pt 312 520)
(pt 232 520)
)
(connector
(pt 312 536)
(pt 232 536)
)
(connector
(pt 312 552)
(pt 232 552)
)
(connector
(pt 312 568)
(pt 232 568)
)
(connector
(pt 312 584)
(pt 232 584)
)
(connector
(pt 312 600)
(pt 232 600)
)
(connector
(pt 312 616)
(pt 232 616)
)
(connector
(pt 312 632)
(pt 232 632)
)
(connector
(pt 456 520)
(pt 424 520)
)
(connector
(pt 456 536)
(pt 440 536)
)
(connector
(pt 424 520)
(pt 424 816)
)
(connector
(pt 424 816)
(pt 232 816)
)
(connector
(pt 440 536)
(pt 440 800)
)
(connector
(pt 440 800)
(pt 232 800)
)
(connector
(pt 296 504)
(pt 296 328)
)
(connector
(pt 712 504)
(pt 712 328)
)
(connector
(pt 296 328)
(pt 712 328)
)
(connector
(pt 184 392)
(pt 184 216)
)
(connector
(pt 200 408)
(pt 200 232)
)
(connector
(pt 216 424)
(pt 216 248)
)
(connector
(pt 232 440)
(pt 232 264)
)
(connector
(pt 248 456)
(pt 248 280)
)
(connector
(pt 264 472)
(pt 264 296)
)
(connector
(pt 280 488)
(pt 280 312)
)
(connector
(pt 824 392)
(pt 824 216)
)
(connector
(pt 184 216)
(pt 824 216)
)
(connector
(pt 808 408)
(pt 808 232)
)
(connector
(pt 200 232)
(pt 808 232)
)
(connector
(pt 728 488)
(pt 728 312)
)
(connector
(pt 280 312)
(pt 728 312)
)
(connector
(pt 792 424)
(pt 792 248)
)
(connector
(pt 216 248)
(pt 792 248)
)
(connector
(pt 744 472)
(pt 744 296)
)
(connector
(pt 264 296)
(pt 744 296)
)
(connector
(pt 776 440)
(pt 776 264)
)
(connector
(pt 232 264)
(pt 776 264)
)
(connector
(pt 760 456)
(pt 760 280)
)
(connector
(pt 248 280)
(pt 760 280)
)
(connector
(pt 648 576)
(pt 648 768)
)
(connector
(pt 584 832)
(pt 584 520)
)
(connector
(pt 232 832)
(pt 584 832)
)
(connector
(pt 552 392)
(pt 600 392)
)
(connector
(pt 552 408)
(pt 600 408)
)
(connector
(pt 552 424)
(pt 600 424)
)
(connector
(pt 552 440)
(pt 600 440)
)
(connector
(pt 552 456)
(pt 600 456)
)
(connector
(pt 552 472)
(pt 600 472)
)
(connector
(pt 552 488)
(pt 600 488)
)
(connector
(pt 552 504)
(pt 600 504)
)
(connector
(pt 584 520)
(pt 600 520)
)
(connector
(pt 600 376)
(pt 568 376)
)
(connector
(pt 568 376)
(pt 568 848)
)
(connector
(pt 232 848)
(pt 568 848)
)
(connector
(pt 312 664)
(pt 296 664)
)
(connector
(pt 312 648)
(pt 264 648)
)
(connector
(pt 264 648)
(pt 264 664)
)
(connector
(pt 264 712)
(pt 264 728)
)
(connector
(pt 296 728)
(pt 264 728)
)
(connector
(pt 664 576)
(pt 664 752)
)
(connector
(pt 632 576)
(pt 632 784)
)
(connector
(pt 696 392)
(pt 824 392)
)
(connector
(pt 824 392)
(pt 840 392)
)
(connector
(pt 696 408)
(pt 808 408)
)
(connector
(pt 808 408)
(pt 840 408)
)
(connector
(pt 696 424)
(pt 792 424)
)
(connector
(pt 792 424)
(pt 840 424)
)
(connector
(pt 696 440)
(pt 776 440)
)
(connector
(pt 776 440)
(pt 840 440)
)
(connector
(pt 696 456)
(pt 760 456)
)
(connector
(pt 760 456)
(pt 840 456)
)
(connector
(pt 696 472)
(pt 744 472)
)
(connector
(pt 744 472)
(pt 840 472)
)
(connector
(pt 696 488)
(pt 728 488)
)
(connector
(pt 728 488)
(pt 840 488)
)
(connector
(pt 696 504)
(pt 712 504)
)
(connector
(pt 712 504)
(pt 840 504)
)
(connector
(pt 232 768)
(pt 296 768)
)
(connector
(pt 296 664)
(pt 296 728)
)
(connector
(pt 296 728)
(pt 296 768)
)
(connector
(pt 232 752)
(pt 664 752)
)
(connector
(pt 296 768)
(pt 648 768)
)
(connector
(pt 232 784)
(pt 632 784)
)
(junction (pt 824 392))
(junction (pt 808 408))
(junction (pt 792 424))
(junction (pt 776 440))
(junction (pt 760 456))
(junction (pt 744 472))
(junction (pt 728 488))
(junction (pt 712 504))
(junction (pt 296 728))
(junction (pt 296 768))