📄 ledarray8_8.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 -64 120 104 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset" (rect 5 0 29 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 -152 136 -64 168))
)
(pin
(input)
(rect -64 104 104 120)
(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 -152 72 -64 104))
)
(pin
(input)
(rect -64 608 104 624)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "auto" (rect 5 0 26 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 -152 624 -64 656))
)
(pin
(input)
(rect -64 592 104 608)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "timer" (rect 5 0 29 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 -152 560 -64 592))
)
(pin
(output)
(rect 1552 360 1734 376)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "row[7..0]" (rect 90 0 132 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 1736 232 1824 360))
)
(pin
(output)
(rect 1552 376 1734 392)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "row_select[7..0]" (rect 90 0 167 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 1736 392 1824 520))
)
(symbol
(rect 168 80 312 176)
(text "counter" (rect 5 0 41 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 25 12)(font "Arial" ))
(text "clock" (rect 21 27 46 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 144 32)
(bidir)
(text "counter[3..0]" (rect 0 0 62 12)(font "Arial" ))
(text "counter[3..0]" (rect 61 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(port
(pt 144 48)
(bidir)
(text "carrier" (rect 0 0 30 12)(font "Arial" ))
(text "carrier" (rect 93 43 123 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(parameter
"divisor"
"24000"
""
)
(parameter
"inner_counter_width"
"16"
""
)
(parameter
"unit"
"\"1001\""
""
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
(annotation_block (parameter)(rect 312 24 456 80))
)
(symbol
(rect 536 336 800 464)
(text "choice1from2" (rect 5 0 72 12)(font "Arial" ))
(text "inst1" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "data0[data_width-1..0]" (rect 0 0 108 12)(font "Arial" ))
(text "data0[data_width-1..0]" (rect 21 27 129 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "data1[data_width-1..0]" (rect 0 0 108 12)(font "Arial" ))
(text "data1[data_width-1..0]" (rect 21 43 129 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "choice" (rect 0 0 31 12)(font "Arial" ))
(text "choice" (rect 21 59 52 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 75 45 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 264 32)
(output)
(text "data[data_width-1..0]" (rect 0 0 102 12)(font "Arial" ))
(text "data[data_width-1..0]" (rect 141 27 243 39)(font "Arial" ))
(line (pt 264 32)(pt 248 32)(line_width 3))
)
(parameter
"data_width"
"4"
""
)
(drawing
(rectangle (rect 16 16 248 112)(line_width 1))
)
(annotation_block (parameter)(rect 696 304 800 336))
)
(symbol
(rect 168 208 312 304)
(text "counter" (rect 5 0 41 12)(font "Arial" ))
(text "inst3" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock" (rect 0 0 25 12)(font "Arial" ))
(text "clock" (rect 21 27 46 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 144 32)
(bidir)
(text "counter[3..0]" (rect 0 0 62 12)(font "Arial" ))
(text "counter[3..0]" (rect 61 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 3))
)
(port
(pt 144 48)
(bidir)
(text "carrier" (rect 0 0 30 12)(font "Arial" ))
(text "carrier" (rect 93 43 123 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(parameter
"divisor"
"100"
""
)
(parameter
"inner_counter_width"
"8"
""
)
(parameter
"unit"
"\"1001\""
""
)
(drawing
(rectangle (rect 16 16 128 80)(line_width 1))
)
(annotation_block (parameter)(rect 312 152 456 208))
)
(symbol
(rect 1376 336 1552 560)
(text "ledarray_drv" (rect 5 0 67 12)(font "Arial" ))
(text "inst7" (rect 8 208 31 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "row0[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "row0[7..0]" (rect 21 27 69 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "row1[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "row1[7..0]" (rect 21 43 69 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "row2[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "row2[7..0]" (rect 21 59 69 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "row3[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "row3[7..0]" (rect 21 75 69 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "row4[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "row4[7..0]" (rect 21 91 69 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "row5[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "row5[7..0]" (rect 21 107 69 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "row6[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "row6[7..0]" (rect 21 123 69 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "row7[7..0]" (rect 0 0 48 12)(font "Arial" ))
(text "row7[7..0]" (rect 21 139 69 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 0 160)
(input)
(text "clock" (rect 0 0 25 12)(font "Arial" ))
(text "clock" (rect 21 155 46 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 171 45 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 176 32)
(output)
(text "row[7..0]" (rect 0 0 42 12)(font "Arial" ))
(text "row[7..0]" (rect 113 27 155 39)(font "Arial" ))
(line (pt 176 32)(pt 160 32)(line_width 3))
)
(port
(pt 176 48)
(output)
(text "row_select[7..0]" (rect 0 0 77 12)(font "Arial" ))
(text "row_select[7..0]" (rect 78 43 155 55)(font "Arial" ))
(line (pt 176 48)(pt 160 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 160 208)(line_width 1))
)
)
(symbol
(rect 848 336 1064 432)
(text "bcd_ascii" (rect 5 0 51 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "bcd_data[3..0]" (rect 0 0 70 12)(font "Arial" ))
(text "bcd_data[3..0]" (rect 21 27 91 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 216 32)
(output)
(text "ext_char_data[7..0]" (rect 0 0 95 12)(font "Arial" ))
(text "ext_char_data[7..0]" (rect 100 27 195 39)(font "Arial" ))
(line (pt 216 32)(pt 200 32)(line_width 3))
)
(parameter
"data_width"
"4"
""
)
(drawing
(rectangle (rect 16 16 200 80)(line_width 1))
)
(annotation_block (parameter)(rect 960 304 1064 336))
)
(symbol
(rect 1128 336 1328 528)
(text "charlib8_8" (rect 5 0 54 12)(font "Arial" ))
(text "inst6" (rect 8 176 31 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "ext_char_data[7..0]" (rect 0 0 95 12)(font "Arial" ))
(text "ext_char_data[7..0]" (rect 21 27 116 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "ext_char_index[7..0]" (rect 0 0 100 12)(font "Arial" ))
(text "ext_char_index[7..0]" (rect 21 43 121 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "mode" (rect 0 0 27 12)(font "Arial" ))
(text "mode" (rect 21 59 48 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 75 45 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 200 32)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -