📄 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 0 144 168 160)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "a[7..0]" (rect 41 1 76 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 0 16 168 32)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "clk" (rect 58 1 73 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 0 312 168 328)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "b[7..0]" (rect 41 1 76 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 600 408 776 424)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "co[15..0]" (rect 90 0 139 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 184 80 360 224)
(text "LPM_FF" (rect 19 0 78 16)(font "Arial" (font_size 10)))
(text "1" (rect 3 134 7 144)(font "Arial" (font_size 6)))
(port
(pt 0 104)
(input)
(text "enable" (rect 20 95 57 109)(font "Arial" (font_size 8)))
(text "enable" (rect 20 95 57 109)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
(unused)
)
(port
(pt 0 88)
(input)
(text "clock" (rect 20 79 49 93)(font "Arial" (font_size 8))(invisible))
(text "clock" (rect 20 79 49 93)(font "Arial" (font_size 8))(invisible))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "aload" (rect 20 15 50 29)(font "Arial" (font_size 8)))
(text "aload" (rect 20 15 50 29)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(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 56)
(input)
(text "sload" (rect 20 47 50 61)(font "Arial" (font_size 8)))
(text "sload" (rect 20 47 50 61)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
(unused)
)
(port
(pt 88 0)
(input)
(text "aset" (rect 79 15 103 29)(font "Arial" (font_size 8)))
(text "aset" (rect 79 15 103 29)(font "Arial" (font_size 8)))
(line (pt 88 16)(pt 88 0)(line_width 1))
(unused)
)
(port
(pt 0 120)
(input)
(text "sclr" (rect 20 111 41 125)(font "Arial" (font_size 8)))
(text "sclr" (rect 20 111 41 125)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
(unused)
)
(port
(pt 88 144)
(input)
(text "aclr" (rect 80 111 101 125)(font "Arial" (font_size 8)))
(text "aclr" (rect 80 111 101 125)(font "Arial" (font_size 8)))
(line (pt 88 144)(pt 88 128)(line_width 1))
(unused)
)
(port
(pt 0 72)
(input)
(text "data[LPM_WIDTH-1..0]" (rect 20 63 146 77)(font "Arial" (font_size 8)))
(text "data[]" (rect 20 63 51 77)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 3))
)
(port
(pt 176 88)
(output)
(text "q[LPM_WIDTH-1..0]" (rect 144 79 252 93)(font "Arial" (font_size 8)))
(text "q[]" (rect 144 79 158 93)(font "Arial" (font_size 8)))
(line (pt 160 88)(pt 176 88)(line_width 3))
)
(parameter
"LPM_AVALUE"
""
"Unsigned value associated with the aset port"
)
(parameter
"LPM_FFTYPE"
"\"DFF\""
"Selects behavior as DFF or TFF"
"\"DFF\"" "\"TFF\""
)
(parameter
"LPM_SVALUE"
""
"Unsigned value associated with the sset port"
)
(parameter
"LPM_WIDTH"
" 8"
"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 160 16)(line_width 1))
(line (pt 16 128)(pt 160 128)(line_width 1))
(line (pt 160 128)(pt 160 16)(line_width 1))
(line (pt 16 128)(pt 16 16)(line_width 1))
(line (pt 16 80)(pt 24 88)(line_width 1))
(line (pt 24 88)(pt 16 96)(line_width 1))
)
(annotation_block (parameter)(rect 360 8 472 80))
)
(symbol
(rect 392 328 568 472)
(text "LPM_FF" (rect 19 0 78 16)(font "Arial" (font_size 10)))
(text "7" (rect 3 134 7 144)(font "Arial" (font_size 6)))
(port
(pt 0 104)
(input)
(text "enable" (rect 20 95 57 109)(font "Arial" (font_size 8)))
(text "enable" (rect 20 95 57 109)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
(unused)
)
(port
(pt 0 88)
(input)
(text "clock" (rect 20 79 49 93)(font "Arial" (font_size 8))(invisible))
(text "clock" (rect 20 79 49 93)(font "Arial" (font_size 8))(invisible))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "aload" (rect 20 15 50 29)(font "Arial" (font_size 8)))
(text "aload" (rect 20 15 50 29)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24)(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 56)
(input)
(text "sload" (rect 20 47 50 61)(font "Arial" (font_size 8)))
(text "sload" (rect 20 47 50 61)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56)(line_width 1))
(unused)
)
(port
(pt 88 0)
(input)
(text "aset" (rect 79 15 103 29)(font "Arial" (font_size 8)))
(text "aset" (rect 79 15 103 29)(font "Arial" (font_size 8)))
(line (pt 88 16)(pt 88 0)(line_width 1))
(unused)
)
(port
(pt 0 120)
(input)
(text "sclr" (rect 20 111 41 125)(font "Arial" (font_size 8)))
(text "sclr" (rect 20 111 41 125)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 16 120)(line_width 1))
(unused)
)
(port
(pt 88 144)
(input)
(text "aclr" (rect 80 111 101 125)(font "Arial" (font_size 8)))
(text "aclr" (rect 80 111 101 125)(font "Arial" (font_size 8)))
(line (pt 88 144)(pt 88 128)(line_width 1))
(unused)
)
(port
(pt 0 72)
(input)
(text "data[LPM_WIDTH-1..0]" (rect 20 63 146 77)(font "Arial" (font_size 8)))
(text "data[]" (rect 20 63 51 77)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72)(line_width 3))
)
(port
(pt 176 88)
(output)
(text "q[LPM_WIDTH-1..0]" (rect 144 79 252 93)(font "Arial" (font_size 8)))
(text "q[]" (rect 144 79 158 93)(font "Arial" (font_size 8)))
(line (pt 160 88)(pt 176 88)(line_width 3))
)
(parameter
"LPM_AVALUE"
""
"Unsigned value associated with the aset port"
)
(parameter
"LPM_FFTYPE"
"\"DFF\""
"Selects behavior as DFF or TFF"
"\"DFF\"" "\"TFF\""
)
(parameter
"LPM_SVALUE"
""
"Unsigned value associated with the sset port"
)
(parameter
"LPM_WIDTH"
"16"
"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 160 16)(line_width 1))
(line (pt 16 128)(pt 160 128)(line_width 1))
(line (pt 160 128)(pt 160 16)(line_width 1))
(line (pt 16 128)(pt 16 16)(line_width 1))
(line (pt 16 80)(pt 24 88)(line_width 1))
(line (pt 24 88)(pt 16 96)(line_width 1))
)
(annotation_block (parameter)(rect 568 256 680 328))
)
(symbol
(rect 184 248 360 392)
(text "LPM_FF" (rect 19 0 78 16)(font "Arial" (font_size 10)))
(text "2" (rect 3 134 7 144)(font "Arial" (font_size 6)))
(port
(pt 0 104)
(input)
(text "enable" (rect 20 95 57 109)(font "Arial" (font_size 8)))
(text "enable" (rect 20 95 57 109)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 16 104)(line_width 1))
(unused)
)
(port
(pt 0 88)
(input)
(text "clock" (rect 20 79 49 93)(font "Arial" (font_size 8))(invisible))
(text "clock" (rect 20 79 49 93)(font "Arial" (font_size 8))(invisible))
(line (pt 0 88)(pt 16 88)(line_width 1))
)
(port
(pt 0 24)
(input)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -