📄 led_display.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 240 488 408 504)
(text "INPUT" (rect 133 0 169 13)(font "Arial" (font_size 6)))
(text "CLK" (rect 5 0 33 15)(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 160 20)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 184 504 240 520))
)
(pin
(input)
(rect 160 152 328 168)
(text "INPUT" (rect 133 0 169 13)(font "Arial" (font_size 6)))
(text "addr[7..4]" (rect 5 0 65 15)(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 160 20)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 744 240 920 256)
(text "OUTPUT" (rect 1 0 51 13)(font "Arial" (font_size 6)))
(text "q[15..0]" (rect 90 0 137 15)(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 920 256 976 512))
)
(pin
(output)
(rect 760 440 936 456)
(text "OUTPUT" (rect 1 0 51 13)(font "Arial" (font_size 6)))
(text "L1" (rect 90 0 106 15)(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 936 456 992 472))
)
(pin
(output)
(rect 760 456 936 472)
(text "OUTPUT" (rect 1 0 51 13)(font "Arial" (font_size 6)))
(text "L2" (rect 90 0 106 15)(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 936 472 992 488))
)
(pin
(output)
(rect 760 472 936 488)
(text "OUTPUT" (rect 1 0 51 13)(font "Arial" (font_size 6)))
(text "L3" (rect 90 0 106 15)(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 936 488 992 504))
)
(pin
(output)
(rect 760 488 936 504)
(text "OUTPUT" (rect 1 0 51 13)(font "Arial" (font_size 6)))
(text "L4" (rect 90 0 106 15)(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 936 504 992 520))
)
(symbol
(rect 496 424 616 536)
(text "7493" (rect 45 1 87 20)(font "Arial" (font_size 10)))
(text "inst1" (rect 3 101 34 116)(font "Arial" ))
(port
(pt 0 24)
(input)
(text "RO1" (rect 20 18 50 34)(font "Arial" (font_size 8)))
(text "RO1" (rect 20 18 50 34)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 40)
(input)
(text "RO2" (rect 20 34 50 50)(font "Arial" (font_size 8)))
(text "RO2" (rect 20 34 50 50)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
)
(port
(pt 0 72)
(input)
(text "CLKA" (rect 20 66 60 82)(font "Arial" (font_size 8)))
(text "CLKA" (rect 20 66 60 82)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "CLKB" (rect 20 82 60 98)(font "Arial" (font_size 8)))
(text "CLKB" (rect 20 82 60 98)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 120 56)
(output)
(text "QC" (rect 86 50 108 66)(font "Arial" (font_size 8)))
(text "QC" (rect 86 50 108 66)(font "Arial" (font_size 8)))
(line (pt 104 56)(pt 120 56)(line_width 1))
)
(port
(pt 120 40)
(output)
(text "QB" (rect 86 34 108 50)(font "Arial" (font_size 8)))
(text "QB" (rect 86 34 108 50)(font "Arial" (font_size 8)))
(line (pt 104 40)(pt 120 40)(line_width 1))
)
(port
(pt 120 24)
(output)
(text "QA" (rect 86 18 108 34)(font "Arial" (font_size 8)))
(text "QA" (rect 86 18 108 34)(font "Arial" (font_size 8)))
(line (pt 104 24)(pt 120 24)(line_width 1))
)
(port
(pt 120 72)
(output)
(text "QD" (rect 86 66 108 82)(font "Arial" (font_size 8)))
(text "QD" (rect 86 66 108 82)(font "Arial" (font_size 8)))
(line (pt 104 72)(pt 120 72)(line_width 1))
)
(drawing
(text "COUNTER" (rect 34 98 107 114)(font "Arial" (font_size 8)))
(line (pt 16 96)(pt 104 96)(line_width 1))
(line (pt 16 16)(pt 104 16)(line_width 1))
(line (pt 104 96)(pt 104 16)(line_width 1))
(line (pt 16 96)(pt 16 16)(line_width 1))
)
)
(symbol
(rect 456 376 488 408)
(text "GND" (rect 8 3 33 16)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 -4 34 11)(font "Arial" )(invisible))
(port
(pt 16 32)
(output)
(text "1" (rect 18 0 26 16)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 16 26 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 584 200 696 296)
(text "LPM_ROM" (rect 25 0 117 19)(font "Arial" (font_size 10)))
(text "inst" (rect 3 85 26 100)(font "Arial" ))
(port
(pt 0 24)
(input)
(text "address[LPM_WIDTHAD-1..0]" (rect 20 17 224 33)(font "Arial" (font_size 8)))
(text "address[]" (rect 20 17 83 33)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 3))
)
(port
(pt 0 40)
(input)
(text "inclock" (rect 20 33 68 49)(font "Arial" (font_size 8)))
(text "inclock" (rect 20 33 68 49)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
(unused)
)
(port
(pt 0 56)
(input)
(text "outclock" (rect 20 49 77 65)(font "Arial" (font_size 8)))
(text "outclock" (rect 20 49 77 65)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
(unused)
)
(port
(pt 0 72)
(input)
(text "memenab" (rect 20 65 87 81)(font "Arial" (font_size 8)))
(text "memenab" (rect 20 65 87 81)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
(unused)
)
(port
(pt 112 48)
(output)
(text "q[LPM_WIDTH-1..0]" (rect 80 41 216 57)(font "Arial" (font_size 8)))
(text "q[]" (rect 80 41 97 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 112 48)(line_width 3))
)
(parameter
"LPM_ADDRESS_CONTROL"
"\"UNREGISTERED\""
"Should the address and control ports be registered?"
"\"REGISTERED\"" "\"UNREGISTERED\""
)
(parameter
"LPM_FILE"
"LED_DISPLAY.mif"
"File containing initial contents of memory array"
)
(parameter
"LPM_NUMWORDS"
"256"
"Number of memory words, default is 2^LPM_WIDTHAD"
)
(parameter
"LPM_OUTDATA"
"\"UNREGISTERED\""
"Should the output data be registered?"
"\"REGISTERED\"" "\"UNREGISTERED\""
)
(parameter
"LPM_WIDTH"
"16"
"Data width in bits, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(parameter
"LPM_WIDTHAD"
"8"
"Number of address lines, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12"
)
(drawing
(line (pt 16 16)(pt 96 16)(line_width 1))
(line (pt 16 80)(pt 96 80)(line_width 1))
(line (pt 96 80)(pt 96 16)(line_width 1))
(line (pt 16 80)(pt 16 16)(line_width 1))
)
(annotation_block (parameter)(rect 696 88 984 200))
)
(connector
(pt 496 448)
(pt 472 448)
)
(connector
(pt 496 464)
(pt 472 464)
)
(connector
(pt 472 464)
(pt 472 448)
)
(connector
(pt 472 448)
(pt 472 408)
)
(connector
(pt 648 448)
(pt 648 344)
)
(connector
(pt 448 344)
(pt 648 344)
)
(connector
(pt 448 344)
(pt 448 512)
)
(connector
(pt 448 512)
(pt 496 512)
)
(connector
(text "addr[7..0]" (rect 520 208 580 223)(font "Arial" ))
(pt 584 224)
(pt 520 224)
(bus)
)
(connector
(text "q[15..0]" (rect 706 232 753 247)(font "Arial" ))
(pt 696 248)
(pt 744 248)
(bus)
)
(connector
(text "addr[7..4]" (rect 410 96 470 111)(font "Arial" ))
(pt 504 112)
(pt 400 112)
(bus)
)
(connector
(pt 400 112)
(pt 400 160)
(bus)
)
(connector
(pt 408 496)
(pt 496 496)
)
(connector
(text "addr[1]" (rect 674 448 718 463)(font "Arial" ))
(pt 616 464)
(pt 760 464)
)
(connector
(text "addr[2]" (rect 674 464 718 479)(font "Arial" ))
(pt 616 480)
(pt 760 480)
)
(connector
(text "addr[3]" (rect 674 480 718 495)(font "Arial" ))
(pt 616 496)
(pt 760 496)
)
(connector
(pt 616 448)
(pt 648 448)
)
(connector
(text "addr[0]" (rect 706 432 750 447)(font "Arial" ))
(pt 648 448)
(pt 760 448)
)
(connector
(pt 400 160)
(pt 328 160)
(bus)
)
(junction (pt 472 448))
(junction (pt 648 448))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -