📄 lcd12864.bsf
字号:
/*
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-2008 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 "symbol" (version "1.1"))
(symbol
(rect 16 16 176 176)
(text "lcd12864" (rect 5 0 48 12)(font "Arial" ))
(text "inst" (rect 8 144 25 156)(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 "nrst" (rect 0 0 18 12)(font "Arial" ))
(text "nrst" (rect 21 43 39 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "t_sec[7..0]" (rect 0 0 53 12)(font "Arial" ))
(text "t_sec[7..0]" (rect 21 59 74 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "t_min[7..0]" (rect 0 0 53 12)(font "Arial" ))
(text "t_min[7..0]" (rect 21 75 74 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "t_hour[7..0]" (rect 0 0 56 12)(font "Arial" ))
(text "t_hour[7..0]" (rect 21 91 77 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "lcd_e" (rect 0 0 25 12)(font "Arial" ))
(text "lcd_e" (rect 114 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 1))
)
(port
(pt 160 48)
(output)
(text "lcd_rs" (rect 0 0 29 12)(font "Arial" ))
(text "lcd_rs" (rect 110 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 1))
)
(port
(pt 160 64)
(output)
(text "lcd_rw" (rect 0 0 30 12)(font "Arial" ))
(text "lcd_rw" (rect 109 59 139 71)(font "Arial" ))
(line (pt 160 64)(pt 144 64)(line_width 1))
)
(port
(pt 160 80)
(output)
(text "lcd_cs1" (rect 0 0 37 12)(font "Arial" ))
(text "lcd_cs1" (rect 102 75 139 87)(font "Arial" ))
(line (pt 160 80)(pt 144 80)(line_width 1))
)
(port
(pt 160 96)
(output)
(text "lcd_cs2" (rect 0 0 37 12)(font "Arial" ))
(text "lcd_cs2" (rect 102 91 139 103)(font "Arial" ))
(line (pt 160 96)(pt 144 96)(line_width 1))
)
(port
(pt 160 112)
(output)
(text "lcd_rst" (rect 0 0 33 12)(font "Arial" ))
(text "lcd_rst" (rect 106 107 139 119)(font "Arial" ))
(line (pt 160 112)(pt 144 112)(line_width 1))
)
(port
(pt 160 128)
(output)
(text "data[7..0]" (rect 0 0 47 12)(font "Arial" ))
(text "data[7..0]" (rect 92 123 139 135)(font "Arial" ))
(line (pt 160 128)(pt 144 128)(line_width 3))
)
(parameter
"idle"
"B\"000000\""
""
)
(parameter
"setstrow_a"
"B\"000001\""
""
)
(parameter
"setstrow_b"
"B\"000010\""
""
)
(parameter
"setstrow_c"
"B\"000011\""
""
)
(parameter
"lcdon_a"
"B\"000100\""
""
)
(parameter
"lcdon_b"
"B\"000101\""
""
)
(parameter
"lcdon_c"
"B\"000110\""
""
)
(parameter
"clr_str_a"
"B\"000111\""
""
)
(parameter
"clr_str_b"
"B\"001000\""
""
)
(parameter
"clr_str_c"
"B\"001001\""
""
)
(parameter
"clr_stc_a"
"B\"001010\""
""
)
(parameter
"clr_stc_b"
"B\"001011\""
""
)
(parameter
"clr_stc_c"
"B\"001100\""
""
)
(parameter
"clr_dat_a"
"B\"001101\""
""
)
(parameter
"clr_dat_b"
"B\"001110\""
""
)
(parameter
"clr_dat_c"
"B\"001111\""
""
)
(parameter
"setrow_a"
"B\"010000\""
""
)
(parameter
"setrow_b"
"B\"010001\""
""
)
(parameter
"setrow_c"
"B\"010010\""
""
)
(parameter
"setcol_a"
"B\"010011\""
""
)
(parameter
"setcol_b"
"B\"010100\""
""
)
(parameter
"setcol_c"
"B\"010101\""
""
)
(parameter
"dispchar_a"
"B\"010110\""
""
)
(parameter
"dispchar_b"
"B\"010111\""
""
)
(parameter
"dispchar_c"
"B\"011000\""
""
)
(parameter
"delay"
"B\"101010\""
""
)
(parameter
"x_offset"
"50"
""
)
(drawing
(rectangle (rect 16 16 144 144)(line_width 1))
)
(annotation_block (parameter)(rect 176 -64 276 16))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -