📄 alarm.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 176 272)
(text "Alarm" (rect 5 0 33 12)(font "Arial" ))
(text "inst" (rect 8 240 25 252)(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 "Reset" (rect 0 0 29 12)(font "Arial" ))
(text "Reset" (rect 21 43 50 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "KeyIn[7..0]" (rect 0 0 55 12)(font "Arial" ))
(text "KeyIn[7..0]" (rect 21 59 76 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "State[11..0]" (rect 0 0 57 12)(font "Arial" ))
(text "State[11..0]" (rect 21 75 78 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "AlarmEn" (rect 0 0 41 12)(font "Arial" ))
(text "AlarmEn" (rect 21 91 62 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "D7[3..0]" (rect 0 0 40 12)(font "Arial" ))
(text "D7[3..0]" (rect 21 107 61 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "D6[3..0]" (rect 0 0 40 12)(font "Arial" ))
(text "D6[3..0]" (rect 21 123 61 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "D5[3..0]" (rect 0 0 40 12)(font "Arial" ))
(text "D5[3..0]" (rect 21 139 61 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 0 160)
(input)
(text "D4[3..0]" (rect 0 0 40 12)(font "Arial" ))
(text "D4[3..0]" (rect 21 155 61 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 3))
)
(port
(pt 0 176)
(input)
(text "D3[3..0]" (rect 0 0 40 12)(font "Arial" ))
(text "D3[3..0]" (rect 21 171 61 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 3))
)
(port
(pt 0 192)
(input)
(text "D2[3..0]" (rect 0 0 40 12)(font "Arial" ))
(text "D2[3..0]" (rect 21 187 61 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 3))
)
(port
(pt 0 208)
(input)
(text "D1[3..0]" (rect 0 0 40 12)(font "Arial" ))
(text "D1[3..0]" (rect 21 203 61 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 3))
)
(port
(pt 0 224)
(input)
(text "D0[3..0]" (rect 0 0 40 12)(font "Arial" ))
(text "D0[3..0]" (rect 21 219 61 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "DA7[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "DA7[3..0]" (rect 92 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "DA6[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "DA6[3..0]" (rect 92 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 3))
)
(port
(pt 160 64)
(output)
(text "DA5[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "DA5[3..0]" (rect 92 59 139 71)(font "Arial" ))
(line (pt 160 64)(pt 144 64)(line_width 3))
)
(port
(pt 160 80)
(output)
(text "DA4[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "DA4[3..0]" (rect 92 75 139 87)(font "Arial" ))
(line (pt 160 80)(pt 144 80)(line_width 3))
)
(port
(pt 160 96)
(output)
(text "DA3[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "DA3[3..0]" (rect 92 91 139 103)(font "Arial" ))
(line (pt 160 96)(pt 144 96)(line_width 3))
)
(port
(pt 160 112)
(output)
(text "DA2[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "DA2[3..0]" (rect 92 107 139 119)(font "Arial" ))
(line (pt 160 112)(pt 144 112)(line_width 3))
)
(port
(pt 160 128)
(output)
(text "DA1[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "DA1[3..0]" (rect 92 123 139 135)(font "Arial" ))
(line (pt 160 128)(pt 144 128)(line_width 3))
)
(port
(pt 160 144)
(output)
(text "DA0[3..0]" (rect 0 0 47 12)(font "Arial" ))
(text "DA0[3..0]" (rect 92 139 139 151)(font "Arial" ))
(line (pt 160 144)(pt 144 144)(line_width 3))
)
(port
(pt 160 160)
(output)
(text "AlarmOut" (rect 0 0 46 12)(font "Arial" ))
(text "AlarmOut" (rect 93 155 139 167)(font "Arial" ))
(line (pt 160 160)(pt 144 160)(line_width 1))
)
(parameter
"SAset4"
"B\"101100010000\""
""
)
(parameter
"SAset3"
"B\"101100001000\""
""
)
(parameter
"SAset1"
"B\"101100000010\""
""
)
(parameter
"SAset0"
"B\"101100000001\""
""
)
(drawing
(rectangle (rect 16 16 144 240)(line_width 1))
)
(annotation_block (parameter)(rect 176 -64 276 16))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -