📄 display.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-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 "symbol" (version "1.1"))
(symbol
(rect 16 16 160 240)
(text "display" (rect 5 0 40 12)(font "Arial" ))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "din0[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din0[3..0]" (rect 21 27 67 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "din1[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din1[3..0]" (rect 21 43 67 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "din2[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din2[3..0]" (rect 21 59 67 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "din3[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din3[3..0]" (rect 21 75 67 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "din4[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din4[3..0]" (rect 21 91 67 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "din5[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "din5[3..0]" (rect 21 107 67 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
(text "CLK" (rect 21 123 42 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 144 32)
(output)
(text "LED_SA" (rect 0 0 41 12)(font "Arial" ))
(text "LED_SA" (rect 82 27 123 39)(font "Arial" ))
(line (pt 144 32)(pt 128 32)(line_width 1))
)
(port
(pt 144 48)
(output)
(text "LED_SB" (rect 0 0 41 12)(font "Arial" ))
(text "LED_SB" (rect 82 43 123 55)(font "Arial" ))
(line (pt 144 48)(pt 128 48)(line_width 1))
)
(port
(pt 144 64)
(output)
(text "LED_SC" (rect 0 0 42 12)(font "Arial" ))
(text "LED_SC" (rect 81 59 123 71)(font "Arial" ))
(line (pt 144 64)(pt 128 64)(line_width 1))
)
(port
(pt 144 80)
(output)
(text "LED_A" (rect 0 0 34 12)(font "Arial" ))
(text "LED_A" (rect 89 75 123 87)(font "Arial" ))
(line (pt 144 80)(pt 128 80)(line_width 1))
)
(port
(pt 144 96)
(output)
(text "LED_B" (rect 0 0 34 12)(font "Arial" ))
(text "LED_B" (rect 89 91 123 103)(font "Arial" ))
(line (pt 144 96)(pt 128 96)(line_width 1))
)
(port
(pt 144 112)
(output)
(text "LED_C" (rect 0 0 35 12)(font "Arial" ))
(text "LED_C" (rect 88 107 123 119)(font "Arial" ))
(line (pt 144 112)(pt 128 112)(line_width 1))
)
(port
(pt 144 128)
(output)
(text "LED_D" (rect 0 0 35 12)(font "Arial" ))
(text "LED_D" (rect 88 123 123 135)(font "Arial" ))
(line (pt 144 128)(pt 128 128)(line_width 1))
)
(port
(pt 144 144)
(output)
(text "LED_E" (rect 0 0 34 12)(font "Arial" ))
(text "LED_E" (rect 89 139 123 151)(font "Arial" ))
(line (pt 144 144)(pt 128 144)(line_width 1))
)
(port
(pt 144 160)
(output)
(text "LED_F" (rect 0 0 34 12)(font "Arial" ))
(text "LED_F" (rect 89 155 123 167)(font "Arial" ))
(line (pt 144 160)(pt 128 160)(line_width 1))
)
(port
(pt 144 176)
(output)
(text "LED_G" (rect 0 0 35 12)(font "Arial" ))
(text "LED_G" (rect 88 171 123 183)(font "Arial" ))
(line (pt 144 176)(pt 128 176)(line_width 1))
)
(port
(pt 144 192)
(output)
(text "LED_DP" (rect 0 0 42 12)(font "Arial" ))
(text "LED_DP" (rect 81 187 123 199)(font "Arial" ))
(line (pt 144 192)(pt 128 192)(line_width 1))
)
(drawing
(rectangle (rect 16 16 128 208)(line_width 1))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -