CP选择装置

This commit is contained in:
juzeon 2022-04-07 17:20:49 +08:00
父節點 461d5caad4
當前提交 0710801e99
共有 9 個檔案被更改,包括 3068 行新增0 行删除

886
cp_selector/38_decoder.bdf Normal file
查看文件

@ -0,0 +1,886 @@
/*
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-2009 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 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 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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect 32 328 200 344)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "I0" (rect 5 0 14 12)(font "Arial" ))
(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 32 240 200 256)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "I1" (rect 5 0 14 12)(font "Arial" ))
(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 32 144 200 160)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "I2" (rect 5 0 14 12)(font "Arial" ))
(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 664 40 840 56)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y7" (rect 90 0 104 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 664 376 840 392)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y0" (rect 90 0 104 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 664 328 840 344)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y1" (rect 90 0 104 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 664 280 840 296)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y2" (rect 90 0 104 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 664 232 840 248)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y3" (rect 90 0 104 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 664 184 840 200)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y4" (rect 90 0 104 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 664 136 840 152)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y5" (rect 90 0 104 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 664 88 840 104)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Y6" (rect 90 0 104 12)(font "Arial" ))
(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 296 136 344 168)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst" (rect 3 21 20 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(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 296 232 344 264)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(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 296 320 344 352)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16)(line_width 1))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16)(line_width 1))
)
(drawing
(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 544 24 608 72)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 544 72 608 120)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 544 120 608 168)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst5" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 544 168 608 216)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst6" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 544 216 608 264)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 544 264 608 312)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst8" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 544 312 608 360)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst9" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(symbol
(rect 544 360 608 408)
(text "AND3" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst10" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 16 16)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 15 19 27)(font "Courier New" (bold))(invisible))
(line (pt 0 24)(pt 16 24)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 43 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 16 12)(pt 31 12)(line_width 1))
(line (pt 16 37)(pt 31 37)(line_width 1))
(line (pt 16 12)(pt 16 37)(line_width 1))
(arc (pt 31 36)(pt 31 12)(rect 19 12 44 37)(line_width 1))
)
)
(connector
(pt 216 40)
(pt 216 152)
)
(connector
(pt 240 48)
(pt 240 248)
)
(connector
(pt 264 56)
(pt 264 336)
)
(connector
(pt 544 184)
(pt 360 184)
)
(connector
(pt 344 152)
(pt 376 152)
)
(connector
(pt 376 376)
(pt 544 376)
)
(connector
(pt 544 88)
(pt 360 88)
)
(connector
(pt 544 288)
(pt 416 288)
)
(connector
(pt 544 344)
(pt 464 344)
)
(connector
(pt 544 96)
(pt 416 96)
)
(connector
(pt 544 328)
(pt 376 328)
)
(connector
(pt 544 280)
(pt 376 280)
)
(connector
(pt 544 232)
(pt 376 232)
)
(connector
(pt 544 240)
(pt 416 240)
)
(connector
(pt 544 104)
(pt 520 104)
)
(connector
(pt 520 392)
(pt 544 392)
)
(connector
(pt 544 296)
(pt 520 296)
)
(connector
(pt 544 200)
(pt 520 200)
)
(connector
(pt 344 336)
(pt 520 336)
)
(connector
(pt 544 136)
(pt 360 136)
)
(connector
(pt 544 152)
(pt 464 152)
)
(connector
(pt 544 144)
(pt 400 144)
)
(connector
(pt 400 384)
(pt 544 384)
)
(connector
(pt 544 336)
(pt 528 336)
)
(connector
(pt 528 336)
(pt 528 352)
)
(connector
(pt 528 352)
(pt 400 352)
)
(connector
(pt 544 192)
(pt 400 192)
)
(connector
(pt 344 248)
(pt 400 248)
)
(connector
(pt 544 248)
(pt 464 248)
)
(connector
(pt 608 336)
(pt 664 336)
)
(connector
(pt 608 288)
(pt 664 288)
)
(connector
(pt 608 384)
(pt 664 384)
)
(connector
(pt 608 240)
(pt 664 240)
)
(connector
(pt 608 192)
(pt 664 192)
)
(connector
(pt 608 144)
(pt 664 144)
)
(connector
(pt 608 96)
(pt 664 96)
)
(connector
(pt 608 48)
(pt 664 48)
)
(connector
(pt 200 152)
(pt 216 152)
)
(connector
(pt 216 152)
(pt 296 152)
)
(connector
(pt 200 248)
(pt 240 248)
)
(connector
(pt 240 248)
(pt 296 248)
)
(connector
(pt 200 336)
(pt 264 336)
)
(connector
(pt 264 336)
(pt 296 336)
)
(connector
(pt 216 40)
(pt 360 40)
)
(connector
(pt 360 40)
(pt 544 40)
)
(connector
(pt 240 48)
(pt 416 48)
)
(connector
(pt 416 48)
(pt 544 48)
)
(connector
(pt 376 328)
(pt 376 376)
)
(connector
(pt 376 152)
(pt 376 232)
)
(connector
(pt 376 232)
(pt 376 280)
)
(connector
(pt 376 280)
(pt 376 328)
)
(connector
(pt 416 48)
(pt 416 96)
)
(connector
(pt 416 96)
(pt 416 240)
)
(connector
(pt 416 240)
(pt 416 288)
)
(connector
(pt 520 104)
(pt 520 200)
)
(connector
(pt 520 200)
(pt 520 296)
)
(connector
(pt 520 296)
(pt 520 336)
)
(connector
(pt 520 336)
(pt 520 392)
)
(connector
(pt 360 40)
(pt 360 88)
)
(connector
(pt 360 88)
(pt 360 136)
)
(connector
(pt 360 136)
(pt 360 184)
)
(connector
(pt 264 56)
(pt 464 56)
)
(connector
(pt 464 56)
(pt 544 56)
)
(connector
(pt 400 144)
(pt 400 192)
)
(connector
(pt 400 192)
(pt 400 248)
)
(connector
(pt 400 248)
(pt 400 352)
)
(connector
(pt 400 352)
(pt 400 384)
)
(connector
(pt 464 56)
(pt 464 152)
)
(connector
(pt 464 152)
(pt 464 248)
)
(connector
(pt 464 248)
(pt 464 344)
)
(junction (pt 216 152))
(junction (pt 240 248))
(junction (pt 264 336))
(junction (pt 360 88))
(junction (pt 360 40))
(junction (pt 416 96))
(junction (pt 416 48))
(junction (pt 376 328))
(junction (pt 376 280))
(junction (pt 376 232))
(junction (pt 416 240))
(junction (pt 520 200))
(junction (pt 520 296))
(junction (pt 520 336))
(junction (pt 360 136))
(junction (pt 464 152))
(junction (pt 464 56))
(junction (pt 400 352))
(junction (pt 400 192))
(junction (pt 400 248))
(junction (pt 464 248))

106
cp_selector/38_decoder.bsf Normal file
查看文件

@ -0,0 +1,106 @@
/*
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-2009 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 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 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 "symbol" (version "1.1"))
(symbol
(rect 16 16 112 208)
(text "38_decoder" (rect 5 0 73 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "I2" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I2" (rect 21 27 30 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "I1" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I1" (rect 21 43 30 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "I0" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I0" (rect 21 59 30 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(output)
(text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(output)
(text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(output)
(text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(output)
(text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 176)(line_width 1))
)
)

770
cp_selector/cp_selector.bdf Normal file
查看文件

@ -0,0 +1,770 @@
/*
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-2009 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 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 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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect 424 272 592 288)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CP_EN0" (rect 5 0 47 12)(font "Arial" ))
(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 424 256 592 272)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CP_EN1" (rect 5 0 47 12)(font "Arial" ))
(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 424 240 592 256)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CP_EN2" (rect 5 0 47 12)(font "Arial" ))
(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 792 376 960 392)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CP" (rect 5 0 20 12)(font "Arial" ))
(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 1288 792 1464 808)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_0" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 752 1464 768)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_1" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 712 1464 728)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_2" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 672 1464 688)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_3" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 632 1464 648)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_4" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 592 1464 608)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_5" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 552 1464 568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_6" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 512 1464 528)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_7" (rect 90 0 117 12)(font "Arial" ))
(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 616 216 712 408)
(text "38_decoder" (rect 5 0 73 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "I2" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I2" (rect 21 27 30 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "I1" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I1" (rect 21 43 30 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "I0" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I0" (rect 21 59 30 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(output)
(text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(output)
(text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(output)
(text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(output)
(text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 176)(line_width 1))
)
)
(symbol
(rect 1032 776 1096 824)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 736 1096 784)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 696 1096 744)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 656 1096 704)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst5" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 616 1096 664)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst6" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 576 1096 624)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 536 1096 584)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst8" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 496 1096 544)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst9" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(connector
(pt 592 280)
(pt 616 280)
)
(connector
(pt 592 264)
(pt 616 264)
)
(connector
(pt 592 248)
(pt 616 248)
)
(connector
(pt 1096 800)
(pt 1288 800)
)
(connector
(pt 1096 760)
(pt 1288 760)
)
(connector
(pt 1096 720)
(pt 1288 720)
)
(connector
(pt 1096 680)
(pt 1288 680)
)
(connector
(pt 1096 640)
(pt 1288 640)
)
(connector
(pt 1096 600)
(pt 1288 600)
)
(connector
(pt 1096 560)
(pt 1288 560)
)
(connector
(pt 1096 520)
(pt 1288 520)
)
(connector
(pt 712 360)
(pt 720 360)
)
(connector
(pt 720 360)
(pt 720 808)
)
(connector
(pt 720 808)
(pt 1032 808)
)
(connector
(pt 712 344)
(pt 728 344)
)
(connector
(pt 728 344)
(pt 728 768)
)
(connector
(pt 728 768)
(pt 1032 768)
)
(connector
(pt 712 328)
(pt 736 328)
)
(connector
(pt 736 328)
(pt 736 728)
)
(connector
(pt 736 728)
(pt 1032 728)
)
(connector
(pt 712 312)
(pt 744 312)
)
(connector
(pt 744 312)
(pt 744 688)
)
(connector
(pt 744 688)
(pt 1032 688)
)
(connector
(pt 712 296)
(pt 752 296)
)
(connector
(pt 752 296)
(pt 752 648)
)
(connector
(pt 752 648)
(pt 1032 648)
)
(connector
(pt 712 280)
(pt 760 280)
)
(connector
(pt 760 280)
(pt 760 608)
)
(connector
(pt 760 608)
(pt 1032 608)
)
(connector
(pt 712 264)
(pt 768 264)
)
(connector
(pt 768 264)
(pt 768 568)
)
(connector
(pt 768 568)
(pt 1032 568)
)
(connector
(pt 712 248)
(pt 776 248)
)
(connector
(pt 776 248)
(pt 776 528)
)
(connector
(pt 776 528)
(pt 1032 528)
)
(connector
(pt 960 384)
(pt 992 384)
)
(connector
(pt 992 792)
(pt 1032 792)
)
(connector
(pt 1032 752)
(pt 992 752)
)
(connector
(pt 992 752)
(pt 992 792)
)
(connector
(pt 1032 712)
(pt 992 712)
)
(connector
(pt 992 712)
(pt 992 752)
)
(connector
(pt 1032 672)
(pt 992 672)
)
(connector
(pt 992 672)
(pt 992 712)
)
(connector
(pt 1032 632)
(pt 992 632)
)
(connector
(pt 992 632)
(pt 992 672)
)
(connector
(pt 1032 592)
(pt 992 592)
)
(connector
(pt 992 592)
(pt 992 632)
)
(connector
(pt 1032 552)
(pt 992 552)
)
(connector
(pt 992 552)
(pt 992 592)
)
(connector
(pt 1032 512)
(pt 992 512)
)
(connector
(pt 992 384)
(pt 992 512)
)
(connector
(pt 992 512)
(pt 992 552)
)
(junction (pt 992 752))
(junction (pt 992 712))
(junction (pt 992 672))
(junction (pt 992 632))
(junction (pt 992 592))
(junction (pt 992 552))
(junction (pt 992 512))

113
cp_selector/cp_selector.bsf Normal file
查看文件

@ -0,0 +1,113 @@
/*
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-2009 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 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 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 "symbol" (version "1.1"))
(symbol
(rect 16 16 144 208)
(text "cp_selector" (rect 5 0 72 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CP_EN2" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN2" (rect 21 27 65 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "CP_EN1" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN1" (rect 21 43 65 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "CP_EN0" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN0" (rect 21 59 65 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 21 75 36 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "CP_7" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_7" (rect 78 27 107 41)(font "Arial" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "CP_6" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_6" (rect 78 43 107 57)(font "Arial" (font_size 8)))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "CP_5" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_5" (rect 78 59 107 73)(font "Arial" (font_size 8)))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 80)
(output)
(text "CP_4" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_4" (rect 78 75 107 89)(font "Arial" (font_size 8)))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "CP_3" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_3" (rect 78 91 107 105)(font "Arial" (font_size 8)))
(line (pt 128 96)(pt 112 96)(line_width 1))
)
(port
(pt 128 112)
(output)
(text "CP_2" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_2" (rect 78 107 107 121)(font "Arial" (font_size 8)))
(line (pt 128 112)(pt 112 112)(line_width 1))
)
(port
(pt 128 128)
(output)
(text "CP_1" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_1" (rect 78 123 107 137)(font "Arial" (font_size 8)))
(line (pt 128 128)(pt 112 128)(line_width 1))
)
(port
(pt 128 144)
(output)
(text "CP_0" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_0" (rect 78 139 107 153)(font "Arial" (font_size 8)))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 176)(line_width 1))
)
)

查看文件

@ -0,0 +1,30 @@
# -------------------------------------------------------------------------- #
#
# Copyright (C) 1991-2009 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 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 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.
#
# -------------------------------------------------------------------------- #
#
# Quartus II
# Version 9.0 Build 235 06/17/2009 Service Pack 2 SJ Web Edition
# Date created = 17:05:19 April 07, 2022
#
# -------------------------------------------------------------------------- #
QUARTUS_VERSION = "9.0"
DATE = "17:05:19 April 07, 2022"
# Revisions
PROJECT_REVISION = "cp_selector"

查看文件

@ -0,0 +1,48 @@
# -------------------------------------------------------------------------- #
#
# Copyright (C) 1991-2009 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 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 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.
#
# -------------------------------------------------------------------------- #
#
# Quartus II
# Version 9.0 Build 235 06/17/2009 Service Pack 2 SJ Web Edition
# Date created = 17:05:19 April 07, 2022
#
# -------------------------------------------------------------------------- #
#
# Notes:
#
# 1) The default values for assignments are stored in the file:
# cp_selector_assignment_defaults.qdf
# If this file doesn't exist, see file:
# assignment_defaults.qdf
#
# 2) Altera recommends that you do not modify this file. This
# file is updated automatically by the Quartus II software
# and any changes you make may be lost or overwritten.
#
# -------------------------------------------------------------------------- #
set_global_assignment -name FAMILY "Cyclone II"
set_global_assignment -name DEVICE EP2C8Q208C8
set_global_assignment -name TOP_LEVEL_ENTITY cp_selector
set_global_assignment -name ORIGINAL_QUARTUS_VERSION "9.0 SP2"
set_global_assignment -name PROJECT_CREATION_TIME_DATE "17:05:19 APRIL 07, 2022"
set_global_assignment -name LAST_QUARTUS_VERSION "9.0 SP2"
set_global_assignment -name USE_GENERATED_PHYSICAL_CONSTRAINTS OFF -section_id eda_blast_fpga
set_global_assignment -name MIN_CORE_JUNCTION_TEMP 0
set_global_assignment -name MAX_CORE_JUNCTION_TEMP 85
set_global_assignment -name BDF_FILE cp_selector.bdf

查看文件

@ -0,0 +1,770 @@
/*
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-2009 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 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 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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect 424 272 592 288)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CP_EN0" (rect 5 0 47 12)(font "Arial" ))
(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 424 256 592 272)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CP_EN1" (rect 5 0 47 12)(font "Arial" ))
(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 424 240 592 256)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CP_EN2" (rect 5 0 47 12)(font "Arial" ))
(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 792 376 960 392)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CP" (rect 5 0 20 12)(font "Arial" ))
(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 1288 792 1464 808)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_0" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 752 1464 768)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_1" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 712 1464 728)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_2" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 672 1464 688)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_3" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 632 1464 648)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_4" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 592 1464 608)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_5" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 552 1464 568)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_6" (rect 90 0 117 12)(font "Arial" ))
(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))
)
)
(pin
(output)
(rect 1288 512 1464 528)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "CP_7" (rect 90 0 117 12)(font "Arial" ))
(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 616 216 712 408)
(text "38_decoder" (rect 5 0 73 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "I2" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I2" (rect 21 27 30 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "I1" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I1" (rect 21 43 30 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "I0" (rect 0 0 9 14)(font "Arial" (font_size 8)))
(text "I0" (rect 21 59 30 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "Y7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y7" (rect 59 27 75 41)(font "Arial" (font_size 8)))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "Y6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y6" (rect 59 43 75 57)(font "Arial" (font_size 8)))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(port
(pt 96 64)
(output)
(text "Y5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y5" (rect 59 59 75 73)(font "Arial" (font_size 8)))
(line (pt 96 64)(pt 80 64)(line_width 1))
)
(port
(pt 96 80)
(output)
(text "Y4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y4" (rect 59 75 75 89)(font "Arial" (font_size 8)))
(line (pt 96 80)(pt 80 80)(line_width 1))
)
(port
(pt 96 96)
(output)
(text "Y3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y3" (rect 59 91 75 105)(font "Arial" (font_size 8)))
(line (pt 96 96)(pt 80 96)(line_width 1))
)
(port
(pt 96 112)
(output)
(text "Y2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y2" (rect 59 107 75 121)(font "Arial" (font_size 8)))
(line (pt 96 112)(pt 80 112)(line_width 1))
)
(port
(pt 96 128)
(output)
(text "Y1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y1" (rect 59 123 75 137)(font "Arial" (font_size 8)))
(line (pt 96 128)(pt 80 128)(line_width 1))
)
(port
(pt 96 144)
(output)
(text "Y0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "Y0" (rect 59 139 75 153)(font "Arial" (font_size 8)))
(line (pt 96 144)(pt 80 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 176)(line_width 1))
)
)
(symbol
(rect 1032 776 1096 824)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 736 1096 784)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 696 1096 744)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 656 1096 704)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst5" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 616 1096 664)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst6" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 576 1096 624)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 536 1096 584)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst8" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 1032 496 1096 544)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst9" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(connector
(pt 592 280)
(pt 616 280)
)
(connector
(pt 592 264)
(pt 616 264)
)
(connector
(pt 592 248)
(pt 616 248)
)
(connector
(pt 1096 800)
(pt 1288 800)
)
(connector
(pt 1096 760)
(pt 1288 760)
)
(connector
(pt 1096 720)
(pt 1288 720)
)
(connector
(pt 1096 680)
(pt 1288 680)
)
(connector
(pt 1096 640)
(pt 1288 640)
)
(connector
(pt 1096 600)
(pt 1288 600)
)
(connector
(pt 1096 560)
(pt 1288 560)
)
(connector
(pt 1096 520)
(pt 1288 520)
)
(connector
(pt 712 360)
(pt 720 360)
)
(connector
(pt 720 360)
(pt 720 808)
)
(connector
(pt 720 808)
(pt 1032 808)
)
(connector
(pt 712 344)
(pt 728 344)
)
(connector
(pt 728 344)
(pt 728 768)
)
(connector
(pt 728 768)
(pt 1032 768)
)
(connector
(pt 712 328)
(pt 736 328)
)
(connector
(pt 736 328)
(pt 736 728)
)
(connector
(pt 736 728)
(pt 1032 728)
)
(connector
(pt 712 312)
(pt 744 312)
)
(connector
(pt 744 312)
(pt 744 688)
)
(connector
(pt 744 688)
(pt 1032 688)
)
(connector
(pt 712 296)
(pt 752 296)
)
(connector
(pt 752 296)
(pt 752 648)
)
(connector
(pt 752 648)
(pt 1032 648)
)
(connector
(pt 712 280)
(pt 760 280)
)
(connector
(pt 760 280)
(pt 760 608)
)
(connector
(pt 760 608)
(pt 1032 608)
)
(connector
(pt 712 264)
(pt 768 264)
)
(connector
(pt 768 264)
(pt 768 568)
)
(connector
(pt 768 568)
(pt 1032 568)
)
(connector
(pt 712 248)
(pt 776 248)
)
(connector
(pt 776 248)
(pt 776 528)
)
(connector
(pt 776 528)
(pt 1032 528)
)
(connector
(pt 960 384)
(pt 992 384)
)
(connector
(pt 992 792)
(pt 1032 792)
)
(connector
(pt 1032 752)
(pt 992 752)
)
(connector
(pt 992 752)
(pt 992 792)
)
(connector
(pt 1032 712)
(pt 992 712)
)
(connector
(pt 992 712)
(pt 992 752)
)
(connector
(pt 1032 672)
(pt 992 672)
)
(connector
(pt 992 672)
(pt 992 712)
)
(connector
(pt 1032 632)
(pt 992 632)
)
(connector
(pt 992 632)
(pt 992 672)
)
(connector
(pt 1032 592)
(pt 992 592)
)
(connector
(pt 992 592)
(pt 992 632)
)
(connector
(pt 1032 552)
(pt 992 552)
)
(connector
(pt 992 552)
(pt 992 592)
)
(connector
(pt 1032 512)
(pt 992 512)
)
(connector
(pt 992 384)
(pt 992 512)
)
(connector
(pt 992 512)
(pt 992 552)
)
(junction (pt 992 752))
(junction (pt 992 712))
(junction (pt 992 672))
(junction (pt 992 632))
(junction (pt 992 592))
(junction (pt 992 552))
(junction (pt 992 512))

查看文件

@ -0,0 +1,113 @@
/*
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-2009 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 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 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 "symbol" (version "1.1"))
(symbol
(rect 16 16 144 208)
(text "cp_selector" (rect 5 0 72 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CP_EN2" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN2" (rect 21 27 65 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "CP_EN1" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN1" (rect 21 43 65 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "CP_EN0" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN0" (rect 21 59 65 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 21 75 36 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "CP_7" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_7" (rect 78 27 107 41)(font "Arial" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "CP_6" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_6" (rect 78 43 107 57)(font "Arial" (font_size 8)))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "CP_5" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_5" (rect 78 59 107 73)(font "Arial" (font_size 8)))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 80)
(output)
(text "CP_4" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_4" (rect 78 75 107 89)(font "Arial" (font_size 8)))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "CP_3" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_3" (rect 78 91 107 105)(font "Arial" (font_size 8)))
(line (pt 128 96)(pt 112 96)(line_width 1))
)
(port
(pt 128 112)
(output)
(text "CP_2" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_2" (rect 78 107 107 121)(font "Arial" (font_size 8)))
(line (pt 128 112)(pt 112 112)(line_width 1))
)
(port
(pt 128 128)
(output)
(text "CP_1" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_1" (rect 78 123 107 137)(font "Arial" (font_size 8)))
(line (pt 128 128)(pt 112 128)(line_width 1))
)
(port
(pt 128 144)
(output)
(text "CP_0" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_0" (rect 78 139 107 153)(font "Arial" (font_size 8)))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 176)(line_width 1))
)
)

查看文件

@ -71,6 +71,54 @@ applicable agreement for further details.
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) (text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 944 768 1000 784)) (annotation_block (location)(rect 944 768 1000 784))
) )
(pin
(input)
(rect 776 296 944 312)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "uIR4" (rect 5 0 28 12)(font "Arial" ))
(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 776 280 944 296)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "uIR5" (rect 5 0 28 12)(font "Arial" ))
(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 776 264 944 280)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "uIR6" (rect 5 0 28 12)(font "Arial" ))
(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 (pin
(output) (output)
(rect 3696 1312 3872 1328) (rect 3696 1312 3872 1328)
@ -2615,6 +2663,98 @@ applicable agreement for further details.
(rectangle (rect 16 16 160 304)(line_width 1)) (rectangle (rect 16 16 160 304)(line_width 1))
) )
) )
(symbol
(rect 992 240 1120 432)
(text "cp_selector" (rect 5 0 72 14)(font "Arial" (font_size 8)))
(text "inst1" (rect 8 176 31 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "CP_EN2" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN2" (rect 21 27 65 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "CP_EN1" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN1" (rect 21 43 65 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "CP_EN0" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "CP_EN0" (rect 21 59 65 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 21 75 36 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "CP_7" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_7" (rect 78 27 107 41)(font "Arial" (font_size 8)))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "CP_6" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_6" (rect 78 43 107 57)(font "Arial" (font_size 8)))
(line (pt 128 48)(pt 112 48)(line_width 1))
)
(port
(pt 128 64)
(output)
(text "CP_5" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_5" (rect 78 59 107 73)(font "Arial" (font_size 8)))
(line (pt 128 64)(pt 112 64)(line_width 1))
)
(port
(pt 128 80)
(output)
(text "CP_4" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_4" (rect 78 75 107 89)(font "Arial" (font_size 8)))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "CP_3" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_3" (rect 78 91 107 105)(font "Arial" (font_size 8)))
(line (pt 128 96)(pt 112 96)(line_width 1))
)
(port
(pt 128 112)
(output)
(text "CP_2" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_2" (rect 78 107 107 121)(font "Arial" (font_size 8)))
(line (pt 128 112)(pt 112 112)(line_width 1))
)
(port
(pt 128 128)
(output)
(text "CP_1" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_1" (rect 78 123 107 137)(font "Arial" (font_size 8)))
(line (pt 128 128)(pt 112 128)(line_width 1))
)
(port
(pt 128 144)
(output)
(text "CP_0" (rect 0 0 29 14)(font "Arial" (font_size 8)))
(text "CP_0" (rect 78 139 107 153)(font "Arial" (font_size 8)))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 176)(line_width 1))
)
)
(connector (connector
(pt 2792 1544) (pt 2792 1544)
(pt 2800 1544) (pt 2800 1544)
@ -4554,6 +4694,98 @@ applicable agreement for further details.
(pt 1568 1248) (pt 1568 1248)
(pt 1624 1248) (pt 1624 1248)
) )
(connector
(pt 944 304)
(pt 992 304)
)
(connector
(pt 944 288)
(pt 992 288)
)
(connector
(pt 944 272)
(pt 992 272)
)
(connector
(pt 1400 8)
(pt 1456 8)
)
(connector
(pt 1456 8)
(pt 1456 192)
)
(connector
(pt 1456 192)
(pt 744 192)
)
(connector
(pt 744 192)
(pt 744 320)
)
(connector
(pt 744 320)
(pt 992 320)
)
(connector
(pt 2072 1648)
(pt 1880 1648)
)
(connector
(pt 1120 368)
(pt 1880 368)
)
(connector
(pt 1880 368)
(pt 1880 1648)
)
(connector
(pt 2696 1576)
(pt 2456 1576)
)
(connector
(pt 1120 352)
(pt 2456 352)
)
(connector
(pt 2456 352)
(pt 2456 1576)
)
(connector
(pt 3160 1472)
(pt 3128 1472)
)
(connector
(pt 1120 336)
(pt 3128 336)
)
(connector
(pt 3128 336)
(pt 3128 1472)
)
(connector
(pt 3448 1240)
(pt 3368 1240)
)
(connector
(pt 3368 320)
(pt 3368 1240)
)
(connector
(pt 1120 320)
(pt 3368 320)
)
(connector
(pt 4184 1248)
(pt 4024 1248)
)
(connector
(pt 1120 304)
(pt 4024 304)
)
(connector
(pt 4024 1248)
(pt 4024 304)
)
(junction (pt 3048 992)) (junction (pt 3048 992))
(junction (pt 3056 1008)) (junction (pt 3056 1008))
(junction (pt 3064 1024)) (junction (pt 3064 1024))