📄 sd_control.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 328 240)
(text "sd_control" (rect 5 0 55 12)(font "Arial" ))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "enable" (rect 0 0 31 12)(font "Arial" ))
(text "enable" (rect 21 27 52 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 43 35 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "sd_cmd_in" (rect 0 0 53 12)(font "Arial" ))
(text "sd_cmd_in" (rect 21 59 74 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "crcfini" (rect 0 0 30 12)(font "Arial" ))
(text "crcfini" (rect 21 75 51 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "fifo_ef" (rect 0 0 34 12)(font "Arial" ))
(text "fifo_ef" (rect 21 91 55 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "sd_data[sd_data_wide-1..0]" (rect 0 0 134 12)(font "Arial" ))
(text "sd_data[sd_data_wide-1..0]" (rect 21 107 155 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "cmddata[46..0]" (rect 0 0 74 12)(font "Arial" ))
(text "cmddata[46..0]" (rect 21 123 95 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 312 32)
(output)
(text "block_num[31..0]" (rect 0 0 84 12)(font "Arial" ))
(text "block_num[31..0]" (rect 207 27 291 39)(font "Arial" ))
(line (pt 312 32)(pt 296 32)(line_width 3))
)
(port
(pt 312 48)
(output)
(text "sd_cmd_out" (rect 0 0 60 12)(font "Arial" ))
(text "sd_cmd_out" (rect 231 43 291 55)(font "Arial" ))
(line (pt 312 48)(pt 296 48)(line_width 1))
)
(port
(pt 312 64)
(output)
(text "ram1_wen" (rect 0 0 49 12)(font "Arial" ))
(text "ram1_wen" (rect 242 59 291 71)(font "Arial" ))
(line (pt 312 64)(pt 296 64)(line_width 1))
)
(port
(pt 312 80)
(output)
(text "ram1_ren" (rect 0 0 46 12)(font "Arial" ))
(text "ram1_ren" (rect 245 75 291 87)(font "Arial" ))
(line (pt 312 80)(pt 296 80)(line_width 1))
)
(port
(pt 312 96)
(output)
(text "ram2_wen" (rect 0 0 49 12)(font "Arial" ))
(text "ram2_wen" (rect 242 91 291 103)(font "Arial" ))
(line (pt 312 96)(pt 296 96)(line_width 1))
)
(port
(pt 312 112)
(output)
(text "ram2_ren" (rect 0 0 46 12)(font "Arial" ))
(text "ram2_ren" (rect 245 107 291 119)(font "Arial" ))
(line (pt 312 112)(pt 296 112)(line_width 1))
)
(port
(pt 312 128)
(output)
(text "flag" (rect 0 0 18 12)(font "Arial" ))
(text "flag" (rect 273 123 291 135)(font "Arial" ))
(line (pt 312 128)(pt 296 128)(line_width 1))
)
(port
(pt 312 144)
(output)
(text "crc_en" (rect 0 0 33 12)(font "Arial" ))
(text "crc_en" (rect 258 139 291 151)(font "Arial" ))
(line (pt 312 144)(pt 296 144)(line_width 1))
)
(port
(pt 312 160)
(output)
(text "wraddress[ram_wide-1..0]" (rect 0 0 125 12)(font "Arial" ))
(text "wraddress[ram_wide-1..0]" (rect 166 155 291 167)(font "Arial" ))
(line (pt 312 160)(pt 296 160)(line_width 3))
)
(port
(pt 312 176)
(output)
(text "dcrc[39..0]" (rect 0 0 53 12)(font "Arial" ))
(text "dcrc[39..0]" (rect 238 171 291 183)(font "Arial" ))
(line (pt 312 176)(pt 296 176)(line_width 3))
)
(parameter
"ram_wide"
"7"
""
)
(parameter
"sd_data_wide"
"4"
""
)
(parameter
"sd_ad_wide"
"32"
""
)
(parameter
"cmd_1_en"
"1"
""
)
(drawing
(rectangle (rect 16 16 296 208)(line_width 1))
)
(annotation_block (parameter)(rect 328 -64 428 16))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -