?? lcd_1602.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 64 48 232 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 19 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 -24 -8 64 24))
)
(pin
(input)
(rect 64 64 232 80)
(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 -24 80 64 112))
)
(pin
(output)
(rect 488 48 664 64)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lcd_e" (rect 90 0 115 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 688 360 776 392))
)
(pin
(output)
(rect 488 80 664 96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lcd_rs" (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 688 376 776 408))
)
(pin
(output)
(rect 488 64 664 80)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lcd_rw" (rect 90 0 120 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 688 392 776 424))
)
(pin
(output)
(rect 488 96 664 112)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lcd_data[7..0]" (rect 90 0 157 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 664 112 752 240))
)
(symbol
(rect 288 24 400 152)
(text "lcd" (rect 5 0 19 12)(font "Arial" ))
(text "inst" (rect 8 112 25 124)(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 "rst" (rect 0 0 12 12)(font "Arial" ))
(text "rst" (rect 21 43 33 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "lcd_e" (rect 0 0 25 12)(font "Arial" ))
(text "lcd_e" (rect 66 27 91 39)(font "Arial" ))
(line (pt 112 32)(pt 96 32)(line_width 1))
)
(port
(pt 112 48)
(output)
(text "lcd_rw" (rect 0 0 30 12)(font "Arial" ))
(text "lcd_rw" (rect 61 43 91 55)(font "Arial" ))
(line (pt 112 48)(pt 96 48)(line_width 1))
)
(port
(pt 112 64)
(output)
(text "lcd_rs" (rect 0 0 29 12)(font "Arial" ))
(text "lcd_rs" (rect 62 59 91 71)(font "Arial" ))
(line (pt 112 64)(pt 96 64)(line_width 1))
)
(port
(pt 112 80)
(output)
(text "data[7..0]" (rect 0 0 47 12)(font "Arial" ))
(text "data[7..0]" (rect 44 75 91 87)(font "Arial" ))
(line (pt 112 80)(pt 96 80)(line_width 3))
)
(parameter
"IDLE"
""
""
)
(parameter
"CLEAR"
""
""
)
(parameter
"RETURNCURSOR"
""
""
)
(parameter
"SETMODE"
""
""
)
(parameter
"SWITCHMODE"
""
""
)
(parameter
"SHIFT"
""
""
)
(parameter
"SETFUNCTION"
""
""
)
(parameter
"SETCGRAM"
""
""
)
(parameter
"SETDDRAM"
""
""
)
(parameter
"READFLAG"
""
""
)
(parameter
"WRITERAM"
""
""
)
(parameter
"READRAM"
""
""
)
(parameter
"cur_inc"
""
""
)
(parameter
"cur_dec"
""
""
)
(parameter
"cur_shift"
""
""
)
(parameter
"cur_noshift"
""
""
)
(parameter
"open_display"
""
""
)
(parameter
"open_cur"
""
""
)
(parameter
"blank_cur"
""
""
)
(parameter
"shift_display"
""
""
)
(parameter
"shift_cur"
""
""
)
(parameter
"right_shift"
""
""
)
(parameter
"left_shift"
""
""
)
(parameter
"datawidth8"
""
""
)
(parameter
"datawidth4"
""
""
)
(parameter
"twoline"
""
""
)
(parameter
"oneline"
""
""
)
(parameter
"font5x10"
""
""
)
(parameter
"font5x7"
""
""
)
(drawing
(rectangle (rect 16 16 96 112)(line_width 1))
)
(annotation_block (parameter)(rect 408 -400 536 24))
)
(connector
(pt 400 56)
(pt 488 56)
)
(connector
(pt 400 104)
(pt 488 104)
(bus)
)
(connector
(pt 288 56)
(pt 232 56)
)
(connector
(pt 288 72)
(pt 232 72)
)
(connector
(pt 400 88)
(pt 488 88)
)
(connector
(pt 400 72)
(pt 488 72)
)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -