📄 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-2006 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 -112 24 56 40)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "pin_name" (rect 5 0 52 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 344 -24 512 -8)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "pin_name4" (rect 5 0 58 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 768 40 944 56)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "pin_name5" (rect 90 0 143 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 552 168 680 392)
(text "display" (rect 5 0 40 12)(font "Arial" ))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "din0[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din0[3..0]" (rect 21 27 67 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "din1[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din1[3..0]" (rect 21 43 67 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "din2[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din2[3..0]" (rect 21 59 67 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "din3[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din3[3..0]" (rect 21 75 67 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "din4[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din4[3..0]" (rect 21 91 67 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "din5[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din5[3..0]" (rect 21 107 67 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 123 35 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "led_sa" (rect 0 0 31 12)(font "Arial" ))
(text "led_sa" (rect 76 27 107 39)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "led_sb" (rect 0 0 31 12)(font "Arial" ))
(text "led_sb" (rect 76 43 107 55)(font "Arial" ))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "led_sc" (rect 0 0 31 12)(font "Arial" ))
(text "led_sc" (rect 76 59 107 71)(font "Arial" ))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 80)
(output)
(text "led_a" (rect 0 0 25 12)(font "Arial" ))
(text "led_a" (rect 82 75 107 87)(font "Arial" ))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "led_b" (rect 0 0 25 12)(font "Arial" ))
(text "led_b" (rect 82 91 107 103)(font "Arial" ))
(line (pt 128 96)(pt 112 96)(line_width 1))
)
(port
(pt 128 112)
(output)
(text "led_c" (rect 0 0 25 12)(font "Arial" ))
(text "led_c" (rect 82 107 107 119)(font "Arial" ))
(line (pt 128 112)(pt 112 112)(line_width 1))
)
(port
(pt 128 128)
(output)
(text "led_d" (rect 0 0 25 12)(font "Arial" ))
(text "led_d" (rect 82 123 107 135)(font "Arial" ))
(line (pt 128 128)(pt 112 128)(line_width 1))
)
(port
(pt 128 144)
(output)
(text "led_e" (rect 0 0 25 12)(font "Arial" ))
(text "led_e" (rect 82 139 107 151)(font "Arial" ))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(port
(pt 128 160)
(output)
(text "led_f" (rect 0 0 24 12)(font "Arial" ))
(text "led_f" (rect 83 155 107 167)(font "Arial" ))
(line (pt 128 160)(pt 112 160)(line_width 1))
)
(port
(pt 128 176)
(output)
(text "led_g" (rect 0 0 25 12)(font "Arial" ))
(text "led_g" (rect 82 171 107 183)(font "Arial" ))
(line (pt 128 176)(pt 112 176)(line_width 1))
)
(port
(pt 128 192)
(output)
(text "led_dp" (rect 0 0 31 12)(font "Arial" ))
(text "led_dp" (rect 76 187 107 199)(font "Arial" ))
(line (pt 128 192)(pt 112 192)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 208)(line_width 1))
)
)
(symbol
(rect 144 0 264 96)
(text "music_rom" (rect 5 0 59 12)(font "Arial" ))
(text "inst1" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 120 32)
(output)
(text "index[3..0]" (rect 0 0 51 12)(font "Arial" ))
(text "index[3..0]" (rect 48 27 99 39)(font "Arial" ))
(line (pt 120 32)(pt 104 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 104 80)(line_width 1))
)
)
(symbol
(rect 320 0 480 96)
(text "tone_rom" (rect 5 0 51 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "index[3..0]" (rect 0 0 51 12)(font "Arial" ))
(text "index[3..0]" (rect 21 27 72 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "code[3..0]" (rect 0 0 49 12)(font "Arial" ))
(text "code[3..0]" (rect 90 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "high[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "high[3..0]" (rect 93 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 3))
)
(port
(pt 160 64)
(output)
(text "tone[10..0]" (rect 0 0 53 12)(font "Arial" ))
(text "tone[10..0]" (rect 86 59 139 71)(font "Arial" ))
(line (pt 160 64)(pt 144 64)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 80)(line_width 1))
)
)
(symbol
(rect 584 16 712 112)
(text "speaker" (rect 5 0 43 12)(font "Arial" ))
(text "inst3" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "tone[10..0]" (rect 0 0 53 12)(font "Arial" ))
(text "tone[10..0]" (rect 21 43 74 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 128 32)
(output)
(text "spks" (rect 0 0 23 12)(font "Arial" ))
(text "spks" (rect 84 27 107 39)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 80)(line_width 1))
)
)
(connector
(pt 56 32)
(pt 144 32)
)
(connector
(pt 264 32)
(pt 320 32)
(bus)
)
(connector
(pt 480 64)
(pt 584 64)
(bus)
)
(connector
(pt 512 -16)
(pt 552 -16)
)
(connector
(pt 552 48)
(pt 552 -16)
)
(connector
(pt 552 48)
(pt 584 48)
)
(connector
(pt 680 200)
(pt 752 200)
)
(connector
(pt 680 216)
(pt 752 216)
)
(connector
(pt 680 232)
(pt 752 232)
)
(connector
(pt 680 248)
(pt 752 248)
)
(connector
(pt 680 264)
(pt 752 264)
)
(connector
(pt 680 280)
(pt 752 280)
)
(connector
(pt 680 296)
(pt 752 296)
)
(connector
(pt 680 312)
(pt 752 312)
)
(connector
(pt 680 328)
(pt 752 328)
)
(connector
(pt 680 344)
(pt 752 344)
)
(connector
(pt 680 360)
(pt 752 360)
)
(connector
(pt 712 48)
(pt 768 48)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -