📄 usb_port.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-2007 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 from 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 208)
(text "usb_port" (rect 5 0 47 12)(font "Arial" ))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "read_n" (rect 0 0 33 12)(font "Arial" ))
(text "read_n" (rect 21 59 54 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "write_n" (rect 0 0 34 12)(font "Arial" ))
(text "write_n" (rect 21 75 55 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "writedata[15..0]" (rect 0 0 75 12)(font "Arial" ))
(text "writedata[15..0]" (rect 21 91 96 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "fifo_full_n" (rect 0 0 50 12)(font "Arial" ))
(text "fifo_full_n" (rect 21 107 71 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "fifo_empty_n" (rect 0 0 67 12)(font "Arial" ))
(text "fifo_empty_n" (rect 21 123 88 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 200 32)
(output)
(text "fifoadr[1..0]" (rect 0 0 59 12)(font "Arial" ))
(text "fifoadr[1..0]" (rect 120 27 179 39)(font "Arial" ))
(line (pt 200 32)(pt 184 32)(line_width 3))
)
(port
(pt 200 48)
(output)
(text "slwr_n" (rect 0 0 30 12)(font "Arial" ))
(text "slwr_n" (rect 149 43 179 55)(font "Arial" ))
(line (pt 200 48)(pt 184 48)(line_width 1))
)
(port
(pt 200 64)
(output)
(text "FD[15..0]" (rect 0 0 47 12)(font "Arial" ))
(text "FD[15..0]" (rect 132 59 179 71)(font "Arial" ))
(line (pt 200 64)(pt 184 64)(line_width 3))
)
(port
(pt 200 80)
(output)
(text "readdata[15..0]" (rect 0 0 74 12)(font "Arial" ))
(text "readdata[15..0]" (rect 105 75 179 87)(font "Arial" ))
(line (pt 200 80)(pt 184 80)(line_width 3))
)
(port
(pt 200 96)
(output)
(text "sloe_n" (rect 0 0 31 12)(font "Arial" ))
(text "sloe_n" (rect 148 91 179 103)(font "Arial" ))
(line (pt 200 96)(pt 184 96)(line_width 1))
)
(port
(pt 200 112)
(output)
(text "slrd_n" (rect 0 0 29 12)(font "Arial" ))
(text "slrd_n" (rect 150 107 179 119)(font "Arial" ))
(line (pt 200 112)(pt 184 112)(line_width 1))
)
(port
(pt 200 128)
(output)
(text "read_done" (rect 0 0 50 12)(font "Arial" ))
(text "read_done" (rect 129 123 179 135)(font "Arial" ))
(line (pt 200 128)(pt 184 128)(line_width 1))
)
(port
(pt 200 144)
(output)
(text "write_done" (rect 0 0 51 12)(font "Arial" ))
(text "write_done" (rect 128 139 179 151)(font "Arial" ))
(line (pt 200 144)(pt 184 144)(line_width 1))
)
(parameter
"R1"
"B\"000\""
""
)
(parameter
"R2"
"B\"001\""
""
)
(parameter
"R3"
"B\"011\""
""
)
(parameter
"W2"
"B\"010\""
""
)
(parameter
"W3"
"B\"110\""
""
)
(parameter
"W4"
"B\"100\""
""
)
(drawing
(rectangle (rect 16 16 184 176)(line_width 1))
)
(annotation_block (parameter)(rect 216 -64 316 16))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -