test_cpld_to_dsp.bsf
来自「基于ATEREAL EPM1270T144C5N CPLD 压力传感器数据采集源」· BSF 代码 · 共 225 行
BSF
225 行
/*
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 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 240)
(text "test_cpld_to_dsp" (rect 5 0 88 12)(font "Arial" ))
(text "inst" (rect 8 208 25 220)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "cs" (rect 0 0 11 12)(font "Arial" ))
(text "cs" (rect 21 27 32 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "dsp_clk" (rect 0 0 37 12)(font "Arial" ))
(text "dsp_clk" (rect 21 43 58 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "rst" (rect 0 0 12 12)(font "Arial" ))
(text "rst" (rect 21 59 33 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "ad_in_hx[24..0]" (rect 0 0 75 12)(font "Arial" ))
(text "ad_in_hx[24..0]" (rect 21 75 96 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "ad_in_lz[23..0]" (rect 0 0 70 12)(font "Arial" ))
(text "ad_in_lz[23..0]" (rect 21 91 91 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 3))
)
(port
(pt 0 112)
(input)
(text "code11_in[31..0]" (rect 0 0 81 12)(font "Arial" ))
(text "code11_in[31..0]" (rect 21 107 102 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 3))
)
(port
(pt 0 128)
(input)
(text "code22_in[31..0]" (rect 0 0 81 12)(font "Arial" ))
(text "code22_in[31..0]" (rect 21 123 102 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 3))
)
(port
(pt 0 144)
(input)
(text "ad_in_zx[23..0]" (rect 0 0 74 12)(font "Arial" ))
(text "ad_in_zx[23..0]" (rect 21 139 95 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 3))
)
(port
(pt 0 160)
(input)
(text "position[31..0]" (rect 0 0 69 12)(font "Arial" ))
(text "position[31..0]" (rect 21 155 90 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 3))
)
(port
(pt 0 176)
(input)
(text "limit_da[7..0]" (rect 0 0 63 12)(font "Arial" ))
(text "limit_da[7..0]" (rect 21 171 84 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 3))
)
(port
(pt 200 32)
(output)
(text "data_out[7..0]" (rect 0 0 68 12)(font "Arial" ))
(text "data_out[7..0]" (rect 111 27 179 39)(font "Arial" ))
(line (pt 200 32)(pt 184 32)(line_width 3))
)
(port
(pt 200 48)
(output)
(text "test_dd" (rect 0 0 36 12)(font "Arial" ))
(text "test_dd" (rect 143 43 179 55)(font "Arial" ))
(line (pt 200 48)(pt 184 48)(line_width 1))
)
(parameter
"D1"
"B\"00000\""
""
)
(parameter
"D2"
"B\"00001\""
""
)
(parameter
"D3"
"B\"00010\""
""
)
(parameter
"D4"
"B\"00011\""
""
)
(parameter
"D5"
"B\"00100\""
""
)
(parameter
"D6"
"B\"00101\""
""
)
(parameter
"D7"
"B\"00110\""
""
)
(parameter
"D8"
"B\"00111\""
""
)
(parameter
"D9"
"B\"01000\""
""
)
(parameter
"D10"
"B\"01001\""
""
)
(parameter
"D11"
"B\"01010\""
""
)
(parameter
"D12"
"B\"01011\""
""
)
(parameter
"D13"
"B\"01100\""
""
)
(parameter
"D14"
"B\"01101\""
""
)
(parameter
"D15"
"B\"01110\""
""
)
(parameter
"D16"
"B\"01111\""
""
)
(parameter
"D17"
"B\"10000\""
""
)
(parameter
"D18"
"B\"10001\""
""
)
(parameter
"D19"
"B\"10010\""
""
)
(parameter
"D20"
"B\"10011\""
""
)
(parameter
"D21"
"B\"10100\""
""
)
(parameter
"D22"
"B\"10101\""
""
)
(drawing
(rectangle (rect 16 16 184 208)(line_width 1))
)
(annotation_block (parameter)(rect 216 -64 316 16))
)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?