📄 controller.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 216 176)
(text "controller" (rect 5 0 49 12)(font "Arial" ))
(text "inst" (rect 8 144 25 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clock1m" (rect 0 0 41 12)(font "Arial" ))
(text "clock1m" (rect 21 27 62 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clock1" (rect 0 0 31 12)(font "Arial" ))
(text "clock1" (rect 21 43 52 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "state[4..0]" (rect 0 0 50 12)(font "Arial" ))
(text "state[4..0]" (rect 21 59 71 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 200 32)
(output)
(text "data_outr16[0..15]" (rect 0 0 89 12)(font "Arial" ))
(text "data_outr16[0..15]" (rect 90 27 179 39)(font "Arial" ))
(line (pt 200 32)(pt 184 32)(line_width 3))
)
(port
(pt 200 48)
(output)
(text "data_outg16[0..15]" (rect 0 0 92 12)(font "Arial" ))
(text "data_outg16[0..15]" (rect 87 43 179 55)(font "Arial" ))
(line (pt 200 48)(pt 184 48)(line_width 3))
)
(port
(pt 200 64)
(output)
(text "score[7..0]" (rect 0 0 53 12)(font "Arial" ))
(text "score[7..0]" (rect 126 59 179 71)(font "Arial" ))
(line (pt 200 64)(pt 184 64)(line_width 3))
)
(port
(pt 200 96)
(output)
(text "win" (rect 0 0 15 12)(font "Arial" ))
(text "win" (rect 164 91 179 103)(font "Arial" ))
(line (pt 200 96)(pt 184 96)(line_width 1))
)
(port
(pt 200 80)
(bidir)
(text "scan_line[0..15]" (rect 0 0 77 12)(font "Arial" ))
(text "scan_line[0..15]" (rect 102 75 179 87)(font "Arial" ))
(line (pt 200 80)(pt 184 80)(line_width 3))
)
(port
(pt 200 112)
(bidir)
(text "lost" (rect 0 0 17 12)(font "Arial" ))
(text "lost" (rect 162 107 179 119)(font "Arial" ))
(line (pt 200 112)(pt 184 112)(line_width 1))
)
(drawing
(rectangle (rect 16 16 184 144)(line_width 1))
)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -