quartus/microprogram_ram/microprogram_ram.bdf
2022-03-17 20:06:56 +08:00

1500 行
33 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 1120 416 1288 432)
(text "INPUT" (rect 7 0 35 10)(font "Arial" (font_size 6)))
(text "CLR" (rect 112 0 134 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 76 12)(pt 51 12)(line_width 1))
(line (pt 76 4)(pt 51 4)(line_width 1))
(line (pt 47 8)(pt 0 8)(line_width 1))
(line (pt 76 12)(pt 76 4)(line_width 1))
(line (pt 51 4)(pt 47 8)(line_width 1))
(line (pt 51 12)(pt 47 8)(line_width 1))
)
(flipy)
(text "VCC" (rect 12 7 32 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 368 528 544 544)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "A0" (rect 5 0 17 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect 368 512 544 528)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "A1" (rect 5 0 17 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect 368 496 544 512)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "A2" (rect 5 0 17 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect 368 480 544 496)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "A3" (rect 5 0 17 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect 368 464 544 480)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "A4" (rect 5 0 17 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect 368 448 544 464)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "A5" (rect 5 0 17 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect 368 432 544 448)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "A6" (rect 5 0 17 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(output)
(rect 368 416 544 432)
(text "OUTPUT" (rect 137 0 175 10)(font "Arial" (font_size 6)))
(text "A7" (rect 5 0 17 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 12)(pt 124 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
)
(flipy)
)
(pin
(bidir)
(rect 448 904 624 920)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D0" (rect 5 0 19 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 448 888 624 904)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D1" (rect 5 0 19 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 448 872 624 888)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D2" (rect 5 0 19 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 448 856 624 872)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D3" (rect 5 0 19 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 448 840 624 856)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D4" (rect 5 0 19 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 448 824 624 840)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D5" (rect 5 0 19 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 448 808 624 824)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D6" (rect 5 0 19 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(pin
(bidir)
(rect 448 792 624 808)
(text "BIDIR" (rect 151 0 175 10)(font "Arial" (font_size 6)))
(text "D7" (rect 5 0 19 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 120 4)(pt 98 4)(line_width 1))
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 120 12)(pt 98 12)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 120 4)(pt 124 8)(line_width 1))
(line (pt 124 8)(pt 120 12)(line_width 1))
)
(flipy)
(text "VCC" (rect 152 7 172 17)(font "Arial" (font_size 6)))
)
(symbol
(rect 600 392 696 744)
(text "double_selector_8b" (rect -21 0 91 14)(font "Arial" (font_size 8)))
(text "inst" (rect 71 336 88 348)(font "Arial" ))
(port
(pt 96 144)
(input)
(text "a0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a0" (rect 61 136 75 150)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(port
(pt 96 128)
(input)
(text "a1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a1" (rect 61 120 75 134)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 112)
(input)
(text "a2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a2" (rect 61 104 75 118)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 96)
(input)
(text "a3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a3" (rect 61 88 75 102)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 80)
(input)
(text "a4" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a4" (rect 61 72 75 86)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 64)
(input)
(text "a5" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a5" (rect 61 56 75 70)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 48)
(input)
(text "a6" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a6" (rect 61 40 75 54)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 32)
(input)
(text "a7" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "a7" (rect 61 24 75 38)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 272)
(input)
(text "b0" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b0" (rect 61 267 75 281)(font "Arial" (font_size 8)))
(line (pt 96 272)(pt 80 272)(line_width 1))
)
(port
(pt 96 256)
(input)
(text "b1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b1" (rect 61 251 75 265)(font "Arial" (font_size 8)))
(line (pt 96 256)(pt 80 256)(line_width 1))
)
(port
(pt 96 240)
(input)
(text "b2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b2" (rect 61 235 75 249)(font "Arial" (font_size 8)))
(line (pt 96 240)(pt 80 240)(line_width 1))
)
(port
(pt 96 224)
(input)
(text "b3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b3" (rect 61 219 75 233)(font "Arial" (font_size 8)))
(line (pt 96 224)(pt 80 224)(line_width 1))
)
(port
(pt 96 208)
(input)
(text "b4" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b4" (rect 61 203 75 217)(font "Arial" (font_size 8)))
(line (pt 96 208)(pt 80 208)(line_width 1))
)
(port
(pt 96 192)
(input)
(text "b5" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b5" (rect 61 187 75 201)(font "Arial" (font_size 8)))
(line (pt 96 192)(pt 80 192)(line_width 1))
)
(port
(pt 96 176)
(input)
(text "b6" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b6" (rect 61 171 75 185)(font "Arial" (font_size 8)))
(line (pt 96 176)(pt 80 176)(line_width 1))
)
(port
(pt 96 160)
(input)
(text "b7" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "b7" (rect 61 155 75 169)(font "Arial" (font_size 8)))
(line (pt 96 160)(pt 80 160)(line_width 1))
)
(port
(pt 96 288)
(input)
(text "AY" (rect 0 0 18 14)(font "Arial" (font_size 8)))
(text "AY" (rect 57 283 75 297)(font "Arial" (font_size 8)))
(line (pt 96 288)(pt 80 288)(line_width 1))
)
(port
(pt 96 304)
(input)
(text "BY" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "BY" (rect 58 299 75 313)(font "Arial" (font_size 8)))
(line (pt 96 304)(pt 80 304)(line_width 1))
)
(port
(pt 0 144)
(output)
(text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 21 139 37 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 128)
(output)
(text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 21 123 37 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 112)
(output)
(text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 21 107 37 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 96)
(output)
(text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 80)
(output)
(text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 21 75 37 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 64)
(output)
(text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 48)
(output)
(text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 21 43 37 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 32)
(output)
(text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 21 27 37 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 336)(line_width 1))
)
(flipy)
)
(symbol
(rect 848 232 944 456)
(text "counter_8b_with_input" (rect -39 0 91 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 65 208 88 220)(font "Arial" ))
(port
(pt 96 32)
(input)
(text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D7" (rect 60 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(input)
(text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D6" (rect 60 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(input)
(text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D5" (rect 60 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(input)
(text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D4" (rect 60 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(input)
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D3" (rect 60 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(input)
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D2" (rect 60 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(input)
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D1" (rect 60 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(input)
(text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D0" (rect 60 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(port
(pt 96 160)
(input)
(text "LD" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "LD" (rect 60 155 75 169)(font "Arial" (font_size 8)))
(line (pt 96 160)(pt 80 160)(line_width 1))
)
(port
(pt 96 176)
(input)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 60 171 75 185)(font "Arial" (font_size 8)))
(line (pt 96 176)(pt 80 176)(line_width 1))
)
(port
(pt 96 192)
(input)
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 52 187 75 201)(font "Arial" (font_size 8)))
(line (pt 96 192)(pt 80 192)(line_width 1))
)
(port
(pt 0 32)
(output)
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q7" (rect 21 27 37 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(output)
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q6" (rect 21 43 37 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(output)
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q5" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(output)
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q4" (rect 21 75 37 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(output)
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(output)
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q2" (rect 21 107 37 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(output)
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q1" (rect 21 123 37 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(output)
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q0" (rect 21 139 37 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 208)(line_width 1))
)
(flipy)
)
(symbol
(rect 952 208 984 240)
(text "GND" (rect 8 6 29 16)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 -1 26 11)(font "Arial" )(invisible))
(port
(pt 16 32)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 20 23 32)(font "Courier New" (bold))(invisible))
(line (pt 16 24)(pt 16 32)(line_width 1))
)
(drawing
(line (pt 8 24)(pt 16 16)(line_width 1))
(line (pt 16 16)(pt 24 24)(line_width 1))
(line (pt 8 24)(pt 24 24)(line_width 1))
)
(flipx)
)
(symbol
(rect 984 248 1016 264)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 5 26 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(symbol
(rect 848 520 944 744)
(text "register_8b" (rect 27 0 91 14)(font "Arial" (font_size 8)))
(text "inst4" (rect 65 208 88 220)(font "Arial" ))
(port
(pt 96 32)
(input)
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 52 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(input)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 60 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(input)
(text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D7" (rect 60 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(input)
(text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D6" (rect 60 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(input)
(text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D5" (rect 60 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(input)
(text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D4" (rect 60 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(input)
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D3" (rect 60 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(input)
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D2" (rect 60 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(port
(pt 96 160)
(input)
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D1" (rect 60 155 75 169)(font "Arial" (font_size 8)))
(line (pt 96 160)(pt 80 160)(line_width 1))
)
(port
(pt 96 176)
(input)
(text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D0" (rect 60 171 75 185)(font "Arial" (font_size 8)))
(line (pt 96 176)(pt 80 176)(line_width 1))
)
(port
(pt 0 32)
(output)
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q7" (rect 21 27 37 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(output)
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q6" (rect 21 43 37 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(output)
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q5" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(output)
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q4" (rect 21 75 37 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(output)
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(output)
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q2" (rect 21 107 37 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(output)
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q1" (rect 21 123 37 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(output)
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q0" (rect 21 139 37 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 208)(line_width 1))
)
(flipy)
)
(symbol
(rect 856 960 952 1184)
(text "register_8b_with_switch" (rect -51 0 91 14)(font "Arial" (font_size 8)))
(text "inst5" (rect 65 208 88 220)(font "Arial" ))
(port
(pt 96 32)
(input)
(text "EN" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "EN" (rect 60 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(input)
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 52 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(input)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 60 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(input)
(text "D7" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D7" (rect 60 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(input)
(text "D6" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D6" (rect 60 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(input)
(text "D5" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D5" (rect 60 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(input)
(text "D4" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D4" (rect 60 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(input)
(text "D3" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D3" (rect 60 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(port
(pt 96 160)
(input)
(text "D2" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D2" (rect 60 155 75 169)(font "Arial" (font_size 8)))
(line (pt 96 160)(pt 80 160)(line_width 1))
)
(port
(pt 96 176)
(input)
(text "D1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D1" (rect 60 171 75 185)(font "Arial" (font_size 8)))
(line (pt 96 176)(pt 80 176)(line_width 1))
)
(port
(pt 96 192)
(input)
(text "D0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "D0" (rect 60 187 75 201)(font "Arial" (font_size 8)))
(line (pt 96 192)(pt 80 192)(line_width 1))
)
(port
(pt 0 32)
(output)
(text "Q7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q7" (rect 21 27 37 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(output)
(text "Q6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q6" (rect 21 43 37 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(output)
(text "Q5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q5" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(output)
(text "Q4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q4" (rect 21 75 37 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(output)
(text "Q3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(output)
(text "Q2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q2" (rect 21 107 37 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(output)
(text "Q1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q1" (rect 21 123 37 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(output)
(text "Q0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Q0" (rect 21 139 37 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 208)(line_width 1))
)
(flipy)
)
(connector
(pt 600 424)
(pt 544 424)
)
(connector
(pt 600 440)
(pt 544 440)
)
(connector
(pt 600 456)
(pt 544 456)
)
(connector
(pt 600 472)
(pt 544 472)
)
(connector
(pt 848 376)
(pt 840 376)
)
(connector
(pt 696 536)
(pt 840 536)
)
(connector
(pt 696 520)
(pt 832 520)
)
(connector
(pt 832 520)
(pt 832 360)
)
(connector
(pt 832 360)
(pt 848 360)
)
(connector
(pt 696 504)
(pt 824 504)
)
(connector
(pt 824 504)
(pt 824 344)
)
(connector
(pt 824 344)
(pt 848 344)
)
(connector
(pt 696 488)
(pt 816 488)
)
(connector
(pt 816 488)
(pt 816 328)
)
(connector
(pt 816 328)
(pt 848 328)
)
(connector
(pt 696 472)
(pt 808 472)
)
(connector
(pt 808 472)
(pt 808 312)
)
(connector
(pt 808 312)
(pt 848 312)
)
(connector
(pt 696 456)
(pt 800 456)
)
(connector
(pt 800 456)
(pt 800 296)
)
(connector
(pt 800 296)
(pt 848 296)
)
(connector
(pt 696 440)
(pt 792 440)
)
(connector
(pt 792 440)
(pt 792 280)
)
(connector
(pt 792 280)
(pt 848 280)
)
(connector
(pt 696 424)
(pt 784 424)
)
(connector
(pt 784 424)
(pt 784 264)
)
(connector
(pt 784 264)
(pt 848 264)
)
(connector
(pt 944 264)
(pt 968 264)
)
(connector
(pt 944 280)
(pt 968 280)
)
(connector
(pt 944 296)
(pt 968 296)
)
(connector
(pt 944 312)
(pt 968 312)
)
(connector
(pt 944 328)
(pt 968 328)
)
(connector
(pt 944 344)
(pt 968 344)
)
(connector
(pt 944 360)
(pt 968 360)
)
(connector
(pt 944 376)
(pt 968 376)
)
(connector
(pt 944 392)
(pt 1000 392)
)
(connector
(pt 1000 392)
(pt 1000 264)
)
(connector
(pt 696 552)
(pt 848 552)
)
(connector
(pt 696 568)
(pt 848 568)
)
(connector
(pt 696 584)
(pt 848 584)
)
(connector
(pt 696 600)
(pt 848 600)
)
(connector
(pt 696 616)
(pt 848 616)
)
(connector
(pt 696 632)
(pt 848 632)
)
(connector
(pt 696 648)
(pt 848 648)
)
(connector
(pt 696 664)
(pt 848 664)
)
(connector
(pt 952 1152)
(pt 968 1152)
)
(connector
(pt 944 696)
(pt 968 696)
)
(connector
(pt 952 1136)
(pt 976 1136)
)
(connector
(pt 944 680)
(pt 976 680)
)
(connector
(pt 952 1120)
(pt 984 1120)
)
(connector
(pt 944 664)
(pt 984 664)
)
(connector
(pt 952 1104)
(pt 992 1104)
)
(connector
(pt 944 648)
(pt 992 648)
)
(connector
(pt 952 1088)
(pt 1000 1088)
)
(connector
(pt 944 632)
(pt 1000 632)
)
(connector
(pt 952 1072)
(pt 1008 1072)
)
(connector
(pt 944 616)
(pt 1008 616)
)
(connector
(pt 952 1056)
(pt 1016 1056)
)
(connector
(pt 944 600)
(pt 1016 600)
)
(connector
(pt 952 1040)
(pt 1024 1040)
)
(connector
(pt 944 584)
(pt 1024 584)
)
(connector
(pt 856 992)
(pt 840 992)
)
(connector
(pt 840 992)
(pt 840 800)
)
(connector
(pt 856 1008)
(pt 832 1008)
)
(connector
(pt 832 1008)
(pt 832 816)
)
(connector
(pt 856 1024)
(pt 824 1024)
)
(connector
(pt 824 1024)
(pt 824 832)
)
(connector
(pt 856 1040)
(pt 816 1040)
)
(connector
(pt 816 1040)
(pt 816 848)
)
(connector
(pt 856 1056)
(pt 808 1056)
)
(connector
(pt 808 1056)
(pt 808 864)
)
(connector
(pt 856 1072)
(pt 800 1072)
)
(connector
(pt 800 1072)
(pt 800 880)
)
(connector
(pt 856 1088)
(pt 792 1088)
)
(connector
(pt 792 1088)
(pt 792 896)
)
(connector
(pt 856 1104)
(pt 784 1104)
)
(connector
(pt 784 1104)
(pt 784 912)
)
(connector
(pt 1088 552)
(pt 944 552)
)
(connector
(pt 952 1008)
(pt 1088 1008)
)
(connector
(pt 544 488)
(pt 600 488)
)
(connector
(pt 544 504)
(pt 600 504)
)
(connector
(pt 544 520)
(pt 600 520)
)
(connector
(pt 544 536)
(pt 600 536)
)
(connector
(pt 968 240)
(pt 968 264)
)
(connector
(pt 968 264)
(pt 968 280)
)
(connector
(pt 968 280)
(pt 968 296)
)
(connector
(pt 968 296)
(pt 968 312)
)
(connector
(pt 968 312)
(pt 968 328)
)
(connector
(pt 968 328)
(pt 968 344)
)
(connector
(pt 968 344)
(pt 968 360)
)
(connector
(pt 968 360)
(pt 968 376)
)
(connector
(pt 1024 584)
(pt 1024 800)
)
(connector
(pt 1024 800)
(pt 1024 1040)
)
(connector
(pt 624 800)
(pt 840 800)
)
(connector
(pt 840 800)
(pt 1024 800)
)
(connector
(pt 1016 600)
(pt 1016 816)
)
(connector
(pt 1016 816)
(pt 1016 1056)
)
(connector
(pt 624 816)
(pt 832 816)
)
(connector
(pt 832 816)
(pt 1016 816)
)
(connector
(pt 1008 616)
(pt 1008 832)
)
(connector
(pt 1008 832)
(pt 1008 1072)
)
(connector
(pt 624 832)
(pt 824 832)
)
(connector
(pt 824 832)
(pt 1008 832)
)
(connector
(pt 944 424)
(pt 1088 424)
)
(connector
(pt 1088 424)
(pt 1120 424)
)
(connector
(pt 1088 424)
(pt 1088 552)
)
(connector
(pt 1088 552)
(pt 1088 1008)
)
(connector
(pt 1000 632)
(pt 1000 848)
)
(connector
(pt 1000 848)
(pt 1000 1088)
)
(connector
(pt 624 848)
(pt 816 848)
)
(connector
(pt 816 848)
(pt 1000 848)
)
(connector
(pt 992 648)
(pt 992 864)
)
(connector
(pt 992 864)
(pt 992 1104)
)
(connector
(pt 624 864)
(pt 808 864)
)
(connector
(pt 808 864)
(pt 992 864)
)
(connector
(pt 984 664)
(pt 984 880)
)
(connector
(pt 984 880)
(pt 984 1120)
)
(connector
(pt 624 880)
(pt 800 880)
)
(connector
(pt 800 880)
(pt 984 880)
)
(connector
(pt 976 680)
(pt 976 896)
)
(connector
(pt 976 896)
(pt 976 1136)
)
(connector
(pt 624 896)
(pt 792 896)
)
(connector
(pt 792 896)
(pt 976 896)
)
(connector
(pt 968 696)
(pt 968 912)
)
(connector
(pt 968 912)
(pt 968 1152)
)
(connector
(pt 624 912)
(pt 784 912)
)
(connector
(pt 784 912)
(pt 968 912)
)
(connector
(pt 840 376)
(pt 840 536)
)
(junction (pt 968 264))
(junction (pt 968 280))
(junction (pt 968 296))
(junction (pt 968 312))
(junction (pt 968 328))
(junction (pt 968 344))
(junction (pt 968 360))
(junction (pt 840 800))
(junction (pt 1024 800))
(junction (pt 832 816))
(junction (pt 1016 816))
(junction (pt 824 832))
(junction (pt 1008 832))
(junction (pt 816 848))
(junction (pt 808 864))
(junction (pt 800 880))
(junction (pt 792 896))
(junction (pt 784 912))
(junction (pt 1088 552))
(junction (pt 1088 424))
(junction (pt 1000 848))
(junction (pt 992 864))
(junction (pt 984 880))
(junction (pt 976 896))
(junction (pt 968 912))