📄 cpld
字号:
/*
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 "graphic" (version "1.3"))
(pin
(input)
(rect 80 232 248 248)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "din[31..0]" (rect 27 1 78 15)(font "Arial" (font_size 8)))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 80 256 248 272)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "load" (rect 51 1 74 15)(font "Arial" (font_size 8)))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 440 224 616 240)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "dout[31..0]" (rect 90 0 150 14)(font "Arial" (font_size 8)))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(symbol
(rect 272 152 408 296)
(text "LPM_SHIFTREG" (rect 19 0 134 16)(font "Arial" (font_size 10)))
(text "1" (rect 3 134 7 144)(font "Arial" (font_size 6)))
(port
(pt 0 56)
(input)
(text "shiftin" (rect 20 47 54 61)(font "Arial" (font_size 8)))
(text "shiftin" (rect 20 47 54 61)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
(unused)
)
(port
(pt 0 40)
(input)
(text "sset" (rect 20 31 44 45)(font "Arial" (font_size 8)))
(text "sset" (rect 20 31 44 45)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40)(line_width 1))
(unused)
)
(port
(pt 0 120)
(input)
(text "enable" (rect 20 111 57 125)(font "Arial" (font_size 8)))
(text "enable" (rect 20 111 57 125)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
(unused)
)
(port
(pt 0 104)
(input)
(text "clock" (rect 20 95 49 109)(font "Arial" (font_size 8))(invisible))
(text "clock" (rect 20 95 49 109)(font "Arial" (font_size 8))(invisible))
(line (pt 0 104)(pt 16 104)(line_width 1))
)
(port
(pt 0 88)
(input)
(text "data[LPM_WIDTH-1..0]" (rect 20 79 146 93)(font "Arial" (font_size 8)))
(text "data[]" (rect 20 79 51 93)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 16 88)(line_width 3))
)
(port
(pt 0 72)
(input)
(text "load" (rect 20 63 43 77)(font "Arial" (font_size 8)))
(text "load" (rect 20 63 43 77)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 1))
(unused)
)
(port
(pt 0 24)
(input)
(text "sclr" (rect 20 15 41 29)(font "Arial" (font_size 8)))
(text "sclr" (rect 20 15 41 29)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(line_width 1))
(unused)
)
(port
(pt 104 144)
(input)
(text "aset" (rect 96 103 110 127)(font "Arial" (font_size 8))(vertical))
(text "aset" (rect 96 103 110 127)(font "Arial" (font_size 8))(vertical))
(line (pt 104 144)(pt 104 128)(line_width 1))
(unused)
)
(port
(pt 88 144)
(input)
(text "aclr" (rect 79 106 93 127)(font "Arial" (font_size 8))(vertical))
(text "aclr" (rect 79 106 93 127)(font "Arial" (font_size 8))(vertical))
(line (pt 88 144)(pt 88 128)(line_width 1))
(unused)
)
(port
(pt 136 64)
(output)
(text "shiftout" (rect 77 55 119 69)(font "Arial" (font_size 8)))
(text "shiftout" (rect 77 55 119 69)(font "Arial" (font_size 8)))
(line (pt 120 64)(pt 136 64)(line_width 1))
(unused)
)
(port
(pt 136 80)
(output)
(text "q[LPM_WIDTH-1..0]" (rect 100 71 208 85)(font "Arial" (font_size 8)))
(text "q[]" (rect 100 71 114 85)(font "Arial" (font_size 8)))
(line (pt 120 80)(pt 136 80)(line_width 3))
)
(parameter
"LPM_AVALUE"
""
"Unsigned value associated with the aset port"
)
(parameter
"LPM_DIRECTION"
"\"RIGHT\""
"Selects LEFT or RIGHT shifting"
"\"LEFT\"" "\"RIGHT\""
)
(parameter
"LPM_SVALUE"
""
"Unsigned value associated with the sset port"
)
(parameter
"LPM_WIDTH"
"32"
"Width of I/O, any integer > 0"
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
)
(drawing
(line (pt 16 16)(pt 120 16)(line_width 1))
(line (pt 16 128)(pt 120 128)(line_width 1))
(line (pt 16 128)(pt 16 16)(line_width 1))
(line (pt 120 128)(pt 120 16)(line_width 1))
(line (pt 16 96)(pt 24 104)(line_width 1))
(line (pt 24 104)(pt 16 112)(line_width 1))
)
(annotation_block (parameter)(rect 408 80 536 152))
)
(connector
(pt 256 256)
(pt 272 256)
)
(connector
(pt 408 232)
(pt 440 232)
(bus)
)
(connector
(pt 248 264)
(pt 256 264)
)
(connector
(pt 248 240)
(pt 272 240)
(bus)
)
(connector
(pt 256 264)
(pt 256 256)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -