📄 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-2007 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 from 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 24 8))
)
(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 24 96))
)
(pin
(output)
(rect 488 48 664 64)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "lcd1602_e" (rect 90 0 139 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 720 72 768 88))
)
(pin
(output)
(rect 488 96 666 112)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLASH_DQ[7..0]" (rect 90 0 173 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 712 224))
)
(pin
(output)
(rect 328 208 504 224)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLASH_CE" (rect 90 0 146 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))
)
)
(pin
(output)
(rect 328 232 504 248)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "rtl8019_cs" (rect 90 0 140 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))
)
)
(pin
(output)
(rect 488 64 664 80)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLASH_ADDR0" (rect 90 0 169 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 720 96 768 112))
)
(pin
(output)
(rect 488 80 664 96)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "FLASH_ADDR1" (rect 90 0 169 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 712 120 760 136))
)
(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 400 -400 528 24))
)
(symbol
(rect 256 184 288 200)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 5 26 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8)(line_width 1))
)
(drawing
(line (pt 8 8)(pt 24 8)(line_width 1))
)
)
(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)
)
(connector
(pt 328 216)
(pt 272 216)
)
(connector
(pt 328 240)
(pt 272 240)
)
(connector
(pt 272 200)
(pt 272 216)
)
(connector
(pt 272 216)
(pt 272 240)
)
(junction (pt 272 216))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -