📄 music.bdf
字号:
/*
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-2005 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 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 "graphic" (version "1.3"))
(pin
(input)
(rect -176 -184 -8 -168)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "r1" (rect 5 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)))
(annotation_block (location)(rect -264 -168 -176 -136))
)
(pin
(input)
(rect -176 -168 -8 -152)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "r2" (rect 5 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)))
(annotation_block (location)(rect -264 -152 -176 -120))
)
(pin
(input)
(rect -176 -152 -8 -136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "r3" (rect 5 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)))
(annotation_block (location)(rect -264 -136 -176 -104))
)
(pin
(input)
(rect -176 -136 -8 -120)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "r4" (rect 5 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)))
(annotation_block (location)(rect -264 -120 -176 -88))
)
(pin
(input)
(rect -144 392 24 408)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clock" (rect 5 0 30 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)))
(annotation_block (location)(rect -16 512 72 544))
)
(pin
(output)
(rect -184 48 -8 64)
(text "OUTPUT" (rect 137 6 175 16)(font "Arial" (font_size 6)))
(text "c1" (rect 5 4 16 16)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 4)(pt 124 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
)
(rotate180)
(annotation_block (location)(rect -8 64 80 96))
)
(pin
(output)
(rect -184 72 -8 88)
(text "OUTPUT" (rect 137 6 175 16)(font "Arial" (font_size 6)))
(text "c2" (rect 5 4 16 16)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 4)(pt 124 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
)
(rotate180)
(annotation_block (location)(rect -8 88 80 120))
)
(pin
(output)
(rect -184 96 -8 112)
(text "OUTPUT" (rect 137 6 175 16)(font "Arial" (font_size 6)))
(text "c3" (rect 5 4 16 16)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 4)(pt 124 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
)
(rotate180)
(annotation_block (location)(rect -8 112 80 144))
)
(pin
(output)
(rect -184 120 -8 136)
(text "OUTPUT" (rect 137 6 175 16)(font "Arial" (font_size 6)))
(text "c4" (rect 5 4 16 16)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 176 8)(pt 124 8)(line_width 1))
(line (pt 124 12)(pt 98 12)(line_width 1))
(line (pt 124 4)(pt 98 4)(line_width 1))
(line (pt 124 4)(pt 124 12)(line_width 1))
(line (pt 98 12)(pt 94 8)(line_width 1))
(line (pt 94 8)(pt 98 4)(line_width 1))
(line (pt 98 4)(pt 94 8)(line_width 1))
)
(rotate180)
(annotation_block (location)(rect -8 136 80 168))
)
(pin
(output)
(rect 1120 -216 1296 -200)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "music" (rect 90 0 119 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))
)
(annotation_block (location)(rect 1296 -200 1376 -168))
)
(symbol
(rect 384 264 480 360)
(text "29" (rect 0 77 14 91)(font "Arial" (font_size 8))(vertical))
(text "inst1" (rect 80 65 92 88)(font "Arial" )(vertical))
(port
(pt 32 96)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 27 46 41 75)(font "Arial" (font_size 8))(vertical))
(line (pt 32 96)(pt 32 80)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "2" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "2" (rect 27 21 41 28)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "9" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "9" (rect 43 21 57 28)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
(rotate90)
)
(symbol
(rect 280 264 376 360)
(text "18" (rect 0 77 14 91)(font "Arial" (font_size 8))(vertical))
(text "inst" (rect 80 71 92 88)(font "Arial" )(vertical))
(port
(pt 32 96)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 27 46 41 75)(font "Arial" (font_size 8))(vertical))
(line (pt 32 96)(pt 32 80)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "1" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "1" (rect 27 21 41 28)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "8" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "8" (rect 43 21 57 28)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
(rotate90)
)
(symbol
(rect 488 264 584 360)
(text "3A" (rect 0 75 14 91)(font "Arial" (font_size 8))(vertical))
(text "inst2" (rect 80 65 92 88)(font "Arial" )(vertical))
(port
(pt 32 96)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 27 46 41 75)(font "Arial" (font_size 8))(vertical))
(line (pt 32 96)(pt 32 80)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "3" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "3" (rect 27 21 41 28)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "A" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "A" (rect 43 21 57 30)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
(rotate90)
)
(symbol
(rect 592 264 688 360)
(text "4B" (rect 0 76 14 91)(font "Arial" (font_size 8))(vertical))
(text "inst3" (rect 80 65 92 88)(font "Arial" )(vertical))
(port
(pt 32 96)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 27 46 41 75)(font "Arial" (font_size 8))(vertical))
(line (pt 32 96)(pt 32 80)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "4" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "4" (rect 27 21 41 28)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "B" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "B" (rect 43 21 57 29)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
(rotate90)
)
(symbol
(rect 696 264 792 360)
(text "5C" (rect 0 76 14 91)(font "Arial" (font_size 8))(vertical))
(text "inst4" (rect 80 65 92 88)(font "Arial" )(vertical))
(port
(pt 32 96)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 27 46 41 75)(font "Arial" (font_size 8))(vertical))
(line (pt 32 96)(pt 32 80)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "5" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "5" (rect 27 21 41 28)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "C" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "C" (rect 43 21 57 29)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
(rotate90)
)
(symbol
(rect 800 264 896 360)
(text "6D" (rect 0 76 14 91)(font "Arial" (font_size 8))(vertical))
(text "inst5" (rect 80 65 92 88)(font "Arial" )(vertical))
(port
(pt 32 96)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 27 46 41 75)(font "Arial" (font_size 8))(vertical))
(line (pt 32 96)(pt 32 80)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "6" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "6" (rect 27 21 41 28)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "D" (rect 0 0 8 14)(font "Arial" (font_size 8)))
(text "D" (rect 43 21 57 29)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
(rotate90)
)
(symbol
(rect 904 264 1000 360)
(text "07E" (rect 0 70 14 91)(font "Arial" (font_size 8))(vertical))
(text "inst7" (rect 80 65 92 88)(font "Arial" )(vertical))
(port
(pt 32 96)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 27 46 41 75)(font "Arial" (font_size 8))(vertical))
(line (pt 32 96)(pt 32 80)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "0" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "0" (rect 27 21 41 28)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(port
(pt 48 0)
(output)
(text "7" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "7" (rect 43 21 57 28)(font "Arial" (font_size 8))(vertical))
(line (pt 48 0)(pt 48 16)(line_width 1))
)
(port
(pt 64 0)
(output)
(text "E" (rect 0 0 7 14)(font "Arial" (font_size 8)))
(text "E" (rect 59 21 73 28)(font "Arial" (font_size 8))(vertical))
(line (pt 64 0)(pt 64 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
(rotate90)
)
(symbol
(rect 128 -224 248 32)
(text "keyboard" (rect 5 0 58 14)(font "Arial" (font_size 8)))
(text "inst6" (rect 8 240 31 252)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 21 27 50 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "r1" (rect 0 0 11 14)(font "Arial" (font_size 8)))
(text "r1" (rect 21 43 32 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "r2" (rect 0 0 11 14)(font "Arial" (font_size 8)))
(text "r2" (rect 21 59 32 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "r3" (rect 0 0 11 14)(font "Arial" (font_size 8)))
(text "r3" (rect 21 75 32 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "r4" (rect 0 0 11 14)(font "Arial" (font_size 8)))
(text "r4" (rect 21 91 32 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 120 32)
(output)
(text "col1" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "col1" (rect 76 27 99 41)(font "Arial" (font_size 8)))
(line (pt 120 32)(pt 104 32)(line_width 1))
)
(port
(pt 120 48)
(output)
(text "col2" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "col2" (rect 76 43 99 57)(font "Arial" (font_size 8)))
(line (pt 120 48)(pt 104 48)(line_width 1))
)
(port
(pt 120 64)
(output)
(text "col3" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "col3" (rect 76 59 99 73)(font "Arial" (font_size 8)))
(line (pt 120 64)(pt 104 64)(line_width 1))
)
(port
(pt 120 80)
(output)
(text "col4" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "col4" (rect 76 75 99 89)(font "Arial" (font_size 8)))
(line (pt 120 80)(pt 104 80)(line_width 1))
)
(port
(pt 120 96)
(output)
(text "row1" (rect 0 0 30 14)(font "Arial" (font_size 8)))
(text "row1" (rect 69 91 99 105)(font "Arial" (font_size 8)))
(line (pt 120 96)(pt 104 96)(line_width 1))
)
(port
(pt 120 112)
(output)
(text "row2" (rect 0 0 30 14)(font "Arial" (font_size 8)))
(text "row2" (rect 69 107 99 121)(font "Arial" (font_size 8)))
(line (pt 120 112)(pt 104 112)(line_width 1))
)
(port
(pt 120 128)
(output)
(text "row3" (rect 0 0 30 14)(font "Arial" (font_size 8)))
(text "row3" (rect 69 123 99 137)(font "Arial" (font_size 8)))
(line (pt 120 128)(pt 104 128)(line_width 1))
)
(port
(pt 120 144)
(output)
(text "row4" (rect 0 0 30 14)(font "Arial" (font_size 8)))
(text "row4" (rect 69 139 99 153)(font "Arial" (font_size 8)))
(line (pt 120 144)(pt 104 144)(line_width 1))
)
(port
(pt 120 160)
(output)
(text "c1" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c1" (rect 85 155 99 169)(font "Arial" (font_size 8)))
(line (pt 120 160)(pt 104 160)(line_width 1))
)
(port
(pt 120 176)
(output)
(text "c2" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c2" (rect 85 171 99 185)(font "Arial" (font_size 8)))
(line (pt 120 176)(pt 104 176)(line_width 1))
)
(port
(pt 120 192)
(output)
(text "c3" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c3" (rect 85 187 99 201)(font "Arial" (font_size 8)))
(line (pt 120 192)(pt 104 192)(line_width 1))
)
(port
(pt 120 208)
(output)
(text "c4" (rect 0 0 14 14)(font "Arial" (font_size 8)))
(text "c4" (rect 85 203 99 217)(font "Arial" (font_size 8)))
(line (pt 120 208)(pt 104 208)(line_width 1))
)
(port
(pt 120 224)
(output)
(text "report" (rect 0 0 34 14)(font "Arial" (font_size 8)))
(text "report" (rect 65 219 99 233)(font "Arial" (font_size 8)))
(line (pt 120 224)(pt 104 224)(line_width 1))
)
(drawing
(rectangle (rect 16 16 104 240)(line_width 1))
)
)
(symbol
(rect 56 240 152 360)
(text "100" (rect 0 94 14 115)(font "Arial" (font_size 8))(vertical))
(text "inst8" (rect 80 89 92 112)(font "Arial" )(vertical))
(port
(pt 32 120)
(input)
(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "clock" (rect 27 70 41 99)(font "Arial" (font_size 8))(vertical))
(line (pt 32 120)(pt 32 104)(line_width 1))
)
(port
(pt 32 0)
(output)
(text "100hz" (rect 0 0 35 14)(font "Arial" (font_size 8)))
(text "100hz" (rect 27 21 41 56)(font "Arial" (font_size 8))(vertical))
(line (pt 32 0)(pt 32 16)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 104)(line_width 1))
)
(rotate90)
)
(symbol
(rect 992 -240 1088 208)
(text "select" (rect 5 0 39 14)(font "Arial" (font_size 8)))
(text "inst10" (rect 8 432 37 444)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "row11" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "row11" (rect 21 27 58 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "row22" (rect 0 0 37 14)(font "Arial" (font_size 8)))
(text "row22" (rect 21 43 58 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -