📄 adc_base.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 192 144)
(text "adc_base" (rect 5 0 52 12)(font "Arial" ))
(text "inst" (rect 8 112 25 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "ad_enable" (rect 0 0 49 12)(font "Arial" ))
(text "ad_enable" (rect 21 27 70 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset1_n" (rect 0 0 42 12)(font "Arial" ))
(text "reset1_n" (rect 21 43 63 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "sclk" (rect 0 0 20 12)(font "Arial" ))
(text "sclk" (rect 21 59 41 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "sdo" (rect 0 0 17 12)(font "Arial" ))
(text "sdo" (rect 21 75 38 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "sdofs" (rect 0 0 28 12)(font "Arial" ))
(text "sdofs" (rect 21 91 49 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 176 32)
(output)
(text "rev_data[15..0]" (rect 0 0 75 12)(font "Arial" ))
(text "rev_data[15..0]" (rect 80 27 155 39)(font "Arial" ))
(line (pt 176 32)(pt 160 32)(line_width 3))
)
(port
(pt 176 48)
(output)
(text "reset2_n" (rect 0 0 42 12)(font "Arial" ))
(text "reset2_n" (rect 113 43 155 55)(font "Arial" ))
(line (pt 176 48)(pt 160 48)(line_width 1))
)
(port
(pt 176 64)
(output)
(text "se" (rect 0 0 11 12)(font "Arial" ))
(text "se" (rect 144 59 155 71)(font "Arial" ))
(line (pt 176 64)(pt 160 64)(line_width 1))
)
(port
(pt 176 80)
(output)
(text "sdi" (rect 0 0 14 12)(font "Arial" ))
(text "sdi" (rect 141 75 155 87)(font "Arial" ))
(line (pt 176 80)(pt 160 80)(line_width 1))
)
(port
(pt 176 96)
(output)
(text "data_ready" (rect 0 0 55 12)(font "Arial" ))
(text "data_ready" (rect 100 91 155 103)(font "Arial" ))
(line (pt 176 96)(pt 160 96)(line_width 1))
)
(parameter
"all_data"
"B\"1000000100000011100000100000000110000011000010001000010000000000100001010000000010000110100000011000011100000000100000000000000101111111111111111111111111111111\""
""
)
(parameter
"idle"
"B\"00\""
""
)
(parameter
"spi_shift0"
"B\"01\""
""
)
(parameter
"spi_shift1"
"B\"10\""
""
)
(parameter
"spi_shift_comp"
"B\"11\""
""
)
(parameter
"ready"
"B\"00\""
""
)
(parameter
"spi_shift2"
"B\"01\""
""
)
(parameter
"spi_shift3"
"B\"10\""
""
)
(parameter
"spi_shift_fini"
"B\"11\""
""
)
(drawing
(rectangle (rect 16 16 160 112)(line_width 1))
)
(annotation_block (parameter)(rect 192 -64 292 16))
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -