📄 time_auto_and_set.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-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 "symbol" (version "1.1"))
(symbol
(rect 16 16 320 208)
(text "time_auto_and_set" (rect 5 0 126 15)(font "Times New Roman" (font_size 10)))
(text "inst" (rect 8 173 31 188)(font "Times New Roman" (font_size 10)))
(port
(pt 0 32)
(input)
(text "SW1" (rect 0 0 30 15)(font "Times New Roman" (font_size 10)))
(text "SW1" (rect 21 27 51 42)(font "Times New Roman" (font_size 10)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "SW2" (rect 0 0 30 15)(font "Times New Roman" (font_size 10)))
(text "SW2" (rect 21 43 51 58)(font "Times New Roman" (font_size 10)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "Timeset_EN" (rect 0 0 76 15)(font "Times New Roman" (font_size 10)))
(text "Timeset_EN" (rect 21 59 97 74)(font "Times New Roman" (font_size 10)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "Timepiece_EN" (rect 0 0 90 15)(font "Times New Roman" (font_size 10)))
(text "Timepiece_EN" (rect 21 75 111 90)(font "Times New Roman" (font_size 10)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "CLK" (rect 0 0 28 15)(font "Times New Roman" (font_size 10)))
(text "CLK" (rect 21 91 49 106)(font "Times New Roman" (font_size 10)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 304 32)
(output)
(text "hour_1[3..0]" (rect 0 0 75 15)(font "Times New Roman" (font_size 10)))
(text "hour_1[3..0]" (rect 208 27 283 42)(font "Times New Roman" (font_size 10)))
(line (pt 304 32)(pt 288 32)(line_width 3))
)
(port
(pt 304 48)
(output)
(text "hour_0[3..0]" (rect 0 0 75 15)(font "Times New Roman" (font_size 10)))
(text "hour_0[3..0]" (rect 208 43 283 58)(font "Times New Roman" (font_size 10)))
(line (pt 304 48)(pt 288 48)(line_width 3))
)
(port
(pt 304 64)
(output)
(text "minute_1[3..0]" (rect 0 0 88 15)(font "Times New Roman" (font_size 10)))
(text "minute_1[3..0]" (rect 195 59 283 74)(font "Times New Roman" (font_size 10)))
(line (pt 304 64)(pt 288 64)(line_width 3))
)
(port
(pt 304 80)
(output)
(text "minute_0[3..0]" (rect 0 0 88 15)(font "Times New Roman" (font_size 10)))
(text "minute_0[3..0]" (rect 195 75 283 90)(font "Times New Roman" (font_size 10)))
(line (pt 304 80)(pt 288 80)(line_width 3))
)
(port
(pt 304 96)
(output)
(text "second_1[3..0]" (rect 0 0 92 15)(font "Times New Roman" (font_size 10)))
(text "second_1[3..0]" (rect 191 91 283 106)(font "Times New Roman" (font_size 10)))
(line (pt 304 96)(pt 288 96)(line_width 3))
)
(port
(pt 304 112)
(output)
(text "second_0[3..0]" (rect 0 0 92 15)(font "Times New Roman" (font_size 10)))
(text "second_0[3..0]" (rect 191 107 283 122)(font "Times New Roman" (font_size 10)))
(line (pt 304 112)(pt 288 112)(line_width 3))
)
(port
(pt 304 128)
(output)
(text "TimeSet_disp_drive[2..0]" (rect 0 0 156 15)(font "Times New Roman" (font_size 10)))
(text "TimeSet_disp_drive[2..0]" (rect 127 123 283 138)(font "Times New Roman" (font_size 10)))
(line (pt 304 128)(pt 288 128)(line_width 3))
)
(port
(pt 304 144)
(output)
(text "day_EN" (rect 0 0 50 15)(font "Times New Roman" (font_size 10)))
(text "day_EN" (rect 233 139 283 154)(font "Times New Roman" (font_size 10)))
(line (pt 304 144)(pt 288 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 288 176)(line_width 1))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -