/*
|
/*
|
WARNING: Do NOT edit the input and output ports in this file in a text
|
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
|
editor if you plan to continue editing the block that represents it in
|
the Block Editor! File corruption is VERY likely to occur.
|
the Block Editor! File corruption is VERY likely to occur.
|
*/
|
*/
|
/*
|
/*
|
Copyright (C) 1991-2008 Altera Corporation
|
Copyright (C) 1991-2008 Altera Corporation
|
Your use of Altera Corporation's design tools, logic functions
|
Your use of Altera Corporation's design tools, logic functions
|
and other software and tools, and its AMPP partner logic
|
and other software and tools, and its AMPP partner logic
|
functions, and any output files from any of the foregoing
|
functions, and any output files from any of the foregoing
|
(including device programming or simulation files), and any
|
(including device programming or simulation files), and any
|
associated documentation or information are expressly subject
|
associated documentation or information are expressly subject
|
to the terms and conditions of the Altera Program License
|
to the terms and conditions of the Altera Program License
|
Subscription Agreement, Altera MegaCore Function License
|
Subscription Agreement, Altera MegaCore Function License
|
Agreement, or other applicable license agreement, including,
|
Agreement, or other applicable license agreement, including,
|
without limitation, that your use is for the sole purpose of
|
without limitation, that your use is for the sole purpose of
|
programming logic devices manufactured by Altera and sold by
|
programming logic devices manufactured by Altera and sold by
|
Altera or its authorized distributors. Please refer to the
|
Altera or its authorized distributors. Please refer to the
|
applicable agreement for further details.
|
applicable agreement for further details.
|
*/
|
*/
|
(header "symbol" (version "1.1"))
|
(header "symbol" (version "1.1"))
|
(symbol
|
(symbol
|
(rect 16 16 216 176)
|
(rect 16 16 216 176)
|
(text "AdcRecv" (rect 5 0 51 12)(font "Arial" ))
|
(text "AdcRecv" (rect 5 0 51 12)(font "Arial" ))
|
(text "inst" (rect 8 144 25 156)(font "Arial" ))
|
(text "inst" (rect 8 144 25 156)(font "Arial" ))
|
(port
|
(port
|
(pt 0 32)
|
(pt 0 32)
|
(input)
|
(input)
|
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
|
(text "CLK" (rect 0 0 21 12)(font "Arial" ))
|
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
|
(text "CLK" (rect 21 27 42 39)(font "Arial" ))
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 0 48)
|
(pt 0 48)
|
(input)
|
(input)
|
(text "Start" (rect 0 0 23 12)(font "Arial" ))
|
(text "Start" (rect 0 0 23 12)(font "Arial" ))
|
(text "Start" (rect 21 43 44 55)(font "Arial" ))
|
(text "Start" (rect 21 43 44 55)(font "Arial" ))
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 0 64)
|
(pt 0 64)
|
(input)
|
(input)
|
(text "ContinueStart" (rect 0 0 67 12)(font "Arial" ))
|
(text "ContinueStart" (rect 0 0 67 12)(font "Arial" ))
|
(text "ContinueStart" (rect 21 59 88 71)(font "Arial" ))
|
(text "ContinueStart" (rect 21 59 88 71)(font "Arial" ))
|
(line (pt 0 64)(pt 16 64)(line_width 1))
|
(line (pt 0 64)(pt 16 64)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 0 80)
|
(pt 0 80)
|
(input)
|
(input)
|
(text "ShutDown" (rect 0 0 49 12)(font "Arial" ))
|
(text "ShutDown" (rect 0 0 49 12)(font "Arial" ))
|
(text "ShutDown" (rect 21 75 70 87)(font "Arial" ))
|
(text "ShutDown" (rect 21 75 70 87)(font "Arial" ))
|
(line (pt 0 80)(pt 16 80)(line_width 1))
|
(line (pt 0 80)(pt 16 80)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 0 96)
|
(pt 0 96)
|
(input)
|
(input)
|
(text "reset" (rect 0 0 24 12)(font "Arial" ))
|
(text "reset" (rect 0 0 24 12)(font "Arial" ))
|
(text "reset" (rect 21 91 45 103)(font "Arial" ))
|
(text "reset" (rect 21 91 45 103)(font "Arial" ))
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 0 112)
|
(pt 0 112)
|
(input)
|
(input)
|
(text "SDI" (rect 0 0 18 12)(font "Arial" ))
|
(text "SDI" (rect 0 0 18 12)(font "Arial" ))
|
(text "SDI" (rect 21 107 39 119)(font "Arial" ))
|
(text "SDI" (rect 21 107 39 119)(font "Arial" ))
|
(line (pt 0 112)(pt 16 112)(line_width 1))
|
(line (pt 0 112)(pt 16 112)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 200 32)
|
(pt 200 32)
|
(output)
|
(output)
|
(text "SCK" (rect 0 0 22 12)(font "Arial" ))
|
(text "SCK" (rect 0 0 22 12)(font "Arial" ))
|
(text "SCK" (rect 157 27 179 39)(font "Arial" ))
|
(text "SCK" (rect 157 27 179 39)(font "Arial" ))
|
(line (pt 200 32)(pt 184 32)(line_width 1))
|
(line (pt 200 32)(pt 184 32)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 200 48)
|
(pt 200 48)
|
(output)
|
(output)
|
(text "nSS" (rect 0 0 20 12)(font "Arial" ))
|
(text "nSS" (rect 0 0 20 12)(font "Arial" ))
|
(text "nSS" (rect 159 43 179 55)(font "Arial" ))
|
(text "nSS" (rect 159 43 179 55)(font "Arial" ))
|
(line (pt 200 48)(pt 184 48)(line_width 1))
|
(line (pt 200 48)(pt 184 48)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 200 64)
|
(pt 200 64)
|
(output)
|
(output)
|
(text "DQ[datalen-1..0]" (rect 0 0 81 12)(font "Arial" ))
|
(text "DQ[datalen-1..0]" (rect 0 0 81 12)(font "Arial" ))
|
(text "DQ[datalen-1..0]" (rect 98 59 179 71)(font "Arial" ))
|
(text "DQ[datalen-1..0]" (rect 98 59 179 71)(font "Arial" ))
|
(line (pt 200 64)(pt 184 64)(line_width 3))
|
(line (pt 200 64)(pt 184 64)(line_width 3))
|
)
|
)
|
(port
|
(port
|
(pt 200 80)
|
(pt 200 80)
|
(output)
|
(output)
|
(text "Ready" (rect 0 0 33 12)(font "Arial" ))
|
(text "Ready" (rect 0 0 33 12)(font "Arial" ))
|
(text "Ready" (rect 146 75 179 87)(font "Arial" ))
|
(text "Ready" (rect 146 75 179 87)(font "Arial" ))
|
(line (pt 200 80)(pt 184 80)(line_width 1))
|
(line (pt 200 80)(pt 184 80)(line_width 1))
|
)
|
)
|
(port
|
(port
|
(pt 200 96)
|
(pt 200 96)
|
(output)
|
(output)
|
(text "Shift" (rect 0 0 23 12)(font "Arial" ))
|
(text "Shift" (rect 0 0 23 12)(font "Arial" ))
|
(text "Shift" (rect 156 91 179 103)(font "Arial" ))
|
(text "Shift" (rect 156 91 179 103)(font "Arial" ))
|
(line (pt 200 96)(pt 184 96)(line_width 1))
|
(line (pt 200 96)(pt 184 96)(line_width 1))
|
)
|
)
|
|
(port
|
|
(pt 200 112)
|
|
(output)
|
|
(text "Sleeping" (rect 0 0 41 12)(font "Arial" ))
|
|
(text "Sleeping" (rect 138 107 179 119)(font "Arial" ))
|
|
(line (pt 200 112)(pt 184 112)(line_width 1))
|
|
)
|
(parameter
|
(parameter
|
"SPILen"
|
"SPILen"
|
"16"
|
"16"
|
""
|
""
|
(type "PARAMETER_SIGNED_DEC") )
|
(type "PARAMETER_SIGNED_DEC") )
|
(parameter
|
(parameter
|
"DataLen"
|
"DataLen"
|
"16"
|
"16"
|
""
|
""
|
(type "PARAMETER_SIGNED_DEC") )
|
(type "PARAMETER_SIGNED_DEC") )
|
(parameter
|
(parameter
|
"DataOffset"
|
"DataOffset"
|
"0"
|
"0"
|
""
|
""
|
(type "PARAMETER_SIGNED_DEC") )
|
(type "PARAMETER_SIGNED_DEC") )
|
(parameter
|
(parameter
|
"SDLen"
|
"SDLen"
|
"1"
|
"1"
|
""
|
""
|
(type "PARAMETER_SIGNED_DEC") )
|
(type "PARAMETER_SIGNED_DEC") )
|
(parameter
|
(parameter
|
"SDMax"
|
"SDMax"
|
"10"
|
"10"
|
""
|
""
|
(type "PARAMETER_SIGNED_DEC") )
|
(type "PARAMETER_SIGNED_DEC") )
|
(parameter
|
(parameter
|
"QuietLen"
|
"QuietLen"
|
"1"
|
"1"
|
""
|
""
|
(type "PARAMETER_SIGNED_DEC") )
|
(type "PARAMETER_SIGNED_DEC") )
|
(drawing
|
(drawing
|
(rectangle (rect 16 16 184 144)(line_width 1))
|
(rectangle (rect 16 16 184 144)(line_width 1))
|
)
|
)
|
(annotation_block (parameter)(rect 216 -64 316 16))
|
(annotation_block (parameter)(rect 216 -64 316 16))
|
)
|
)
|
|
|