📄 stopwatch.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 184 208)
(text "StopWatch" (rect 5 0 59 12)(font "Arial" ))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "ClkIn" (rect 0 0 25 12)(font "Arial" ))
(text "ClkIn" (rect 21 27 46 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "KeyIn[7..0]" (rect 0 0 55 12)(font "Arial" ))
(text "KeyIn[7..0]" (rect 21 43 76 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "State[11..0]" (rect 0 0 57 12)(font "Arial" ))
(text "State[11..0]" (rect 21 59 78 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 168 32)
(output)
(text "DSW7[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DSW7[3..0]" (rect 90 27 147 39)(font "Arial" ))
(line (pt 168 32)(pt 152 32)(line_width 3))
)
(port
(pt 168 48)
(output)
(text "DSW6[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DSW6[3..0]" (rect 90 43 147 55)(font "Arial" ))
(line (pt 168 48)(pt 152 48)(line_width 3))
)
(port
(pt 168 64)
(output)
(text "DSW5[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DSW5[3..0]" (rect 90 59 147 71)(font "Arial" ))
(line (pt 168 64)(pt 152 64)(line_width 3))
)
(port
(pt 168 80)
(output)
(text "DSW4[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DSW4[3..0]" (rect 90 75 147 87)(font "Arial" ))
(line (pt 168 80)(pt 152 80)(line_width 3))
)
(port
(pt 168 96)
(output)
(text "DSW3[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DSW3[3..0]" (rect 90 91 147 103)(font "Arial" ))
(line (pt 168 96)(pt 152 96)(line_width 3))
)
(port
(pt 168 112)
(output)
(text "DSW2[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DSW2[3..0]" (rect 90 107 147 119)(font "Arial" ))
(line (pt 168 112)(pt 152 112)(line_width 3))
)
(port
(pt 168 128)
(output)
(text "DSW1[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DSW1[3..0]" (rect 90 123 147 135)(font "Arial" ))
(line (pt 168 128)(pt 152 128)(line_width 3))
)
(port
(pt 168 144)
(output)
(text "DSW0[3..0]" (rect 0 0 57 12)(font "Arial" ))
(text "DSW0[3..0]" (rect 90 139 147 151)(font "Arial" ))
(line (pt 168 144)(pt 152 144)(line_width 3))
)
(parameter
"SSW"
"B\"011100000000\""
""
)
(parameter
"SSWRun"
"B\"011100000100\""
""
)
(parameter
"SSWPause"
"B\"011100000001\""
""
)
(drawing
(rectangle (rect 16 16 152 176)(line_width 1))
)
(annotation_block (parameter)(rect 184 -64 284 16))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -