📄 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 64 168 80)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "a" (rect 5 1 12 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 184 168 200)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "b" (rect 5 1 12 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 160 168 176)
(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
(text "sel" (rect 5 1 21 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 384 80 560 96)
(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
(text "q" (rect 90 0 97 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 168 56 232 96)
(text "AND2" (rect 1 -1 25 9)(font "Arial" (font_size 6)))
(text "1" (rect 1 30 5 40)(font "Arial" (font_size 6)))
(port
(pt 0 16)
(input)
(text "IN1" (rect 6 6 23 18)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 6 6 23 18)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 6 22 23 34)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 6 22 23 34)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 51 14 68 26)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 51 14 68 26)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 36)(pt 31 36)(line_width 1))
(line (pt 14 12)(pt 32 12)(line_width 1))
(line (pt 14 36)(pt 14 12)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 240 152 304 192)
(text "AND2" (rect 1 -1 25 9)(font "Arial" (font_size 6)))
(text "13" (rect 1 30 10 40)(font "Arial" (font_size 6)))
(port
(pt 0 16)
(input)
(text "IN1" (rect 6 6 23 18)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 6 6 23 18)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 6 22 23 34)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 6 22 23 34)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 51 14 68 26)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 51 14 68 26)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 36)(pt 31 36)(line_width 1))
(line (pt 14 12)(pt 32 12)(line_width 1))
(line (pt 14 36)(pt 14 12)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 168 152 216 184)
(text "NOT" (rect 1 -1 21 9)(font "Arial" (font_size 6)))
(text "2" (rect 1 22 5 32)(font "Arial" (font_size 6)))
(port
(pt 0 16)
(input)
(text "IN" (rect 0 6 11 18)(font "Courier New" (bold))(invisible))
(text "IN" (rect 0 6 11 18)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 41 6 58 18)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 41 6 58 18)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(text "2" (rect 0 6 5 18)(font "Courier New" (bold))(invisible))
(line (pt 13 25)(pt 13 7)(line_width 1))
(line (pt 13 7)(pt 31 16)(line_width 1))
(line (pt 13 25)(pt 31 16)(line_width 1))
(circle (rect 31 12 39 20)(line_width 1))
)
)
(symbol
(rect 304 64 368 104)
(text "OR2" (rect 1 -1 19 9)(font "Arial" (font_size 6)))
(text "10" (rect 1 30 10 40)(font "Arial" (font_size 6)))
(port
(pt 0 16)
(input)
(text "IN1" (rect 5 6 22 18)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 5 6 22 18)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 6 22 23 34)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 6 22 23 34)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 53 14 70 26)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 53 14 70 26)(font "Courier New" (bold))(invisible))
(line (pt 49 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 13)(pt 25 13)(line_width 1))
(line (pt 14 35)(pt 25 35)(line_width 1))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1))
)
)
(connector
(pt 232 80)
(pt 304 80)
)
(connector
(pt 368 88)
(pt 384 88)
)
(connector
(pt 168 192)
(pt 240 192)
)
(connector
(pt 216 168)
(pt 240 168)
)
(connector
(pt 168 168)
(pt 168 88)
)
(connector
(pt 240 192)
(pt 240 184)
)
(connector
(pt 304 176)
(pt 304 96)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -