kopia lustrzana https://github.com/UU5JPP/Wolf-LITE
107 wiersze
3.2 KiB
Plaintext
107 wiersze
3.2 KiB
Plaintext
/*
|
|
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) 2018 Intel Corporation. All rights reserved.
|
|
Your use of Intel 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 Intel Program License
|
|
Subscription Agreement, the Intel Quartus Prime License Agreement,
|
|
the Intel FPGA IP License Agreement, or other applicable license
|
|
agreement, including, without limitation, that your use is for
|
|
the sole purpose of programming logic devices manufactured by
|
|
Intel and sold by Intel or its authorized distributors. Please
|
|
refer to the applicable agreement for further details.
|
|
*/
|
|
(header "symbol" (version "1.1"))
|
|
(symbol
|
|
(rect 16 16 232 160)
|
|
(text "spi_interface" (rect 5 0 55 12)(font "Arial" ))
|
|
(text "inst" (rect 8 128 20 140)(font "Arial" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "clk_in" (rect 0 0 22 12)(font "Arial" ))
|
|
(text "clk_in" (rect 21 27 43 39)(font "Arial" ))
|
|
(line (pt 0 32)(pt 16 32)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "enabled" (rect 0 0 29 12)(font "Arial" ))
|
|
(text "enabled" (rect 21 43 50 55)(font "Arial" ))
|
|
(line (pt 0 48)(pt 16 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "data_in[7..0]" (rect 0 0 48 12)(font "Arial" ))
|
|
(text "data_in[7..0]" (rect 21 59 69 71)(font "Arial" ))
|
|
(line (pt 0 64)(pt 16 64)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 80)
|
|
(input)
|
|
(text "continue_read" (rect 0 0 55 12)(font "Arial" ))
|
|
(text "continue_read" (rect 21 75 76 87)(font "Arial" ))
|
|
(line (pt 0 80)(pt 16 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 0 96)
|
|
(input)
|
|
(text "MISO_DQ1" (rect 0 0 47 12)(font "Arial" ))
|
|
(text "MISO_DQ1" (rect 21 91 68 103)(font "Arial" ))
|
|
(line (pt 0 96)(pt 16 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 216 32)
|
|
(output)
|
|
(text "data_out[7..0]" (rect 0 0 54 12)(font "Arial" ))
|
|
(text "data_out[7..0]" (rect 141 27 195 39)(font "Arial" ))
|
|
(line (pt 216 32)(pt 200 32)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 216 48)
|
|
(output)
|
|
(text "MOSI_DQ0" (rect 0 0 48 12)(font "Arial" ))
|
|
(text "MOSI_DQ0" (rect 147 43 195 55)(font "Arial" ))
|
|
(line (pt 216 48)(pt 200 48)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 216 64)
|
|
(output)
|
|
(text "SCK_C" (rect 0 0 33 12)(font "Arial" ))
|
|
(text "SCK_C" (rect 162 59 195 71)(font "Arial" ))
|
|
(line (pt 216 64)(pt 200 64)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 216 80)
|
|
(output)
|
|
(text "CS_S" (rect 0 0 24 12)(font "Arial" ))
|
|
(text "CS_S" (rect 171 75 195 87)(font "Arial" ))
|
|
(line (pt 216 80)(pt 200 80)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 216 96)
|
|
(output)
|
|
(text "busy" (rect 0 0 20 12)(font "Arial" ))
|
|
(text "busy" (rect 175 91 195 103)(font "Arial" ))
|
|
(line (pt 216 96)(pt 200 96)(line_width 1))
|
|
)
|
|
(port
|
|
(pt 216 112)
|
|
(output)
|
|
(text "spi_stage[7..0]" (rect 0 0 57 12)(font "Arial" ))
|
|
(text "spi_stage[7..0]" (rect 138 107 195 119)(font "Arial" ))
|
|
(line (pt 216 112)(pt 200 112)(line_width 3))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 200 128)(line_width 1))
|
|
)
|
|
)
|