?? lcd_v.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 -96 48 72 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "mclk" (rect 5 0 28 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 -184 64 -88 96))
)
(pin
(input)
(rect -96 64 72 80)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "rst" (rect 5 0 17 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 -184 80 -88 112))
)
(pin
(output)
(rect 432 128 608 144)
(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 608 144 704 176))
)
(pin
(output)
(rect 432 144 608 160)
(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 608 160 696 192))
)
(pin
(output)
(rect 432 160 608 176)
(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 608 176 696 208))
)
(pin
(output)
(rect 432 176 608 192)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "data[7..0]" (rect 90 0 137 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 608 192 712 320))
)
(symbol
(rect 112 24 208 120)
(text "div16" (rect 5 0 32 12)(font "Arial" ))
(text "inst" (rect 8 80 25 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 "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 96 32)
(output)
(text "clk_16" (rect 0 0 31 12)(font "Arial" ))
(text "clk_16" (rect 44 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 280 104 392 232)
(text "lcd" (rect 5 0 19 12)(font "Arial" ))
(text "inst1" (rect 8 112 31 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"
"B\"00000000000\""
""
)
(parameter
"CLEAR"
"B\"00000000001\""
""
)
(parameter
"RETURNCURSOR"
"B\"00000000010\""
""
)
(parameter
"SETMODE"
"B\"00000000100\""
""
)
(parameter
"SWITCHMODE"
"B\"00000001000\""
""
)
(parameter
"SHIFT"
"B\"00000010000\""
""
)
(parameter
"SETFUNCTION"
"B\"00000100000\""
""
)
(parameter
"SETCGRAM"
"B\"00001000000\""
""
)
(parameter
"SETDDRAM"
"B\"00010000000\""
""
)
(parameter
"READFLAG"
"B\"00100000000\""
""
)
(parameter
"WRITERAM"
"B\"01000000000\""
""
)
(parameter
"READRAM"
"B\"10000000000\""
""
)
(parameter
"cur_inc"
"1"
""
)
(parameter
"cur_dec"
"0"
""
)
(parameter
"cur_shift"
"1"
""
)
(parameter
"cur_noshift"
"0"
""
)
(parameter
"open_display"
"1"
""
)
(parameter
"open_cur"
"0"
""
)
(parameter
"blank_cur"
"0"
""
)
(parameter
"shift_display"
"1"
""
)
(parameter
"shift_cur"
"0"
""
)
(parameter
"right_shift"
"1"
""
)
(parameter
"left_shift"
"0"
""
)
(parameter
"datawidth8"
"1"
""
)
(parameter
"datawidth4"
"0"
""
)
(parameter
"twoline"
"1"
""
)
(parameter
"oneline"
"0"
""
)
(parameter
"font5x10"
"1"
""
)
(parameter
"font5x7"
"0"
""
)
(parameter
"divcnt"
"\"1011110001000000\""
""
)
(drawing
(rectangle (rect 16 16 96 112)(line_width 1))
)
(annotation_block (parameter)(rect 400 -320 576 104))
)
(connector
(pt 208 56)
(pt 256 56)
)
(connector
(pt 112 56)
(pt 72 56)
)
(connector
(pt 256 56)
(pt 256 136)
)
(connector
(pt 256 136)
(pt 280 136)
)
(connector
(pt 80 152)
(pt 280 152)
)
(connector
(pt 80 72)
(pt 80 152)
)
(connector
(pt 72 72)
(pt 80 72)
)
(connector
(pt 80 72)
(pt 112 72)
)
(connector
(pt 392 136)
(pt 432 136)
)
(connector
(pt 392 152)
(pt 432 152)
)
(connector
(pt 392 168)
(pt 432 168)
)
(connector
(pt 392 184)
(pt 432 184)
(bus)
)
(junction (pt 80 72))
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -